/* Figtree, self-hosted (SIL Open Font License), one variable file per subset */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* M&M clean
   The brand's own world: the logo blue as a full field, its swoosh as the
   edge between sections ("Wischkante"), its four-point sparkle as the only
   ornament, an arched window as the picture frame. One accent, signal
   yellow, owns every primary action. Figtree throughout: open,
   friendly letterforms that stay easy to read, bold only where it counts.

   Motion follows Emil Kowalski's rules: ease-out for anything arriving,
   ease-in-out for things moving on screen, press feedback at 0.97, UI
   transitions under 300ms, transform and opacity (clip-path for reveals).
   One authored moment: the hero arriving. */

:root {
  --blue:      oklch(47% 0.12 240);
  --blue-deep: oklch(29% 0.065 245);
  --ink:       oklch(23% 0.035 245);
  --ink-soft:  oklch(44% 0.03 240);
  --on-blue:   oklch(98.5% 0.006 230);
  --on-blue-2: oklch(91% 0.03 225);
  --foam:      oklch(96.8% 0.012 225);
  --white:     oklch(99.6% 0.003 230);
  --line:      oklch(89% 0.015 230);
  --sun:       oklch(87.5% 0.165 94);
  --sun-hi:    oklch(91% 0.15 97);
  --sky:       oklch(82% 0.085 215);

  --display: "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 82rem;
  --r-card: 24px;
  --shadow-1: 0 1px 2px oklch(23% 0.035 245 / 0.08), 0 6px 16px -6px oklch(23% 0.035 245 / 0.16);
  --shadow-2: 0 2px 4px oklch(23% 0.035 245 / 0.08), 0 24px 48px -20px oklch(23% 0.035 245 / 0.32);
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; 
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* browser surfaces belong to the design too */
::selection { background: var(--sun); color: var(--ink); }
:root { accent-color: var(--blue); caret-color: var(--blue); scrollbar-color: oklch(70% 0.04 235) transparent; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .area :focus-visible, .care :focus-visible, .foot :focus-visible { outline-color: var(--sun); }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--white); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.5em; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 58px; padding: 0 1.8em; font-size: 1.06rem; }
.btn--sun { background: var(--sun); color: var(--ink); padding-right: .55em; }
.btn--sun::after {
  content: ""; flex: none; width: 2.1em; height: 2.1em; margin-left: .35em; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 52% no-repeat;
  transition: transform 260ms var(--ease-out);
}
.nav__cta.btn--sun::after { width: 1.9em; height: 1.9em; }
.btn--outline { border-color: oklch(98.5% 0.006 230 / 0.6); color: var(--on-blue); }
@media (hover: hover) and (pointer: fine) {
  .btn--sun:hover { background: var(--sun-hi); }
  .btn--sun:hover::after { transform: translateX(3px) rotate(-30deg); }
  .btn--outline:hover { background: oklch(98.5% 0.006 230 / 0.12); border-color: var(--on-blue); }
}

/* ---------------------------------------------------------------- nav */
.nav-wrap { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding-inline: clamp(.75rem, 3vw, 2rem); pointer-events: none; }
.nav {
  pointer-events: auto; max-width: calc(var(--maxw) - 2rem); margin-inline: auto; height: 70px;
  display: flex; align-items: center; gap: 1.5rem; padding: 0 10px 0 22px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-2);
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 2rem; margin-inline: auto; font-weight: 500; }
.nav__links a { text-decoration: none; padding: .5rem 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__cta { min-height: 50px; }
.nav__toggle { display: none; }
/* Leistungen menu: a panel under the nav on desktop, an inline list in the mobile menu */
.nav__menu { position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; padding: .5rem 0; display: flex; align-items: center; gap: .4rem; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.nav__menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav__panel { position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0; width: 22rem; padding: .75rem; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-2); animation: lift 260ms var(--ease-out) both; }
.nav__panel ul { display: grid; }
.nav__links .nav__panel a { display: block; padding: .7rem .9rem; border-radius: 12px; }
.nav__links .nav__panel a::after { display: none; }
.nav__links .nav__panel a:hover { background: var(--foam); color: var(--blue); }
.nav__panel .nav__all { margin-top: .25rem; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--blue); font-weight: 600; }
.nav__panel .nav__all + .nav__all { margin-top: 0; border-top: 0; }
.card__pic { display: block; width: 100%; height: 100%; }
.card__more { display: inline-block; margin-top: .6rem; color: var(--blue); font-weight: 600; text-decoration: none; }
.card__more::after { content: " →"; }
.card__more:hover { text-decoration: underline; }

/* --------------------------------------------------------------- hero
   The film fills the whole section. A brand-blue shade sits where the text
   is and lets the film show on the right. */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 140px 0 clamp(8rem, 13vw, 12rem); background: var(--blue); color: var(--on-blue); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
/* the poster sits behind the film as a plain background, so the film can
   fade in once it really plays and fade back to the first frame at the end */
.hero__bg { background: var(--blue) url("assets/hero-poster.webp") center / cover no-repeat; }
.hero__bg.is-done { background-image: url("assets/hero-end.webp"); }
/* The film itself always stays visible (iPhones only autoplay visible
   videos). A veil with the first frame lies on top and fades away once the
   film really plays, and back in for the soft restart. */
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: url("assets/hero-poster.webp") center / cover no-repeat; transition: opacity 700ms ease; will-change: opacity; }
.hero__veil.is-off { opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, oklch(40% 0.11 241 / 0.94) 0%, oklch(42% 0.115 241 / 0.82) 38%, oklch(45% 0.12 240 / 0.35) 66%, oklch(47% 0.12 240 / 0.12) 100%),
    linear-gradient(0deg, oklch(36% 0.1 242 / 0.55) 0%, transparent 40%); }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--sky); opacity: .6; z-index: -1; }
