/* ============================================================
   EDWARDS GO CLEAN — STYLES v2
   Fresh & Clean · white paper, sky-blue accent (echoing logo cyan), navy ink
   Built by Numu — numuweb.com
   ============================================================ */

:root {
  /* ---- EDWARDS GO CLEAN 2 — DARK PALETTE (client's brand colors) ---- */
  --c-bg:        #0a0e1a;                    /* main dark navy */
  --c-bg-2:      #0d1220;                    /* second bg layer */
  --c-surface:   rgba(255,255,255,.04);      /* card glass */
  --c-surface-2: rgba(255,255,255,.08);      /* elevated/hover card */
  --c-ink:       #f0f4f8;                    /* white text */
  --c-ink-2:     rgba(240,244,248,.75);      /* secondary text */
  --c-ink-3:     rgba(240,244,248,.55);      /* muted text */
  --c-line:      rgba(255,255,255,.09);      /* subtle border */
  --c-line-2:    rgba(255,255,255,.16);      /* visible border */
  /* Semantic names kept (--c-blue* / --c-mint), values are now the teal accent
     family — this keeps every existing selector working with no mass rewrite */
  --c-blue:      #00d4b4;                    /* teal/mint accent */
  --c-blue-2:    #00a08a;                    /* darker teal (hover) */
  --c-blue-soft: rgba(0,212,180,.10);        /* soft teal bg */
  --c-blue-mid:  rgba(0,212,180,.25);        /* teal glow */
  --c-mint:      #00d4b4;                    /* same as accent */
  --c-amber:     #f8c171;                    /* warm fallback */
  --c-purple:    #b08cff;                    /* cool fallback */
  --c-error:     #f87171;                    /* form error red */
  --f-display: "Outfit", "Trebuchet MS", "Arial", sans-serif;
  --f-body:    "DM Sans", "Helvetica Neue", "Arial", sans-serif;
  --container: 1280px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 36px; --r-pill: 999px;
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --sh-sm: 0 2px 8px rgba(0,0,0,.25);
  --sh-md: 0 8px 28px rgba(0,0,0,.35);
  --sh-lg: 0 20px 60px rgba(0,0,0,.50);
  --sh-blue: 0 6px 20px rgba(0,0,0,.45);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--c-bg);
}
em { font-style: normal; color: var(--c-blue-2); font-weight: inherit; }

/* BRAND MARK — transparent PNG drops in anywhere */
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 200ms var(--ease-out);
}
.brand-mark--lg { width: 58px; height: 58px; }
@media (hover: hover) and (pointer: fine) {
  .nav__brand:hover .brand-mark { transform: scale(1.06); }
}

.section-head {
  max-width: var(--container);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.section-head--center { text-align: center; }
.section-head--center .section-title { max-width: 22ch; margin-left: auto; margin-right: auto; }
.section-head--center .section-lede { max-width: 56ch; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  background: var(--c-blue-soft);
  border: 1px solid color-mix(in oklch, var(--c-blue) 20%, transparent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue-2);
  margin-bottom: 1.3rem;
}
.section-eyebrow svg { color: var(--c-blue); }
.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  color: var(--c-ink);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 1.2rem;
}
.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--c-ink-2);
  max-width: 56ch;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  will-change: transform;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 100ms var(--ease-out);
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn--solid { background: var(--c-blue); color: var(--c-bg); }
.btn--ink   {--btn-fill: var(--c-blue-2); background: var(--c-blue); color: var(--c-bg); }
.btn--ghost { background: var(--c-surface);         color: var(--c-ink); border: 1px solid var(--c-line-2); }
.btn--ghost:hover { background: var(--c-surface-2); border-color: var(--c-blue); color: var(--c-blue); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--c-blue-2); }
  .btn--ink:hover   { background: var(--c-blue-2); }
  .btn--ghost:hover { border-color: var(--c-blue); color: var(--c-blue-2); }
}
.btn--sm { padding: .55rem 1rem; font-size: .82rem; }
.btn--full { width: 100%; padding: 1rem 1.4rem; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: .9rem clamp(1rem, 3vw, 2rem); }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 1rem .5rem .55rem;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: var(--r-pill);
  background: color-mix(in oklch, var(--c-bg) 85%, transparent);
  border: 1px solid transparent;
  transition: background-color 280ms var(--ease-out), border-color 280ms var(--ease-out), backdrop-filter 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.nav.is-pinned .nav__inner {
  background: color-mix(in oklch, var(--c-bg) 85%, transparent);
  border-color: var(--c-line-2);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.nav__brand { display: flex; align-items: center; gap: .65rem; padding: .1rem; }
.nav__brand .brand-mark { width: 42px; height: 42px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav__brand-mark { font-family: var(--f-display); font-size: 1.05rem; color: var(--c-ink); letter-spacing: -0.01em; }
.nav__brand-tag { font-size: .65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-3); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-size: .88rem; color: var(--c-ink); font-weight: 600; position: relative; padding: .25rem 0; transition: color 180ms var(--ease-out); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--c-blue); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.nav__links a:hover { color: var(--c-blue-2); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-pill); align-items: center; justify-content: center; color: var(--c-ink); }
.nav__toggle:hover { background: var(--c-surface); }
.nav__drawer {
  position: fixed;
  top: var(--nav-h); left: 1rem; right: 1rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
}
.nav__drawer[data-open] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.nav__drawer a { padding: .95rem 1rem; border-radius: var(--r-md); font-size: 1rem; color: var(--c-ink); font-weight: 500; display: flex; align-items: center; justify-content: space-between; transition: background-color 120ms var(--ease-out); }
.nav__drawer a:hover { background: var(--c-blue-soft); }
.nav__drawer-cta { margin-top: .5rem; background: var(--c-blue); color: var(--c-bg) !important; font-weight: 600 !important; }
.nav__drawer-cta:hover { background: var(--c-blue-2); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) clamp(1.5rem, 4vw, 3rem) 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: 1.6rem;
  box-shadow: var(--sh-sm);
}
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue); }
/* @keyframes pulse — removed (no glow on demo 2) */
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 1.4rem;
}
.hero__title em { color: var(--c-blue-2); font-style: italic; letter-spacing: 0.015em; padding-right: .05em; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--c-ink-2); max-width: 42ch; line-height: 1.55; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.6rem; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2rem;
  max-width: 580px;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-line);
}
.hero__stats > div { display: flex; flex-direction: column; gap: .35rem; }
.hero__stats dt {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: var(--c-ink);
  letter-spacing: 0;
}
.hero__stats dd { font-size: .82rem; color: var(--c-ink-3); line-height: 1.45; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; }
.hero-art__svg { position: relative; width: 100%; height: auto; z-index: 2; }
.hero-art__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  z-index: 3;
}
.hero-art__chip--airbnb { top: 4%; right: -4%; transform: rotate(3deg); }
.hero-art__chip--airbnb svg { color: var(--c-blue); }
.hero-art__chip--vienna { bottom: 8%; left: -6%; transform: rotate(-3deg); background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }
.hero-art__chip--vienna svg { color: var(--c-mint); }
.hero-art__sparkle { position: absolute; z-index: 4; color: var(--c-blue); animation: twinkle 2.8s ease-in-out infinite; }
.hero-art__sparkle--1 { top: 14%; left: 10%; animation-delay: 0s; }
.hero-art__sparkle--2 { top: 36%; right: 14%; animation-delay: .8s; }
.hero-art__sparkle--3 { bottom: 24%; right: 4%; animation-delay: 1.4s; }
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(0.85) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.15) rotate(180deg); }
}
.hero__hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--c-ink-3);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__hint svg { animation: hintBob 2.4s ease-in-out infinite; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* OFFERS */
.offers { padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 4rem); margin-top: -1rem; }
.offers__row { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offer { position: relative; padding: 1.3rem 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--c-line); display: flex; align-items: center; gap: 1.1rem; overflow: hidden; background: var(--c-bg-2); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.offer:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.offer--amber { background: linear-gradient(135deg, rgba(248,193,113,.18), var(--c-bg-2)); border-color: color-mix(in oklch, var(--c-amber) 40%, transparent); }
.offer--purple { background: linear-gradient(135deg, rgba(176,140,255,.18), var(--c-bg-2)); border-color: color-mix(in oklch, var(--c-purple) 40%, transparent); }
.offer__icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); }
.offer--amber .offer__icon { color: var(--c-amber); border-color: color-mix(in oklch, var(--c-amber) 30%, white); }
.offer--purple .offer__icon { color: var(--c-purple); border-color: color-mix(in oklch, var(--c-purple) 30%, white); }
.offer__body { flex: 1; min-width: 0; }
.offer__title { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; color: var(--c-ink); margin-bottom: .15rem; letter-spacing: -0.01em; }
.offer__desc { font-size: .9rem; color: var(--c-ink-2); line-height: 1.4; }
.offer__sub { font-size: .76rem; color: var(--c-ink-3); margin-top: .2rem; font-weight: 500; }

