/* =========================================================================
   STRATON Datenraum (imdocs.de)
   Designsprache übernommen von realestate-advisory.de (Theme "Cleanfin"):
   Navy #212c40, Creme #f6f5f0, Wix Madefor Display + DM Sans, ruhige Flächen,
   keine Schlagschatten-Optik, Abschnittsrhythmus weiß / creme / navy.
   ========================================================================= */

:root {
  --c-navy:       #212c40;
  --c-navy-dark:  #111926;
  --c-navy-soft:  #eceff4;
  --c-cream:      #f6f5f0;
  --c-light:      #f2f4f8;
  --c-white:      #ffffff;
  --c-text:       #666666;
  --c-heading:    #212c40;
  --c-muted:      #8b93a1;
  --c-border:     #e3e6ec;
  --c-border-str: #ccd2dd;
  --c-warn:       #8a5a12;
  --c-warn-soft:  #fdf6e9;

  --font-head: "Wix Madefor Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h:       100px;
  --nav-h-small:  76px;
  --max-w:      1240px;
  --gutter:      24px;
  --r:            4px;
  --r-lg:         8px;

  --sp-section: clamp(4rem, 7.5vw, 7rem);
}

/* ---------- Reset & Basis ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h-small) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--c-heading);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
/* Lange deutsche Komposita ("Auftragsverarbeitungsvertrag") sprengen auf
   schmalen Bildschirmen sonst die Zeile und damit das Seitenlayout. */
h1, h2, h3, h4, h5 { overflow-wrap: break-word; hyphens: auto; }
p, li, td, th, dd, dt, figcaption { overflow-wrap: break-word; }
h1 { font-size: clamp(2.15rem, 4.4vw, 3.35rem); font-weight: 600; line-height: 1.13; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem);  font-weight: 500; line-height: 1.14; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem);  font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-navy); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--c-navy-dark); }

img, svg { max-width: 100%; height: auto; }
svg { flex: none; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin: 0 0 .4em; }
strong { color: var(--c-heading); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5rem 0; }

:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; z-index: 200;
  padding: .7rem 1.1rem; clip: auto; background: var(--c-navy); color: #fff; border-radius: var(--r);
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Buttons ------------------------------------------------------ */
.button {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; line-height: 1;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.button svg { width: 17px; height: 17px; stroke-width: 2.1; }
.button--primary { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.button--primary:hover { background: var(--c-navy-dark); border-color: var(--c-navy-dark); color: #fff; }
.button--outline { background: transparent; color: var(--c-navy); border-color: var(--c-border-str); }
.button--outline:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.button--light { background: #fff; color: var(--c-navy); border-color: #fff; }
.button--light:hover { background: var(--c-cream); color: var(--c-navy-dark); border-color: var(--c-cream); }
.button--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.button--outline-light:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.button--sm { padding: .7rem 1.1rem; font-size: .75rem; }
.button--lg { padding: 1.05rem 1.9rem; font-size: .875rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions--center { justify-content: center; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: #fff; border-bottom: 1px solid var(--c-border);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 16px rgba(17,25,38,.07); }

/* Transparente Kopfzeile über dem Startseiten-Bild */
body.has-hero .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: rgba(255,255,255,.18);
}
body.has-hero .site-header.is-scrolled {
  background: #fff; border-bottom-color: var(--c-border);
}

.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--nav-h); transition: height .25s ease;
}
.site-header.is-scrolled .nav-inner { height: var(--nav-h-small); }

.nav-logo { flex: none; display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .nav-logo img { height: 44px; }
.nav-logo .logo--light { display: none; }
body.has-hero .site-header:not(.is-scrolled) .nav-logo .logo--light { display: block; }
body.has-hero .site-header:not(.is-scrolled) .nav-logo .logo--dark  { display: none; }

.nav-menu { display: flex; align-items: center; gap: 1.9rem; margin: 0 auto 0 1.5rem; padding: 0; list-style: none; }
.nav-menu li { margin: 0; }
.nav-link {
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--c-navy-dark);
  position: relative; padding: .4rem 0; display: inline-block;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: currentColor; transition: right .25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
body.has-hero .site-header:not(.is-scrolled) .nav-link { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav-tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600; color: var(--c-navy-dark);
  white-space: nowrap;
}
.nav-tel svg { width: 16px; height: 16px; }
body.has-hero .site-header:not(.is-scrolled) .nav-tel { color: #fff; }
body.has-hero .site-header:not(.is-scrolled) .button--outline { color: #fff; border-color: rgba(255,255,255,.45); }
body.has-hero .site-header:not(.is-scrolled) .button--outline:hover { background: #fff; color: var(--c-navy); }

.hamburger {
  display: none; width: 44px; height: 44px; padding: 0; background: transparent;
  border: 1px solid var(--c-border-str); border-radius: var(--r); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger__line { display: block; width: 20px; height: 2px; background: var(--c-navy-dark); transition: background .2s; }
body.has-hero .site-header:not(.is-scrolled) .hamburger { border-color: rgba(255,255,255,.45); }
body.has-hero .site-header:not(.is-scrolled) .hamburger__line { background: #fff; }

.nav-mobile {
  display: none; position: fixed; inset: var(--nav-h-small) 0 0; z-index: 89;
  background: #fff; padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
}
body.nav-open .nav-mobile { display: block; }
.nav-mobile__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.nav-mobile__list li { margin: 0; border-bottom: 1px solid var(--c-border); }
.nav-mobile__list a {
  display: flex; align-items: center; gap: .7rem; padding: .95rem 0;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 600; color: var(--c-navy-dark);
}
.nav-mobile__list a svg { width: 18px; height: 18px; color: var(--c-muted); }
.nav-mobile__list a.is-active { color: var(--c-navy); }
.nav-mobile .button { width: 100%; justify-content: center; margin-bottom: .75rem; }
.nav-mobile__tel {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--c-navy-dark); padding: .5rem 0;
}

/* Zwischen 1200 und 1340 px reicht der Platz nicht fuer Menue, Rufnummer und Schaltflaeche. */
@media (max-width: 1340px) {
  .nav-menu { gap: 1.35rem; margin-left: 1rem; }
  .nav-tel { display: none; }
}
@media (max-width: 1200px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  :root { --nav-h: 76px; }
}
@media (max-width: 560px) {
  .nav-actions .button--sm { display: none; }
}

/* ---------- Eyebrow, Badges --------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--c-navy);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--light { color: rgba(255,255,255,.82); }
.eyebrow--center { justify-content: center; }

.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .8rem; border: 1px solid var(--c-border); border-radius: 999px;
  font-size: .8125rem; color: var(--c-heading); background: #fff;
}
.badge svg { width: 14px; height: 14px; color: var(--c-navy); }

/* ---------- Hero (Startseite) ------------------------------------------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(88vh, 780px); padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: var(--c-navy-dark); color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,25,38,.62) 0%, rgba(17,25,38,.34) 42%, rgba(17,25,38,.86) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 720px; margin-bottom: 2rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; margin: 0 0 2.2rem; padding: 0; }
.hero__points li { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.88); font-size: .9375rem; margin: 0; }
.hero__points svg { width: 16px; height: 16px; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Page-Hero (Unterseiten) ------------------------------------- */
.page-hero {
  background: var(--c-navy); color: #fff;
  padding: calc(var(--nav-h) * .55 + 3.5rem) 0 3.5rem;
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero__lead { color: rgba(255,255,255,.82); font-size: 1.0625rem; max-width: 68ch; margin-top: 1.2rem; }
.page-hero .eyebrow { color: rgba(255,255,255,.75); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-hero .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.page-hero .badge svg { color: #fff; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.4rem; padding: 0;
  font-size: .8125rem; color: rgba(255,255,255,.6);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ----------------------------------------------------- */
.section { padding: var(--sp-section) 0; }
.section--cream { background: var(--c-cream); }
.section--light { background: var(--c-light); }
.section--navy { background: var(--c-navy); color: rgba(255,255,255,.78); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .eyebrow { color: rgba(255,255,255,.75); }
.section--tight { padding: calc(var(--sp-section) * .62) 0; }

.section__head { max-width: 62ch; margin: 0 0 3rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { margin-bottom: .5rem; }
.section__lead { font-size: 1.0625rem; margin-top: 1rem; }

.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { margin-bottom: 1.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem;
  display: block; overflow-x: auto;
}
.prose table th, .prose table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.prose table thead th {
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--c-heading); background: var(--c-light); white-space: nowrap;
}
.prose table tbody tr:last-child td { border-bottom: 0; }
.prose table td:first-child { color: var(--c-heading); font-weight: 500; }

/* ---------- Karten-Raster ------------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r);
  padding: 2rem 1.9rem; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--c-border-str); }
.card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r); background: var(--c-navy-soft); color: var(--c-navy); margin-bottom: 1.25rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--c-heading); margin: 0 0 .6rem; }
.card__text { margin: 0; font-size: .9375rem; }
.card__list { list-style: none; margin: 1rem 0 0; padding: 0; }
.card__list li { display: flex; gap: .55rem; font-size: .9rem; margin: 0 0 .5rem; }
.card__list svg { width: 15px; height: 15px; margin-top: .35rem; color: var(--c-navy); }

.section--cream .card { border-color: #e6e3da; }
.section--navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.76); }
.section--navy .card__icon { background: rgba(255,255,255,.1); color: #fff; }
.section--navy .card__list svg { color: rgba(255,255,255,.8); }

/* Funktionsraster: schlanker als Karten */
.features { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--c-border); }
.feature {
  display: flex; gap: 1rem; padding: 1.6rem 1.5rem 1.6rem 0;
  border-bottom: 1px solid var(--c-border);
}
.feature__icon { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--c-navy); }
.feature__icon svg { width: 21px; height: 21px; }
.feature h4 { margin: 0 0 .25rem; }
.feature p { margin: 0; font-size: .9125rem; }
.section--cream .features, .section--cream .feature { border-color: #e6e3da; }
.section--navy .features, .section--navy .feature { border-color: rgba(255,255,255,.14); }
.section--navy .feature__icon { color: rgba(255,255,255,.85); }

/* Schritte */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.25rem;
  padding: 1.6rem 1.75rem 1.6rem 1.5rem; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1;
  color: var(--c-navy); opacity: .35;
}
.step h4 { margin: 0 0 .4rem; }
.step p { margin: 0; font-size: .9375rem; }
.step ul { list-style: none; margin: .85rem 0 0; padding: 0; }
.step ul li { display: flex; gap: .5rem; font-size: .9rem; margin: 0 0 .4rem; }
.step ul svg { width: 14px; height: 14px; margin-top: .35rem; color: var(--c-navy); flex: none; }
.section--cream .step { border-color: #e6e3da; }

/* Split: Text + Aside */
.split { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.split--reverse .split__aside { order: -1; }
.split__aside {
  background: var(--c-navy); color: rgba(255,255,255,.8); border-radius: var(--r);
  padding: 2rem 1.9rem;
}
.split__aside h3, .split__aside h4 { color: #fff; margin: 0 0 1rem; font-size: 1.0625rem; }
.split__aside ul { list-style: none; margin: 0; padding: 0; }
.split__aside li { display: flex; gap: .6rem; font-size: .9375rem; margin: 0 0 .75rem; }
.split__aside li:last-child { margin-bottom: 0; }
.split__aside svg { width: 16px; height: 16px; margin-top: .3rem; color: rgba(255,255,255,.85); flex: none; }
.section--navy .split__aside { background: rgba(255,255,255,.06); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split--reverse .split__aside { order: 0; } }

/* Checkliste */
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checklist--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .7rem 2rem; }
.checklist li { display: flex; gap: .7rem; margin: 0; }
.checklist svg { width: 17px; height: 17px; margin-top: .35rem; color: var(--c-navy); flex: none; }
.section--navy .checklist svg { color: rgba(255,255,255,.85); }

/* Kennzahlen-Band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.stat__value { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--c-heading); line-height: 1.1; }
.stat__label { font-size: .9375rem; margin-top: .4rem; }
.section--navy .stat__value { color: #fff; }

/* Zitat */
.quote { border-left: 3px solid var(--c-navy); padding: .4rem 0 .4rem 1.75rem; max-width: 62ch; }
.quote p { font-family: var(--font-head); font-size: clamp(1.125rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.5; color: var(--c-heading); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .875rem; color: var(--c-muted); }
.section--navy .quote { border-color: rgba(255,255,255,.5); }
.section--navy .quote p { color: #fff; }
.section--navy .quote cite { color: rgba(255,255,255,.6); }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .9375rem; }
table.data th, table.data td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
table.data thead th {
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--c-heading); background: var(--c-light); white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--c-heading); font-weight: 500; }
table.data .yes { color: var(--c-navy); font-weight: 600; }
table.data .no  { color: var(--c-muted); }

/* Datenraum-Index */
.index-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.index-group { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r); padding: 1.6rem 1.7rem; }
.index-group h3 {
  font-size: 1.0625rem; margin: 0 0 .9rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--c-border); display: flex; align-items: baseline; gap: .7rem;
}
.index-group h3 span {
  font-size: .75rem; font-weight: 700; letter-spacing: 1px; color: var(--c-muted); font-variant-numeric: tabular-nums;
}
.index-group ul { list-style: none; margin: 0; padding: 0; }
.index-group li { position: relative; padding-left: 1rem; font-size: .9125rem; margin: 0 0 .45rem; }
.index-group li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--c-border-str); }
.section--cream .index-group { border-color: #e6e3da; }

/* FAQ */
.faq { border-top: 1px solid var(--c-border); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--c-heading);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; color: var(--c-navy); transition: transform .2s ease; }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 0 1.4rem; max-width: 78ch; }
.section--cream .faq, .section--cream .faq__item { border-color: #e6e3da; }

/* Pakete */
.packages { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.package {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r); padding: 2.1rem 1.9rem;
}
.package--highlight { border-color: var(--c-navy); border-width: 2px; }
.package__flag {
  align-self: flex-start; margin: 0 0 1.1rem; padding: .35rem .75rem;
  background: var(--c-navy); color: #fff; border-radius: var(--r);
  font-family: var(--font-head); font-size: .625rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.package h3 { margin: 0 0 .35rem; }
.package__tagline { font-size: .9375rem; margin: 0 0 1rem; }
.package__for {
  font-size: .8125rem; color: var(--c-muted); padding: .8rem 0 1.1rem; margin: 0 0 1.1rem;
  border-bottom: 1px solid var(--c-border);
}
.package__for strong { display: block; font-family: var(--font-head); font-size: .6875rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-heading); margin-bottom: .3rem; }
.package ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.package li { display: flex; gap: .6rem; font-size: .9125rem; margin: 0 0 .55rem; }
.package li svg { width: 15px; height: 15px; margin-top: .35rem; color: var(--c-navy); flex: none; }
.package .button { margin-top: auto; justify-content: center; }
.section--cream .package { border-color: #e6e3da; }
.section--cream .package--highlight { border-color: var(--c-navy); }

/* Hinweiskasten */
.note {
  border-left: 3px solid var(--c-navy); background: var(--c-light);
  padding: 1.2rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; font-size: .9375rem; margin: 1.5rem 0;
}
.note--warn { border-color: var(--c-warn); background: var(--c-warn-soft); }

/* ---------- CTA-Band ------------------------------------------------------ */
.cta-band { background: var(--c-navy-dark); color: rgba(255,255,255,.8); padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.cta-band h2 { color: #fff; max-width: 24ch; margin-bottom: .8rem; }
.cta-band p { max-width: 62ch; margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.2rem; }
.cta-band__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-size: .875rem; color: rgba(255,255,255,.68); }
.cta-band__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.cta-band__trust svg { width: 15px; height: 15px; color: rgba(255,255,255,.85); }

/* ---------- Kontakt / Formular ------------------------------------------- */
.contact { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.form__inner { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r); padding: 2rem 1.9rem; }
.form__legend {
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--c-heading);
  padding-bottom: .6rem; margin: 2rem 0 1.2rem; border-bottom: 1px solid var(--c-border);
}
.form__legend:first-child { margin-top: 0; }
.form__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 1rem; }
.form__row--3 { grid-template-columns: minmax(110px, .55fr) repeat(auto-fit, minmax(180px, 1fr)); }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--c-heading); margin-bottom: .4rem; }
.field label small { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .9375rem; color: var(--c-heading);
  padding: .75rem .85rem; border: 1px solid var(--c-border-str); border-radius: var(--r);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px rgba(33,44,64,.08);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b0bd; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; margin: 1.4rem 0 1.5rem; }
.consent input { margin-top: .3rem; width: 17px; height: 17px; flex: none; accent-color: var(--c-navy); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__hint { font-size: .8125rem; color: var(--c-muted); }
.form__msg { margin-top: 1.2rem; font-size: .9375rem; padding: 0; }
.form__msg.is-ok  { padding: 1rem 1.2rem; border-left: 3px solid var(--c-navy); background: var(--c-light); color: var(--c-heading); }
.form__msg.is-err { padding: 1rem 1.2rem; border-left: 3px solid #b4341f; background: #fdf1ef; color: #7c2513; }
.form.is-sent .form__inner { opacity: .55; pointer-events: none; }

.form__progress { margin-top: 1rem; }
.form__progress-bar { height: 6px; background: var(--c-light); border-radius: 999px; overflow: hidden; }
.form__progress-bar span { display: block; height: 100%; width: 0; background: var(--c-navy); transition: width .2s ease; }
.form__progress-text { display: block; margin-top: .5rem; font-size: .8125rem; color: var(--c-muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.upload { margin-bottom: .5rem; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__drop {
  display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center;
  padding: 1.8rem 1.2rem; border: 1.5px dashed var(--c-border-str); border-radius: var(--r);
  background: var(--c-light); cursor: pointer; transition: border-color .18s, background .18s;
}
.upload__drop:hover, .upload.is-over .upload__drop { border-color: var(--c-navy); background: var(--c-navy-soft); }
.upload__drop svg { width: 26px; height: 26px; color: var(--c-navy); margin-bottom: .2rem; }
.upload__label { font-weight: 600; font-size: .9375rem; color: var(--c-heading); }
.upload__hint { font-size: .8125rem; color: var(--c-muted); max-width: 46ch; }
.upload__list { list-style: none; margin: .8rem 0 0; padding: 0; }
.upload__item {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .85rem; margin: 0 0 .5rem;
  border: 1px solid var(--c-border); border-radius: var(--r); font-size: .875rem; background: #fff;
}
.upload__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-heading); }
.upload__size { color: var(--c-muted); font-size: .8125rem; white-space: nowrap; }
.upload__remove { border: 0; background: transparent; color: var(--c-muted); cursor: pointer; font-size: 1rem; line-height: 1; padding: .2rem .3rem; }
.upload__remove:hover { color: #b4341f; }
.upload__error { margin: .6rem 0 0; font-size: .8125rem; color: #b4341f; }

.contact-side { display: grid; gap: 1.25rem; }
.contact-side__line { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--c-border); color: var(--c-heading); font-weight: 600; font-size: .9375rem; }
.contact-side__line:last-child { border-bottom: 0; }
.contact-side__line svg { width: 18px; height: 18px; margin-top: .2rem; color: var(--c-navy); }
.contact-side__line small { display: block; font-weight: 400; color: var(--c-muted); font-size: .8125rem; margin-top: .15rem; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--c-navy-dark); color: rgba(255,255,255,.66); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; font-size: .9125rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(170px, 1fr)); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 42ch; }
.footer-col h4 {
  color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  margin: 0 0 1.1rem; display: flex; align-items: center; gap: .5rem;
}
.footer-col h4 svg { width: 15px; height: 15px; color: rgba(255,255,255,.55); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.footer-col li svg { width: 14px; height: 14px; color: rgba(255,255,255,.45); flex: none; }
.footer-col a { color: rgba(255,255,255,.66); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem; color: rgba(255,255,255,.5);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,.62); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Sprachumschalter --------------------------------------------- */
.im-langsw {
  position: fixed; right: 14px; bottom: 14px; z-index: 80;
  display: flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid var(--c-border); border-radius: 999px;
  padding: .3rem .5rem; box-shadow: 0 4px 18px rgba(17,25,38,.12);
}
.im-langsw a {
  display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .5rem; border-radius: 999px;
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .8px; color: var(--c-muted);
}
.im-langsw a[aria-current="true"] { color: var(--c-navy); background: var(--c-light); }
.im-langsw__sep { width: 1px; height: 16px; background: var(--c-border); }
@media (max-width: 640px) { .im-langsw { right: 10px; bottom: 10px; } }

/* ---------- 404 ----------------------------------------------------------- */
.error-page { text-align: center; }
.error-page .code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 600; color: var(--c-navy-soft); line-height: 1; margin-bottom: 1rem; }
.error-page .lead { font-size: 1.0625rem; }

/* ---------- Kleine Bildschirme ------------------------------------------- */
/* Rasterspalten duerfen nie breiter werden als ihr Platz: sonst schiebt der
   Mindestinhalt (min-content) die ganze Seite auf. */
.grid > *, .contact > *, .split > *, .packages > *, .index-grid > * { min-width: 0; }

@media (max-width: 640px) {
  /* Kleinere Ueberschriften, damit lange Komposita in eine Zeile passen und der
     harte Umbruch mitten im Wort gar nicht erst noetig wird. */
  h1 { font-size: 1.95rem; line-height: 1.18; }
  h2 { font-size: 1.65rem; line-height: 1.2; }
  h3 { font-size: 1.2rem; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .form__inner { padding: 1.5rem 1.15rem; }
  .card, .split__aside, .index-group, .package { padding: 1.6rem 1.35rem; }
  .step { padding: 1.4rem 1.25rem 1.4rem 1.15rem; grid-template-columns: 40px 1fr; gap: .9rem; }
  .step::before { font-size: 1.25rem; }
  .upload__drop { padding: 1.4rem 1rem; }
  .form__foot { gap: .75rem; }
  .form__foot .button { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  :root { --gutter: 18px; }
}

/* ---------- Hilfsklassen -------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
@media print {
  .site-header, .site-footer, .cta-band, .im-langsw, .hamburger { display: none !important; }
}