.hero__inner { width: 100%; }
.hero__title { max-width: 12ch; font-size: clamp(2.9rem, 1.5rem + 4.4vw, 5.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: var(--on-blue); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__title .line > span { display: inline-block; }
h1.hero__sub { font-family: var(--text); font-weight: 400; letter-spacing: 0; line-height: 1.6; text-wrap: pretty; }
.hero__sub { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); color: var(--on-blue-2); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__clients { margin-top: clamp(2.5rem, 5vw, 3.75rem); max-width: 46rem; }
.hero__clients p { font-size: .92rem; font-weight: 500; color: var(--on-blue-2); }
/* the client logos run past in one endless row; two copies, shifted by half */
.marquee { display: flex; width: 100%; margin-top: 1rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero__logos { flex: none; display: flex; align-items: center; gap: clamp(2.25rem, 4vw, 3.5rem); padding-right: clamp(2.25rem, 4vw, 3.5rem); animation: marquee 38s linear infinite; }
.hero__logos li { flex: none; }
.hero__logos .has-tag { position: relative; }
.logo-tag { position: absolute; left: 50%; top: calc(100% + 4px); translate: -50% 0; white-space: nowrap; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-blue-2); opacity: .9; }
.marquee { padding-bottom: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .hero__logos { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .hero__logos { animation: none; } .hero__logos[aria-hidden] { display: none; } .marquee { flex-wrap: wrap; } .hero__logos:first-child { flex-wrap: wrap; row-gap: 1rem; } }
.hero__logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .88; }
.hero__logos .is-square img { height: 44px; }
.hero__logos .is-wide img { height: 48px; }

.stamp { position: absolute; right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); bottom: clamp(3rem, 7vw, 6rem); z-index: 2; width: clamp(118px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; display: block; transition: transform 200ms var(--ease-out); }
.stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; will-change: transform; }
.stamp__bg { fill: var(--sun); }
.stamp__text { font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; fill: var(--ink); }
.stamp__spark { fill: var(--ink); }
.stamp:active { transform: scale(0.97); }
@keyframes spin { to { transform: rotate(360deg); } }

/* the Wischkante: the logo's swoosh, with its thin light-blue echo */
.swoosh { position: absolute; left: 0; width: 100%; height: clamp(56px, 9vw, 130px); pointer-events: none; }
.swoosh--down { bottom: -1px; }
.swoosh--up { top: -1px; }
.swoosh__fill { fill: var(--white); }
.swoosh__fill--foam { fill: var(--foam); }
.swoosh__line { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------------------------------------------------------------- intro
   The logo settles on white with a small loading figure underneath. Once
   the page and the hero film are loaded (100 %), a squeegee pulls across
   and wipes it away, uncovering the hero. While loading, the script sets
   .is-loading; without the script the intro simply wipes after 1.15 s. */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center; align-content: center; gap: 1.1rem; position: fixed; inset: 0; z-index: 100; background: var(--white);
  animation: intro-wipe 760ms var(--ease-in-out) 1150ms forwards;
}
.js { --in: 1350ms; }
.intro__logo { width: min(46vw, 230px); height: auto; animation: intro-logo 650ms var(--ease-out) 120ms both; }
.intro__pct { display: none; min-width: 4ch; text-align: center; font-size: .95rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); font-variant-numeric: tabular-nums; animation: fadein 400ms var(--ease-out) 300ms both; }
.intro__blade {
  position: absolute; top: -4vh; bottom: -4vh; left: 0; width: 12px; border-radius: 6px;
  background: linear-gradient(90deg, var(--blue-deep) 0 70%, var(--sky) 70%);
  box-shadow: 10px 0 28px -6px oklch(29% 0.065 245 / 0.35);
  transform: translateX(-24px);
  animation: intro-blade 760ms var(--ease-in-out) 1150ms forwards;
}
/* script running: hold the intro until loading is done, then wipe */
.js.is-loading { --in: 250ms; }
.is-loading .intro, .is-loading .intro__blade { animation: none; }
.is-loading .intro__pct { display: block; }
.js .intro.is-go { animation: intro-wipe-go 760ms var(--ease-in-out) 80ms forwards; }
.js .intro.is-go .intro__blade { animation: intro-blade-go 760ms var(--ease-in-out) 80ms forwards; }
.intro.is-go .intro__pct { display: block; }
.is-loading .hero__title .line > span, .is-loading .hero__sub, .is-loading .hero__actions, .is-loading .hero__clients, .is-loading .stamp { animation-play-state: paused !important; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.9); filter: blur(4px); } }
@keyframes intro-wipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); visibility: hidden; } }
@keyframes intro-wipe-go { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); visibility: hidden; } }
@keyframes intro-blade { to { transform: translateX(100vw); } }
@keyframes intro-blade-go { from { transform: translateX(-24px); } to { transform: translateX(100vw); } }
@media (prefers-reduced-motion: reduce) {
  .js { --in: 0ms; }
  .js .intro { animation: intro-fade 300ms ease 600ms forwards; }
  .intro__logo, .intro__blade { animation: none; }
  .intro__blade { display: none; }
}
@keyframes intro-fade { to { opacity: 0; visibility: hidden; } }

/* the page's one authored moment: the hero arriving */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { animation: rise 900ms var(--ease-out) var(--in) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: calc(var(--in) + 70ms); }
  .js .hero__title .line:nth-child(3) > span { animation-delay: calc(var(--in) + 140ms); }
  .js .hero__sub, .js .hero__actions { animation: lift 700ms var(--ease-out) calc(var(--in) + 260ms) both; }
  .js .hero__actions { animation-delay: calc(var(--in) + 330ms); }
  .js .hero__clients { animation: lift 700ms var(--ease-out) calc(var(--in) + 420ms) both; }
  .js .stamp { animation: pop 600ms var(--ease-out) calc(var(--in) + 700ms) both; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) rotate(-12deg); } }

/* the arched window frame */
.arch { position: relative; aspect-ratio: 4 / 5; padding: 10px; border-radius: 999px 999px 30px 30px; background: var(--foam); }
.arch > img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 22px 22px; }