/* MARQUEE */
.marquee { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 1.1rem 0; overflow: hidden; background: var(--c-bg-2); direction: ltr; }
.marquee__track { display: flex; width: max-content; animation: marqueeMove 90s linear infinite; }
.marquee__row { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font-size: .9rem; font-weight: 500; color: var(--c-ink-2); white-space: nowrap; }
.marquee__row svg { color: var(--c-blue); flex-shrink: 0; }
.marquee__row span[aria-hidden] { color: var(--c-blue); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* SERVICES */
.services { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); }
.services__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { position: relative; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out); overflow: hidden; }
.service-card:hover { transform: translateY(-4px); border-color: var(--c-blue); }
.service-card--feature { background: var(--c-bg-2); color: var(--c-ink); border-color: var(--c-blue); }
.service-card--feature::before { display: none; }
.service-card--feature > * { position: relative; z-index: 1; }
.service-card--feature .service-card__title { color: white; }
.service-card--feature .service-card__lede { color: color-mix(in oklch, white 78%, transparent); }
.service-card--feature .service-card__list li { color: color-mix(in oklch, white 80%, transparent); }
.service-card--feature .service-card__list li::before { background: var(--c-blue-mid); }
.service-card--feature .service-card__icon { background: color-mix(in oklch, white 15%, transparent); color: white; border-color: color-mix(in oklch, white 20%, transparent); }
.service-card--feature .service-card__cta { color: white; border-bottom-color: color-mix(in oklch, white 40%, transparent); }
.service-card--feature .service-card__cta:hover { color: var(--c-blue-soft); }
.service-card__head { display: flex; align-items: center; justify-content: space-between; }
.service-card__num { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--c-ink-3); }
.service-card--feature .service-card__num { color: color-mix(in oklch, white 55%, transparent); }
.service-card__tag { font-size: .68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-blue-2); padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--c-blue-soft); }
.service-card--feature .service-card__tag { background: var(--c-blue); color: var(--c-bg); }
.service-card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-blue-soft); border: 1px solid color-mix(in oklch, var(--c-blue) 18%, transparent); color: var(--c-blue-2); }
.service-card__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.1; color: var(--c-ink); letter-spacing: 0; }
.service-card__lede { color: var(--c-ink-2); font-size: .98rem; line-height: 1.55; }
.service-card__list { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: var(--c-ink-2); margin-top: .3rem; }
.service-card__list li { position: relative; padding-left: 1.25rem; line-height: 1.45; }
.service-card__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 1px; background: var(--c-blue); }
.service-card__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--c-ink); padding: .35rem 0; border-bottom: 1px solid var(--c-line-2); transition: color 200ms var(--ease-out), transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.service-card__cta:hover { color: var(--c-blue-2); border-color: var(--c-blue); transform: translateX(2px); }

/* PREISRECHNER */
.rechner { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.rechner__wrap { max-width: 1080px; margin: 0 auto; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: clamp(1.1rem, 3vw, 2.8rem); box-shadow: var(--sh-md); }
.rechner__tabs { display: flex; gap: .25rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 4px; margin-bottom: 2rem; }
.rechner__tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; color: var(--c-ink-2); transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out), transform 100ms var(--ease-out); }
.rechner__tab:active { transform: scale(0.97); transition-duration: 70ms; }
.rechner__tab:hover:not(.is-active) { color: var(--c-ink); }
.rechner__tab.is-active { background: var(--c-blue); color: var(--c-bg); box-shadow: var(--sh-sm); }
.rechner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.rechner__col-title { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; color: var(--c-ink); margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; gap: .55rem; }
.rechner__col-title svg { color: var(--c-blue); }
.rechner__form { display: flex; flex-direction: column; gap: 1.2rem; }
.rechner__form[hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field__label { font-size: .76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-2); }
.field select, .field input[type="number"], .field input[type="text"] { background: var(--c-bg-2); border: 1px solid var(--c-line-2); border-radius: var(--r-md); padding: .75rem 1rem; font-size: .95rem; color: var(--c-ink); font-family: var(--f-body); width: 100%; transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.field select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231c2942' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px color-mix(in oklch, var(--c-blue) 14%, transparent); }
.field__range-wrap { display: flex; align-items: center; gap: 1rem; }
.field__range-wrap input[type="range"] { flex: 1; }
.field__range-val { font-family: var(--f-display); font-size: 1.05rem; font-weight: 500; color: var(--c-blue-2); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; background: var(--c-surface-2); border-radius: 999px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-blue); border: 3px solid var(--c-bg-2); cursor: grab; transition: transform 160ms var(--ease-out); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.1); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--c-blue); border: 3px solid var(--c-bg-2); cursor: grab; }

.field__interval { display: flex; align-items: center; gap: .55rem; flex-wrap: nowrap; }
.field__interval-x { font-size: 1rem; color: var(--c-ink-3); }
.field__interval-units { display: inline-flex; align-items: center; height: 32px; background: var(--c-bg-2); padding: 0 3px; border-radius: var(--r-pill); border: 1px solid var(--c-line); gap: 2px; position: relative; }
.unit-btn, .toggle-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; height: 32px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 500; color: var(--c-ink-2); white-space: nowrap; transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out), transform 100ms var(--ease-out); line-height: 1; }
.unit-btn:active, .toggle-btn:active { transform: scale(0.96); transition-duration: 70ms; }
.unit-btn:hover:not(.is-active), .toggle-btn:hover:not(.is-active) { color: var(--c-ink); }
.unit-btn.is-active, .toggle-btn.is-active { background: var(--c-blue); color: var(--c-bg); }
.field__toggles { display: flex; gap: .4rem; flex-wrap: wrap; }
.field__toggles--col { flex-direction: column; gap: .4rem; }
.field__toggles--col .toggle-btn { width: 100%; text-align: left; padding: 0 1rem; height: 44px; background: var(--c-bg-2); border: 1px solid var(--c-line-2); }
.field__toggles--col .toggle-btn.is-active { background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }
.field__toggles:not(.field__toggles--col) .toggle-btn { background: var(--c-surface); border: 1px solid var(--c-line-2); }
.field__toggles:not(.field__toggles--col) .toggle-btn.is-active { background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }

