/* =============================================================================
   Energieberatung Metzger
   Ruhig, hell, großzügig: viel Weiß, große Typo, ein Blau. Orientierung: Apple.
   ============================================================================= */

:root {
  --ink: #0e1a33;          /* Navy – Überschriften, Kontaktfläche */
  --text: #1f2a40;
  --muted: #5c667a;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --blue: #2f55d4;         /* Markenblau (nach Kundenentwurf) */
  --blue-dark: #2343b4;
  --blue-soft: #eaf0ff;
  --logo-blue: #536ea4;    /* Blau aus dem Logo */
  --star: #f5a623;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(14, 26, 51, .04), 0 12px 40px -12px rgba(14, 26, 51, .12);

  --fs-body: 17px;
  --fs-lead: clamp(19px, 1.6vw, 22px);
  --fs-h1: clamp(42px, 7.4vw, 92px);
  --fs-h2: clamp(34px, 5vw, 60px);
  --fs-h3: 21px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -.038em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); letter-spacing: -.01em; }
.grad { background: linear-gradient(92deg, var(--blue) 10%, #4f7dff 60%, #2a46b8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars { color: var(--star); letter-spacing: .08em; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font: inherit; font-weight: 600; font-size: 17px; letter-spacing: -.01em;
  cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 8px 24px -10px rgba(47, 85, 212, .7);
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn--block { width: 100%; }

.more { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .2s var(--ease); }
.more:hover::after { transform: translate(3px, -1px); }

.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: rgba(14, 26, 51, .08); }
.nav__inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--text); font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--blue); }
.nav__menu-cta, .nav__menu-tel { display: none; }
.nav__tel { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav__tel svg { width: 15px; height: 15px; fill: var(--blue); }
.nav__toggle { display: none; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 32px; display: block; }
.logo__mark svg { display: block; width: 100%; height: auto; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__top { font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--logo-blue); margin-bottom: 4px; }
.logo__name { font-size: 19px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light { --logo-blue: #8ea6dc; }
.logo--light .logo__top { color: #8ea6dc; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); text-align: center; overflow: hidden; }
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__person { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; background: var(--bg-alt); font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.hero__person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hero__person strong { color: var(--ink); font-weight: 600; }
.hero h1 { max-width: 100%; }
@media (min-width: 721px) { .hero h1 .grad { white-space: nowrap; } }
.hero .lead { max-width: 640px; margin: 26px auto 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }
.hero__ctas .more { font-size: 17px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: 40px; font-size: 14.5px; color: var(--muted); }
.hero__trust li { padding: 0 16px; }
.hero__trust li + li { border-left: 1px solid var(--line); }
.hero__trust a { color: var(--muted); }
.hero__trust a:hover { color: var(--ink); }
.hero__trust strong { color: var(--ink); }

/* Effizienzskala – Signatur der Seite */
.scale {
  margin: clamp(48px, 7vw, 80px) 0 0; padding: clamp(26px, 4.5vw, 56px);
  border-radius: calc(var(--radius) + 8px); text-align: left;
  background: radial-gradient(120% 140% at 100% 0%, #dfe8ff 0%, rgba(223, 232, 255, 0) 55%), linear-gradient(180deg, #f6f8fd, #eef2fb);
  border: 1px solid #e4eaf7;
}
.scale__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 64px); }
.scale__kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: .01em; }
.scale__title { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.scale__from { color: #9aa6bf; }
.scale__to { color: var(--blue); }
.scale__value { display: flex; align-items: flex-end; gap: 12px; }
.scale__num { font-size: clamp(52px, 7vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: .85; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 2.6ch; text-align: right; }
.scale__unit { font-size: 13px; line-height: 1.3; color: var(--muted); padding-bottom: 2px; }

.scale__bar { position: relative; padding-top: 40px; }
.scale__classes { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.scale__classes li {
  height: 50px; display: grid; place-items: center; border-radius: 10px;
  font-weight: 700; font-size: 15px; color: #fff; letter-spacing: -.01em;
  background: var(--c); transition: transform .5s var(--ease);
}
.scale__classes li:nth-child(1) { --c: #1c3aa6; }
.scale__classes li:nth-child(2) { --c: #2447c2; }
.scale__classes li:nth-child(3) { --c: #2f55d4; }
.scale__classes li:nth-child(4) { --c: #4a6de0; }
.scale__classes li:nth-child(5) { --c: #6a87e7; }
.scale__classes li:nth-child(6) { --c: #8ba1ec; color: var(--ink); }
.scale__classes li:nth-child(7) { --c: #abbcf2; color: var(--ink); }
.scale__classes li:nth-child(8) { --c: #c9d4f7; color: var(--ink); }
.scale__classes li:nth-child(9) { --c: #e1e7fa; color: var(--ink); }
.scale__classes li:first-child { border-radius: 14px 10px 10px 14px; }
.scale__classes li:last-child { border-radius: 10px 14px 14px 10px; }

.scale__marker { position: absolute; top: 0; left: calc((100% + 4px) / 9 * var(--i) + (100% + 4px) / 18 - 2px); transform: translateX(-50%); transition: left 2.2s var(--ease); }
.scale__marker span { display: block; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; position: relative; }
.scale__marker span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: inherit; border-radius: 2px; z-index: -1; }
.scale__marker--before span { background: #fff; color: var(--muted); box-shadow: 0 1px 3px rgba(14, 26, 51, .12); }
.scale__marker--after span { background: var(--ink); color: #fff; }
.scale__marker--after { z-index: 2; }

.scale__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; counter-reset: s; }
.scale__steps li { font-size: 15px; font-weight: 600; color: var(--ink); padding-top: 14px; border-top: 2px solid var(--blue); transition: border-color .5s, color .5s; letter-spacing: -.01em; }
.scale__steps span { display: block; font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 4px; font-variant-numeric: tabular-nums; transition: color .5s; }
.scale figcaption { margin-top: 28px; font-size: 12.5px; color: #8a93a6; }

/* Animation (nur mit JS, nur ohne reduzierte Bewegung) */
.js .scale[data-state="ready"] .scale__marker--after { --i: 7 !important; }
.js .scale[data-state="ready"] .scale__marker--before { opacity: 0; }
.js .scale[data-state="ready"] .scale__steps li { border-color: #d5dcec; color: #9aa6bf; }
.js .scale[data-state="ready"] .scale__steps span { color: #9aa6bf; }
.scale__marker--before { transition: opacity .4s; }
.js .scale[data-state="run"] .scale__steps li { transition-delay: calc(var(--d) * 1s); }
.js .scale[data-state="run"] .scale__steps span { transition-delay: calc(var(--d) * 1s); }
.scale__steps li:nth-child(1) { --d: .1; }
.scale__steps li:nth-child(2) { --d: .7; }
.scale__steps li:nth-child(3) { --d: 1.3; }
.scale__steps li:nth-child(4) { --d: 1.9; }

.programs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 72px); }
.programs li { display: flex; flex-direction: column; gap: 6px; padding: 4px 12px; }
.programs li + li { border-left: 1px solid var(--line); }
.programs strong { font-size: clamp(22px, 2.6vw, 34px); overflow-wrap: anywhere; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.programs span { font-size: 14px; color: var(--muted); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 920px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section__head p { margin: 18px auto 0; max-width: 620px; font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); }
.section__cta { text-align: center; margin: clamp(36px, 5vw, 56px) 0 0; color: var(--muted); font-size: 17px; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 32px 32px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card > p { color: var(--muted); margin: 0; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - 96px) / 4 - 28px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); }
.steps li { position: relative; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 24px; box-shadow: 0 0 0 8px #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: 100px; max-width: 440px; width: 100%; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius); background: #e9ebef; }
.about__photo figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.about__photo figcaption strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.about__text h2 { margin-bottom: 26px; }
.about__text .lead { color: var(--text); }
.about__text > p:not(.lead) { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; }
.values li { background: #fff; border-radius: var(--radius-sm); padding: 22px 20px; }
.values h3 { font-size: 17px; margin-bottom: 6px; }
.values p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.45; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badges li { background: #fff; border-radius: 14px; padding: 14px 18px; height: 76px; display: flex; align-items: center; }
.badges img { max-height: 46px; width: auto; }

/* Bewertungen */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
.rating__score { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.rating .stars { font-size: 20px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review--featured { grid-column: 1 / -1; padding: clamp(32px, 5vw, 56px); }
.review--featured blockquote p { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.38; letter-spacing: -.022em; }
.review { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); letter-spacing: -.012em; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review figcaption strong { display: block; color: var(--ink); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; flex-shrink: 0; }
.review__src { color: var(--muted); font-size: 13.5px; }
.review__src .stars { font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid #dde1e9; }
.faq details { border-bottom: 1px solid #dde1e9; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 2vw, 21px); font-weight: 600; color: var(--ink); letter-spacing: -.015em; transition: color .35s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%232f55d4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .5s var(--ease), background-color .35s var(--ease); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--blue-soft); }
.faq summary:hover { color: var(--blue); }
.faq details > div { color: var(--muted); overflow: hidden; }
.faq details > div p { margin: 0; padding: 0 56px 26px 0; }

/* Kontakt */
.contact { background: var(--ink); color: #c9d2e6; padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; background: radial-gradient(circle, rgba(47, 85, 212, .45), rgba(47, 85, 212, 0) 65%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact h2 { color: #fff; max-width: 15ch; font-size: clamp(34px, 4.4vw, 54px); }
.contact .lead { color: #9fb0d6; margin: 20px 0 40px; }
.contact__list { display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: baseline; font-size: 17px; color: #fff; }
.contact__list span { font-size: 13px; color: #8293b8; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact__list a { color: #fff; font-weight: 600; word-break: break-word; transition: color .35s var(--ease); }
.contact__list a:hover { color: #a9bdff; }
.contact__list li:first-child a { font-size: 26px; letter-spacing: -.02em; }
.contact__region { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact__region p { font-size: 13px; color: #8293b8; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 14px; }
.contact__region ul { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__region li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; }

.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); display: grid; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.req { color: var(--blue); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid #d7dce6; border-radius: 12px; padding: 12px 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%235c667a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 85, 212, .15); }
.field ::placeholder { color: #9aa3b5; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.form__note { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0a1427; color: #8d9aba; padding: 72px 0 36px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand p { margin: 22px 0 0; max-width: 380px; line-height: 1.6; }
.footer__h { font-size: 13px; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: #c9d2e6; transition: color .35s var(--ease); }
.footer__list a:hover, .footer__bar a:hover { color: #fff; }
.footer__hint { font-size: 13px; color: #66749a; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 14px; }
.footer__bar p { margin: 0; }
.footer__bar a, .footer__bar .linklike { color: #8d9aba; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__credit { margin-left: auto !important; }

/* ---------- Unterseiten ---------- */
.page { padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 128px); }
.page h1 { font-size: clamp(38px, 5.5vw, 64px); margin-bottom: 20px; }
.page .lead { margin-bottom: 48px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose h4 { font-size: 16px; margin: 22px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-word; }

.notice { text-align: center; padding: clamp(80px, 14vw, 180px) 0; }
.notice .lead { max-width: 560px; margin: 22px auto 36px; }
.notice__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; margin: 0 auto 28px; }
.notice__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Danke-Seite der Datenabfragen */
.notice--wide { padding: clamp(64px, 10vw, 128px) 0; }
.notice--wide .lead { margin-bottom: 0; }
.next { list-style: none; margin: 48px auto 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; text-align: left; }
.next li { background: var(--bg-alt); border-radius: 22px; padding: 26px; }
.next__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.next h2 { font-size: 18px; letter-spacing: -.01em; margin: 16px 0 6px; }
.next p { margin: 0; font-size: 15px; color: var(--muted); }
.notice__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 44px; }
.notice__link { font-weight: 500; color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
.notice__link:hover { color: var(--blue-dark); }
.notice__tip { max-width: 620px; margin: 32px auto 0; font-size: 15px; color: var(--muted); }
.notice__tip a { color: var(--blue); }
.intake { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); }
.intake__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.intake__head h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }
/* Datenabfrage: Felder kommen aus Sanity (scripts/formular.py macht daraus .field/.check/.choices) */
.intake-form { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); box-shadow: var(--shadow); gap: 18px; }
.intake-form h2 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -.02em; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.intake-form > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.intake-form h3 { font-size: 17px; margin: 6px 0 0; }
.intake-form p:not(.form__hp):not(.form__note) { margin: 0; color: var(--muted); font-size: 15px; }
.intake-form .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.intake-form .reihe--3-1 { grid-template-columns: 3fr 1fr; }
.intake-form .reihe--1-3 { grid-template-columns: 1fr 3fr; }
.intake-form [data-show-if] { display: grid; gap: 18px; }
.intake-form [hidden] { display: none !important; }
.intake-form [data-show-if].is-shown { animation: intake-in .45s var(--ease); }
@keyframes intake-in { from { opacity: 0; transform: translateY(-6px); } }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choices legend { float: left; width: 100%; padding: 0; margin-bottom: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.choices .check { align-items: center; color: var(--text); font-size: 15.5px; border: 1px solid #d7dce6; border-radius: 999px; padding: 10px 18px 10px 14px; transition: border-color .2s, background-color .2s, color .2s; }
.choices .check:hover { border-color: #b9c2d4; }
.choices .check:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.choices .check:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(47, 85, 212, .15); }
/* Abschnitte (<section>) als nummerierte Karten – dann trägt die Form selbst keinen Rahmen */
.intake-form:has(> .abschnitt) { background: none; border: 0; box-shadow: none; padding: 0; gap: 20px; counter-reset: abschnitt; }
.abschnitt { display: grid; gap: 18px; background: var(--bg-alt); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); counter-increment: abschnitt; }
.intake-form .abschnitt > h2 { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; }
.abschnitt > h2::before { content: counter(abschnitt); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.intake-form .abschnitt > h2 + p { margin-top: -10px; }
.abschnitt .field input, .abschnitt .field select, .abschnitt .field textarea { border-color: #d3d8e2; }
.abschnitt .choices .check { background: #fff; }
.abschnitt .choices .check:has(input:checked) { background: var(--blue-soft); }
.intake-form .reihe--3 { grid-template-columns: repeat(3, 1fr); }
.intake-form .reihe--1-2 { grid-template-columns: 1fr 2fr; align-items: start; }
.field small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.intake-form p.hinweis { margin: 0; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.reihe--1-2 > .hinweis { margin-top: 26px !important; }
.hinweis strong { color: var(--ink); font-weight: 600; }
.intake-form:has(> .abschnitt) .intake-form__end { margin-top: 4px; padding: 0 clamp(4px, 2vw, 20px); border-top: 0; }
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--blue); }
.intake__facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 15px; font-weight: 500; color: var(--ink); }
.intake__facts li { display: flex; align-items: center; gap: 8px; }
.intake__facts svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.intake-form__end { display: grid; gap: 16px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.intake-form .form__note a { color: inherit; }
.intake-form .field input:user-invalid, .intake-form .field select:user-invalid, .intake-form .field textarea:user-invalid { border-color: #c2410c; }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scale__marker, .scale__steps li, .scale__steps span { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__tel { display: none; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 360px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .about__photo { justify-self: center; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__inner { gap: 16px; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 40px; height: 40px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav__toggle span { display: block; width: 20px; height: 1.7px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.85px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.85px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; height: calc(100dvh - 64px); margin: 0;
    flex-direction: column; gap: 0; padding: 16px var(--gutter) 40px;
    background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav.is-open { background: #fff; }
  .nav__links a { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__menu-cta { display: flex; margin-top: 28px; border: 0; justify-content: center; font-size: 17px; background: var(--blue); color: #fff; border-radius: 999px; padding: 15px; }
  .nav__links .nav__menu-tel { display: block; border: 0; text-align: center; font-size: 17px; color: var(--blue); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 720px) {
  .hero { text-align: left; }
  .hero__text { align-items: flex-start; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .hero .lead { margin-left: 0; }
  .hero__ctas { justify-content: flex-start; }
  .hero__trust { justify-content: flex-start; flex-direction: column; gap: 8px; margin-top: 32px; }
  .hero__trust li { padding: 0 0 0 22px; position: relative; }
  .hero__trust li + li { border: 0; }
  .hero__trust li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 10px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
  .scale__head { flex-direction: column; align-items: flex-start; }
  .scale__num { text-align: left; }
  .scale__classes { gap: 3px; }
  .scale__classes li { height: 42px; font-size: 13px; border-radius: 7px; }
  .scale__marker { left: calc((100% + 3px) / 9 * var(--i) + (100% + 3px) / 18 - 1.5px); }
  .scale__steps { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .programs { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .programs li:nth-child(3) { border-left: 0; }
  .section__head { text-align: left; }
  .section__head p { margin-left: 0; }
  .section__cta { text-align: left; }
  .rating { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .reviews { grid-template-columns: 1fr; }
  .review { padding: 28px 24px; }
  .review blockquote p { font-size: 17px; }
  .faq details > div p { padding-right: 0; }
  .form__row { grid-template-columns: 1fr; }
  .intake-form .reihe, .intake-form .reihe--3-1, .intake-form .reihe--3, .intake-form .reihe--1-2 { grid-template-columns: 1fr; }
  .reihe--1-2 > .hinweis { margin-top: 0 !important; }
  .intake-form .reihe--1-3 { grid-template-columns: 2fr 3fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__credit { margin-left: 0 !important; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .logo__name { font-size: 17px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .badges li { height: 64px; padding: 10px 14px; }
  .badges img { max-height: 40px; }
}

/* ---------- Cookie-Banner (nur aktiv, wenn GTM_ID gesetzt ist) ---------- */
.consent {
  position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(420px, calc(100% - 32px));
  background: #fff; border-radius: 22px; padding: 22px 22px 18px; font-size: 14px; color: var(--muted);
  box-shadow: 0 20px 60px -15px rgba(14, 26, 51, .35), 0 0 0 1px rgba(14, 26, 51, .06);
}
.consent[hidden] { display: none; }
.consent__title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.consent p { margin-bottom: 12px; line-height: 1.5; }
.consent__opts { display: grid; gap: 8px; margin: 0 0 14px; color: var(--ink); }
.consent__opts[hidden] { display: none; }
.consent__opts input { accent-color: var(--blue); margin-right: 8px; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.btn--ghost { background: var(--bg-alt); color: var(--ink); }
.btn--ghost:hover { background: #e9ebf0; color: var(--ink); }
.consent__more { color: var(--blue); font-weight: 600; font-size: 14px; margin-left: auto; }
.consent__more:hover { color: var(--blue-dark); }
@media (max-width: 520px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 22px 22px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