/* ----------------------------------------------------------- über uns */
.about { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); background: var(--white); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__copy h2 { max-width: 15ch; }
.about__lead { margin-top: 1.6rem; max-width: 30rem; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.about__copy .lede { margin-top: 1.1rem; }
.about__copy h2 + .lede { margin-top: 1.5rem; }
.promise { margin-top: 1.1rem; display: grid; gap: .85rem; max-width: 34rem; }
.promise li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.promise li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15rem; height: 1.15rem; background: var(--sun);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 3.4 9.1 12 12-8.6 2.9-11.1 5.4-12 12-.9-6.6-3.4-9.1-12-12C8.6 9.1 11.1 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 3.4 9.1 12 12-8.6 2.9-11.1 5.4-12 12-.9-6.6-3.4-9.1-12-12C8.6 9.1 11.1 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.promise strong { color: var(--ink); }
.about__sign { margin-top: 1.75rem; padding-left: 1rem; border-left: 3px solid var(--sun); color: var(--ink-soft); font-size: .95rem; line-height: 1.4; }
.about__sign strong { display: block; color: var(--ink); font-size: 1.05rem; }
.about__copy .btn { margin-top: 2.25rem; }
.ticks { margin: 1.75rem 0 2.25rem; display: grid; gap: .9rem; }
.ticks li { position: relative; padding-left: 2.25rem; font-weight: 500; max-width: 34rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sun); }
.ticks li::after { content: ""; position: absolute; left: .5rem; top: .38em; width: .38rem; height: .68rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.about__visual { position: relative; width: min(100%, 30rem); justify-self: end; }
.about__visual .arch img { object-position: 64% 50%; }
.about__card {
  position: absolute; left: -3rem; bottom: 2.5rem; width: min(19rem, 80%); display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.15rem 1.25rem; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-2);
}
.about__card-spark { flex: none; width: 1.6rem; height: 1.6rem; fill: var(--blue); margin-top: .1rem; }
.about__card p { font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }
.about__card strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 6.5rem); }
.facts > div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; padding: .5rem 1rem; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts dd { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.facts dt { margin-top: .4rem; color: var(--ink-soft); font-weight: 500; }

/* ------------------------------------------------ transition: a voice */
.voice { position: relative; background: var(--foam); padding: clamp(4rem, 8vw, 6.5rem) 0; text-align: center; }
.voice__inner { max-width: 54rem; }
/* the reviews take turns in one place: all slides share one grid cell, so
   the band is as tall as the longest review and never jumps */
.voice__slides { display: grid; }
.voice__slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 600ms; }
.voice__slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.voice__dots { display: flex; justify-content: center; gap: 4px; margin-top: 1.5rem; }
.voice__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.voice__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: oklch(78% 0.03 235); transition: width 300ms var(--ease-out), background-color 300ms var(--ease); }
.voice__dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--blue); }
.voice blockquote p:first-child { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.voice .voice__more { margin: 1.25rem auto 0; max-width: 46rem; font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.voice figcaption { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--ink-soft); font-weight: 500; }
/* sparkles sit across the band's edges, so the band reads as a seam */
.voice__spark { position: absolute; width: 46px; height: 46px; }
.voice__spark--a { top: 0; left: 12%; translate: 0 -50%; fill: var(--sun); }
.voice__spark--b { bottom: 0; right: 14%; translate: 0 50%; width: 32px; height: 32px; fill: var(--blue); }
.ph { display: inline-block; margin-left: .5rem; padding: .1rem .55rem; border: 1px dashed currentColor; border-radius: 999px; font-size: .75rem; font-weight: 600; opacity: .75; vertical-align: middle; }

/* ---------------------------------------------- persönlich da (bleed)
   The photo runs across the whole block and fades into deep blue where the
   text sits. */
.care { position: relative; overflow: hidden; background: var(--blue-deep); color: var(--on-blue); padding: clamp(5rem, 10vw, 9rem) 0; }
/* it arrives as a framed card and opens to the full width while scrolling in */
.js .care.grows { --g: 0; clip-path: inset(calc((1 - var(--g)) * 9%) calc((1 - var(--g)) * 7vw) round calc((1 - var(--g)) * 40px)); }
.js .care.grows .care__inner { opacity: calc(.35 + var(--g) * .65); transform: translateY(calc((1 - var(--g)) * 40px)); }
.care__photo { position: absolute; inset: 0 0 0 28%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.care__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; transform: scale(1.12); will-change: transform; }
.care__inner { position: relative; }
.care h2 { max-width: 13ch; color: var(--on-blue); }
.care__lede { margin-top: 1.4rem; max-width: 34rem; font-size: 1.15rem; color: var(--on-blue-2); }
.ticks--dark li { color: var(--on-blue); }
.care .ticks { max-width: 36rem; }

/* ---------------------------------------------------------- leistungen */
.services { padding: clamp(5rem, 9vw, 8rem) 0 clamp(7rem, 12vw, 10rem); background: var(--white); }
.services__head { text-align: center; max-width: 44rem; margin-inline: auto; }
.services__head p { margin: 1.25rem auto 0; color: var(--ink-soft); font-size: 1.12rem; max-width: 38rem; }
.rail {
  margin-top: clamp(2.5rem, 5vw, 4rem); overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.rail__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; }
.card { width: clamp(270px, 29vw, 390px); scroll-snap-align: start; }
.card__img { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-card); overflow: hidden; background: var(--foam); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.card__pic { -webkit-user-drag: none; }
.card h3 { margin-top: 1.25rem; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.55rem); }
.card p { margin-top: .5rem; color: var(--ink-soft); max-width: 32ch; }
.card__cta {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.2rem;
  border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; text-decoration: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.card__cta::after { content: ""; width: .5rem; height: .5rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .card__cta { opacity: 0; transform: translateY(8px); }
  .card:hover .card__cta, .card:focus-within .card__cta { opacity: 1; transform: none; }
  .card:hover .card__img img { transform: scale(1.04); }
}
.card__cta:active { transform: scale(0.97); }

.rail__controls { display: flex; align-items: center; gap: 2rem; margin-top: 2.5rem; }
.rail__progress { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail__progress span { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--sun); transform-origin: left; transform: scaleX(.3); transition: transform 200ms var(--ease-out); }
.rail__buttons { display: flex; gap: 10px; }
.round { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms var(--ease), opacity 200ms var(--ease); }
.round:active { transform: scale(0.95); }
.round:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .round:not(:disabled):hover { background: var(--ink); color: var(--white); } }
.chev { width: .7rem; height: .7rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
.chev--left { transform: translateX(2px) rotate(-135deg); }

/* ------------------------------------------------------ zusammenarbeit
   A real sequence, so it is numbered, joined by one line and read left to
   right. */
.process { padding: clamp(5rem, 9vw, 8rem) 0 clamp(7rem, 12vw, 10rem); background: var(--white); }
.process__head { max-width: 44rem; }
.process__head p { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.12rem; max-width: 38rem; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.process__steps::before { content: ""; position: absolute; top: 2rem; left: 2rem; right: 2rem; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 14px, transparent 14px 24px); }
.process__steps li { position: relative; }
.process__n { position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 0 8px var(--white); }
.process__steps li:last-child .process__n { background: var(--blue); color: var(--on-blue); }
.process__steps h3 { margin-top: 1.4rem; font-size: clamp(1.15rem, 1rem + .4vw, 1.35rem); }
.process__steps p { margin-top: .5rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.process__cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ------------------------------------------------------------ standorte */
.area { position: relative; background: var(--blue); color: var(--on-blue); padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(8rem, 13vw, 11rem); overflow: hidden; }
.area .swoosh--up .swoosh__fill { fill: var(--white); }
.area__intro { margin-top: 1.25rem; max-width: 36rem; font-size: 1.12rem; color: var(--on-blue-2); }
.area__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* the map: Berlin glowing in the middle, the Brandenburg towns around it,
   each tied to the city by a thin route line */
.map { position: relative; padding: clamp(1rem, 2vw, 1.75rem); border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 42% 44%, oklch(46% 0.11 238 / .9), transparent 62%),
    radial-gradient(oklch(98% 0.01 230 / .09) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    oklch(29% 0.075 245);
  box-shadow: inset 0 0 0 1px oklch(98% 0.01 230 / .1), 0 30px 60px -30px oklch(15% 0.05 250 / .6); }
.map__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .82rem; color: var(--on-blue-2); }
.map__legend li { display: flex; align-items: center; gap: .45rem; }
.map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--white); }
.map__legend .lg-district { border-radius: 3px; background: oklch(72% 0.08 228); }
.map__legend .lg-active { background: var(--sun); }
.map__credit { margin-top: .5rem; font-size: .72rem; color: oklch(80% 0.03 230 / .7); }
.map__credit a { color: inherit; }
.ring { fill: none; stroke: oklch(98% 0.01 230 / .2); stroke-width: 1.5; stroke-dasharray: 3 9; }
.route { fill: none; stroke: oklch(85% 0.06 220 / .45); stroke-width: 2; stroke-linecap: round; transition: stroke 220ms var(--ease), stroke-width 220ms var(--ease); }
.route.is-active { stroke: var(--sun); stroke-width: 3.5; }
.berlin-glow { fill: url(#berlin-glow); pointer-events: none; }
.town__pill { fill: oklch(24% 0.06 248 / .82); stroke: oklch(98% 0.01 230 / .14); stroke-width: 1; transition: fill 200ms var(--ease); }
.town.is-active .town__pill { fill: var(--sun); stroke: var(--sun); }
.town .halo { fill: var(--sun); opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.town.is-active .halo { animation: halo 1.8s var(--ease-out) infinite; }
@keyframes halo { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3); } }
@media (prefers-reduced-motion: no-preference) {
  .js .map .route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1200ms var(--ease-in-out) calc(400ms + var(--k) * 60ms), stroke 220ms var(--ease), stroke-width 220ms var(--ease); }
  .js .map.is-in .route { stroke-dashoffset: 0; }
  .js .map .town { opacity: 0; transition: opacity 500ms var(--ease-out) calc(900ms + var(--k) * 60ms); }
  .js .map.is-in .town { opacity: 1; }
  .js .map .district { opacity: 0; transition: opacity 600ms var(--ease-out) calc(var(--k) * 40ms), fill 220ms var(--ease); }
  .js .map.is-in .district { opacity: 1; }
}
.map__canvas svg { width: 100%; height: auto; }
.reach__city, .reach__region { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: .32em; fill: oklch(98.5% 0.006 230 / 0.4); pointer-events: none; }
.reach__region { font-size: 24px; fill: oklch(98.5% 0.006 230 / 0.3); }
.pin line { stroke: var(--on-blue); stroke-width: 2; opacity: .7; }
.pin--b text { font-size: 21px; }
.pin { cursor: pointer; }
.pin circle { fill: var(--sun); stroke: oklch(30% 0.07 245); stroke-width: 3; transition: transform 200ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.pin text { font-family: var(--text); font-size: 24px; font-weight: 600; fill: var(--on-blue); paint-order: stroke; stroke: oklch(36% 0.1 242); stroke-width: 5px; stroke-linejoin: round; }
.pin.is-active circle { transform: scale(1.5); fill: var(--white); }
@media (hover: hover) and (pointer: fine) { .pin:hover circle { transform: scale(1.35); } }
.district { fill: oklch(52% 0.09 238); stroke: oklch(90% 0.03 225 / .55); stroke-width: 1.6; stroke-linejoin: round; cursor: pointer; transition: fill 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .district:hover { fill: oklch(68% 0.085 232); } }
.district.has-place { fill: oklch(72% 0.08 228); }
.district.active { fill: var(--sun); }
.map-number { display: none; }
.map-number circle { fill: var(--white); }
.map-number text { font-family: var(--display); font-size: 12px; font-weight: 700; fill: var(--ink); }
.town { cursor: pointer; }
.town circle { fill: var(--white); stroke: oklch(30% 0.07 245); stroke-width: 3; transition: transform 200ms var(--ease-out), fill 200ms var(--ease); transform-box: fill-box; transform-origin: center; }
.town text { font-family: var(--text); font-size: 25px; font-weight: 600; fill: var(--on-blue); dominant-baseline: central; }
.town.is-active circle { fill: var(--sun); transform: scale(1.45); }
.town.is-active text { fill: var(--ink); }
@media (hover: hover) and (pointer: fine) { .town:hover circle { transform: scale(1.3); } }
.area__current { margin-top: 1.75rem; font-weight: 600; color: var(--on-blue); }
.places__title { font-size: 1.4rem; margin-top: 1.5rem; }
.places__title:first-child { margin-top: 0; }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin: .9rem 0 0; }
.places button { min-height: 40px; padding: 0 1rem; border: 1.5px solid oklch(98.5% 0.006 230 / 0.35); border-radius: 999px; background: transparent; color: var(--on-blue); font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.places button.is-active { background: var(--sun); border-color: var(--sun); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .places button:hover { border-color: var(--sun); } }
.area__panel .btn { margin-top: 2rem; }
.area__carry { margin-top: .9rem; font-size: .92rem; color: var(--on-blue-2); }
.area__carry strong { color: var(--on-blue); }

/* ---------------------------------------------------------- bewertungen */
.reviews { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 8rem); background: var(--white); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.stars { width: 6.2rem; height: 1.25rem; fill: oklch(80% 0.16 85); flex: none; }
.stars .off { fill: oklch(86% 0.01 240); }
.score { display: flex; align-items: center; gap: 1rem; }
.score__num { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; }
.score p:not(.score__num) { margin-top: .35rem; color: var(--ink-soft); font-size: .95rem; }

/* the wall: reviews in uneven columns that drift at slightly different
   speeds while scrolling; a few stand out in blue or yellow */
.wall { position: relative; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.wall__list { columns: 3 18rem; column-gap: 1.25rem; }
.wall.is-cols .wall__list { columns: auto; display: flex; gap: 1.25rem; align-items: flex-start; }
.wall__col { flex: 1 1 0; min-width: 0; display: grid; gap: 1.25rem; will-change: transform; }
.wall__col:nth-child(2) { margin-top: 3.5rem; }
.wall__col:nth-child(3) { margin-top: 1.5rem; }
.wall.is-closed { max-height: 1050px; overflow: hidden; }
.wall.is-closed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 320px; background: linear-gradient(transparent, var(--white) 75%); pointer-events: none; }
.wall__more { display: none; }
.wall.is-closed .wall__more { display: flex; justify-content: center; position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 1; }
.review { break-inside: avoid; margin-bottom: 1.25rem; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px oklch(23% 0.035 245 / 0.05); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.wall.is-cols .review { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); } }
.review__text { margin-top: .9rem; font-size: 1rem; line-height: 1.6; }
.review__text p + p { margin-top: .6rem; }
.review__title { font-weight: 700; }
.review__who { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; color: var(--ink-soft); font-size: .88rem; line-height: 1.3; }
.review__who strong { display: block; color: var(--ink); font-size: .98rem; }
.avatar { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; }
.review--blue { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.review--blue .review__who, .review--blue .review__who strong { color: var(--on-blue-2); }
.review--blue .review__who strong { color: var(--on-blue); }
.review--blue .stars { fill: var(--sun); }
.review--sun { background: var(--sun); border-color: var(--sun); }
.review--sun .stars { fill: var(--ink); }
.review--sun .review__who { color: oklch(35% 0.04 90); }
.review--sun .review__text { font-size: 1.08rem; }

/* ------------------------------------------------------------- kontakt */
.contact { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); background: var(--foam); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__intro h2 { max-width: 14ch; }
.contact__intro .lede { margin-top: 1.4rem; }
.contact__intro .ticks { margin-bottom: 0; }
.next { margin-top: 2.25rem; display: grid; gap: 1rem; }
.next li { display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.next span { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.contact__direct { margin-top: 2.25rem; color: var(--ink-soft); }
.contact__direct a { color: var(--blue); font-weight: 600; font-size: 1.15rem; }

.form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); border-radius: 28px; box-shadow: var(--shadow-2); }
.form__top { margin-bottom: 1.75rem; }
.form__count { font-size: .9rem; font-weight: 600; color: var(--blue); }
.form__bar { margin-top: .6rem; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.form__bar span { display: block; height: 100%; border-radius: 3px; background: var(--sun); transform-origin: left; transform: scaleX(.25); transition: transform 500ms var(--ease-out); }
.form__picked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .9rem; min-height: 0; }
.form__picked li, .form__picked button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .85rem; border-radius: 999px; background: var(--foam); color: var(--ink); font-size: .88rem; font-weight: 600; border: 0; }
.form__picked button { cursor: pointer; gap: .4rem; animation: lift 360ms var(--ease-out) both; }
.form__picked button::before { content: ""; width: .5rem; height: .28rem; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-1px); }
@media (hover: hover) and (pointer: fine) { .form__picked button:hover { background: oklch(93% 0.03 225); } }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step.is-on { animation: step-in 420ms var(--ease-out) both; }
.step.is-on.from-left { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-18px); } }
.step legend { padding: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.2; }
.step__sub { margin-top: 1.5rem; font-weight: 600; }
.step .field { margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.chips--tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 1.25rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; min-height: 46px; padding: 0 1.1rem; border: 1.5px solid oklch(86% 0.02 232); border-radius: 999px; font-weight: 500; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease-out); }
.chips--tiles .chip span { min-height: 58px; border-radius: 16px; font-weight: 600; }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--sun); border-color: var(--sun); }
.chip input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--blue); } }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-top: 1.25rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .96rem; }
.field label span { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid oklch(84% 0.02 232); border-radius: 14px; background: var(--white);
  font-size: 1rem; line-height: 1.4; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { resize: vertical; min-height: 4.5rem; }
.field input::placeholder, .field textarea::placeholder { color: oklch(55% 0.025 240); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px oklch(47% 0.12 240 / 0.15); }
.field [aria-invalid="true"] { border-color: oklch(52% 0.18 27); }
.form__error { margin-top: 1.1rem; color: oklch(48% 0.17 27); font-weight: 500; }
.form__nav { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; margin-top: 2rem; }
.form__nav:has(#form-next[hidden]):has(#form-send[hidden]) { margin-top: 0; }
.link-back { margin-right: auto; padding: .5rem 0; border: 0; background: none; color: var(--ink-soft); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.link-back:hover { color: var(--ink); }
.form__note { margin-top: 1rem; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__done { padding: 1rem 0 .5rem; text-align: center; animation: lift 500ms var(--ease-out) both; }
.form__done:focus { outline: none; }
.form__done-spark { width: 3rem; height: 3rem; margin: 0 auto; fill: var(--sun); }
.form__done h3 { margin-top: 1rem; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); }
.form__done p { margin: .75rem auto 0; max-width: 28rem; color: var(--ink-soft); }
.form__done a { color: var(--blue); font-weight: 600; }
.form__fallback { margin-top: 1rem; font-size: .9rem; color: var(--ink-soft); }
.form__fallback a { color: var(--blue); }

/* ------------------------------------------------------------- reveal
   Only with script and only with motion: otherwise everything is simply
   there. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 1000ms var(--ease-out) var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .about__visual[data-reveal] { transform: translateY(48px) scale(.96); }
  .js .about__visual[data-reveal] .arch img { transform: scale(1.18); transition: transform 1600ms var(--ease-out) 150ms; }
  .js .about__visual.is-in .arch img { transform: none; }
  .js .process__steps[data-reveal] { opacity: 1; transform: none; }
  .js .process__steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1600ms var(--ease-in-out) 200ms; }
  .js .process__steps.is-in::before { transform: none; }
  .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1000ms var(--ease-out) calc(var(--i) * 55ms); }
  .split.is-in .w > span { transform: none; }
}

/* ---------------------------------------------------------------- faq */
.faq { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; font-weight: 600; font-size: 1.1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 240ms var(--ease-out); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 44rem; }
.faq__item a, .services__head a, .area__intro a { color: inherit; font-weight: 600; }
.faq__item[open] p { animation: lift 360ms var(--ease-out) both; }

/* ------------------------------------------------------ service pages */
.card h3 a { text-decoration: none; }
.card h3 a::after { content: " →"; color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .card h3 a:hover { color: var(--blue); } }
.page-hero { position: relative; background: var(--blue); color: var(--on-blue); padding: 140px 0 clamp(8rem, 12vw, 11rem); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.page-hero h1 { margin-top: 1.25rem; font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero__lede { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-blue-2); }
.page-hero--plain h1 { max-width: 20ch; }
.page-hero__img { width: min(100%, 26rem); justify-self: end; background: oklch(55% 0.1 238); }
.page-hero__score { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; color: var(--on-blue-2); text-decoration: none; font-size: .95rem; }
.page-hero__score strong { color: var(--on-blue); }
.page-hero__score .stars { fill: var(--sun); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--on-blue-2); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--on-blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-blue); font-weight: 600; }
.page-body { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.page-body__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.page-body__grid--split { margin-top: clamp(3rem, 6vw, 5rem); }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.prose h2 + p, .prose h2 + ul { margin-top: 1.1rem; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; max-width: 40rem; }
.prose p + p { margin-top: 1rem; }
.prose p + h2, .prose ul + p, .prose p + h2 { margin-top: 2.5rem; }
.prose .ticks { margin-bottom: 0; }
.prose__note { margin-top: 1.5rem; font-size: .98rem !important; }
.side { position: sticky; top: 110px; }
.side__card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 28px; background: var(--foam); }
.side__card h2 { font-size: 1.3rem; }
.side__card h2 + * { margin-top: .8rem; }
.side__card * + h2 { margin-top: 1.75rem; }
.side__card p { color: var(--ink-soft); }
.side__card .btn { margin-top: 1.75rem; width: 100%; }
.side__list { display: flex; flex-wrap: wrap; gap: 6px; }
.side__list li { padding: .35rem .8rem; border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 500; }
.side__list--links a { text-decoration: none; }
.side__list--links a::after { content: " →"; color: var(--blue); }
.steps3 { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--foam); }
.steps3__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.steps3__list .process__n { box-shadow: none; }
.steps3__list h3 { margin-top: 1.2rem; font-size: 1.25rem; }
.steps3__list p { margin-top: .4rem; color: var(--ink-soft); }
.related { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--foam); }
.faq + .related { background: var(--foam); }
.related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(2rem, 4vw, 3rem); }
.related .card { width: auto; }
.card__link { display: block; text-decoration: none; }
.card__link .card__img { aspect-ratio: 4 / 3; }
.card__link .more { display: inline-block; margin-top: .35rem; color: var(--blue); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .card__link:hover .card__img img { transform: scale(1.04); } }
.band { position: relative; background: var(--blue); color: var(--on-blue); padding: clamp(7rem, 12vw, 10rem) 0 clamp(4.5rem, 8vw, 6.5rem); text-align: center; overflow: hidden; }
/* the arch opens upwards out of the section above, so it takes that colour */
.band .swoosh__fill { fill: var(--foam); }
.faq + .band .swoosh__fill { fill: var(--white); }
.band__inner { display: grid; justify-items: center; gap: 1.25rem; }
.band p { max-width: 34rem; color: var(--on-blue-2); }
.band .btn { margin-top: .75rem; }
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.region { padding: 1.75rem; border-radius: 24px; background: var(--foam); }
.region h3 { font-size: 1.3rem; }
.region p { margin-top: .5rem; color: var(--ink-soft); }
.region__towns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.region__towns li { padding: .35rem .85rem; border-radius: 999px; background: var(--blue); color: var(--on-blue); font-size: .92rem; font-weight: 600; }

