/* ML Consulting – Startseite.
   Farben aus dem Logo: Navy #16263C, Türkis #25AA96.
   Aufbau angelehnt an die eigene, überarbeitete Seite von Ende 2025:
   warmes Off-White, schwebende Navigation, runde Kacheln, Schrift Satoshi (lokal eingebunden). */
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #16263c;
  --teal: #25aa96;
  --teal-text: #1c9482;
  --teal-small: #17806f;
  --teal-light: #35c9b4;
  --teal-soft: #dcefeb;
  --ink: #16263c;
  --text: #39424f;
  --muted: #7d858d;
  --line: #dcd9d3;
  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --card: #ffffff;
  --wrap: 1120px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(22, 38, 60, 0.05), 0 12px 32px -20px rgba(22, 38, 60, 0.28);
  --font: "Satoshi", "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-small); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 30; }

h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--teal-text); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }

/* Schwebende Navigation */
.site-header { position: sticky; top: 16px; z-index: 20; padding: 0 20px; margin-top: 16px; }
.site-header .bar {
  max-width: 860px; margin: 0 auto; min-height: 64px; padding: 8px 10px 8px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand span { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--teal-small); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; border: 1.5px solid var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn::after {
  content: "\2192"; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 1.05rem; transition: transform 0.2s ease;
}
.btn:hover { background: var(--teal-small); border-color: var(--teal-small); color: #fff; }
.btn:hover::after { transform: translateX(2px); }
.btn.ghost { background: transparent; color: var(--ink); padding: 14px 24px; }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav .btn { color: #fff; padding: 5px 5px 5px 18px; font-size: 0.95rem; }
.nav .btn::after { width: 32px; height: 32px; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light::after { background: var(--navy); color: #fff; }
.btn.light:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--navy); }

/* Einstieg */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; min-height: 600px; }
.hero-text { padding: 40px 0 88px; align-self: center; }
.pill { display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-small); font-size: 0.85rem; font-weight: 500; }
h1 { font-size: clamp(1.85rem, 3.9vw, 3rem); line-height: 1.12; overflow-wrap: break-word; }
h1.punch { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero .lead { margin: 26px 0 36px; max-width: 52ch; font-size: 1.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-figure::before {
  content: ""; position: absolute; z-index: 0; right: -90px; bottom: 60px; width: 560px; height: 362px;
  background: url("assets/mark-grey.png") no-repeat center / contain; opacity: 0.75;
}
.hero-figure img { position: relative; z-index: 1; width: min(100%, 470px); }

/* Abschnitte */
.section { padding: 56px 0; }
.section.tight { padding-top: 8px; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin: 18px auto 0; max-width: 60ch; font-size: 1.08rem; }

/* Problemfrage */
.question { border-top: 1px solid var(--line); }
.question .section-head { margin-bottom: 0; }

/* Kacheln */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px 28px 30px; box-shadow: var(--shadow); transition: transform 0.2s ease; }
.card:hover { transform: translateY(-3px); }
.card .num { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 44px; }
.card h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 12px; }
.card p { margin: 0; font-size: 0.98rem; }
.card.dark { background: var(--navy); color: #d5dce6; }
.card.dark h3 { color: #fff; }
.card.dark .num { color: var(--teal-light); }

/* Ablauf */
.steps { background: var(--paper-2); border-radius: 32px; padding: 64px 48px; }
.steps .cards { gap: 0; }
.step { padding: 0 28px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step .num { display: block; color: var(--teal-text); font-size: 2.6rem; font-weight: 300; line-height: 1; margin-bottom: 20px; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { margin: 0; font-size: 0.98rem; }

/* Profil */
.stats { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stats li { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stats strong { display: block; color: var(--teal-text); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 12px; color: var(--ink); font-weight: 500; }
.profile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.profile h3 { font-size: 1.5rem; margin-bottom: 16px; }
.profile p { margin: 0 0 16px; max-width: 60ch; }
.profile .more { margin: 24px 0 0; }
.profile .more a { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.profile .more a::after { content: " \2192"; }
.quote { position: relative; margin: 0; padding: 44px 34px 32px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.quote::before { content: "\201D"; position: absolute; left: 26px; top: -30px; color: var(--teal); font-size: 6.5rem; line-height: 1; font-weight: 700; font-family: Georgia, "Times New Roman", serif; }
.quote p { margin: 0 0 14px; font-size: 1.35rem; line-height: 1.35; max-width: none; }
.quote footer { color: #b9c3d0; font-size: 0.92rem; }

/* Zielgruppen */
.groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.groups li { border-top: 3px solid var(--teal); padding-top: 20px; }
.groups h3 { font-size: 1.2rem; margin-bottom: 10px; }
.groups p { margin: 0; font-size: 0.98rem; }

/* Stimmen */
.voices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.voices > li { grid-column: span 2; display: flex; }
.voices > li:nth-child(n+4) { grid-column: span 3; }
.voice { margin: 0; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.voice blockquote { margin: 0 0 24px; font-size: 1rem; }
.voice figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.voice figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.voice figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 1rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; position: relative; color: var(--ink); font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--teal-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 26px 24px; max-width: 66ch; }

/* Kontakt */
.contact-box { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; background: var(--navy); color: #d5dce6; border-radius: 32px; padding: 64px 56px; }
.contact-box h2 { color: #fff; }
.contact-box h2 em { color: var(--teal-light); }
.contact-box p { margin: 18px 0 30px; max-width: 44ch; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-list span { color: #9aa7b8; font-size: 0.92rem; }
.contact-list a { color: #fff; overflow-wrap: anywhere; text-decoration-color: var(--teal); }
.contact-list a:hover { color: var(--teal-light); }
.contact-list address { font-style: normal; }

/* Fuß */
.site-footer { color: var(--muted); font-size: 0.9rem; padding: 0 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer a { color: var(--ink); text-decoration: none; margin-left: 26px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover, .site-footer a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--teal); }

/* Rechtstexte */
.legal { padding: 72px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 36px; }
.legal h2 { font-size: 1.2rem; letter-spacing: 0; margin: 38px 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal address { font-style: normal; margin-bottom: 14px; }

/* Einstieg: Verfügbarkeit und Kennzahlen */
.avail { margin: 22px 0 0; font-size: 0.92rem; color: var(--teal-small); font-weight: 500; }
.avail::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); margin-right: 9px; }
.hero-stats { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats li { max-width: 165px; }
.hero-stats strong { display: block; color: var(--teal-text); font-size: 2.1rem; line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
.hero-stats span { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--ink); }
.path { margin: 18px 0 0; color: var(--ink); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em; }
.hero-text { padding-bottom: 64px; }

/* Einstiegsangebot */
.offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; background: var(--navy); color: #d5dce6; border-radius: 32px; padding: 60px 56px; }
.offer h2 { color: #fff; }
.offer h2 em { color: var(--teal-light); }
.offer p { margin: 18px 0 28px; max-width: 48ch; }
.offer .pill { margin: 0 0 18px; background: rgba(53, 201, 180, 0.16); color: var(--teal-light); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 14px; color: var(--teal-light); font-weight: 700; }
.offer .price { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #b9c3d0; }
.offer .price strong { display: block; color: #fff; font-size: 2.4rem; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }

/* Beispiele */
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-small); font-size: 0.8rem; font-weight: 500; align-self: flex-start; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.case h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 18px; }
.case dl { margin: 0; }
.case dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 14px; border-top: 1px solid var(--line); }
.case dd { margin: 4px 0 14px; font-size: 0.96rem; }
.case dd:last-child { margin-bottom: 0; }
.profile .more a + a { margin-left: 26px; }

/* Steckbrief */
.sheet { background: var(--card); border-radius: 32px; box-shadow: var(--shadow); padding: 56px; }
.sheet-head { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.sheet-head .values { margin: 14px 0 0; color: var(--teal-small); font-weight: 500; letter-spacing: 0.04em; }
.sheet-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.sheet h3 { font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 16px; }
.sheet h3:not(:first-child) { margin-top: 34px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--teal-soft); }
.timeline li { position: relative; padding: 0 0 24px; font-size: 0.96rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid var(--card); }
.timeline span { display: block; color: var(--teal-small); font-size: 0.86rem; font-weight: 500; }
.timeline strong { display: block; color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.plain { list-style: none; margin: 0; padding: 0; font-size: 0.96rem; }
.plain li { padding: 9px 0; border-top: 1px solid var(--line); }
.plain li:first-child { border-top: 0; padding-top: 0; }
.plain strong { color: var(--ink); font-weight: 500; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-small); font-size: 0.88rem; font-weight: 500; }

/* Referenzen */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.refs > li { grid-column: span 2; display: flex; }
.refs > li:nth-child(n+4) { grid-column: span 3; }
.ref-card { display: flex; flex-direction: column; width: 100%; background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform 0.2s ease; }
.ref-card:hover { transform: translateY(-3px); color: var(--text); }
.ref-card h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
.ref-card p { margin: 0 0 22px; font-size: 0.98rem; }
.ref-card p.tag { margin: 0 0 16px; }
.ref-card .go { margin-top: auto; color: var(--teal-small); font-weight: 500; }
.ref-card .go::after { content: " \2192"; }
.quote p { font-size: 1.15rem; }
.statement p { margin: 0 auto; max-width: 22ch; text-align: center; color: var(--ink); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }

.ref-card { padding: 0; overflow: hidden; }
.ref-card > .tag, .ref-card > h3, .ref-card > p, .ref-card > .go { margin-left: 28px; margin-right: 28px; }
.ref-card > p.tag { margin: 22px 28px 16px; }
.ref-card > .go { margin-bottom: 28px; }
.ref-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ref-word { display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.5rem; font-weight: 500; letter-spacing: 0.14em; }
.shot { margin: 30px 0; }
.shot img { width: 100%; max-width: 480px; border-radius: 14px; }
.shot.wide img { max-width: none; border-radius: var(--radius); }
.shot figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.videos { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.videos .btn.ghost { padding: 10px 20px; font-size: 0.95rem; }

.ref .stats { margin: 30px 0 10px; padding: 0; }
.ref .stats li { margin: 0; }
.ref .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ref .stats strong { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.ref .source { font-size: 0.86rem; color: var(--muted); margin: -20px 0 36px; }

/* Quartiersplan als Hintergrund dunkler Flächen */
.offer, .contact-box, .ref-word, .ref-hero {
  background-color: var(--navy);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(22, 38, 60, 0.94) 0%, rgba(22, 38, 60, 0.72) 55%, rgba(22, 38, 60, 0.35) 100%), url("assets/quartiersplan.svg");
  background-size: cover; background-position: center;
}
.ref-word { background-image: linear-gradient(rgba(22, 38, 60, 0.45), rgba(22, 38, 60, 0.45)), url("assets/quartiersplan.svg"); align-content: center; gap: 8px; text-align: center; font-size: 1.2rem; letter-spacing: 0.02em; padding: 0 20px; }
.ref-word small { display: block; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--teal-light); text-transform: uppercase; }
.ref-word b { font-weight: 500; }

/* Bild der Übernahme-Referenz */
.ref-hero { margin: 30px 0 10px; border-radius: var(--radius); padding: 44px 40px 40px; color: #d5dce6; overflow: hidden; background-image: radial-gradient(ellipse at 50% 60%, rgba(22, 38, 60, 0.9) 0%, rgba(22, 38, 60, 0.6) 60%, rgba(22, 38, 60, 0.25) 100%), url("assets/quartiersplan.svg"); }
.ref-hero .from-to { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0 0 40px; color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.ref-hero .from-to span { color: #9aa7b8; }
.ref-hero .from-to i { font-style: normal; color: var(--teal-light); }
.ref-hero ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ref-hero li { position: relative; margin: 0; padding: 26px 20px 0 0; border-top: 2px solid rgba(53, 201, 180, 0.45); }
.ref-hero li::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 5px rgba(53, 201, 180, 0.22); }
.ref-hero li span { display: block; color: var(--teal-light); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.ref-hero li strong { display: block; margin: 6px 0 4px; color: #fff; font-weight: 500; font-size: 1.1rem; }
.ref-hero li em { font-style: normal; font-size: 0.92rem; }

/* Referenzseiten */
.ref .back { margin: 0 0 26px; }
.ref .back a { text-decoration: none; font-weight: 500; }
.ref .back a::before { content: "\2190  "; }
.ref h1 { margin-bottom: 20px; }
.ref .lead { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.ref ul { padding-left: 22px; }
.ref li { margin-bottom: 6px; }
.quote.inline { margin: 44px 0 10px; }
.facts { margin: 14px 0 40px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px; }
.facts div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 0.92rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.ref .cta { margin: 0; }

@media (max-width: 960px) {
  .wrap { padding: 0 28px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding: 48px 0 28px; }
  .hero-figure img { width: min(78%, 360px); }
  .hero-figure::before { right: -60px; bottom: 30px; width: 380px; height: 246px; }
  .section { padding: 44px 0; }
  .cards, .groups { grid-template-columns: 1fr 1fr; }
  .voices, .refs { grid-template-columns: 1fr 1fr; }
  .refs > li, .refs > li:nth-child(n+4) { grid-column: auto; }
  .refs > li:last-child { grid-column: 1 / -1; }
  .voices > li, .voices > li:nth-child(n+4) { grid-column: auto; }
  .voices > li:last-child { grid-column: 1 / -1; }
  .steps { padding: 44px 28px; }
  .steps .cards { grid-template-columns: 1fr; }
  .step { padding: 28px 0 0; margin-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  .profile { grid-template-columns: 1fr; gap: 56px; }
  .contact-box { grid-template-columns: 1fr; gap: 20px; padding: 48px 32px; }
  .offer { grid-template-columns: 1fr; gap: 28px; padding: 48px 32px; }
  .sheet { padding: 40px 28px; }
  .sheet-cols { grid-template-columns: 1fr; gap: 40px; }
  .cases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  h1 { font-size: 1.8rem; }
  h1.punch { font-size: 2.1rem; }
  .site-header { padding: 0 12px; top: 10px; margin-top: 10px; }
  .site-header .bar { padding-left: 16px; min-height: 56px; }
  .brand span { display: none; }
  .nav { gap: 4px 16px; }
  .nav a { font-size: 0.9rem; }
  .nav a { white-space: nowrap; }
  /* Zweizeilige Leiste, wenn mehr als zwei Rubriken */
  .site-header.rows .bar { flex-wrap: wrap; border-radius: 26px; padding: 8px 10px 10px 16px; gap: 6px 12px; }
  .site-header.rows .nav { display: contents; }
  .site-header.rows .brand { order: 1; }
  .site-header.rows .nav .btn { order: 2; margin-left: auto; }
  .site-header.rows .bar::after { content: ""; order: 3; flex-basis: 100%; height: 0; border-top: 1px solid rgba(22, 38, 60, 0.1); }
  .site-header.rows .nav a:not(.btn) { order: 4; flex: 1 1 auto; text-align: center; font-size: 0.85rem; padding: 4px 0 2px; }
  .cards, .voices, .groups, .stats, .refs { grid-template-columns: 1fr; }
  .refs > li:last-child { grid-column: auto; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .ref-hero { padding: 32px 24px; }
  .ref-hero ol { grid-template-columns: 1fr; }
  .ref-hero li { border-top: 0; border-left: 2px solid rgba(53, 201, 180, 0.45); padding: 0 0 22px 22px; }
  .ref-hero li::before { left: -8px; top: 4px; }
  .voices > li:last-child { grid-column: auto; }
  .card .num { margin-bottom: 24px; }
  .contact-box, .offer { padding: 40px 24px; border-radius: 24px; }
  .hero-stats { gap: 14px 28px; }
  .profile .more a { display: inline-block; margin: 0 0 12px; }
  .profile .more a + a { margin-left: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .site-footer a { margin-left: 0; margin-right: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn, .btn::after { transition: none; } }
@media print { .site-header { position: static; } }