.rechner__result { background: var(--c-blue-soft); border: 1px solid color-mix(in oklch, var(--c-blue) 20%, var(--c-line)); border-radius: var(--r-lg); padding: 1.8rem; min-height: 320px; display: flex; flex-direction: column; }
.rechner__result-label { font-size: .76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue-2); margin-bottom: .55rem; }
.rechner__result-price { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; color: var(--c-ink); letter-spacing: -0.01em; margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.rechner__result-period { font-size: .92rem; color: var(--c-ink-2); margin-bottom: 1.4rem; }
.rechner__result-breakdown { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; padding-top: 1.1rem; border-top: 1px solid color-mix(in oklch, var(--c-blue) 18%, transparent); }
.breakdown-row { display: flex; justify-content: space-between; font-size: .86rem; color: var(--c-ink-2); font-variant-numeric: tabular-nums; }
.breakdown-row--total { padding-top: .6rem; margin-top: .2rem; border-top: 1px dashed color-mix(in oklch, var(--c-blue) 18%, transparent); font-weight: 700; color: var(--c-ink); }
.rechner__result-note { margin-top: auto; font-size: .76rem; color: var(--c-ink-3); line-height: 1.5; padding-top: 1rem; border-top: 1px solid color-mix(in oklch, var(--c-blue) 14%, transparent); }
.rechner__result-cta { margin-top: 1rem; }
/* GEBIET */
.gebiet { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); }
.gebiet__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.gebiet__lede { font-size: 1.05rem; color: var(--c-ink-2); margin-bottom: 2rem; line-height: 1.6; }
.gebiet__lede strong { color: var(--c-ink); font-weight: 600; }
.gebiet__districts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem 1.5rem; border-top: 1px solid var(--c-line); padding-top: 1.2rem; }
.gebiet__districts li { display: flex; align-items: baseline; gap: .6rem; padding: .35rem 0; border-bottom: 1px dashed var(--c-line); font-size: .9rem; color: var(--c-ink-2); font-variant-numeric: tabular-nums; }
.gebiet__districts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c-blue); flex-shrink: 0; transform: translateY(-3px); }
.gebiet__note { margin-top: 1.6rem; font-size: .88rem; color: var(--c-ink-2); padding: 1rem 1.2rem; background: var(--c-blue-soft); border: 1px solid color-mix(in oklch, var(--c-blue) 18%, transparent); border-radius: var(--r-md); display: flex; align-items: center; gap: .65rem; }
.gebiet__note svg { color: var(--c-blue); flex-shrink: 0; }
.gebiet__map { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line-2); background: var(--c-bg-2); box-shadow: var(--sh-md); }
.gebiet__map iframe { width: 100%; height: 100%; border: 0; }
.gebiet__map-pin { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; background: var(--c-bg-2); color: var(--c-ink); border: 1px solid var(--c-line-2); border-radius: var(--r-pill); font-size: .76rem; font-weight: 500; }
.gebiet__map-pin svg { color: var(--c-blue); width: 14px; height: 14px; }

/* ABLAUF */
.ablauf { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.ablauf__steps { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.step { background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: .8rem; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out); }
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--c-blue-mid); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--c-blue-soft); color: var(--c-blue); border: 1px solid var(--c-blue-mid); font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; border: 1px solid color-mix(in oklch, var(--c-blue) 18%, transparent); }
.step--final .step__num { background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }
.step__title { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; color: var(--c-ink); letter-spacing: -0.01em; }
.step__text { font-size: .88rem; color: var(--c-ink-2); line-height: 1.55; }

/* ÜBER */
.ueber { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); }
.ueber__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.ueber__card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--c-bg-2); border: 1px solid var(--c-line-2); padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.ueber__card::before { display: none; }
.ueber__card-mono { display: flex; align-items: baseline; font-family: var(--f-display); font-size: clamp(7rem, 13vw, 11rem); line-height: 0.78; color: var(--c-ink); letter-spacing: -0.02em; position: relative; z-index: 1; }
.ueber__card-mono span:last-child { color: var(--c-blue-2); font-style: italic; margin-left: -0.12em; transform: translateY(0.08em); }
.ueber__card-meta { border-top: 1px solid color-mix(in oklch, var(--c-ink) 20%, transparent); padding-top: 1rem; position: relative; z-index: 1; }
.ueber__card-name { font-family: var(--f-display); font-size: 1.05rem; color: var(--c-ink); margin-bottom: .25rem; }
.ueber__card-role { font-size: .82rem; color: var(--c-ink-2); margin-bottom: .2rem; }
.ueber__card-loc { font-size: .72rem; color: var(--c-ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.ueber__copy { max-width: 58ch; }
.ueber__copy p { font-size: 1.02rem; color: var(--c-ink-2); line-height: 1.65; margin-bottom: 1.1rem; }
.ueber__values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.ueber__value { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.ueber__value-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--c-blue-soft); color: var(--c-blue-2); margin-bottom: .35rem; }
.ueber__value-title { font-weight: 600; font-size: .98rem; color: var(--c-ink); }
.ueber__value-text { font-size: .85rem; color: var(--c-ink-2); line-height: 1.5; }
/* FAQ */
.faq { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.faq__list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--c-ink); letter-spacing: -0.005em; transition: color 200ms var(--ease-out); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-blue-2); }
.faq__icon { flex-shrink: 0; width: 36px; height: 36px; padding: 8px; border-radius: var(--r-pill); border: 1px solid var(--c-line-2); color: var(--c-ink); background: var(--c-surface); transition: transform 220ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }
.faq__body { padding: 0 0 1.6rem; max-width: 60rem; }
.faq__body p { color: var(--c-ink-2); font-size: 1rem; line-height: 1.6; }