/* -------------------------------------------------------------- footer */
.foot { background: var(--blue-deep); color: var(--on-blue-2); padding-top: clamp(3.5rem, 6vw, 5rem); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.foot__brand p { margin: 1.25rem 0 1rem; max-width: 22rem; }
.foot__head { margin-top: 1.5rem; color: var(--on-blue); font-weight: 700; }
.foot__head:first-child { margin-top: 0; }
.foot__col ul { display: grid; gap: .45rem; margin-top: .75rem; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--on-blue); text-decoration: underline; }
.foot__logo { width: 120px; filter: brightness(0) invert(1); opacity: .95; }
.foot__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover, .foot__mail:hover { color: var(--on-blue); }
.foot__mail { display: table; margin-top: .3rem; color: var(--on-blue); font-weight: 600; }
.foot__word {
  margin-top: clamp(2.5rem, 5vw, 4rem); font-family: var(--display); font-weight: 800;
  font-size: clamp(3.6rem, .5rem + 14vw, 15rem); line-height: .8; letter-spacing: -0.05em; white-space: nowrap; text-align: center;
  color: oklch(37% 0.075 243); margin-bottom: -0.06em; user-select: none;
}
.foot__small { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: .88rem; border-top: 1px solid oklch(40% 0.06 243); }
.foot__small a { text-decoration: none; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot__legal a:hover { color: var(--on-blue); text-decoration: underline; }
.page-hero--legal { padding-bottom: clamp(6rem, 10vw, 8rem); }
.legal { max-width: 48rem; }
.legal h2 { margin-top: 2.75rem; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 2rem; font-size: 1.2rem; }
.legal h4 { margin-top: 1.5rem; font-size: 1.02rem; }
.legal p, .legal li { margin-top: .75rem; color: var(--ink-soft); overflow-wrap: anywhere; hyphens: auto; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--blue); }
.legal__source { margin-top: 3rem !important; font-size: .85rem; }

