:root{
  --bg:#222734;          /* FINAL: Deep Navy */
  --panel: rgba(42,48,64,.55);
  --text:#ffffff;
  --muted:#cfd3dc;
  --muted2:#9aa1af;
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.42);
  --radius: 16px;
  --max: 1040px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 900px at 50% -10%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.center{text-align:center}

/* Header (centered wordmark + nav) */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(34,39,52,.74);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header{
  display:flex; flex-direction:column; align-items:center;
  padding:18px 0 14px;
  gap:10px;
}
.wordmark{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.wordmark .name{font-size:22px; font-weight:500}
.wordmark .sub{font-size:11px; color:var(--muted2); letter-spacing:.18em}
.menu{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap; justify-content:center;
  font-size:14px;
  color:var(--muted);
}
.menu a{padding:6px 10px; border-radius:12px}
.menu a.active{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  text-decoration:none;
}

/* Hero */
.hero{padding:54px 0 26px}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  padding:7px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}
h1{
  margin:18px 0 12px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:600;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing:-.02em;
  line-height:1.08;
}
.lead{
  margin:0 auto;
  font-size: clamp(16px, 2.1vw, 19px);
  color:var(--muted);
  max-width: 74ch;
}
.cta{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center;
  margin-top:22px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:12px;
  padding:11px 16px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-size:15px;
}
.btn:hover{background: rgba(255,255,255,.10); text-decoration:none}

/* Sections / cards */
.section{padding:18px 0 50px}
.grid{display:grid; grid-template-columns:repeat(12,1fr); gap:16px}
.card{
  grid-column:span 6;
  background: var(--panel);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}

.card.fullwidth{grid-column:span 12}

.kicker{color:rgba(255,255,255,.72); font-weight:600; font-size:12px; letter-spacing:.22em; text-transform:uppercase}
.card h2{margin:8px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted)}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.card li{margin:6px 0}

.panel{
  background: var(--panel);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  max-width: var(--max);
  margin: 0 auto;
}
.hr{border-top:1px solid rgba(255,255,255,.12); margin:18px 0}
.split{display:grid; grid-template-columns:1.2fr .8fr; gap:18px}
.small{font-size:13px; color:var(--muted)}


.seo-intro{font-size:13px; color:var(--muted); margin:0 0 10px}
/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.12);
  padding:18px 0 26px;
  color:var(--muted);
  font-size:13px;
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text); text-decoration:none}
.footgrid{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap}

@media (max-width:920px){
  .card{grid-column:span 12}
  .split{grid-template-columns:1fr}
  .menu{gap:10px}
  .wordmark .name{font-size:20px}
}

/* ========== HEADER: Mock-Layout (Menü mittig, Logo rechts) ========== */
.topbar-inner{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  /* Ziel: Logo oben rechts, Navigation darunter (robust für Desktop/iPad/Mobil) */
  padding: 14px 0 10px;
}

/* Menü mittig */
.topbar .menu{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}

/* Logo: eigene Zeile oben rechts */
.brand-right{
  position: static;
  order: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  margin: 2px 0 6px;
}

.brand-right img{
  /* Desktop: präsentes Logo; Breite ist sehr groß, daher skalieren wir primär über die Höhe */
  height: 78px;
  width: auto;
  max-width: 520px;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

/* Navigation: zweite Zeile */
.topbar .menu{ order: 1; flex: 1 1 auto; }
.topbar .lang-switch{ order: 2; flex: 0 0 auto; }

/* Passepartout / Ton-in-Ton Rahmen (wie Mock) */
.page-frame{
  max-width: 1180px;
  margin: 28px auto 56px;
  padding: 36px 42px 48px;
  background: rgba(42,48,64,.55);            /* Ton-in-Ton (Panel) */
  border: 1px solid rgba(255,255,255,.035);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02),
    0 18px 40px rgba(0,0,0,.35);
  border-radius: 18px;
}

/* Mobile */
@media (max-width: 920px){
  .topbar-inner{ padding: 14px 0 10px; }
  .topbar .menu{ gap: 10px; font-size: 13px; }
  /* Tablet/iPad: Logo deutlich sichtbar, aber ohne Kollision mit Navigation */
  .brand-right img{ height: 56px; }

  .page-frame{
    margin: 16px 12px 32px;
    padding: 24px 18px 28px;
    border-radius: 14px;
  }
}