/* KONTAKT */
.kontakt { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); }
.kontakt__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.kontakt__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.0; letter-spacing: -0.028em; margin-bottom: 1.3rem; color: var(--c-ink); }
.kontakt__title em { color: var(--c-blue-2); }
.kontakt__lede { font-size: 1.05rem; color: var(--c-ink-2); margin-bottom: 2.2rem; max-width: 44ch; }
.kontakt__channels { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.5rem; }
.kontakt__channels a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.kontakt__channels a:hover { border-color: var(--c-blue); background: var(--c-blue-soft); transform: translateX(2px); }
.kontakt__channels-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-blue); color: var(--c-bg); flex-shrink: 0; }
.kontakt__channels-icon--wa { background: #25D366 !important; color: white !important; }
.kontakt__channels-icon--wa { background: #25D366; color: white; }
.kontakt__channels-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.kontakt__channels-label { font-size: .72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3); }
.kontakt__channels-value { font-weight: 500; color: var(--c-ink); font-size: 1rem; }
.kontakt__channels-arrow { color: var(--c-ink-3); }
.kontakt__channels a:hover .kontakt__channels-arrow { color: var(--c-blue-2); }
.kontakt__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.kontakt__meta dt { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: .5rem; }
.kontakt__meta dt svg { color: var(--c-blue); }
.kontakt__meta dd { font-size: .9rem; color: var(--c-ink-2); line-height: 1.55; }

.form { background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form__title { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; color: var(--c-ink); margin-bottom: .4rem; }
.form__lede { font-size: .9rem; color: var(--c-ink-3); margin-bottom: 1.6rem; }
.form__row { margin-bottom: 1.1rem; }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 2vw, 1rem); }
.form__row label { display: flex; flex-direction: column; gap: .4rem; }
.form__row label > span { font-size: .76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-2); }
.form__row label > span small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--c-ink-3); margin-left: .3rem; }
.form__row input, .form__row textarea { background: var(--c-surface); border: 1px solid var(--c-line-2); border-radius: var(--r-md); padding: .8rem 1rem; font-size: .98rem; color: var(--c-ink); font-family: var(--f-body); transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.form__row input::placeholder, .form__row textarea::placeholder { color: var(--c-ink-3); }
.form__row input:focus, .form__row textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px color-mix(in oklch, var(--c-blue) 14%, transparent); }
.form__legend { display: block; font-size: .76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-2); margin-bottom: .65rem; }
.form__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.form__chip { cursor: pointer; }
.form__chip input { position: absolute; opacity: 0; pointer-events: none; }
.form__chip span { display: inline-flex; padding: .5rem .95rem; border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line-2); font-size: .85rem; color: var(--c-ink-2); transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out), border-color 140ms var(--ease-out); }
.form__chip:hover span { border-color: var(--c-blue-mid); }
.form__chip input:checked + span { background: var(--c-blue); color: var(--c-bg); border-color: var(--c-blue); }
.form__row--consent { margin: 1.3rem 0 1.4rem; }
.form__consent { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; align-items: start; cursor: pointer; font-size: .85rem; color: var(--c-ink-2); line-height: 1.5; }
/* (custom checkbox styles live further down) */
.form__consent a { color: var(--c-blue-2); text-decoration: underline; text-underline-offset: 3px; }
.form__small { margin-top: 1rem; font-size: .76rem; color: var(--c-ink-3); text-align: center; }
.form__small a { text-decoration: underline; text-underline-offset: 3px; }
/* FOOTER */
.foot { background: var(--c-bg-2); color: var(--c-ink-2); padding: clamp(3.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 1.5rem; border-top: 1px solid var(--c-line); }
.foot__top { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid color-mix(in oklch, white 12%, transparent); }
.foot__brand { display: flex; align-items: center; gap: 1rem; }
.foot__brand .brand-mark { width: 56px; height: 56px; }
.foot__brand-name { font-family: var(--f-display); font-size: 1.25rem; color: white; margin-bottom: .2rem; }
.foot__brand-tag { font-size: .82rem; color: color-mix(in oklch, white 55%, transparent); }
.foot__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.foot__nav h4 { font-size: .7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklch, white 55%, transparent); margin-bottom: 1rem; }
.foot__nav ul { display: flex; flex-direction: column; gap: .55rem; }
.foot__nav a { font-size: .9rem; color: color-mix(in oklch, white 78%, transparent); transition: color 180ms var(--ease-out); }
.foot__nav a:hover { color: white; }
.foot__contact li { font-size: .88rem; line-height: 1.5; color: color-mix(in oklch, white 78%, transparent); }
.foot__bottom { max-width: var(--container); margin: 0 auto; padding-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: color-mix(in oklch, white 50%, transparent); }

/* WhatsApp float — bulletproof box-shadow pulse */
.wa-float {
  position: fixed;
  inset-inline-end: 1.5rem;
  bottom: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: white;
  z-index: 50;
  box-shadow: 0 0 0 0 rgb(37 211 102 / .65), 0 14px 32px -10px rgb(37 211 102 / .55);
  animation: waPulse 2.2s cubic-bezier(0.23, 1, 0.32, 1) infinite;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.wa-float svg { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }

@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0    rgb(37 211 102 / .65), 0 14px 32px -10px rgb(37 211 102 / .55); }
  70%  { box-shadow: 0 0 0 24px rgb(37 211 102 / 0),   0 14px 32px -10px rgb(37 211 102 / .55); }
  100% { box-shadow: 0 0 0 24px rgb(37 211 102 / 0),   0 14px 32px -10px rgb(37 211 102 / .55); }
}

.wa-float:active {
  transform: scale(0.92);
  transition-duration: 120ms;
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.08); }
  .wa-float:hover svg { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero-art__sparkle, .hero__hint, .hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue); }
}