.mobile-cta { display: none; }

/* --------------------------------------------------------------- mobile */
@media (max-width: 1080px) {
  .page-hero__grid, .page-body__grid, .faq__grid { grid-template-columns: 1fr; }
  .page-hero__img { justify-self: start; width: min(100%, 22rem); }
  .side { position: static; }
  .related__list, .steps3__list, .regions { grid-template-columns: 1fr; }
  .nav__links { gap: 1.25rem; }
  .about__card { left: -1.25rem; }
}
@media (max-width: 920px) {
  .nav { height: 62px; padding-left: 16px; gap: .75rem; }
  .nav__logo img { height: 40px; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 1.15rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; cursor: pointer; }
  .nav__links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 1.25rem; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-2); }
  .nav { position: relative; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }
  .nav__links { max-height: calc(100svh - 110px); overflow-y: auto; }
  .nav__menu summary { padding: .9rem 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav__panel { position: static; translate: none; width: auto; padding: .25rem 0 .5rem .75rem; box-shadow: none; border-radius: 0; animation: none; }
  .nav__links .nav__panel a { padding: .65rem 0; border-bottom: 0; border-radius: 0; }
  .nav__panel .nav__all { border-top: 0; }

  .hero { padding-top: 112px; min-height: 0; }
  .hero__shade { background: linear-gradient(0deg, oklch(36% 0.1 242 / 0.9) 0%, oklch(40% 0.11 241 / 0.75) 55%, oklch(45% 0.12 240 / 0.45) 100%); }
  .stamp { display: none; }
  .about__grid, .contact__grid, .area__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .process__steps::before { top: 2rem; bottom: 2rem; left: 2rem; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--sky) 0 14px, transparent 14px 24px); }
  .process__steps li { display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.25rem; }
  .process__steps .process__n { grid-row: span 2; }
  .process__steps h3 { margin-top: .5rem; }
  .care__photo { inset: 0 0 auto 0; height: 46%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .care { padding-top: 0; }
  .care__inner { padding-top: 40vw; }
  .about__visual { justify-self: center; width: min(100%, 26rem); margin-top: 1rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts--3 { grid-template-columns: 1fr; row-gap: 0; }
  .facts--3 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts--3 > div { padding: 1.4rem 1rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__logos img { height: 24px; }
  .hero__logos .is-square img { height: 36px; }
  .districts { grid-template-columns: 1fr; }
  .care__inner { padding-top: 56vw; }
  .about__card { left: .5rem; right: .5rem; width: auto; bottom: -2rem; }
  .about__visual { margin-bottom: 2rem; }
  .card { width: 82vw; }
  .rail__controls { gap: 1rem; }
  .form__grid { grid-template-columns: 1fr; }
  .foot__small { flex-direction: column; padding-bottom: 6rem; }
  .foot__grid { grid-template-columns: 1fr; }
  .mobile-cta {
    display: flex; align-items: center; justify-content: center; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 56px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-2);
    transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
  }
  .mobile-cta.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

/* ------------------------------------------------------- reduced motion
   Fewer and gentler: the loops stop, the arrival is skipped, colour
   changes stay. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp svg { animation: none; }
  .card__img img, .btn, .round, .card__cta, .rail__progress span { transition-property: background-color, border-color, color, opacity; }
}
@media (max-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .js .process__steps::before { transform: scaleY(0); transform-origin: top; }
  .js .process__steps.is-in::before { transform: none; }
}

/* ------------------------------------------- web interface guidelines */
@media (pointer: fine) { html { overscroll-behavior-y: none; } }
a, button, summary, label, .chip { touch-action: manipulation; -webkit-tap-highlight-color: oklch(47% 0.12 240 / 0.15); }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.field input, .field textarea { font-size: max(16px, 1rem); }


/* sending: keep the label, the arrow turns into a spinner */
.btn.is-loading { cursor: progress; }
.btn.is-loading::after { background: none; border: 2.5px solid var(--ink); border-right-color: transparent; width: 1.3em; height: 1.3em; margin: 0 .4em 0 .75em; animation: spin 700ms linear infinite; }

/* 404 */
.nf__code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 10rem); line-height: .9; letter-spacing: -0.05em; color: var(--sun); }
.page-hero--404 h1 { margin-top: .75rem; }
.nf__list { margin-top: 1.25rem; }
.nf__list li { background: var(--foam); }

