/* ============================================================
   Dentalutions — hell, ruhig, premium
   Schrift: System-UI-Stack (rendert auf Apple-Geräten als SF Pro)
   Farbe: Schwarz/Grau auf Papierweiß, ein Akzent (Logo-Blau)
   Motion: nur transform/opacity, ease-out, < 300 ms
   ============================================================ */

:root {
  --ink: #0e1116;
  --ink-2: #5b626e;
  --ink-3: #6b7280;
  --bg: #f7f7f8;
  --card: #ffffff;
  --tint: #f0f4fd;          /* helle Akzentfläche statt dunkler Sektion */
  --line: #e9eaec;
  --accent: #0b58f2;
  --accent-deep: #0a4bd4;
  --r: 20px;
  --r-sm: 14px;
  --wrap: 1120px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --sh-1: 0 1px 2px rgba(14, 17, 22, .04), 0 8px 24px -14px rgba(14, 17, 22, .14);
  --sh-2: 0 1px 2px rgba(14, 17, 22, .05), 0 22px 48px -20px rgba(14, 17, 22, .22);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.011em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
p { margin: 0 0 1em; }

/* Typografie: Tracking und Leading größenabhängig, nie ein fester Wert */
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 640; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.034em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 1.3rem; line-height: 1.24; letter-spacing: -.022em; font-weight: 620; }
h4 { font-size: 1.05rem; line-height: 1.35; letter-spacing: -.016em; font-weight: 600; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
address, .faq-a, .contactfacts a { overflow-wrap: anywhere; }

/* Kleines Label (früher Monospace — jetzt ruhig in der Systemschrift) */
.mono { font-size: .84rem; font-weight: 590; letter-spacing: .005em; color: var(--accent); text-transform: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skiplink { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; }
.skiplink:focus { left: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons: Feedback beim Drücken ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 590; font-size: .98rem; letter-spacing: -.008em; line-height: 1.2;
  border: 0; cursor: pointer;
  transition: transform .16s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262b33; color: #fff; }
.btn-ghost { background: rgba(14, 17, 22, .05); color: var(--ink); }
.btn-ghost:hover { background: rgba(14, 17, 22, .09); color: var(--ink); }

/* ---------- Header: durchscheinende Ebene, Inhalt läuft darunter ---------- */
.siteheader {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 247, 248, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.siteheader::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 20px;
  background: linear-gradient(rgba(247, 247, 248, .65), rgba(247, 247, 248, 0));
  pointer-events: none;
}
.headerbar { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { flex: 0 0 auto; }
.brand img { width: 184px; height: auto; }
.brand .logo-dark { display: none; }
.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a {
  display: block; padding: 9px 13px; color: var(--ink-2); font-size: .95rem; font-weight: 530;
  border-radius: 10px; letter-spacing: -.008em;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.mainnav > ul > li > a:hover { color: var(--ink); background: rgba(14, 17, 22, .04); }
.mainnav > ul > li.active > a { color: var(--ink); font-weight: 590; }
.subtoggle { display: none; }
.subnav {
  list-style: none; margin: 0; padding: 7px;
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 274px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px; box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: scale(.97) translateY(-4px);
  transform-origin: top left;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .94rem; font-weight: 500; }
.subnav a:hover { background: rgba(14, 17, 22, .05); color: var(--ink); }
.headercta {
  flex: 0 0 auto; padding: 10px 20px; font-size: .94rem; background: transparent; color: var(--ink);
  border-radius: 999px; font-weight: 590; box-shadow: inset 0 0 0 1px #d9dce1;
  transition: transform .16s var(--ease), background-color .2s var(--ease);
}
.headercta:hover { background: rgba(14, 17, 22, .05); color: var(--ink); }
.headercta:active { transform: scale(.97); }
.navtoggle { display: none; }

/* ---------- Sektionen ---------- */
.section { padding: 104px 0; }
.measure { padding: 104px 0 0; }
.measure-rule { margin-bottom: 20px; }
.measure-rule .mono { display: block; }
.measure-rule .measure-note { display: none; }
.section-intro { max-width: 60ch; }
.section-intro h2 { margin-bottom: .42em; }
.section-intro p, .lead { color: var(--ink-2); font-size: 1.16rem; line-height: 1.55; letter-spacing: -.014em; max-width: 54ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.section-head .btn { margin-left: auto; }

/* „viewport" war die dunkle Sektion — jetzt eine ruhige, hell getönte Fläche */
.viewport { position: relative; background: var(--tint); }
.viewport h1, .viewport h2 { color: var(--ink); }
.viewport p { color: var(--ink-2); }
.gradword { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 92px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--accent); font-size: .88rem; font-weight: 590; margin: 0 0 20px; }
.hero h1 { margin-bottom: .36em; max-width: 15ch; }
.hero-sub { font-size: 1.2rem; line-height: 1.5; letter-spacing: -.015em; color: var(--ink-2); max-width: 48ch; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual img { width: min(320px, 78%); }
.hud { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 2.6em 0 0; list-style: none; }
.hud li { color: var(--ink-3); font-size: .9rem; font-weight: 500; letter-spacing: -.008em; }
.hud li + li::before { content: "·"; margin-right: 20px; color: #ccd0d6; }

/* ---------- Karten ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; }
.cardgrid.cols2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid.cols4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border-radius: var(--r);
  padding: 36px 32px 30px; display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card h3 { margin: 0 0 12px; max-width: 15ch; }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; margin: 0; max-width: 36ch; }
.card-more { margin-top: auto; padding-top: 24px; font-size: .95rem; font-weight: 560; color: var(--ink-2); transition: color .2s var(--ease); }
.sigil { display: block; font-size: .84rem; font-weight: 590; color: var(--ink-3); margin: 0 0 14px; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
  .card:hover .card-more { color: var(--accent); }
}
.card:active { transform: translateY(-1px); }
.card.card-cta { background: var(--ink); }
.card.card-cta h3 { color: #fff; }
.card.card-cta p { color: #a9b0bd; }
.card.card-cta .btn { align-self: flex-start; margin-top: 20px; position: relative; z-index: 1; background: #fff; color: var(--ink); }

/* ---------- Split-Panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.split-panel {
  background: var(--card); border-radius: var(--r); padding: 44px 40px;
  display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .split-panel:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
.split-panel .mono { margin-bottom: 14px; }
.split-panel h3 { font-size: 1.5rem; max-width: 18ch; }
.split-panel p { color: var(--ink-2); }
.split-panel .btn { margin-top: auto; }

/* ---------- Zitat ---------- */
.quote { margin: 32px 0 0; padding: 0; max-width: 44ch; }
.quote p { font-size: clamp(1.3rem, 2.4vw, 1.72rem); line-height: 1.32; letter-spacing: -.026em; font-weight: 600; color: var(--ink); }
.quote footer { color: var(--ink-3); font-size: .95rem; }
.quote .mono { color: var(--ink-3); font-weight: 500; }

/* ---------- Schritte ---------- */
.steps { list-style: none; counter-reset: step; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--stepcols, 3), 1fr); gap: 36px 32px; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-size: .84rem; font-weight: 590; color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 1.14rem; margin-bottom: .4em; }
.steps p { color: var(--ink-2); font-size: 1rem; margin: 0; max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative;
  font-weight: 590; font-size: 1.12rem; letter-spacing: -.018em;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); border-radius: 1px;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease), border-color .18s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq .faq-a { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }
.faq .faq-a p { margin: 0; }

/* ---------- Bildflächen (bis echte Fotos da sind) ---------- */
.photoslot {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, #eef0f2, #e6e8ec);
  display: grid; place-items: center; color: var(--ink-3);
}
.photoslot.r43 { aspect-ratio: 4 / 3; }
.photoslot.r169 { aspect-ratio: 16 / 9; }
.photoslot.r34 { aspect-ratio: 3 / 4; }
.photoslot span { font-size: .88rem; font-weight: 500; letter-spacing: -.008em; }

/* ---------- Bild + Text ---------- */
.mediatext { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; margin-top: 56px; }
.mediatext.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.mediatext.flip .mediatext-media { order: 2; }
.mediatext h2, .mediatext h3 { margin-top: 0; }
.mediatext p { color: var(--ink-2); }

/* ---------- CTA-Band ---------- */
.ctaband { padding: 88px 0; }
.ctaband .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 44px; align-items: center; }
.ctaband h2 { margin-bottom: .3em; }
.ctaband p { color: var(--ink-2); max-width: 52ch; margin: 0; }
.ctaband .ctaband-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.pagehead { padding: 88px 0 0; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; color: var(--ink-3); flex-wrap: wrap; font-size: .92rem; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.pagehead h1 { max-width: 20ch; }
.pagehead .lead { margin-top: .6em; }
.pagehead .hero-actions { margin-top: 1.8em; }
.pagehead-rule { margin-top: 64px; }

/* ---------- Prosa ---------- */
.prose { max-width: 66ch; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Formular ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.form .field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: .92rem; font-weight: 560; margin-bottom: 7px; letter-spacing: -.01em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); padding: 13px 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 88, 242, .12); }
.field textarea { min-height: 156px; resize: vertical; }
.choice { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.choice input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.radiorow { display: flex; gap: 24px; align-items: center; }
.radiorow label { display: flex; gap: 9px; align-items: center; font-weight: 500; font-size: 1rem; margin: 0; }
.radiorow input { accent-color: var(--accent); width: 18px; height: 18px; }
.form-note { font-size: .9rem; color: var(--ink-3); }
.form .mono, legend.mono { color: var(--ink-3); font-weight: 560; }
.form-note.mono { color: var(--ink-3); font-weight: 500; }

/* ---------- Kontakt ---------- */
.contactgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-top: 56px; align-items: start; }
.contactfacts { display: grid; gap: 28px; }
.contactfacts .mono { margin-bottom: 6px; color: var(--ink-3); font-weight: 500; }
.contactfacts a { font-weight: 560; color: var(--ink); font-size: 1.08rem; }
.contactfacts a:hover { color: var(--accent); }
.contactfacts address { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }

/* ---------- Footer ---------- */
.sitefooter { background: var(--card); padding: 84px 0 40px; }
.sitefooter h2 { font-size: .88rem; font-weight: 590; color: var(--ink); margin-bottom: 16px; letter-spacing: -.008em; }
.footgrid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.5fr) minmax(0, 3fr); gap: 44px; }
.footbrand img { width: 190px; margin-bottom: 20px; }
.footbrand p { font-size: .98rem; color: var(--ink-2); max-width: 34ch; }
.footinterfaces { font-size: .92rem; color: var(--ink-3); }
.footcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footcol a { color: var(--ink-2); font-size: .98rem; }
.footcol a:hover { color: var(--ink); }
.footcol address { font-size: .98rem; line-height: 1.8; color: var(--ink-2); }
.footcol address a { color: var(--ink-2); }
.footbase { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footbase p { font-size: .9rem; color: var(--ink-3); margin: 0; }
.footbase a { color: var(--ink-3); }
.footbase a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-observer .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cardgrid, .cardgrid.cols4 { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .headerbar { gap: 14px; height: 64px; }
  .brand img { width: 164px; }
  .headercta { display: none; }
  .navtoggle {
    display: grid; place-items: center; margin-left: auto;
    background: rgba(14, 17, 22, .05); border: 0; border-radius: 12px;
    width: 44px; height: 40px; cursor: pointer;
    transition: transform .16s var(--ease), background-color .2s var(--ease);
  }
  .navtoggle:active { transform: scale(.95); }
  .navtoggle-box { position: relative; width: 18px; height: 12px; display: block; }
  .navtoggle-line, .navtoggle-line::before, .navtoggle-line::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: transform .24s var(--ease), opacity .18s var(--ease);
  }
  .navtoggle-line { top: 5px; }
  .navtoggle-line::before { top: -5px; }
  .navtoggle-line::after { top: 5px; }
  .navtoggle[aria-expanded="true"] .navtoggle-line { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle-line::before { transform: translateY(5px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle-line::after { transform: translateY(-5px) rotate(-45deg); }
  .mainnav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; height: auto; z-index: 90;
    background: rgba(247, 247, 248, .96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 20px 32px 48px; overflow-y: auto; display: none; margin: 0;
  }
  body.nav-open .mainnav { display: block; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter macht den Header zum Bezugsrahmen für position:fixed —
     bei offenem Menü muss er weg, sonst richtet sich die Navigation an den
     64 px des Headers aus statt am Bildschirm. */
  body.nav-open .siteheader {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(247, 247, 248, .98);
  }
  body.nav-open .siteheader::after { display: none; }
  .mainnav > ul { flex-direction: column; gap: 2px; }
  .mainnav > ul > li > a { padding: 15px 12px; font-size: 1.12rem; color: var(--ink); font-weight: 560; }
  .has-sub { position: relative; }
  .subtoggle {
    display: grid; place-items: center; position: absolute; right: 4px; top: 6px;
    width: 42px; height: 42px; border: 0; border-radius: 12px;
    background: rgba(14, 17, 22, .05); cursor: pointer;
  }
  .subtoggle span { position: relative; width: 12px; height: 12px; display: block; }
  .subtoggle span::before, .subtoggle span::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
    background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%);
    transition: transform .22s var(--ease);
  }
  .subtoggle span::after { transform: translate(-50%, -50%) rotate(90deg); }
  .subtoggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }
  .subnav {
    position: static; min-width: 0; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 12px 12px; display: none;
  }
  .has-sub.open .subnav { display: block; visibility: visible; }
  .has-sub:hover .subnav { visibility: hidden; }
  .has-sub.open:hover .subnav, .has-sub.open:focus-within .subnav { visibility: visible; }
  .subnav a { padding: 11px 12px; font-size: 1rem; color: var(--ink-2); }

  .hero { padding: 60px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: 2; }
  .hero-visual img { width: min(240px, 58%); }
  .mediatext, .mediatext.flip { grid-template-columns: 1fr; gap: 32px; }
  .mediatext.flip .mediatext-media { order: 0; }
  .contactgrid { grid-template-columns: 1fr; gap: 44px; }
  .ctaband .wrap { grid-template-columns: 1fr; gap: 26px; }
  .ctaband .ctaband-actions { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section, .measure { padding-top: 76px; }
  .section { padding-bottom: 76px; }
  .ctaband { padding: 68px 0; }
  .pagehead { padding-top: 56px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .cardgrid, .cardgrid.cols2, .cardgrid.cols4 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 26px 26px; }
  .sigil { margin-bottom: 12px; }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .split-panel { padding: 32px 28px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: 1fr; gap: 34px; }
  .sitefooter { padding-top: 64px; }
  .section-head .btn { margin-left: 0; }
  .cardgrid, .split, .steps { margin-top: 40px; }
}

/* ---------- Zugänglichkeit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .siteheader, .subnav, .mainnav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .siteheader { border-bottom: 1px solid var(--line); }
}
@media (prefers-contrast: more) {
  .card, .split-panel { border: 1px solid var(--ink-3); }
  .mainnav > ul > li > a { color: var(--ink); }
}

/* ---------- Hero-Medium (Foto/Video statt Signet) ---------- */
.hero-visual { margin: 0; }
.hero-media {
  display: block; width: 100%; height: auto; max-width: 460px;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 24px; background: #eef0f2;
  box-shadow: 0 2px 6px rgba(14, 17, 22, .05), 0 34px 70px -28px rgba(14, 17, 22, .3);
}
@media (max-width: 960px) { .hero-media { max-width: 380px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }

/* ============================================================
   Scroll-Bühne (Apple-Prinzip): eine Aussage, die sich entfaltet
   ============================================================ */
.stage { position: relative; }
.js .stage { height: 340vh; }                 /* Scrollweg für die Sequenz */
.stage-inner { padding: 120px 0 140px; }
.js .stage-inner {
  position: sticky; top: 0; height: 100vh; padding: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.stage-eyebrow { color: var(--accent); font-size: .88rem; font-weight: 590; margin: 0 0 28px; }

/* Wortsequenz */
.wordstack { margin: 0; position: relative; }
.wordstack .line {
  display: block;
  font-size: clamp(2.6rem, 8.2vw, 7rem);
  line-height: 1.02; letter-spacing: -.042em; font-weight: 660;
  color: var(--ink);
}
.js .wordstack { height: 1.02em; }
.js .wordstack .line {
  position: absolute; left: 0; top: 0; width: 100%;
  opacity: 0; transform: translateY(28px) scale(.97);
  will-change: transform, opacity;
}
.js .wordstack .line.is-on { opacity: 1; transform: none; }
.js .wordstack .line.is-past { opacity: 0; transform: translateY(-24px) scale(1.02); }
.wordstack .line { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.wordstack .accent { color: var(--accent); }

/* Bildunterzeile pro Schritt */
.stage-caption { margin: 34px 0 0; min-height: 3.4em; position: relative; }
.stage-caption .cap {
  font-size: 1.16rem; line-height: 1.5; letter-spacing: -.014em; color: var(--ink-2);
  max-width: 46ch; margin: 0;
}
.js .stage-caption .cap {
  position: absolute; left: 0; top: 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.js .stage-caption .cap.is-on { opacity: 1; transform: none; }

/* Fortschritt: feine Punktreihe */
.stage-dots { display: flex; gap: 9px; margin: 46px 0 0; padding: 0; list-style: none; }
.stage-dots li { width: 7px; height: 7px; border-radius: 50%; background: #d3d7de; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.stage-dots li.on { background: var(--accent); transform: scale(1.25); }
.no-js-hide { display: none; }
.js .no-js-hide { display: block; }

.stage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.js .stage-actions { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .stage-actions.is-on { opacity: 1; transform: none; }

/* Ohne JS bzw. bei reduzierter Bewegung: ruhige statische Fassung */
@media (prefers-reduced-motion: reduce) {
  .stage { height: auto !important; }
  .stage-inner { position: static !important; height: auto !important; padding: 96px 0 100px !important; }
  .wordstack { height: auto !important; }
  .wordstack .line { position: static !important; opacity: 1 !important; transform: none !important; font-size: clamp(2.2rem, 5vw, 3.6rem); }
  .stage-caption { min-height: 0; }
  .stage-caption .cap { position: static !important; opacity: 1 !important; transform: none !important; margin-bottom: .6em; }
  .stage-actions { opacity: 1 !important; transform: none !important; }
  .stage-dots { display: none; }
}
@media (max-width: 960px) {
  .js .stage { height: 300vh; }
  .stage-inner { padding: 80px 0 90px; }
}

/* Korrekturen Scroll-Bühne */
.js .stage-inner > .wrap { width: 100%; }
.js .wordstack { height: 1.16em; margin-bottom: 6px; }
.wordstack .line { padding-bottom: .06em; }
.js .stage-dots.no-js-hide { display: flex; }
.js .wordstack { height: 1.2em; }
.stage-caption { margin-top: 46px; }

/* ============================================================
   Bühnen-Visual: ein Werkstück, das die fünf Stufen durchläuft
   ============================================================ */
.js .stage-inner > .wrap { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: 56px; align-items: center; }
.stage-copy { min-width: 0; }
.stage-visual { margin: 0; display: grid; place-items: center; min-width: 0; }
.stage-visual svg { width: min(100%, 440px); height: auto; overflow: visible; }
.js .stage-visual { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .stage-visual.is-ready { opacity: 1; transform: none; }

/* Ebenen — Standard: unsichtbar, je Stufe eingeblendet */
.wp-layer { transition: opacity .55s var(--ease); }
.wp-dots circle { fill: var(--accent); opacity: 0; transition: opacity .4s var(--ease); }
.wp-mesh { fill: none; stroke: var(--accent); stroke-width: .8; opacity: 0; }
.wp-outline { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; opacity: 0;
  stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900);
  transition: stroke-dashoffset 1.1s var(--ease), opacity .5s var(--ease); }
.wp-fill { fill: #dfe3ea; opacity: 0; transition: opacity .6s var(--ease); }
.wp-fill-mask { fill: var(--accent); opacity: 0; }
.wp-scan { stroke: var(--accent); stroke-width: 1.6; opacity: 0; }
.wp-mill { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 5 7; opacity: 0; }
.wp-marks g { opacity: 0; transition: opacity .35s var(--ease); }
.wp-marks circle { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.wp-marks path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wp-shadow { fill: rgba(14, 17, 22, .06); opacity: 0; transition: opacity .6s var(--ease); }

/* --- Stufe 1: Gescannt --- */
[data-step="0"] .wp-dots circle { opacity: 1; }
[data-step="0"] .wp-scan { opacity: 1; animation: wp-sweep 2.6s var(--ease) infinite alternate; }
@keyframes wp-sweep { from { transform: translateY(-46px); } to { transform: translateY(52px); } }

/* --- Stufe 2: Konstruiert --- */
[data-step="1"] .wp-dots circle { opacity: .5; }
[data-step="1"] .wp-mesh { opacity: 1; }
[data-step="1"] .wp-outline { opacity: 1; stroke-dashoffset: 0; }

/* --- Stufe 3: Gefräst --- */
[data-step="2"] .wp-outline { opacity: 1; stroke-dashoffset: 0; }
[data-step="2"] .wp-fill { opacity: 1; }
[data-step="2"] .wp-mill { opacity: 1; animation: wp-orbit 3.4s linear infinite; transform-origin: 100px 104px; }
@keyframes wp-orbit { to { transform: rotate(360deg); } }

/* --- Stufe 4: Geprüft --- */
[data-step="3"] .wp-outline { opacity: 1; stroke-dashoffset: 0; }
[data-step="3"] .wp-fill { opacity: 1; }
[data-step="3"] .wp-marks g { opacity: 1; }
[data-step="3"] .wp-marks g:nth-child(2) { transition-delay: .12s; }
[data-step="3"] .wp-marks g:nth-child(3) { transition-delay: .24s; }

/* --- Stufe 5: Passt --- */
[data-step="4"] .wp-outline { opacity: 1; stroke-dashoffset: 0; stroke: var(--accent); }
[data-step="4"] .wp-fill-mask { opacity: 1; }
[data-step="4"] .wp-shadow { opacity: 1; }

@media (max-width: 960px) {
  .js .stage-inner > .wrap { grid-template-columns: 1fr; gap: 26px; }
  .stage-visual { order: -1; }
  .stage-visual svg { width: min(58%, 250px); }
  .js .stage { height: 320vh; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-visual { display: none; }
}

/* ---------- Werkstück in 3D (Canvas) ---------- */
.stage-visual canvas { width: min(100%, 460px); height: auto; aspect-ratio: 1; display: block; }
.stage-visual.is-ready { opacity: 1; transform: none; }
@media (max-width: 960px) { .stage-visual canvas { width: min(62%, 280px); margin: 0 auto; } }

/* ============================================================
   Kapitel-Sektion: Schritte, die beim Scrollen durchlaufen
   ============================================================ */
.chapters { position: relative; }
.js .chapters { height: 300vh; }
.chapters-inner { padding: 104px 0; }
.js .chapters-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 0; }
.chapters-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; width: 100%; }
.chapters-lead h2 { margin-bottom: .35em; }
.chapters-lead p { color: var(--ink-2); font-size: 1.16rem; line-height: 1.55; letter-spacing: -.014em; max-width: 40ch; }
.chapters-meter { display: flex; gap: 6px; margin-top: 34px; }
.chapters-meter i { height: 3px; flex: 1; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.chapters-meter i.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: 2px; }

.chapterlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chapterlist li {
  display: grid; grid-template-columns: 74px 1fr; gap: 20px; align-items: start;
  padding: 26px 24px; border-radius: var(--r); background: transparent;
  transition: background-color .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease);
  opacity: .38;
}
.chapterlist li .n { font-size: .86rem; font-weight: 590; color: var(--ink-3); padding-top: .28em; letter-spacing: 0; }
.chapterlist li h3 { margin: 0 0 6px; font-size: 1.34rem; }
.chapterlist li p { margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 46ch; }
.js .chapterlist li.on { opacity: 1; background: var(--card); box-shadow: var(--sh-1); transform: translateX(4px); }
.js .chapterlist li.on .n { color: var(--accent); }
.no-js .chapterlist li, .chapters:not(.js-ready) .chapterlist li { opacity: 1; }

@media (max-width: 960px) {
  .js .chapters { height: auto; }
  .js .chapters-inner { position: static; height: auto; padding: 76px 0; }
  .chapters-grid { grid-template-columns: 1fr; gap: 34px; }
  .chapterlist li { opacity: 1 !important; background: var(--card); box-shadow: var(--sh-1); transform: none !important; padding: 24px 22px; }
  .chapters-meter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chapters { height: auto !important; }
  .chapters-inner { position: static !important; height: auto !important; padding: 90px 0 !important; }
  .chapterlist li { opacity: 1 !important; background: var(--card); box-shadow: var(--sh-1); transform: none !important; }
  .chapters-meter { display: none; }
}

/* ---------- Leistungen: erste Karte als Anker ---------- */
/* sechs gleichwertige Karten = zwei vollständige Reihen (kein Rest) */

/* ---------- Statement (großes Zitat als eigener Moment) ---------- */
.statement { padding: 132px 0; background: var(--card); }
.statement blockquote { margin: 0; max-width: 100%; }
.statement p.q {
  font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.14; letter-spacing: -.032em;
  font-weight: 620; color: var(--ink); margin: 0 0 30px; max-width: 17ch; text-wrap: balance;
}
.statement footer { color: var(--ink-3); font-size: 1rem; }
.statement footer b { display: block; color: var(--ink); font-weight: 590; font-size: 1.05rem; margin-bottom: 2px; }
.statement .wrap { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: 64px; align-items: center; }
.statement .portrait { border-radius: var(--r); overflow: hidden; margin: 0; box-shadow: var(--sh-1); }
.statement .portrait img { display: block; width: 100%; height: auto; }
@media (max-width: 960px) { .statement { padding: 88px 0; } .statement .wrap { grid-template-columns: 1fr; gap: 34px; }
  /* einspaltig wuerde das Portraet die ganze Breite fuellen — das erschlaegt das Zitat */
  .statement .portrait { max-width: 220px; } }

/* ---------- Fakten-Zeile ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding: 0; list-style: none; }
.facts li { border-top: 1px solid var(--line); padding-top: 20px; }
.facts b { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 640; margin-bottom: 6px; }
.facts span { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* ============================================================
   Landingpage-Bausteine (Für Zahnärzte)
   ============================================================ */
.lphero { padding: 108px 0 96px; }
.lphero .wrap { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: 56px; align-items: center; }
.lphero h1 { max-width: 14ch; margin-bottom: .34em; }
.lphero .lead { font-size: 1.24rem; max-width: 46ch; }
.lphero .hero-actions { margin-top: 2em; }
.lphero .visual { display: grid; place-items: center; }
.lphero canvas { width: min(100%, 420px); height: auto; aspect-ratio: 1; display: block; }
@media (max-width: 960px) { .lphero { padding: 64px 0 72px; } .lphero .wrap { grid-template-columns: 1fr; gap: 34px; } .lphero .visual { order: -1; } .lphero canvas { width: min(58%, 260px); } }

/* Schnittstellen als große, ruhige Namen */
.ifrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding: 0; list-style: none; }
.ifrow li { background: var(--card); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--sh-1); }
.ifrow b { display: block; font-size: 1.34rem; letter-spacing: -.022em; font-weight: 620; margin-bottom: 6px; }
.ifrow span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .ifrow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ifrow { grid-template-columns: 1fr; } }

/* Nutzen-Raster mit großer Zahl */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 56px; padding: 0; list-style: none; }
.benefits h3 { margin-bottom: .4em; }
.benefits p { color: var(--ink-2); margin: 0; max-width: 36ch; }
.benefits .k { display: block; font-size: .86rem; font-weight: 590; color: var(--accent); margin-bottom: 12px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; gap: 34px 28px; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Scan-Day-Block auf getönter Fläche */
.sdblock { background: var(--tint); padding: 116px 0; }
.sdblock .sdgrid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.sdblock h2 { max-width: 16ch; }
.sdblock .lead { max-width: 44ch; }
.sdsteps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: sd; }
.sdsteps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; counter-increment: sd; }
.sdsteps li::before { content: counter(sd); font-size: .9rem; font-weight: 620; color: var(--accent); padding-top: .15em; }
.sdsteps b { display: block; font-weight: 590; margin-bottom: 3px; }
.sdsteps span { color: var(--ink-2); font-size: .98rem; }
.sdcard { background: var(--card); border-radius: var(--r); padding: 40px 36px; box-shadow: var(--sh-1); }
.sdcard h3 { margin-bottom: .5em; }
@media (max-width: 960px) { .sdblock { padding: 80px 0; } .sdblock .sdgrid { grid-template-columns: 1fr; gap: 40px; } }

/* Großer Abschluss */
.finale { padding: 132px 0; text-align: center; }
.finale h2 { max-width: 18ch; margin: 0 auto .4em; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.finale p { color: var(--ink-2); font-size: 1.16rem; max-width: 52ch; margin: 0 auto 2em; }
.finale .hero-actions { justify-content: center; }
@media (max-width: 640px) { .finale { padding: 88px 0; } }

/* ============================================================
   Flächenwechsel: die Sektion davor braucht unten Luft,
   sonst endet die Hintergrundfarbe direkt am Inhalt.
   ============================================================ */
.measure:has(+ .statement),
.measure:has(+ .sdblock),
.measure:has(+ .ctaband),
.measure:has(+ .viewport),
.measure:has(+ .finale),
.measure:has(+ .sitefooter),
.measure:last-of-type,
.chapters:has(+ .statement),
.chapters:has(+ .sdblock) { padding-bottom: 104px; }

/* Statement: Zitat und Bild starten auf einer Linie */
.statement .wrap { align-items: start; }
.statement .portrait { max-width: 420px; }

@media (max-width: 960px) {
  .measure:has(+ .statement),
  .measure:has(+ .sdblock),
  .measure:has(+ .ctaband),
  .measure:has(+ .viewport),
  .measure:has(+ .finale),
  .measure:has(+ .sitefooter),
  .measure:last-of-type { padding-bottom: 76px; }
}

/* ============================================================
   Mehrstufiges Anfrageformular
   ============================================================ */
.wizard { max-width: 720px; }
.wz-head { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.wz-bar { flex: 1; display: flex; gap: 5px; }
.wz-bar i { height: 3px; flex: 1; background: var(--line); border-radius: 2px; transition: background-color .3s var(--ease); }
.wz-bar i.done { background: var(--accent); }
.wz-count { font-size: .86rem; font-weight: 590; color: var(--ink-3); white-space: nowrap; }

.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.is-wizard .wz-step { display: none; }
.is-wizard .wz-step.is-active { display: block; animation: wz-in .42s cubic-bezier(.23,1,.32,1); }
@keyframes wz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-wizard .wz-step.is-active { animation: none; } }
.wz-step legend { padding: 0; margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.14; letter-spacing: -.026em; font-weight: 640; }
.wz-hint { color: var(--ink-2); margin: 0 0 26px; font-size: 1.04rem; }

/* Auswahlkacheln */
.wz-options { display: grid; gap: 12px; margin: 0 0 6px; }
.wz-options.two { grid-template-columns: 1fr 1fr; }
.wz-opt { position: relative; display: block; cursor: pointer; }
.wz-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.wz-opt span {
  display: block; background: var(--card); border-radius: var(--r-sm); padding: 20px 22px;
  box-shadow: var(--sh-1); border: 1.5px solid transparent;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wz-opt b { display: block; font-weight: 590; font-size: 1.06rem; letter-spacing: -.014em; }
.wz-opt em { display: block; font-style: normal; color: var(--ink-2); font-size: .94rem; margin-top: 3px; }
@media (hover: hover) and (pointer: fine) { .wz-opt:hover span { transform: translateY(-2px); box-shadow: var(--sh-2); } }
.wz-opt input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11,88,242,.10), var(--sh-1); }
.wz-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Navigation */
.wz-nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.wz-back { background: none; border: 0; color: var(--ink-2); font: inherit; font-weight: 560; font-size: .95rem; cursor: pointer; padding: 10px 4px; }
.wz-back:hover { color: var(--ink); }
.wz-nav .btn { margin-left: auto; }

/* Zusammenfassung */
.wz-summary { background: var(--card); border-radius: var(--r-sm); padding: 22px 24px; box-shadow: var(--sh-1); margin: 0 0 24px; }
.wz-summary dl { margin: 0; display: grid; grid-template-columns: minmax(0,auto) 1fr; gap: 8px 18px; }
.wz-summary dt { color: var(--ink-3); font-size: .92rem; }
.wz-summary dd { margin: 0; font-size: .96rem; font-weight: 560; }
.wz-summary .edit { background: none; border: 0; color: var(--accent); font: inherit; font-size: .88rem; cursor: pointer; padding: 0; margin-top: 14px; }

/* Fehler + Erfolg */
.wz-error { color: #b3261e; font-size: .92rem; margin: 12px 0 0; display: none; }
.wz-error.on { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.wz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fehlermeldung der einfachen Formulare: sichtbar nur mit Text drin */
.form-error { grid-column: 1 / -1; color: #b3261e; font-size: .92rem; margin: 4px 0 0; }
.form-error:empty { display: none; }

/* Bestätigung nach dem Absenden — ersetzt das Formular an Ort und Stelle */
.wz-done {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 34px 32px;
  outline: none;
}
.wz-done h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.wz-done p { margin: 0 0 8px; color: var(--ink-2); }
.wz-done p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .wz-options.two { grid-template-columns: 1fr; }
  .wz-summary dl { grid-template-columns: 1fr; gap: 2px 0; }
  .wz-summary dd { margin-bottom: 10px; }
}

/* [hidden] muss stärker sein als display-Regeln von .btn & Co. */
[hidden] { display: none !important; }

/* Flächen: Seitenkopf weiß, Inhalt auf --bg, Fachblock wieder weiß */
.pagehead { background: var(--card); padding-bottom: 72px; }
.lphero, .statement { background: var(--card); }

/* Edler Hintergrund im Seitenkopf — ausdrücklich gewünscht (Nicola 19.08.2026: „baue einen edlen
   Hintergrund wie er war"): sehr blasse Aura aus den Logo-Farben, nur hinter Kopf/Bühne, sonst nirgends. */
.stage, .lphero, .pagehead { position: relative; }
.stage::before, .lphero::before, .pagehead::before {
  content: ""; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background:
    radial-gradient(64% 52% at 14% 22%, rgba(139, 92, 240, .10), transparent 68%),
    radial-gradient(58% 48% at 92% 34%, rgba(34, 195, 214, .11), transparent 70%),
    radial-gradient(52% 44% at 58% 0%, rgba(11, 88, 242, .06), transparent 68%);
}
.stage > *, .lphero > *, .pagehead > * { position: relative; z-index: 1; }
@media (prefers-reduced-transparency: reduce) { .stage::before, .lphero::before, .pagehead::before { display: none; } }
.sdblock { background: var(--tint); }
.sitefooter { position: relative; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .pagehead { padding-bottom: 52px; } }

/* ============================================================
   Unterseiten v2 (18.08.2026): Fachblöcke ohne Kästen
   ============================================================ */
/* Umfang-Zeile unter dem Seitenkopf: was die Leistung umfasst */
.pagehead-scope { margin-top: 56px; color: var(--ink-2); font-size: .95rem; letter-spacing: -.008em; }
.pagehead-scope b { color: var(--ink-2); font-weight: 590; margin-right: 10px; }

/* Zwei Textspalten für fachliche Erläuterungen */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; margin-top: 48px; }
.duo h3 { font-size: 1.22rem; margin-bottom: .45em; max-width: 24ch; }
.duo p { color: var(--ink-2); font-size: 1.02rem; margin: 0 0 .8em; max-width: 44ch; }
.duo p:last-child { margin-bottom: 0; }
.duo ul { color: var(--ink-2); font-size: 1.02rem; padding-left: 1.05em; margin: 0; max-width: 44ch; }
.duo li { margin-bottom: .35em; }

/* Begriff / Erläuterung — Definitionsliste, ruhig, nur feine Trennlinien wie im FAQ */
.speclist { margin: 44px 0 0; padding: 0; max-width: 82ch; }
.speclist > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 6px 40px; padding: 20px 0; border-top: 1px solid var(--line); }
.speclist > div:last-child { border-bottom: 1px solid var(--line); }
.speclist dt { font-weight: 620; letter-spacing: -.016em; line-height: 1.35; }
.speclist dd { margin: 0; color: var(--ink-2); line-height: 1.55; }
.speclist dd p { margin: 0 0 .5em; }
.speclist dd p:last-child { margin: 0; }

.prose ul { color: var(--ink-2); padding-left: 1.1em; }
.prose li { margin-bottom: .35em; }
.prose h3 { margin-top: 1.7em; }

@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; gap: 32px; }
  .speclist > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .pagehead-scope { margin-top: 40px; }
}

/* ============================================================
   v3 „wertiger" (18.08.2026): editoriale Elemente ohne Effekte
   ============================================================ */
:root { --headh: 72px; }
@media (max-width: 960px) { :root { --headh: 64px; } }

/* Sektionskopf: Label · Haarlinie · Kapitelzähler */
main { counter-reset: sec; }
.measure-rule { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.measure-rule .mono { display: inline-block; white-space: nowrap; }
.measure-rule::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.measure > .wrap > .measure-rule, .section > .wrap > .measure-rule { counter-increment: sec; }
.measure > .wrap > .measure-rule::before, .section > .wrap > .measure-rule::before {
  content: counter(sec, decimal-leading-zero); order: 3;
  font-size: .84rem; font-weight: 590; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.pagehead .measure-rule::after, .pagehead .measure-rule::before { display: none; }

/* Sticky Seitennavigation („Auf dieser Seite") */
.pagenav {
  position: sticky; top: var(--headh); z-index: 90; margin-top: 0;
  background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.pagenav .wrap { display: flex; align-items: center; gap: 22px; }
.pagenav .pn-label { color: var(--ink-3); font-size: .84rem; font-weight: 560; white-space: nowrap; }
.pagenav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.pagenav ul::-webkit-scrollbar { display: none; }
.pagenav a {
  display: block; white-space: nowrap; padding: 8px 13px; border-radius: 999px;
  color: var(--ink-2); font-size: .9rem; font-weight: 540; letter-spacing: -.008em;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.pagenav a:hover { color: var(--ink); background: rgba(14, 17, 22, .04); }
.pagenav a:focus-visible { outline-offset: -2px; }
.pagenav a.is-active { color: var(--ink); background: rgba(14, 17, 22, .07); }
@media (prefers-reduced-transparency: reduce) { .pagenav { background: var(--card); backdrop-filter: none; } }
@media (max-width: 640px) { .pagenav .pn-label { display: none; } .pagenav .wrap { padding: 0; } .pagenav ul { padding: 10px 22px; scroll-padding-inline: 22px; scroll-snap-type: x proximity; } .pagenav li { scroll-snap-align: start; } }

/* Seitenkopf zweispaltig mit Leistungs-Index */
.pagehead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.svcindex { padding-top: 3.2em; }
.svcindex .mono { display: block; margin-bottom: 10px; color: var(--ink-3); }
.svcindex ol { list-style: none; margin: 0; padding: 0; }
.svcindex li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.svcindex li:last-child { border-bottom: 1px solid var(--line); }
.svcindex li span { color: var(--ink-3); font-size: .84rem; font-weight: 590; font-variant-numeric: tabular-nums; width: 2.2ch; }
.svcindex li a { color: var(--ink-2); font-weight: 520; letter-spacing: -.01em; transition: color .18s var(--ease), transform .22s var(--ease); display: inline-block; }
.svcindex li a:hover { color: var(--ink); transform: translateX(4px); }
.svcindex li.current a { color: var(--ink); font-weight: 620; }
.svcindex li.current { box-shadow: inset 2px 0 0 var(--accent); padding-left: 14px; }
@media (max-width: 960px) { .pagehead-grid { grid-template-columns: 1fr; gap: 40px; } .svcindex { display: none; } }

/* Visual-Karten statt grauer Foto-Boxen */
.visual-card, .typo-card, .photoslot {
  position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden;
}
.visual-card { aspect-ratio: 4 / 3; display: grid; place-items: center; padding-bottom: 54px; background: var(--bg); }
.visual-card canvas { width: 62%; height: auto; aspect-ratio: 1; display: block; }
.visual-card .cap, .typo-card .cap, .photoslot span {
  position: absolute; left: 24px; bottom: 20px; right: 24px;
  font-size: .84rem; font-weight: 520; color: var(--ink-3); letter-spacing: -.006em;
}
.photoslot { background: var(--card); display: block; }
.photoslot span { display: block; }
.typo-card { aspect-ratio: auto; min-height: 300px; padding: 30px 32px 26px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.typo-card .cap { position: static; margin: 0; }
.mediatext { align-items: stretch; }
.mediatext > .reveal:not(.mediatext-media) { align-self: center; }
.typo-card .kick { position: static; font-size: .84rem; font-weight: 590; color: var(--accent); }
.typo-card p { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 640; line-height: 1.12; letter-spacing: -.03em; color: var(--ink); margin: 0; }
@media (max-width: 640px) { .visual-card { aspect-ratio: 5 / 4; } .typo-card { min-height: 0; padding: 26px 24px; } }

/* Echte Fotos: Bild oben, Bildunterschrift auf eigener Zeile — nicht über dem Motiv */
.photocard { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; margin: 0; }
.photocard img { display: block; width: 100%; height: auto; }
.photocard figcaption { padding: 15px 24px 17px; font-size: .84rem; font-weight: 520; color: var(--ink-3); letter-spacing: -.006em; }

/* Ansprechpartner mit rundem Porträt */
.ansprechpartner { display: flex; align-items: center; gap: 15px; }
.ansprechpartner img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; }
.ansprechpartner .ap-text { min-width: 0; }
.ansprechpartner strong { display: block; color: var(--ink); font-weight: 620; }
.ansprechpartner span { display: block; color: var(--ink-3); font-size: .9rem; }

/* Zitat im Textfluss */
.pullquote { margin: 28px 0 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--accent); }
.pullquote p { font-size: 1.14rem; line-height: 1.5; color: var(--ink); font-weight: 520; margin: 0; letter-spacing: -.014em; }
.pullquote footer { margin-top: 8px; font-size: .86rem; color: var(--ink-3); }

/* „Worauf wir achten": nummeriert, mit Haarlinie */
.duo { counter-reset: duo; }
.duo > div { counter-increment: duo; padding-top: 22px; border-top: 1px solid var(--line); }
.duo > div::before {
  content: counter(duo, decimal-leading-zero); display: block;
  font-size: .84rem; font-weight: 590; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}

/* Weiße Fläche für den Fachblock */
.measure.surface { background: var(--card); padding: 96px 0; margin-top: 0; }
.section + .measure:not(.surface), .section + .ctaband.viewport { padding-top: 0; }
.section:has(+ .measure.surface) { padding-bottom: 72px; }
main :where(section, nav)[id] { scroll-margin-top: calc(var(--headh) + 72px); }
.measure.surface .speclist > div { border-color: #eef0f3; }
@media (max-width: 960px) { .measure.surface { padding: 76px 0; margin-top: 76px; } }

/* Zurück / Weiter zwischen Leistungen */
.pager { padding: 96px 0 0; }
.pager .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a {
  display: flex; flex-direction: column; gap: 6px; padding: 30px 32px;
  background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); color: var(--ink);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.pager a span { color: var(--ink-3); font-size: .86rem; font-weight: 560; }
.pager a b { font-size: 1.32rem; font-weight: 620; letter-spacing: -.022em; line-height: 1.2; }
.pager a.next { text-align: right; align-items: flex-end; }
.pager a b::after { content: " →"; color: var(--accent); }
.pager a.prev b::after { content: none; }
.pager a.prev b::before { content: "← "; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .pager a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
@media (max-width: 640px) { .pager .wrap { grid-template-columns: 1fr; } .pager { padding-top: 64px; } .pager a { padding: 24px 24px; } }

/* CTA als schwebende Karte statt Vollflächenband */
.ctaband.viewport { background: transparent; padding: 96px 0 104px; }
.ctaband.viewport .wrap { display: block; }
.ctacard {
  background: var(--card); border-radius: 28px; box-shadow: var(--sh-1); padding: 56px 60px;
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 44px; align-items: center;
}
.ctaband .ctaband-actions { flex-direction: column; align-items: flex-end; }
.ctaband .ctaband-actions .btn { min-width: 210px; text-align: center; }
.ctaband .direct { color: var(--ink-3); font-size: .9rem; margin: 6px 0 0; }
.ctaband .direct a { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) {
  .ctaband.viewport { padding: 72px 0 84px; }
  .ctacard { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; }
  .ctaband .ctaband-actions { flex-direction: row; align-items: center; justify-content: flex-start; }
}
@media (max-width: 640px) { .ctacard { padding: 32px 24px; border-radius: 22px; } }

/* Karten: Pfeil rückt beim Überfahren nach */
.card-more { transition: color .2s var(--ease), transform .28s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-more { transform: translateX(4px); } }

/* Telefon im Header (Desktop) */
.headertel { color: var(--ink); font-size: .92rem; font-weight: 600; letter-spacing: -.008em; white-space: nowrap; margin-left: 6px; padding-left: 22px; border-left: 1px solid var(--line); }
.headertel:hover { color: var(--ink); }
@media (max-width: 1120px) { .headertel { display: none; } }

/* Fakten-Karte und Regionsliste (Über uns) */
.factcard { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; padding: 36px 34px; aspect-ratio: 4 / 3; align-content: center; }
.factcard b { display: block; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 660; letter-spacing: -.04em; line-height: 1; }
.factcard span { display: block; color: var(--ink-2); font-size: .92rem; line-height: 1.4; margin-top: 8px; max-width: 18ch; }
.regionlist { list-style: none; margin: 40px 0 0; padding: 0; max-width: 78ch; }
.regionlist li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 620; letter-spacing: -.03em; line-height: 1.15; }
.regionlist li:last-child { border-bottom: 1px solid var(--line); }
.regionlist li small { font-size: .9rem; font-weight: 520; color: var(--ink-3); letter-spacing: -.008em; margin-left: auto; white-space: nowrap; }
.regionlist li.home small { color: var(--accent); }
@media (max-width: 640px) { .factcard { aspect-ratio: auto; padding: 28px 24px; gap: 22px 18px; } .regionlist li { flex-wrap: wrap; gap: 4px 12px; } .regionlist li small { margin-left: 0; white-space: normal; flex-basis: 100%; } }

/* Leistungs-Übersicht als editoriale Liste (Übersichtsseite) */
.svclist { list-style: none; margin: 56px 0 0; padding: 0; }
.svclist li { border-top: 1px solid var(--line); }
.svclist li:last-child { border-bottom: 1px solid var(--line); }
.svclist a {
  display: grid; grid-template-columns: 3.2rem minmax(0, 5fr) minmax(0, 6fr) 2rem; gap: 24px; align-items: baseline;
  padding: 30px 0; color: var(--ink); position: relative;
}
.svclist .n { color: var(--ink-3); font-size: .9rem; font-weight: 590; font-variant-numeric: tabular-nums; }
.svclist h3 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: -.028em; transition: transform .28s var(--ease), color .2s var(--ease); }
.svclist p { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; max-width: 52ch; }
.svclist .arr { justify-self: end; color: var(--ink-3); font-weight: 600; transition: transform .28s var(--ease), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svclist a:hover h3 { transform: translateX(6px); }
  .svclist a:hover .arr { transform: translateX(4px); color: var(--accent); }
}
@media (max-width: 960px) {
  .svclist a { grid-template-columns: 2.6rem minmax(0, 1fr) 1.6rem; grid-template-areas: "n h a" "n p a"; row-gap: 8px; padding: 24px 0; }
  .svclist .n { grid-area: n; } .svclist h3 { grid-area: h; } .svclist p { grid-area: p; } .svclist .arr { grid-area: a; align-self: center; }
}

/* Zwei Ordnungen: operative Blöcke kleiner */
#was-wir-von-ihnen-brauchen .section-intro h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.section > .wrap > .measure-rule { margin-bottom: 40px; }

/* Footer-Abbinder: Claim + Telefon groß über den Spalten */
.footlead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.footlead .claim { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 640; letter-spacing: -.03em; line-height: 1.12; max-width: 22ch; color: var(--ink); }
.footlead .tel { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 620; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.footlead .tel:hover { color: var(--accent); }
@media (max-width: 640px) { .footlead { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 30px; margin-bottom: 36px; } }
#fertigen { padding-top: 56px; }
#fertigen .mediatext { margin-top: 24px; }
@media (max-width: 960px) { #fertigen { padding-top: 40px; } }
@media (max-width: 960px) { .section:has(+ .measure.surface) { padding-bottom: 44px; } .measure.surface { padding: 64px 0; } }