/* Legal */
.legal-page { padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 4vw, 3rem) 5rem; max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--c-ink); letter-spacing: 0; margin-bottom: 2.5rem; }
.legal-page h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; color: var(--c-ink); margin: 2.4rem 0 .8rem; }
.legal-page h3 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--c-ink); margin: 1.4rem 0 .5rem; }
.legal-page p, .legal-page li { font-size: .98rem; color: var(--c-ink-2); line-height: 1.65; margin-bottom: .8rem; }
.legal-page ul { margin: 0 0 1rem 1.4rem; list-style: disc; }
.legal-page a { color: var(--c-blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .back { display: inline-flex; align-items: center; gap: .4rem; color: var(--c-ink-3); font-size: .9rem; margin-bottom: 1.5rem; transition: color 180ms var(--ease-out); }
.legal-page .back:hover { color: var(--c-blue-2); }

/* Mobile */
@media (max-width: 1024px) { .ablauf__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .offers__row { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .rechner__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gebiet__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ueber__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ueber__card { max-width: 320px; margin: 0 auto; aspect-ratio: 1.05 / 1; }
  .kontakt__grid { grid-template-columns: 1fr; gap: 3rem; }
  .foot__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot__nav { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   MOBILE — fluid system, breakpoints layer cleanly
   640px = phone landscape / large phone portrait
   480px = standard phone portrait
   380px = small phone portrait
   ============================================================ */
@media (max-width: 640px) {
  /* Nav collapses to brand + hamburger */
  .nav__inner { padding: .45rem .55rem .45rem .5rem; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--sm { display: none; }
  .nav__brand-tag { display: none; }
  .nav__brand .brand-mark { width: 36px; height: 36px; }

  /* Hero stacks vertically with tight padding */
  .hero { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: clamp(3.5rem, 10vw, 6rem); }
  .hero__title { font-size: clamp(2rem, 10.5vw, 3.2rem); margin-bottom: 1rem; }
  .hero__lede { font-size: clamp(.95rem, 4vw, 1.1rem); margin-bottom: 1.7rem; }
  .hero__actions { gap: .65rem; margin-bottom: 2.5rem; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; padding: .8rem 1rem; font-size: .9rem; }
  .hero__stats { grid-template-columns: 1fr; gap: .9rem; padding-top: 1.4rem; }
  .hero__stats > div { display: grid; grid-template-columns: clamp(60px, 22vw, 90px) 1fr; gap: clamp(.6rem, 3vw, 1rem); align-items: baseline; }
  .hero__stats dt { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero__stats dd { font-size: clamp(.78rem, 3vw, .88rem); line-height: 1.4; }
  .hero-art { max-width: min(280px, 80vw); }
  .hero-art__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  z-index: 3;
}

  /* Marquee item spacing scaled */
  .marquee__row { font-size: clamp(.78rem, 3.2vw, .9rem); gap: clamp(.9rem, 3vw, 1.5rem); padding-right: clamp(.9rem, 3vw, 1.5rem); }

  /* Section titles + lede scale fluidly */
  .section-title { font-size: clamp(1.9rem, 8.5vw, 2.8rem); }
  .section-lede { font-size: clamp(.92rem, 3.8vw, 1.05rem); }
  .section-head { margin-bottom: clamp(2.5rem, 7vw, 4rem); }
  .section-head--center { padding: 0 .2rem; }

  /* Calculator on mobile — vertical tabs, fluid pill toggles */
  /* Calculator tabs go vertical on mobile — relax the pill border-radius
     because a tall stack of pill-rounded items inside another pill container
     looks weird. Soft-rounded rectangle reads cleaner. */
  .rechner__tabs { flex-direction: column; padding: 6px; gap: 4px; border-radius: var(--r-lg); }
  .rechner__tabs::before { border-radius: var(--r-md); }
  .rechner__tab { width: 100%; padding: .85rem 1rem; border-radius: var(--r-md); }
  .rechner__wrap { padding: clamp(1.1rem, 4vw, 1.5rem); border-radius: var(--r-lg); }
  .rechner__result { padding: clamp(1.1rem, 4vw, 1.6rem); }
  .rechner__result-amount { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .field__toggles { gap: .4rem; }
  .field__toggles .toggle-btn { padding: .55rem .85rem; font-size: .82rem; flex: 1 1 auto; }
  /* Reinigungsintervall — force ONE line on mobile */
  .field__interval { gap: .4rem; flex-wrap: nowrap; }
  .field__interval-x { font-size: .82rem; color: var(--c-ink-3); }
  .field__interval-units { display: inline-flex; align-items: center; height: 32px; background: var(--c-bg-2); padding: 0 3px; border-radius: var(--r-pill); border: 1px solid var(--c-line); gap: 2px; position: relative; }
  .field__interval-units .unit-btn { padding: .35rem .55rem; font-size: .72rem; white-space: nowrap; }

  /* Sections that go to 1 column */
  .ueber__values { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .gebiet__districts { grid-template-columns: 1fr 1fr; gap: .35rem .9rem; }
  .ablauf__steps { grid-template-columns: 1fr; gap: .9rem; }
  .kontakt__channels a { padding: .85rem 1rem; gap: .75rem; }
  .kontakt__channels-icon { width: 36px; height: 36px; }
  .form__row--two { grid-template-columns: 1fr; gap: 1rem; }
  .kontakt__meta { grid-template-columns: 1fr; gap: 1.4rem; }

  /* Footer */
  .foot__nav { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: .8rem; padding-top: 1.5rem; }

  /* WA float slightly smaller, closer to edge */
  .wa-float { inset-inline-end: .9rem; bottom: 2.1rem; width: 50px; height: 50px; }

  /* Über mich, Hinweise, etc. — pad nicely */
  .ueber__card { max-width: 100%; }
  .hinweise { padding: clamp(1.2rem, 4vw, 1.8rem); }

  /* Service-cards on mobile — much smaller padding, tighter rhythm */
  .service-card { padding: 1rem 1.1rem; }
  .service-card__list { gap: .35rem; margin-top: .6rem; padding-bottom: .3rem; }
  .service-card__list li { font-size: .87rem; line-height: 1.4; padding-left: 1rem; }
  .service-card__icon { width: 38px; height: 38px; border-radius: var(--r-md); margin-bottom: .7rem; }
  .service-card__icon svg { width: 18px; height: 18px; }
  .service-card__head { margin-bottom: .4rem; }
  .service-card__num { font-size: .68rem; }
  .service-card__title { font-size: 1.15rem; margin-bottom: .4rem; }
  .service-card__lede { font-size: .88rem; margin-bottom: .25rem; line-height: 1.5; }
  .service-card__cta { font-size: .85rem; margin-top: .35rem; }
  .services__grid { gap: .8rem; }
  .service-card__more > summary { padding: .6rem 0; font-size: .82rem; }

  /* Section padding floors reduced for tighter mobile flow.
     Was clamp(5rem,9vw,8rem) → now clamp(3.2rem,8vw,8rem) — sections breathe but
     don't waste a screen between them. */
  .services, .rechner, .gebiet, .ablauf, .ueber, .faq, .kontakt {
    padding-top: clamp(3.2rem, 8vw, 8rem);
    padding-bottom: clamp(3.2rem, 8vw, 8rem);
  }
  .section-head { margin-bottom: clamp(1.8rem, 5vw, 4rem); }

  /* Calculator — visibly more compact across the whole panel */
  .rechner__wrap { padding: 1rem; }
  .rechner__tabs { padding: 4px; gap: 3px; margin-bottom: 1rem; }
  .rechner__tab { padding: .7rem 1rem; font-size: .88rem; }
  .rechner__panel { padding: 0; }
  .rechner__section-title { font-size: 1rem; margin-bottom: .9rem; }
  .field { margin-bottom: .85rem; }
  .field__label { font-size: .65rem; margin-bottom: .35rem; letter-spacing: 0.04em; }
  .field__row { gap: .5rem; }
  .field__range-val { font-size: .95rem; min-width: 56px; }
  /* Numinput — let buttons match input height naturally instead of forcing 28px */
  .numinput { display: inline-flex; align-items: center; height: 32px; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 0 4px; gap: 2px; }
  /* (numinput input styled in main rule above) */
  .numinput__btn { width: 30px; height: 100%; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--c-ink-2); cursor: pointer; transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out); border-radius: var(--r-pill); }
  .numinput__btn svg { width: 14px; height: 14px; }
  .toggle-btn { padding: .55rem .85rem; font-size: .82rem; }
  /* (field__interval handled above) */
  .rechner__result { padding: 1rem; margin-top: 1.2rem; }
  .rechner__result-eyebrow { font-size: .62rem; margin-bottom: .25rem; }
  .rechner__result-amount { font-size: 2.4rem; line-height: 1; margin-bottom: .35rem; }
  .rechner__result-meta { font-size: .78rem; }
  .rechner__result-row { font-size: .82rem; padding: .35rem 0; }
  .rechner__result-final { padding-top: .55rem; font-size: .9rem; }
  .rechner__result-note { font-size: .75rem; margin: .8rem 0 1rem; line-height: 1.5; }
  .rechner__result .btn { padding: .8rem 1rem; font-size: .88rem; }

  /* Ablauf step cards — smaller number badge, tighter padding */
  .step { padding: 1.1rem 1.15rem; }
  .step__num {
    width: 40px;
    height: 40px;
    font-size: .82rem;
    margin-bottom: .9rem;
  }
  .step__title { font-size: 1.05rem; margin-bottom: .4rem; }
  .step__text { font-size: .9rem; line-height: 1.55; }

  /* Wichtige Hinweise — tighter bullet/spacing rhythm */
  .hinweise { padding: clamp(1.1rem, 3.5vw, 1.6rem); margin-top: clamp(2.5rem, 6vw, 4rem); }
  .hinweise__title { font-size: 1.1rem; margin-bottom: .7rem; }
  .hinweise__intro { font-size: .9rem; margin-bottom: .8rem; }
  .hinweise__list { gap: .55rem; margin-bottom: .85rem; }
  .hinweise__list li { padding-left: 1.05rem; font-size: .88rem; line-height: 1.55; }
  .hinweise__closing { font-size: .82rem; }

  /* Über mich text + values cards more compact */
  .ueber__story p { font-size: .95rem; line-height: 1.6; margin-bottom: .9rem; }
  .ueber__value { padding: 1rem 1rem; }
  .ueber__value-icon { width: 36px; height: 36px; margin-bottom: .55rem; }
  .ueber__value-title { font-size: .98rem; margin-bottom: .25rem; }
  .ueber__value-text { font-size: .82rem; line-height: 1.5; }

  /* Kontakt channel cards tighter */
  .kontakt__channels { gap: .5rem; }
  .kontakt__channels-icon { width: 34px; height: 34px; }
  .kontakt__channels-icon svg { width: 18px; height: 18px; }
  .kontakt__channels-label { font-size: .68rem; }
  .kontakt__channels-value { font-size: .92rem; }
  .kontakt__meta dt { font-size: .72rem; margin-bottom: .3rem; }
  .kontakt__meta dd { font-size: .88rem; line-height: 1.6; }

  /* Form spacing tightening */
  .form { padding: clamp(1.2rem, 4vw, 1.8rem); }
  .form__title { font-size: 1.2rem; margin-bottom: 1rem; }
  .form input, .form textarea, .dropdown__trigger { padding: .65rem .85rem; font-size: .92rem; }
  .form label > span { font-size: .68rem; margin-bottom: .35rem; }
  .form__consent { font-size: .68rem; gap: .65rem; }

  /* FAQ items tighter padding */
  .faq__item summary { padding: .85rem 1rem; font-size: .92rem; }
  .faq__body { padding: 0 1rem 1rem; }
  .faq__body p { font-size: .88rem; line-height: 1.6; }
  .faq__list { gap: .5rem; }

  /* Hero: bring stats closer to the eye, less air below the CTAs */
  .hero__stats > div { gap: .8rem; }
  .hero__stats dt { font-size: clamp(1.4rem, 6.5vw, 1.8rem); }
  .hero__stats dd { font-size: .8rem; line-height: 1.35; }

  /* ============================================================
     STRUCTURAL MOBILE REBUILDS (v16)
     Not just smaller paddings — actual layout changes per component
     ============================================================ */

  /* 1) GEBIET — show map (restored), hide the 23-item district list (too long).
     The lede paragraph + Anfahrtspauschale note + Niederösterreich card stay.
     Map gets full mobile width with proper aspect ratio. */
  .gebiet__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gebiet__districts { display: none; }
  .gebiet__map { aspect-ratio: 16 / 11; max-height: 320px; order: -1; }
  .gebiet__lede { font-size: .95rem; margin-bottom: .9rem; }

  /* 2) HERO STATS — thin horizontal trio bar: 23 · ≤1h · 1,75 €
     dt-only inline row with mini labels stacked below each number.
     Strips wasted vertical space entirely. */
  .hero__stats br { display: none; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding-top: 1.6rem;
    margin-top: 1.6rem;
    border-top: 1px solid var(--c-line);
  }
  .hero__stats > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    grid-template-columns: none;
    text-align: left;
    padding-right: .8rem;
    position: relative;
  }
  .hero__stats > div + div { padding-left: .9rem; border-left: 1px solid var(--c-line); }
  .hero__stats dt { font-size: clamp(1.2rem, 5.5vw, 1.6rem); margin: 0; line-height: 1.1; }
  .hero__stats dd {
    font-size: clamp(.65rem, 2.6vw, .75rem);
    line-height: 1.3;
    margin: 0;
    color: var(--c-ink-3);
  }

  /* 3) 5-STEP PROCESS — kill the white cards entirely on mobile, render as
     a compact connected list with a small number dot + content row.
     ~60% height reduction vs five stacked white cards. */
  .ablauf__steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--c-line);
    box-shadow: none;
    border-radius: 0;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: .9rem;
    align-items: start;
  }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step:last-child { padding-bottom: 0; }
  .step__num {
    width: 32px;
    height: 32px;
    font-size: .78rem;
    margin: 0;
    background: var(--c-blue-soft); color: var(--c-blue); border: 1px solid var(--c-blue-mid);
    grid-row: span 2;
    align-self: start;
    margin-top: 2px;
  }
  .step__title { font-size: 1rem; margin-bottom: .2rem; }
  .step__text { font-size: .88rem; line-height: 1.5; margin: 0; }

  /* 4) SERVICE CARDS — collapsible bullets via <details>
     Summary visible on mobile, default closed. Title/lede/CTA always visible. */
  .service-card__more {
    margin-top: 1rem;
    border-top: 1px solid var(--c-line);
  }
  .service-card__more > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-blue-2);
  }
  .service-card__more > summary::-webkit-details-marker { display: none; }
  .service-card__more > summary svg {
    transition: transform .25s var(--ease-out);
    color: var(--c-blue-2);
  }
  .service-card__more[open] > summary svg { transform: rotate(180deg); }
  .service-card__more .service-card__list { margin-top: 0; padding-bottom: .4rem; }

  /* 5) KONTAKT CHANNELS — already compact, just tighten further */
  .kontakt__channels a { padding: .7rem .85rem; gap: .7rem; }
  .kontakt__channels-icon { width: 34px; height: 34px; }
  .kontakt__channels-icon svg { width: 16px; height: 16px; }
  .kontakt__channels-label { font-size: .65rem; }
  .kontakt__channels-value { font-size: .9rem; }

  /* 6) ÜBER-MICH VALUES — 2×2 even tighter, descriptions truncated to 2 lines */
  .ueber__value { padding: .85rem .8rem; border-radius: var(--r-md); }
  .ueber__value-icon { width: 32px; height: 32px; margin-bottom: .5rem; }
  .ueber__value-icon svg { width: 16px; height: 16px; }
  .ueber__value-title { font-size: .92rem; margin-bottom: .2rem; }
  .ueber__value-text { font-size: .78rem; line-height: 1.45; }

  /* Footer compactness */
  .foot { padding-top: 2.5rem; padding-bottom: 1.2rem; }
  .foot__top { gap: 1.8rem; }
  .foot__brand-tag { font-size: .85rem; line-height: 1.5; }
}

/* On DESKTOP, force the details open and hide the summary toggle
   so the service card looks exactly like it always did. */
@media (min-width: 641px) {
  .service-card__more > summary { display: none; }
}

@media (max-width: 480px) {
  /* Even tighter padding, larger text reflow */
  .hero__title { font-size: clamp(1.85rem, 9.5vw, 2.4rem); letter-spacing: -0.005em; }
  .hero__actions .btn { padding: .75rem .9rem; font-size: .88rem; gap: .35rem; }
  .hero__eyebrow { font-size: .68rem; }
  .nav__inner { padding: .4rem .5rem; }
  .nav__brand-name { font-size: .98rem; }
  .nav__brand .brand-mark { width: 32px; height: 32px; }

  /* Section eyebrows can also shrink */
  .section-eyebrow { font-size: .68rem; padding: .35rem .75rem; gap: .4rem; }

  /* Form fields touch-friendly minimum */
  .form input, .form textarea, .dropdown__trigger { font-size: .95rem; padding: .7rem .9rem; }

  /* Calculator label hierarchy tighter */
  .field__label { font-size: .7rem; }

  /* Hinweise list bullets indented less */
  .hinweise__list li { padding-left: 1.2rem; font-size: .9rem; }
}

@media (max-width: 380px) {
  /* The smallest viable phones (iPhone SE, small Androids) */
  .ueber__values { grid-template-columns: 1fr; gap: .7rem; }
  .gebiet__districts { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; gap: .55rem; }
  .hero__actions .btn { width: 100%; flex: 0 0 auto; padding: .85rem 1rem; }
  .hero__stats > div { grid-template-columns: 56px 1fr; gap: .7rem; }
  .hero__stats dt { font-size: 1.45rem; }

  /* Footer nav columns collapse to 1 */
  .foot__nav { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Marquee text smaller */
  .marquee { padding: .6rem 0; }
}

/* ============================================================
   ANIMATION REFINEMENTS (Emil-style review)
   Hover-gate transforms; touch devices already get :active feedback.
   Active states are fast (120ms) for responsive press feedback.
   ============================================================ */
@media (hover: none) {
  .btn--solid:hover,
  .btn--ink:hover,
  .service-card:hover,
  .step:hover,
  .offer:hover,
  .kontakt__channels a:hover { transform: none; box-shadow: var(--sh-sm); }
  .btn--ghost:hover { border-color: var(--c-line-2); color: var(--c-ink); }
}

.btn:active,
.btn--solid:active,
.btn--ink:active,
.btn--ghost:active { transition-duration: 120ms; transform: translateY(1px) scale(0.985); }

/* Stagger reveal: cards that share a parent feel more alive when offset slightly */
.services__grid > [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.services__grid > [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.ablauf__steps > [data-reveal]:nth-child(2) { transition-delay: 50ms; }
.ablauf__steps > [data-reveal]:nth-child(3) { transition-delay: 100ms; }
.ablauf__steps > [data-reveal]:nth-child(4) { transition-delay: 150ms; }
.ablauf__steps > [data-reveal]:nth-child(5) { transition-delay: 200ms; }
.offers__row > [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.ueber__values > .ueber__value:nth-child(2) { transition-delay: 40ms; }
.ueber__values > .ueber__value:nth-child(3) { transition-delay: 80ms; }
.ueber__values > .ueber__value:nth-child(4) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-delay: 0ms !important; }
}

/* ============================================================
   PAGE-LOAD ENTRANCE — hero cascading stagger so the very first
   thing the user sees has obvious motion.
   ============================================================ */
@keyframes heroLift {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes brandIn {
  0%   { opacity: 0; transform: scale(0.86); }
  100% { opacity: 1; transform: scale(1); }
}
.hero__eyebrow { animation: heroLift 700ms 80ms  cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero__title   { animation: heroLift 800ms 160ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero__lede    { animation: heroLift 800ms 280ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero__actions { animation: heroLift 800ms 400ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero__stats   { animation: heroLift 800ms 500ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.hero__visual  { animation: heroLift 1000ms 350ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.nav__brand .brand-mark { animation: brandIn 500ms cubic-bezier(0.23, 1, 0.32, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__stats, .hero__visual, .nav__brand .brand-mark {
    animation: none;
  }
}

/* ============================================================
   v5 — CUSTOM COMPONENTS
   Dropdown · NumInput stepper · Pill indicator · Consent checkbox
   ============================================================ */

/* DROPDOWN — replaces native <select> */
.dropdown {
  position: relative;
  width: 100%;
}
.dropdown__trigger {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-size: .95rem;
  color: var(--c-ink);
  cursor: pointer;
  font-family: var(--f-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  text-align: left;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.dropdown__trigger:hover { border-color: var(--c-blue-mid); }
.dropdown[data-open] .dropdown__trigger,
.dropdown__trigger:focus-visible {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--c-blue) 14%, transparent);
}
.dropdown__caret {
  color: var(--c-ink-3);
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1), color 160ms var(--ease-out);
}
.dropdown[data-open] .dropdown__caret {
  transform: rotate(180deg);
  color: var(--c-blue);
}
.dropdown__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: .35rem;
  box-shadow: var(--sh-lg);
  z-index: 30;
  list-style: none;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms cubic-bezier(0.32, 0.72, 0, 1), transform 220ms cubic-bezier(0.32, 0.72, 0, 1), visibility 220ms;
}
.dropdown[data-open] .dropdown__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.dropdown__item {
  padding: .65rem .9rem;
  border-radius: var(--r-sm);
  font-size: .92rem;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: background-color 120ms var(--ease-out), color 120ms var(--ease-out);
  user-select: none;
}
.dropdown__item:hover, .dropdown__item:focus-visible {
  background: var(--c-blue-soft);
  color: var(--c-ink);
  outline: none;
}
.dropdown__item.is-selected {
  background: var(--c-blue);
  color: white;
}
.dropdown__item.is-selected:hover { background: var(--c-blue-2); }


/* NUMINPUT — custom number stepper */
.numinput { display: inline-flex; align-items: center; height: 32px; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 0 4px; gap: 2px; }
.numinput:focus-within {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--c-blue) 14%, transparent);
}
.numinput input[type="number"] {
  border: 0;
  background: transparent;
  text-align: center;
  width: 44px;
  height: 100%;
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-ink);
  padding: 0;
  font-family: var(--f-body);
  appearance: textfield;
  -moz-appearance: textfield;
  outline: none;
}
.numinput input[type="number"]::-webkit-inner-spin-button,
.numinput input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.numinput input[type="number"]:focus { outline: none; }
.numinput--sm input[type="number"] { width: 48px; font-size: .9rem; }
.numinput__btn { width: 30px; height: 100%; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--c-ink-2); cursor: pointer; transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out); border-radius: var(--r-pill); }
@media (hover: hover) and (pointer: fine) {
  .numinput__btn:hover:not(:disabled) { color: var(--c-blue); }
}
.numinput__btn:active { transform: scale(0.9); transition-duration: 70ms; }
.numinput__btn:disabled {
  opacity: .35;
  pointer-events: none;
}


/* PILL INDICATOR — sliding bg behind active pill */
.rechner__tabs,
.field__interval-units,
.field__toggles:not(.field__toggles--col) {
  position: relative;
  isolation: isolate;
}
.rechner__tabs::before,
.field__interval-units::before,
.field__toggles:not(.field__toggles--col)::before {
  content: "";
  position: absolute;
  left: var(--ind-x, 4px);
  top: var(--ind-y, 4px);
  width: var(--ind-w, 0);
  height: var(--ind-h, 0);
  background: var(--c-blue);
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition:
    left 320ms cubic-bezier(0.32, 0.72, 0, 1),
    top 320ms cubic-bezier(0.32, 0.72, 0, 1),
    width 320ms cubic-bezier(0.32, 0.72, 0, 1),
    height 320ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 160ms var(--ease-out);
}
.rechner__tabs.is-ready::before,
.field__interval-units.is-ready::before,
.field__toggles:not(.field__toggles--col).is-ready::before { opacity: 1; }

/* When indicator is showing, only the active button drops its bg/border.
   Inactive buttons keep their default styling (white card for Vertragslaufzeit, etc) */
.rechner__tabs.is-ready .rechner__tab.is-active,
.field__interval-units.is-ready .unit-btn.is-active,
.field__toggles:not(.field__toggles--col).is-ready .toggle-btn.is-active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: white;
}
/* Smooth text-colour transitions on all pills in indicator groups */
.rechner__tabs.is-ready .rechner__tab,
.field__interval-units.is-ready .unit-btn,
.field__toggles:not(.field__toggles--col).is-ready .toggle-btn {
  transition: color 240ms cubic-bezier(0.32, 0.72, 0, 1);
}


/* CONSENT CHECKBOX — refined v13 (absolute-centred check, thinner stroke) */
.form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--c-line-2);
  border-radius: 4px;
  background: var(--c-bg-2);
  cursor: pointer;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  vertical-align: top;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.form__consent input[type="checkbox"]:hover {
  border-color: var(--c-blue-mid);
}
.form__consent input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%) scale(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5 6.5-7.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form__consent input[type="checkbox"]:checked {
  background-color: var(--c-blue);
  border-color: var(--c-blue);
}
.form__consent input[type="checkbox"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}
.form__consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--c-blue) 14%, transparent);
}

