:root{
  --bg:#0a0d12;
  --bg2:#0f1620;
  --text:#e7edf3;
  --muted:#a2b1bf;
  --line:rgba(255,255,255,.10);
  --accent:#7dd3fc;
  --max:1100px;
  --r:18px;
}
/* ===== Base ===== */

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(800px 500px at 30% -10%, rgba(125,211,252,.12), transparent 60%),
    radial-gradient(600px 400px at 80% 10%, rgba(125,211,252,.08), transparent 60%),
    var(--bg);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

/* ===== Header (sticky, pushes content) ===== */

.header{
  position: -webkit-sticky;
  position: sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.65);
  border-bottom:1px solid var(--line);
  z-index:1000;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

/* ===== Brand ===== */

.brand{
  display:inline-flex;
  align-items: baseline;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}

.logo{
  width:28px;
  height:28px;
  display:block;
  position:relative;
  top:7px;
}

.brand-name{
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}

/* ===== Navigation (base) ===== */

.nav{
  display:flex;
  gap:14px;
  color:var(--muted);
  font-size:14px;
}

.nav a{
  padding:6px 10px;
  border-radius:12px;
}

.nav a:hover{
  background: rgba(255,255,255,.06);
  text-decoration:none;
}

.hint{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:40px;

  max-width:900px;
  margin:20px auto;

  font-size: clamp(18px, 2vw, 28px);
  font-weight:300;
  color: var(--muted);
}

.hint span{
  flex:1;
  text-align:center;
  white-space: nowrap;
  line-height: 0.1;
}

/* ===== Checkbox (properly hidden, fixes iOS dots) ===== */

.nav-toggle{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path: inset(50%);
  white-space:nowrap;
  opacity:0;
}

/* ===== Hamburger ===== */

.hamburger{
  display:inline-flex;
  width:32px;
  height:28px;
  cursor:pointer;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  align-items:center;
  justify-content:center;
}

.hamburger:hover{
  background: rgba(255,255,255,.06);
}

.hamburger-lines{
  position:relative;
  width:18px;
  height:2px;
  background:var(--text);
}

.hamburger-lines::before,
.hamburger-lines::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:var(--text);
}

.hamburger-lines::before{ top:-6px; }
.hamburger-lines::after{ top:6px; }

/* ===== Mobile Drawer ===== */

.nav-drawer{
  display:block;
  overflow:hidden;
  max-height:0;
  border-bottom:1px solid transparent;
  transition:max-height .25s ease, border-color .25s ease;
}

.nav-mobile{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px 0 16px;
}

.nav-mobile a{
  line-height:1.2;
  padding:8px 10px;
  border-radius:12px;
}

/* Open drawer */
@media (max-width:900px){
  #nav-toggle:checked ~ .header .nav-drawer{
    max-height:260px;
    border-bottom-color:var(--line);
  }
}

/* ===== Desktop vs Mobile switching (robust) ===== */

/* Mobile-first defaults */
.nav-desktop{ display:none; }

/* Desktop */
@media (min-width:901px){
  .hamburger{ display:none; }
  .nav-desktop{ display:flex; }
  .nav-drawer{ display:none; }
}

/* ===== Hero ===== */

.hero{
  padding:56px 0 28px;
}

.hero-grid{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
  text-align:center;
}

@media (max-width:920px){
  .hero{ padding-top:34px; }
  .hero-grid{ grid-template-columns:1fr; }
}

.kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}

.title{
  margin:0 0 10px;
  font-size:clamp(34px,4vw,56px);
  line-height:1.06;
  letter-spacing:-0.8px;
}

.subtitle{
  margin:0 0 18px;
  color:var(--muted);
  max-width:48ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content: center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-weight:650;
  font-size:14px;
}

.btn.primary{
  border-color: rgba(125,211,252,.45);
  background: rgba(125,211,252,.10);
}

.micro-legal{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
  opacity:.75;
}

.hero-figure{
  margin:0;
  border-radius:var(--r);
  overflow:hidden;
  border:1px solid var(--line);
  padding:18px;
  max-width:1200px;
  width:100%;
  order:0;
}

.hero-figure img{
  display:block;
  width:100%;
  height:auto;
  max-height:85vh;
  object-fit:contain;
}

.hero-copy{
  max-width:600px;
}

.caption{
  margin:12px 0 0;
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(15,22,32,.55);
}

/* ===== Sections ===== */

.section{ padding:34px 0; }

.section-alt{
  background: rgba(15,22,32,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

@media (max-width:980px){
  .cards{ grid-template-columns:1fr; }
}

.card{
  border:1px solid var(--line);
  border-radius:var(--r);
  background: rgba(255,255,255,.03);
  padding:16px;
}

/* ===== Footer ===== */

.footer{
  padding:22px 0 34px;
  color:var(--muted);
  font-size:13px;
}

.section-alt {
  background: #0b1117; /* oder dein dunkler Ton */
  background-image: none;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  border-top:1px solid var(--line);
  padding-top:18px;
}

.panel-title {
  display: block;
  font-size: 1.2em;
  font-weight: 700;
  margin: 12px 0 6px 0;
}

.spec {
  margin-bottom: 18px;
}

.spec .value {
  display: block;
  line-height: 1.4;
}

/* Desktop: keep header permanently visible */
@media (min-width: 901px){
  .header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  /* compensate for the fixed header height */
  main{
    padding-top: 64px; /* adjust if your header is higher/lower */
  }
}