/* ------------------------------------------------------- mobile pass
   Long German words must never push the page sideways, and everything
   you tap gets a hit area of at least ~44px. */
.chip span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.chips--tiles .chip span { padding: .55rem .9rem; line-height: 1.25; }
.form, .form__grid > *, .step { min-width: 0; }
.foot__col ul { gap: 0; }
.foot__col a { display: inline-block; padding: .55rem 0; }
.foot__legal a, .foot__small a { display: inline-block; padding: .6rem 0; }
.foot__mail { padding: .45rem 0; }
.crumbs a, .crumbs span[aria-current] { display: inline-block; padding: .55rem 0; }
.card__more { padding: .55rem 0; margin-top: .15rem; }
.contact__direct a { display: inline-block; padding: .4rem 0; }
.page-hero__score { padding: .5rem 0; }
.side__list--links li { padding: 0; }
.side__list--links a { display: block; padding: .6rem .95rem; }
.logo-tag { font-size: .7rem; }
.map__credit { font-size: .75rem; }
@media (max-width: 600px) {
  .chips--tiles { gap: 8px; }
  .chips--tiles .chip span { min-height: 54px; font-size: .95rem; }
  .form { padding: 1.25rem; border-radius: 22px; }
}
/* small phones: one tile per row, words stay whole */
@media (max-width: 440px) {
  .chips--tiles { grid-template-columns: 1fr; gap: 6px; }
  .chips--tiles .chip span { min-height: 48px; hyphens: manual; -webkit-hyphens: manual; }
}
.crumbs { align-items: center; column-gap: .45rem; row-gap: 0; }
.hero__logos .is-kalog img { height: 38px; }
@media (max-width: 600px) { .hero__logos .is-kalog img { height: 32px; } }