/* ============================================================
   v6 — DIRECTIONAL FILL-FROM-CURSOR (btn--ink + btn--solid)
   A small circle pseudo grows from the cursor's entry point.
   Animation uses transform only (GPU-safe, no width/height jank).
   --mx and --my are set by JS on mouseenter/mouseleave.
   ============================================================ */

.btn--ink, .btn--solid {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--ink { --btn-fill: transparent; }
.btn--solid { --btn-fill: var(--c-bg); }

.btn--ink::before,
.btn--solid::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--btn-fill);
  border-radius: 50%;
  transform: translate(calc(var(--mx, 50%) - 50%), calc(var(--my, 50%) - 50%)) scale(0);
  transform-origin: center;
  /* filter:blur softens the sweep edge; eliminates the aliased ring visible at large scale */
  filter: blur(2.5px);
  /* Longer duration + iOS-drawer curve = cinematic but still responsive */
  transition: transform 660ms cubic-bezier(0.32, 0.72, 0, 1), opacity 200ms ease-out;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
  /* GPU layer hint for the duration of the hover */
  will-change: transform;
}

/* Wrap inner content above the fill pseudo */
.btn__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover::before,
  .btn--solid:hover::before {
    transform: translate(calc(var(--mx, 50%) - 50%), calc(var(--my, 50%) - 50%)) scale(70);
    opacity: 1;
    /* Asymmetric timing: snappier easeOutQuint for the fill-in.
       Fade-out (mouseleave) keeps the base 720ms cinematic curve. */
    transition: transform 850ms cubic-bezier(0.65, 0, 0.35, 1), opacity 280ms ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn--ink::before, .btn--solid::before { transition: none; }
}