/* Impressum: strukturierte Adresse (crawler-resistent) */
.imprint-address{
  list-style:none;
  padding:0;
  margin:12px 0 0;
}
.imprint-address li{
  margin:6px 0;
  color:var(--muted);
}


/* Impressum: strukturierte Anschrift (crawler-resistenter) */
.addr-label{color:var(--muted2)}
.addr{display:inline-block}


/* Logo scaling */
@media (max-width: 920px){
  .brand-right img{height:64px;}
}
@media (max-width: 520px){
  .brand-right img{height:48px;}
  .lang-switch{order:3; width:100%; text-align:center; margin-top:6px;}
  .menu{justify-content:center;}
}/* ===== HEADER FIX – iPad ===== */
@media (min-width: 768px) and (max-width: 1024px) {

  header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* Logo-Zeile */
  .header-logo {
    display: flex;
    justify-content: flex-end;
    padding-right: 24px;
    margin-bottom: 8px;
  }

  .header-logo img {
    height: 64px; /* bleibt wie final abgestimmt */
    max-width: none;
  }

  /* Navigation + DE/EN darunter */
  .header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 12px;
  }
}



/* --- SEO / Conversion blocks --- */
.list{margin:0; padding-left:1.1em;}
.list li{margin:0.35em 0;}
.cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}
.conversion-panel .grid{margin-top:10px;}
@media (max-width: 680px){
  .cta{gap:10px;}
}


/* Toast notice (clipboard / actions) */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background: rgba(15,26,46,.92);
  border:1px solid rgba(35,48,74,.9);
  color: var(--text);
  padding:10px 12px;
  border-radius:12px;
  box-shadow: var(--shadow);
  font-size:13px;
  z-index:9999;
  display:none;
  max-width: calc(100vw - 24px);
}
.toast.show{display:block}


/* --- Semantic headings: H3 inside panels (demoted sub-sections) --- */
.section h3{
  margin:16px 0 8px;
  font-size:18px;
}
.panel h3{
  margin:16px 0 8px;
  font-size:18px;
}


/* --- UI polish: panel rhythm + "Apple Ice" active nav + breadcrumbs --- */
.section{padding:10px 0 48px;}
.section:last-of-type{padding-bottom:72px;}

.panel,.card{
  display:flex;
  flex-direction:column;
}
.panel > *:last-child,
.card > *:last-child{margin-bottom:0;}

/* Breadcrumb */
.breadcrumb{
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
  opacity:.85;
}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--text); text-decoration:none;}
.breadcrumb .sep{opacity:.7; padding:0 6px;}

/* Visible "Apple Ice" active nav pill */
.menu a.active{
  position:relative;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 10px 24px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter: blur(14px);
}
.menu a.active::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:10px;
  background: radial-gradient(140px 60px at 25% 0%, rgba(255,255,255,.20), transparent 60%);
  pointer-events:none;
  mix-blend-mode:screen;
}

/* Breadcrumb inside Region & Fokus card (left-aligned, no divider line) */
.breadcrumb-inpanel{
  font-size:13px;
  color: rgba(183,189,201,.9);
  margin: 0 0 12px 0;
  line-height:1.2;
}
.breadcrumb-inpanel a{
  color: rgba(183,189,201,.95);
  text-decoration:none;
  border-bottom:1px solid transparent;
}
.breadcrumb-inpanel a:hover{
  color: var(--text);
  border-bottom-color: rgba(183,189,201,.35);
}
.breadcrumb-inpanel .sep{ opacity:.7; padding:0 6px; }
.context-link.in-card{
  margin:10px 0 0;
  font-size:13px;
  color: var(--muted);
}


/* panel card text alignment */
.panel .card { text-align: left; }
.panel .card ul, .panel .card ol { text-align: left; }

/* FAQ (accordion) */
.faq details{border-top:1px solid rgba(255,255,255,.12); padding:10px 0}
.faq details:first-child{border-top:none; padding-top:0}
.faq summary{cursor:pointer; font-weight:600; color:var(--text); list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.5}