/* ------------------------------------------------------- cookie banner
   First layer: a white notice across the bottom. Second layer: the privacy
   settings as a dialog with one switch per purpose. "Ablehnen" and
   "Zustimmen" sit side by side at the same size. */
.cc { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; background: var(--white); color: var(--ink); border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px -12px oklch(23% 0.035 245 / 0.25); padding-bottom: env(safe-area-inset-bottom); animation: cc-up 420ms var(--ease-out) both; }
.cc[hidden] { display: none; }
@keyframes cc-up { from { transform: translateY(100%); } }
.cc__inner { max-width: var(--maxw); margin-inline: auto; padding: 1.25rem var(--gutter) 1.1rem; }
.cc__title { font-weight: 700; font-size: 1.15rem; }
.cc__text { margin-top: .4rem; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); max-height: 30vh; overflow: auto; }
.cc__text a, .ccp a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; margin-top: .9rem; }
.cc__btns { display: flex; gap: 10px; }
.cc__btn { min-width: 11rem; min-height: 46px; padding: 0 1.4rem; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease-out); }
.cc__btn--light { background: oklch(95.5% 0.006 250); color: var(--ink); }
.cc__btn:active { transform: scale(.97); }
.cc__link { min-height: 44px; padding: 0 .25rem; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .cc__btn:hover { background: var(--blue-deep); }
  .cc__btn--light:hover { background: oklch(91% 0.01 250); }
  .cc__link:hover { text-decoration: underline; }
}
.ccp { position: fixed; z-index: 95; inset: 0; display: grid; place-items: center; padding: 16px; background: oklch(15% 0.02 245 / 0.45); }
.ccp[hidden] { display: none; }
.ccp__dialog { display: flex; flex-direction: column; width: min(100%, 820px); max-height: min(92vh, 900px); background: var(--white); color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px -20px oklch(15% 0.03 245 / 0.5); animation: lift 300ms var(--ease-out) both; }
.ccp__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 6px 12px -10px oklch(23% 0.035 245 / 0.3); }
.ccp__back { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.ccp__back span { font-size: 1.25rem; }
.ccp__policy { font-size: .9rem; }
.ccp__body { overflow: auto; overscroll-behavior: contain; padding: 1.5rem 1.75rem 1rem; }
.ccp__body > p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.6; }
.ccp__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; }
.ccp__quick { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 1.25rem; }
.ccp hr { margin: 1.5rem 0 1.25rem; border: 0; border-top: 1px solid var(--line); }
.ccp__sub { font-size: 1.15rem; }
.ccp__cats { margin-top: 1rem; }
.ccp__cat { border-bottom: 1px solid var(--line); }
.ccp__head { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; min-height: 64px; }
.ccp__name { font-weight: 700; font-size: 1.15rem; }
.ccp__more { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; border: 0; background: none; font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; }
.ccp__chev { width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.ccp__more[aria-expanded="true"] .ccp__chev { transform: translateY(1px) rotate(-135deg); }
.ccp__desc { padding: 0 0 1rem; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); max-width: 46rem; }
.ccp__switch { position: relative; display: inline-block; cursor: pointer; }
.ccp__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ccp__switch i { display: block; width: 52px; height: 30px; border-radius: 999px; background: oklch(86% 0.005 250); transition: background-color 200ms var(--ease); }
.ccp__switch i::after { content: ""; display: block; width: 24px; height: 24px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px oklch(0% 0 0 / .25); transition: transform 200ms var(--ease-out); }
.ccp__switch input:checked + i { background: var(--blue); }
.ccp__switch input:checked + i::after { transform: translateX(22px); }
.ccp__switch input:disabled + i { background: oklch(55% 0.01 250); }
.ccp__switch input:disabled { cursor: not-allowed; }
.ccp__switch input:focus-visible + i { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.ccp__foot { display: flex; justify-content: flex-end; padding: .9rem 1.5rem; border-top: 1px solid var(--line); background: var(--white); }
.foot__cc { padding: .6rem 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot__cc:hover { color: var(--on-blue); text-decoration: underline; }
.has-cc .mobile-cta { opacity: 0; pointer-events: none; }
.has-ccp { overflow: hidden; }
@media (max-width: 640px) {
  .cc__inner { padding-top: 1rem; }
  .cc__text { font-size: .86rem; max-height: 34vh; }
  .cc__row { flex-direction: column-reverse; align-items: stretch; }
  .cc__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .cc__btn { min-width: 0; }
  .ccp { padding: 0; place-items: end stretch; }
  .ccp__dialog { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .ccp__top, .ccp__body { padding-inline: 1.1rem; }
  .ccp__head { grid-template-columns: 1fr auto; row-gap: 0; padding: .4rem 0; }
  .ccp__more { grid-row: 2; grid-column: 1 / -1; justify-self: start; min-height: 36px; }
  .ccp__switch { grid-row: 1; grid-column: 2; }
  .ccp__quick .cc__btn { flex: 1 1 100%; }
  .ccp__foot { padding: .75rem 1.1rem calc(.75rem + env(safe-area-inset-bottom)); }
  .ccp__foot .cc__btn { width: 100%; }
}
/* short reviews sit in the middle of the band; on phones the longer
   texts are cut to a few lines so the band stays compact */
.voice__slide { align-self: center; }
@media (max-width: 600px) {
  .voice__more { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
}