/* ============================================================
   v8 — NUMU CREDIT PILL
   Designed footer credit. Subtle pill with letter-stagger hover.
   ============================================================ */
.numu-credit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .55rem .4rem .85rem;
  border-radius: 999px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-2);
  font-size: .8rem;
  color: var(--c-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 220ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 220ms cubic-bezier(0.32, 0.72, 0, 1),
              color 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
.numu-credit__by {
  font-weight: 400;
  letter-spacing: 0.005em;
}
.numu-credit__name {
  display: inline-flex;
  font-weight: 600;
  color: white;
  letter-spacing: 0;
  font-family: var(--f-display);
  font-size: .92rem;
}
.numu-credit__letter {
  display: inline-block;
  transition: transform 340ms cubic-bezier(0.32, 0.72, 0, 1), color 220ms ease-out;
  /* Each letter eases up with its own delay set below */
}
.numu-credit__arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in oklch, white 10%, transparent);
  color: color-mix(in oklch, white 70%, transparent);
  transition: background-color 220ms cubic-bezier(0.32, 0.72, 0, 1),
              color 220ms ease-out,
              transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.numu-credit__arrow svg { transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1); }

@media (hover: hover) and (pointer: fine) {
  .numu-credit:hover {
    background: color-mix(in oklch, white 12%, transparent);
    border-color: color-mix(in oklch, white 22%, transparent);
    color: white;
  }
  .numu-credit:hover .numu-credit__arrow {
    background: var(--c-blue);
    color: white;
  }
  .numu-credit:hover .numu-credit__arrow svg {
    transform: translate(2px, -2px);
  }
  /* Letter-stagger lift on hover */
  .numu-credit:hover .numu-credit__letter:nth-child(1) { transform: translateY(-3px); transition-delay: 0ms; }
  .numu-credit:hover .numu-credit__letter:nth-child(2) { transform: translateY(-3px); transition-delay: 40ms; }
  .numu-credit:hover .numu-credit__letter:nth-child(3) { transform: translateY(-3px); transition-delay: 80ms; }
  .numu-credit:hover .numu-credit__letter:nth-child(4) { transform: translateY(-3px); transition-delay: 120ms; }
  /* Each letter lands with a subtle blue flash that returns to white */
  .numu-credit:hover .numu-credit__letter:nth-child(1) { color: var(--c-blue-mid); }
  .numu-credit:hover .numu-credit__letter:nth-child(2) { color: var(--c-blue-mid); }
  .numu-credit:hover .numu-credit__letter:nth-child(3) { color: var(--c-blue-mid); }
  .numu-credit:hover .numu-credit__letter:nth-child(4) { color: var(--c-blue-mid); }
}
@media (prefers-reduced-motion: reduce) {
  .numu-credit__letter, .numu-credit__arrow, .numu-credit__arrow svg {
    transition: none;
  }
}

/* ============================================================
   v12 — WICHTIGE HINWEISE (religious service restrictions)
   Soft callout block, sits inside the Ablauf section
   ============================================================ */
.hinweise {
  max-width: 880px;
  margin: clamp(4rem, 7vw, 6rem) auto 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--c-blue-soft); border: 1px solid var(--c-blue-mid);
  border-radius: var(--r-lg);
}
.hinweise__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--c-ink);
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.hinweise__intro {
  font-size: .98rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.hinweise__list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 1.2rem;
  padding: 0;
  list-style: none;
}
.hinweise__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  color: var(--c-ink-2);
  line-height: 1.65;
}
.hinweise__list li::before {
  content: "§";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-blue-2);
  font-weight: 600;
}
.hinweise__closing {
  font-size: .9rem;
  color: var(--c-ink-3);
  line-height: 1.65;
  font-style: italic;
}

/* ============================================================
   v12 — Future service area row (Niederösterreich/Burgenland)
   Coming-soon card on the light theme, muted so it reads as "future"
   ============================================================ */
.gebiet__future {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  background: color-mix(in oklch, var(--c-surface) 70%, white);
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-md);
}
.gebiet__future-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c-ink-3);
  flex-shrink: 0;
}
.gebiet__future-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
  min-width: 0;
}
.gebiet__future-text strong {
  font-weight: 600;
  color: var(--c-ink-2);
  font-size: .95rem;
}
.gebiet__future-text span {
  font-size: .82rem;
  color: var(--c-ink-3);
}
.gebiet__future-pill {
  flex-shrink: 0;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-2);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   v13 — LEGAL PAGES (Impressum / Datenschutz / AGB)
   Use the simple top-of-page back link + proper hierarchy
   ============================================================ */
.nav--legal {
  position: static;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.nav--legal .nav__inner {
  max-width: 820px;
  padding: 0;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: 0;
  background: color-mix(in oklch, var(--c-bg) 85%, transparent);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.legal-page { padding: 3rem clamp(1rem, 4vw, 3rem) 5rem; max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3rem); color: var(--c-ink); letter-spacing: -0.005em; margin: 0 0 1rem; }
.legal-intro { font-size: 1rem; color: var(--c-ink-2); line-height: 1.6; margin-bottom: 2.4rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--c-line); }
.legal-page h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2.5vw, 1.35rem); color: var(--c-ink); margin: 2.2rem 0 .7rem; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { font-size: .96rem; color: var(--c-ink-2); line-height: 1.7; margin-bottom: .9rem; }
.legal-page ul { margin: 0 0 1.2rem 1.4rem; padding: 0; list-style: disc; }
.legal-page ul li { margin-bottom: .4rem; }
.legal-page a { color: var(--c-blue-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, var(--c-blue) 35%, transparent); transition: text-decoration-color 180ms var(--ease-out); }
.legal-page a:hover { text-decoration-color: var(--c-blue); }

.legal-source { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); font-size: .82rem !important; color: var(--c-ink-3) !important; }

.legal-back-top, .legal-back-bottom {
  margin-bottom: 1.8rem;
  font-size: .9rem !important;
}
.legal-back-top a, .legal-back-bottom a {
  color: var(--c-ink-3) !important;
  text-decoration: none !important;
  transition: color 180ms var(--ease-out);
}
.legal-back-top a:hover, .legal-back-bottom a:hover {
  color: var(--c-blue-2) !important;
}
.legal-back-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}

@media (max-width: 640px) {
  .legal-page h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .legal-page p, .legal-page li { font-size: .92rem; }
}


/* v3 — Calculator field uniformity (unified pill height, hover, alignment) */
.field__interval-units .unit-btn,
.field__toggles:not(.field__toggles--col) .toggle-btn {
  height: 26px;
  padding: 0 .75rem;
  font-size: .78rem;
}
.unit-btn:hover:not(.is-active),
.toggle-btn:hover:not(.is-active) {
  color: var(--c-ink);
  background: rgba(255,255,255,.04);
}
