/* =========================================================
   ulrich-ziska.de
   Designsystem: DESIGN.md (Tokens, Radien, Bewegung)
   Radien: Buttons/Chips pill · große Karten 28/22 (Doppelrand) · Felder 14 · Handy-UI 10
   ========================================================= */

/* ---------- Schriften (lokal, keine externen Anfragen) ---------- */
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic-var-latin.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-var-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F5FC;
  --paper-2: #EFEBF8;
  --card: #FDFCFF;
  --line: #DCD6EE;
  --feldrand: #8F88B0;          /* Feldrahmen, 3:1 gegen --card */
  --ink: #1F1B3A;
  --text: #433E5E;
  --muted: #6A6585;
  --accent: #5A4BD1;
  --accent-hover: #4A3CB8;
  --accent-ink: #3E33A0;
  --accent-soft: #E7E3FB;
  --accent-line: #B9AFF0;
  --danger: #A8325E;
  --on-accent: #FDFCFF;
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-text: var(--on-accent);

  /* feste Farben für alles, was in hellen Fotos sitzt (Bildschirme, Zettel, Karten) */
  --foto-ink: #1F1B3A;
  --foto-text: #433E5E;
  --foto-muted: #6A6585;
  --foto-iris: #5A4BD1;
  --foto-linie: #DCD6EE;
  --tinte: #2B2470;
  --tinte-iris: #3B2FA8;

  --schatten-s: 0 1px 2px rgba(42, 32, 110, .06);
  --schatten: 0 1px 2px rgba(42, 32, 110, .06), 0 18px 40px -22px rgba(42, 32, 110, .28);
  --schatten-l: 0 2px 6px rgba(42, 32, 110, .06), 0 34px 70px -34px rgba(42, 32, 110, .38);
  --kante: inset 0 1px 0 rgba(255, 255, 255, .7);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --breite: 1200px;
  --abstand: clamp(4.5rem, 10vw, 8.5rem);

  --f-display: "Cabinet Grotesk", "Figtree", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #13111F;
    --paper-2: #1A1730;
    --card: #1E1B36;
    --line: #2F2B4D;
    --feldrand: #6F6894;
    --ink: #F1EEFB;
    --text: #CBC6E0;
    --muted: #9D98B8;
    --accent: #B1A6FF;
    --accent-hover: #C9C1FF;
    --accent-ink: #D9D3FF;
    --accent-soft: #2A2550;
    --accent-line: #4E4596;
    --danger: #F08DB3;
    --on-accent: #16132B;
    --btn-bg: #A99DFF;
    --btn-bg-hover: #BCB2FF;
    --btn-text: #16132B;
    --schatten-s: 0 1px 2px rgba(4, 2, 16, .4);
    --schatten: 0 1px 2px rgba(4, 2, 16, .35), 0 18px 40px -22px rgba(4, 2, 16, .7);
    --schatten-l: 0 2px 6px rgba(4, 2, 16, .35), 0 34px 70px -34px rgba(4, 2, 16, .8);
    --kante: inset 0 1px 0 rgba(255, 255, 255, .045);
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

/* feines Papierkorn als feste Ebene über der Seite */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .12 0 0 0 0 .36 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::after { opacity: .07; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 1.55rem + 3.7vw, 4.5rem); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-weight: 800; font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -.01em; }
h4 { font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.005em; }
p { text-wrap: pretty; }

a { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-thickness .2s var(--ease), color .2s var(--ease); }
a:hover { text-decoration-thickness: 2px; color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hand { font-family: var(--f-hand); }
.nur-schmal { display: none; }
.zusammen { white-space: nowrap; }
@media (max-width: 1023px) { .nur-breit { display: none; } .nur-schmal { display: inline; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 1rem; top: 1rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip:focus { transform: none; color: var(--btn-text); }

main:focus { outline: none; }
.kopf-sensor { position: absolute; top: 0; left: 0; width: 1px; height: 2.5rem; pointer-events: none; visibility: hidden; }

.container { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abstand) calc(var(--abstand) * 1.08); }

.kopfzeile { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.kopfzeile__lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); color: var(--text); max-width: 40rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Buttons ---------- */
.btn {
  --pfeil-x: 0px;
  --pfeil-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3rem;
  padding: .9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn .icon { width: 1.15rem; height: 1.15rem; }

.btn--primary {
  padding: .9rem 1.15rem .9rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: 0 1px 2px rgba(42, 32, 110, .14), 0 12px 26px -16px rgba(74, 60, 184, .6);
}
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn--primary:has(.btn__pfeil) { padding-right: .5rem; }

.btn__pfeil {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-block: -.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform .26s var(--ease);
}
.btn__pfeil .icon { width: 1rem; height: 1rem; }
.btn:hover .btn__pfeil { transform: translate(2px, -1px) scale(1.04); }
@media (prefers-color-scheme: dark) { .btn__pfeil { background: rgba(22, 19, 43, .12); } }

.btn--secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--secondary:hover { background: var(--paper-2); color: var(--ink); border-color: var(--feldrand); }

.btn--text { min-height: 2.75rem; padding: .6rem .9rem; background: transparent; color: var(--accent); gap: .45rem; }
.btn--text:hover { background: var(--accent-soft); color: var(--accent-ink); }

.btn--klein { min-height: 2.75rem; padding: .6rem 1.05rem; font-size: .9375rem; }
.btn--klein.btn--primary { padding-right: 1.05rem; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }

/* ---------- Doppelrand (Schale + Kern) ---------- */
.schale {
  padding: 6px;
  border-radius: var(--r-xl);
  background: var(--schale, var(--paper-2));
  border: 1px solid var(--line);
  box-shadow: var(--schatten);
}
.schale__kern {
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--kante);
}

/* Fotorahmen: immer abgerundet */
.foto {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--paper-2);
  box-shadow: var(--schatten);
}
.foto img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-color-scheme: dark) {
  .foto img, .hero__foto, .kachel img, .kontakt__buehne img { filter: brightness(.92); }
}

/* ---------- Navigation ---------- */
.kopf {
  position: fixed;
  inset: .75rem 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--rand);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: .25rem;
  width: auto;
  max-width: 100%;
  min-height: 3.75rem;
  padding: .4rem .4rem .4rem 1.1rem;
  border-radius: 999px;
  pointer-events: auto;
  transition: transform .4s var(--ease);
}
.nav::before,
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity .4s var(--ease);
}
.nav::before {
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav::after {
  background: color-mix(in srgb, var(--card) 22%, transparent);
  box-shadow: 0 1px 2px rgba(42, 32, 110, .06), 0 16px 36px -20px rgba(42, 32, 110, .34);
  opacity: 0;
}
.kopf.is-gescrollt .nav { transform: translateY(-.25rem); }
.kopf.is-gescrollt .nav::after { opacity: 1; }
@media (prefers-color-scheme: dark) {
  .nav::after { box-shadow: 0 16px 36px -18px rgba(4, 2, 16, .8); }
}

.nav__marke {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  margin-right: auto;
  padding-right: .75rem;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav__marke:hover { color: var(--ink); text-decoration: none; }
.nav__zweig { width: 1.05rem; height: 1.4rem; color: var(--accent); }

.nav__links { display: none; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--paper-2); }
.nav__links a.is-aktiv { color: var(--accent-ink); background: var(--accent-soft); }

.nav__cta { display: none; margin-left: .5rem; font-size: .9375rem; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.nav__toggle:active { transform: scale(.96); }
html:not(.js) .nav__toggle { visibility: hidden; }
.nav__toggle-linien { position: relative; display: block; width: 1.125rem; height: .75rem; }
.nav__toggle-linien span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle-linien span:first-child { top: 0; }
.nav__toggle-linien span:last-child { top: calc(100% - 2px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-linien span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-linien span:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (min-width: 1080px) {
  .nav { gap: .5rem; }
  .nav__links { display: flex; gap: .1rem; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .menue { display: none !important; }
}

.menue {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 6.5rem var(--rand) 2.5rem;
  overflow-y: auto;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  pointer-events: auto;
  opacity: 0;
  transition: opacity .32s var(--ease);
}
.menue.is-offen { opacity: 1; }
.menue__links { display: grid; gap: .25rem; }
.menue__links a {
  display: block;
  padding: .45rem 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menue.is-offen .menue__links a { opacity: 1; transform: none; }
.menue.is-offen .menue__links li:nth-child(2) a { transition-delay: .04s; }
.menue.is-offen .menue__links li:nth-child(3) a { transition-delay: .08s; }
.menue.is-offen .menue__links li:nth-child(4) a { transition-delay: .12s; }
.menue.is-offen .menue__links li:nth-child(5) a { transition-delay: .16s; }
.menue__cta { align-self: flex-start; }
.menue__mail { color: var(--muted); }
html.menue-offen { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(6rem, 5rem + 3vw, 7rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  overflow-x: clip;
}

.hero__raster {
  display: grid;
  grid-template-columns: [voll-start] minmax(var(--rand), 1fr) [inhalt-start] minmax(0, var(--breite)) [inhalt-ende] minmax(var(--rand), 1fr) [voll-ende];
  row-gap: 2.25rem;
}
.hero__text,
.hero__bild { grid-column: inhalt-start / inhalt-ende; }

.hero__text { display: grid; gap: 1.25rem; align-content: center; }
.hero__text h1 { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); max-width: 14ch; }
.hero__lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.55; max-width: 34rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
@media (max-width: 479px) {
  .hero__aktionen .btn { flex: 1 1 100%; }
  .hero__aktionen .btn--primary { justify-content: space-between; }
}

.hero__bild { position: relative; }

.hero__rahmen {
  --zoom: 1.12;
  --ziel-x: .5;
  --ziel-y: .5;
  --fx: .499;
  --fy: .478;
  position: relative;
  container-type: size;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #D8CFE8;
  box-shadow: var(--schatten-l);
}
.hero__buehne {
  --sw: calc(var(--zoom) * max(100cqw, 75cqh));
  position: absolute;
  width: var(--sw);
  aspect-ratio: 3 / 4;
  left: clamp(calc(100cqw - var(--sw)), calc(var(--ziel-x) * 100cqw - var(--fx) * var(--sw)), 0px);
  top: clamp(calc(100cqh - var(--sw) * 4 / 3), calc(var(--ziel-y) * 100cqh - var(--fy) * var(--sw) * 4 / 3), 0px);
}
.hero__buehne picture,
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__foto { object-fit: cover; }

.hero__notiz {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .4rem;
  margin: 0 0 .4rem;
  padding-left: clamp(0px, calc(50% - 12.5rem), 40%);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.05;
}
.hero__notiz span { transform: rotate(-3deg); transform-origin: left bottom; }
.hero__pfeil { height: auto; flex: none; }
.hero__pfeil--lang { display: none; }
.hero__pfeil--kurz { width: 2.6rem; margin: .3rem 0 -2rem; }
.hero__pfeil path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__rahmen { aspect-ratio: auto; height: clamp(30rem, 70vw, 38rem); --zoom: 1.3; --fx: .439; --fy: .5218; }
  .hero__buehne { --sw: calc(var(--zoom) * max(100cqw, 133.333cqh)); aspect-ratio: 4 / 3; top: clamp(calc(100cqh - var(--sw) * .75), calc(var(--ziel-y) * 100cqh - var(--fy) * var(--sw) * .75), 0px); }
  .hero__text h1 { max-width: 16ch; }
}

@media (min-width: 1024px) {
  .hero { padding-top: clamp(6.25rem, 5rem + 2.5vw, 7rem); }
  .hero__raster {
    grid-template-columns: [voll-start] minmax(var(--rand), 1fr) [inhalt-start] minmax(0, calc(var(--breite) * .46)) [teilung] minmax(0, calc(var(--breite) * .54)) [inhalt-ende] minmax(var(--rand), 1fr) [voll-ende];
    align-items: center;
  }
  .hero__text { grid-column: inhalt-start / teilung; grid-row: 1; padding-right: clamp(1.25rem, 2.2vw, 2rem); }
  .hero__text h1 { font-size: clamp(2.6rem, 1.3rem + 2.15vw, 3.4rem); max-width: none; }
  .hero__bild { grid-column: teilung / inhalt-ende; grid-row: 1; }
  .hero__rahmen {
    --zoom: 1.1;
    --ziel-x: .47;
    --fx: .439;
    --fy: .5218;
    aspect-ratio: auto;
    height: clamp(34rem, calc(100vh - 11.5rem), 46rem);
    height: clamp(34rem, calc(100svh - 11.5rem), 46rem);
    border-radius: var(--r-xl);
  }
  .hero__buehne { --sw: calc(var(--zoom) * max(100cqw, 133.333cqh)); aspect-ratio: 4 / 3; top: clamp(calc(100cqh - var(--sw) * .75), calc(var(--ziel-y) * 100cqh - var(--fy) * var(--sw) * .75), 0px); }
  .hero__notiz {
    position: absolute;
    right: calc(100% + 1.5rem);
    top: 90%;
    width: 15rem;
    margin: 0;
    padding: 0;
    display: block;
    font-size: 1.75rem;
    transform: rotate(-4deg);
  }
  .hero__notiz span { display: block; text-align: right; transform: none; }
  .hero__pfeil--kurz { display: none; }
  .hero__pfeil--lang { display: block; position: absolute; left: calc(100% + .2rem); top: -1.55rem; width: 13rem; margin: 0; }
}

/* ---------- Mini-Termin-App im Handy-Foto ---------- */
.handy {
  position: absolute;
  left: 26.67%;
  top: 12.42%;
  width: 46.46%;
  height: 70.7%;
  container-type: inline-size;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 768px) {
  .handy { left: 33.01%; top: 22.72%; width: 21.78%; height: 58.92%; }
}

.app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 13cqw 6.5cqw 7cqw;
  border-radius: 9cqw;
  overflow: hidden;
  color: var(--foto-ink);
  font-family: var(--f-text);
  font-size: 4.4cqw;
  line-height: 1.25;
}
.app__zeit { position: absolute; top: 2.4cqw; left: 9.5cqw; font-size: 3.5cqw; font-weight: 700; letter-spacing: .01em; }
.app__kopf { display: flex; align-items: center; gap: 2.6cqw; }
.app__logo {
  display: grid;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  background: #E7E3FB;
  color: #3E33A0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.6cqw;
  letter-spacing: -.02em;
}
.app__name { display: grid; font-family: var(--f-display); font-weight: 700; font-size: 4.9cqw; line-height: 1.1; letter-spacing: -.01em; }
.app__name small { font-family: var(--f-text); font-weight: 500; font-size: 3.3cqw; color: var(--foto-muted); letter-spacing: 0; margin-top: .6cqw; }
.app__titel { margin: 7cqw 0 1cqw; font-family: var(--f-display); font-weight: 800; font-size: 7.4cqw; line-height: 1.05; letter-spacing: -.02em; }
.app__label { margin: 4.6cqw 0 2cqw; font-size: 3.4cqw; font-weight: 600; color: var(--foto-muted); }
.app__chips { display: flex; flex-wrap: wrap; gap: 1.6cqw; }
.app__chip,
.app__tag,
.app__slot {
  border: .4cqw solid #DCD6EE;
  background: #FFFFFF00;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.app__chip { padding: 1.8cqw 3cqw; border-radius: 99px; font-size: 3.8cqw; font-weight: 600; white-space: nowrap; }
.app__tage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6cqw; }
.app__tag { display: grid; justify-items: center; padding: 2.2cqw 0; border-radius: 3.6cqw; font-size: 4.4cqw; font-weight: 700; line-height: 1.1; }
.app__tag b { font-size: 3cqw; font-weight: 600; color: var(--foto-muted); transition: color .35s var(--ease); }
.app__zeiten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.app__slot { padding: 2.3cqw 0; border-radius: 99px; text-align: center; font-size: 3.7cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.app__slot.is-belegt { border-color: transparent; background: #EFEBF8; color: #8F8AA6; text-decoration: line-through; text-decoration-thickness: .35cqw; }
.app__chip.is-gewaehlt,
.app__tag.is-gewaehlt,
.app__slot.is-gewaehlt { background: var(--foto-iris); border-color: var(--foto-iris); color: #FDFCFF; }
.app__tag.is-gewaehlt b { color: #E7E3FB; }
.app__feld { display: block; padding: 2.4cqw 3.4cqw; border: .4cqw solid #DCD6EE; border-radius: 3.6cqw; background: #FDFCFF; font-size: 3.9cqw; font-weight: 500; }
.app__senden {
  margin-top: auto;
  padding: 3.6cqw;
  border-radius: 99px;
  background: var(--foto-iris);
  color: #FDFCFF;
  text-align: center;
  font-size: 4.2cqw;
  font-weight: 700;
  box-shadow: 0 2cqw 4cqw -2cqw rgba(74, 60, 184, .6);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.app__senden.is-gedrueckt { transform: scale(.95); background: #4A3CB8; }

.app__fertig {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  padding: 10cqw;
  background: #FAF9F7;
  text-align: center;
  opacity: 0;
  transform: translateY(5cqw);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.app__haken {
  display: grid;
  place-items: center;
  width: 19cqw;
  height: 19cqw;
  margin-bottom: 2cqw;
  border-radius: 50%;
  background: var(--foto-iris);
  color: #FDFCFF;
  transform: scale(.6);
  transition: transform .6s var(--ease) .1s;
}
.app__haken .icon { width: 10cqw; height: 10cqw; }
.app__danke { font-family: var(--f-display); font-weight: 800; font-size: 7.6cqw; letter-spacing: -.02em; line-height: 1.1; }
.app__text { font-size: 4.4cqw; color: var(--foto-text); max-width: 26ch; }
.app.is-fertig .app__fertig { opacity: 1; transform: none; }
.app.is-fertig .app__haken { transform: none; }

.app__tipp {
  position: absolute;
  left: 0;
  top: 0;
  width: 11cqw;
  height: 11cqw;
  pointer-events: none;
  transform: translate(var(--x, 50cqw), var(--y, 150cqw));
  transition: transform .7s var(--ease);
}
.app__tipp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(90, 75, 209, .22);
  border: .5cqw solid rgba(90, 75, 209, .55);
  opacity: 0;
  transform: scale(.55);
}
.app__tipp.is-tippt::after { animation: tipp .6s var(--ease) both; }
@keyframes tipp {
  0% { opacity: 0; transform: scale(.55); }
  35% { opacity: 1; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* ---------- Laufband ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(var(--rand), 1fr) minmax(0, var(--breite)) minmax(var(--rand), 1fr);
  padding-block: 1.15rem;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.band__label,
.band__fenster { grid-row: 1; }
.band__label {
  grid-column: 2;
  align-self: center;
  z-index: 1;
  width: fit-content;
  padding-right: 1.5rem;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}
.band__fenster {
  grid-column: 2;
  overflow: hidden;
  margin-left: 8.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4.5rem, #000 calc(100% - 4.5rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4.5rem, #000 calc(100% - 4.5rem), transparent);
}
.band__fenster:focus-visible { outline-offset: 6px; border-radius: 6px; }
.band__spur { display: flex; width: max-content; animation: band 60s linear infinite; }
.band__fenster:hover .band__spur,
.band__fenster:focus-within .band__spur { animation-play-state: paused; }
.band__liste { display: flex; flex: none; }
.band__liste li {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  white-space: nowrap;
}
.band__zweig { width: .7em; height: .95em; color: var(--accent); opacity: .85; }
@keyframes band { to { transform: translateX(-50%); } }

@media (max-width: 767px) {
  .band { grid-template-columns: var(--rand) 1fr; row-gap: .5rem; }
  .band__label { grid-column: 2; grid-row: 1; }
  .band__fenster { grid-column: 1 / -1; grid-row: 2; margin-left: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
}

/* ---------- Alltag (Scrollytelling) ---------- */
.alltag__raster { display: grid; gap: 2.5rem; }
.alltag__text h2 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.alltag__buehne { position: relative; aspect-ratio: 4 / 3; container-type: inline-size; }
.alltag__buehne picture,
.alltag__buehne img { position: absolute; inset: 0; width: 100%; height: 100%; }

.zettel { position: absolute; inset: 0; }
.zettel__notiz {
  --seite: 14.2cqw;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: var(--seite);
  height: var(--seite);
  margin: 0;
  padding: 0 .8cqw 1.6cqw 1.4cqw;
  color: var(--tinte);
  font-family: var(--f-hand);
  font-size: 2.5cqw;
  font-weight: 600;
  line-height: 1.1;
  transform: translate(-50%, -50%) rotate(var(--dreh, 0deg));
}
.zettel__notiz span { position: relative; white-space: nowrap; }
.zettel__notiz span::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 56%;
  height: .085em;
  min-height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.zettel__notiz span:nth-child(2)::after { transition-delay: .14s; transform: scaleX(0) rotate(1.5deg); }
.zettel__notiz span:nth-child(3)::after { transition-delay: .28s; }
.zettel__notiz.is-erledigt span::after { transform: scaleX(1) rotate(-2deg); }
.zettel__notiz.is-erledigt span:nth-child(2)::after { transform: scaleX(1) rotate(1.5deg); }
/* Mittelpunkt und Drehung am Original gemessen (Ecken der Zettel) */
.zettel__notiz--a { left: 69.6%; top: 36.3%; --dreh: 12.7deg; }
.zettel__notiz--b { left: 33.9%; top: 13%; --dreh: -7.8deg; }
.zettel__notiz--c { left: 22.1%; top: 75.5%; --dreh: 8.5deg; font-size: 2.35cqw; }

.zettel__haken {
  position: absolute;
  right: .9cqw;
  bottom: .9cqw;
  display: grid;
  place-items: center;
  width: 3.3cqw;
  height: 3.3cqw;
  border-radius: 50%;
  background: var(--foto-iris);
  color: #FDFCFF;
  box-shadow: 0 .4cqw 1cqw rgba(42, 32, 110, .3);
  opacity: 0;
  transform: scale(.4) rotate(-20deg);
  transition: opacity .3s var(--ease) .45s, transform .55s var(--ease) .45s;
}
.zettel__haken .icon { width: 62%; height: 62%; }
.zettel__notiz.is-erledigt .zettel__haken { opacity: 1; transform: none; }

.alltag__liste { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.lage { display: grid; gap: 1rem; }
.lage__problem { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); line-height: 1.18; letter-spacing: -.015em; }
.lage__loesung { display: grid; grid-template-columns: 2rem 1fr; gap: .9rem; align-items: start; max-width: 34rem; }
.lage__haken {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: .05rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent-line);
  color: transparent;
}
.lage__haken::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .5s var(--ease);
}
.lage__haken .icon { position: relative; width: 1.05rem; height: 1.05rem; color: var(--on-accent); opacity: 0; transform: scale(.5); transition: opacity .3s var(--ease) .15s, transform .45s var(--ease) .15s; }
.lage.is-erledigt .lage__haken::before { transform: scale(1); }
.lage.is-erledigt .lage__haken .icon { opacity: 1; transform: none; }
html:not(.js) .lage__haken::before { transform: scale(1); }
html:not(.js) .lage__haken .icon { opacity: 1; transform: none; }

.alltag__fazit {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
}

@media (min-width: 1024px) {
  .alltag__raster { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); align-items: start; }
  .alltag__bild { align-self: stretch; } /* volle Zeilenhöhe, sonst kann das Bild nicht mitlaufen (sticky) */
  .alltag__klebt { position: sticky; top: max(6.5rem, calc(50vh - 17rem)); }
  .alltag__text { padding-top: 2rem; }
  .lage { min-height: min(54vh, 30rem); align-content: center; }
  .alltag__fazit { padding-bottom: 12vh; }
}

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; gap: 1rem; }

.kachel {
  padding: 6px;
  border-radius: var(--r-xl);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--schatten);
}
.kachel__kern {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--kante);
}
.kachel__text { display: grid; gap: .85rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); }
.kachel__text p { max-width: 38rem; }
.kachel__detail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  margin-top: .25rem;
  padding: .35rem .8rem .35rem .65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9375rem;
  font-weight: 600;
}
.kachel__detail .icon { width: 1.05rem; height: 1.05rem; }

.haken-liste { display: grid; gap: .55rem; margin-top: .25rem; }
.haken-liste li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .6rem; align-items: start; color: var(--ink); font-weight: 500; }
.haken-liste .icon { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--accent); }

/* Website-Kachel mit Tablet */
.kachel--website .kachel__kern { display: flex; flex-direction: column; }
.kachel--website .kachel__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: size; background: #D9D0E9; }
.tablet-buehne {
  --zoom: 1;
  --tw: calc(var(--zoom) * max(100cqw, 133.333cqh));
  position: absolute;
  width: var(--tw);
  aspect-ratio: 4 / 3;
  left: clamp(calc(100cqw - var(--tw)), calc(50cqw - .415 * var(--tw)), 0px);
  top: clamp(calc(100cqh - var(--tw) * .75), calc(50cqh - .525 * var(--tw) * .75), 0px);
}
@media (max-width: 767px) {
  .kachel--website .kachel__foto { aspect-ratio: 1 / 1; }
  .tablet-buehne { --zoom: 1.2; }
}
.tablet-buehne picture,
.tablet-buehne img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kachel--website .kachel__text { flex: 1; align-content: end; }

.tablet {
  position: absolute;
  left: 23.58%;
  top: 22.27%;
  width: 35.89%;
  height: 60.03%;
  container-type: inline-size;
}
.seite {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 7cqw 7.5cqw 8cqw;
  color: var(--foto-ink);
  font-family: var(--f-text);
  font-size: 4.6cqw;
  line-height: 1.3;
}
.seite__kopf { display: flex; align-items: center; gap: 2.4cqw; padding-bottom: 4.5cqw; border-bottom: .35cqw solid #E6E1F2; }
.seite__logo { display: grid; place-items: center; width: 8.5cqw; height: 8.5cqw; border-radius: 50%; background: #E7E3FB; color: #3E33A0; font-family: var(--f-display); font-weight: 800; font-size: 3.1cqw; }
.seite__marke { font-family: var(--f-display); font-weight: 700; font-size: 4.6cqw; letter-spacing: -.01em; }
.seite__beispiel { margin-left: auto; padding: .8cqw 2.4cqw; border-radius: 99px; background: #EFEBF8; color: var(--foto-muted); font-size: 2.9cqw; font-weight: 600; }
.seite__titel { margin-top: 9cqw; font-family: var(--f-display); font-weight: 800; font-size: 10cqw; line-height: 1.04; letter-spacing: -.025em; }
.seite__knopf { align-self: flex-start; margin-top: 6cqw; padding: 2.8cqw 5.6cqw; border-radius: 99px; background: var(--foto-iris); color: #FDFCFF; font-size: 4.4cqw; font-weight: 700; }
.seite__zeiten { margin-top: 5cqw; color: var(--foto-muted); font-size: 3.9cqw; font-weight: 500; }
.seite__preis-titel { margin-top: auto; padding-top: 4cqw; border-top: .35cqw solid #E6E1F2; color: var(--foto-muted); font-size: 3.5cqw; font-weight: 600; }
.seite__preise { display: grid; gap: 2.2cqw; margin-top: 2.4cqw; }
.seite__preise li { display: flex; justify-content: space-between; gap: 2cqw; font-size: 4.4cqw; font-weight: 600; }
.seite__preise li span:last-child { color: #3E33A0; font-variant-numeric: tabular-nums; }

/* Betreuung: Foto als Fläche, Text im Leerraum */
.kachel--betreuung .kachel__bg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 10% 18%; background: #CEC4E2; }

/* Sicherheits-Check: Foto neben Text */
.kachel--check .kachel__foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #D2C9E6; }
.kachel--check .kachel__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }


/* Eigene Werkzeuge: getönte Iris-Fläche mit Kalender */
.kachel--werkzeuge .kachel__kern { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--accent-soft); }
.kachel--werkzeuge .kachel__text { padding: 0; }
.kachel--werkzeuge .kachel__text p { color: var(--text); }

.kalender {
  width: 100%;
  max-width: 24rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--schatten);
  font-size: .8125rem;
}
.kalender__kopf { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; color: var(--ink); font-weight: 700; font-size: .9375rem; }
.kalender__kopf .icon { color: var(--accent); width: 1.15rem; height: 1.15rem; }
.kalender__team { margin-left: auto; padding: .15rem .6rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: .75rem; font-weight: 600; }
.kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.kalender__wt { padding-bottom: .2rem; color: var(--muted); font-size: .72rem; font-weight: 600; text-align: center; }
.kalender__tag {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .2rem;
  min-height: 2.35rem;
  padding-top: .3rem;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kalender__tag.is-vorbei { color: var(--muted); background: transparent; }
.kalender__tag.is-heute { background: var(--btn-bg); color: var(--btn-text); }
.kalender__belegt { display: block; height: 3px; width: 50%; border-radius: 3px; background: var(--accent); opacity: .85; }
.kalender__belegt--2 { width: 70%; box-shadow: 0 5px 0 -0px color-mix(in srgb, var(--accent) 45%, transparent); }
.kalender__belegt--3 { width: 36%; }
.kalender__tag.is-heute .kalender__belegt { background: var(--btn-text); }
.kalender__tag.is-vorbei .kalender__belegt { opacity: .35; }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel--website, .kachel--werkzeuge { grid-column: 1 / -1; }
  .kachel--werkzeuge .kachel__kern { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .kachel--website .kachel__foto { aspect-ratio: 16 / 9; }
  .kachel--website .kachel__text { max-width: 44rem; }
}
@media (min-width: 1200px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .kachel--website { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .kachel--betreuung { grid-column: 8 / span 5; grid-row: 1; }
  .kachel--check { grid-column: 8 / span 5; grid-row: 2; }
  .kachel--werkzeuge { grid-column: 1 / -1; grid-row: 3; }
  .kachel--werkzeuge .kachel__kern { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(2rem, 6vw, 6rem); padding: 2.25rem 2.25rem 2.25rem 2.5rem; }
  .kachel--werkzeuge .kachel__text p { font-size: 1.125rem; }
}

@media (min-width: 1200px) {
  .kachel--betreuung .kachel__kern { min-height: clamp(23rem, 33vw, 30.5rem); background: #CEC4E2; }
  .kachel--betreuung .kachel__bg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 0 0; }
  .kachel--betreuung .kachel__text { position: relative; z-index: 1; height: 100%; align-content: end; padding-left: 22%; color: var(--foto-text); }
  .kachel--betreuung h3 { color: var(--foto-ink); }
  .kachel--betreuung .kachel__detail { background: rgba(253, 252, 255, .72); color: #3E33A0; }
  .kachel--check .kachel__kern { display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); }
  .kachel--check .kachel__foto { aspect-ratio: auto; height: 100%; }
  .kachel--check .kachel__text { align-content: center; padding: 1.5rem 1.75rem; }
  .kachel--check .kachel__text p:not(.kachel__detail) { font-size: 1rem; }
  .kachel--check .kachel__foto img { object-position: 24% 50%; }
}

/* ---------- Demo ---------- */
.demo { --schale: var(--paper); background: var(--paper-2); border-block: 1px solid var(--line); }
.demo__hinweis { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.demo__hinweis .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.demo__ohne-js { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }

.demo__raster { display: grid; gap: 2rem; align-items: start; }
.demo__seite { display: grid; gap: .75rem; min-width: 0; }
.demo__sicht { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; font-size: .9375rem; }
.demo__sicht::before { content: ""; width: 1.5rem; height: 2px; border-radius: 2px; background: var(--accent-line); }

.buchung { padding: clamp(1.25rem, 3vw, 2rem); }
.buchung__kopf { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.buchung__logo { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--f-display); font-weight: 800; font-size: 1rem; flex: none; }
.buchung__name { display: grid; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.buchung__name span { font-family: var(--f-text); font-weight: 500; font-size: .9375rem; color: var(--muted); }

.schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1.25rem 0 1.5rem; }
.schritte__punkt { position: relative; display: flex; align-items: center; gap: .3rem; padding-top: .75rem; color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.2; }
.schritte__punkt::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .35s var(--ease); }
.schritte__nr { display: none; color: var(--accent); }
.schritte__nr .icon { width: .95rem; height: .95rem; }
.schritte__punkt.is-aktiv { color: var(--ink); }
.schritte__punkt.is-aktiv::before,
.schritte__punkt.is-fertig::before { background: var(--accent); }
.schritte__punkt.is-fertig .schritte__nr { display: inline-grid; }

.buchung__schritt { margin: 0; padding: 0; border: 0; min-width: 0; }
.buchung__frage { padding: 0; margin-bottom: 1rem; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); letter-spacing: -.01em; }
.buchung__frage:focus { outline: none; }
.buchung__notiz { margin-top: .9rem; color: var(--muted); font-size: .9375rem; }
.buchung__auswahl { margin: -.25rem 0 1.25rem; padding: .7rem 1rem; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .9375rem; }

.wahl { display: grid; gap: .6rem; }
.wahl--leistung { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.wahl--tag { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wahl--zeit { grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); }
.wahl__option { position: relative; display: block; }
.wahl__option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl__option input:disabled { cursor: not-allowed; }
.wahl__karte {
  position: relative;
  display: grid;
  gap: .1rem;
  min-height: 3.5rem;
  padding: .8rem 2.6rem .8rem 1rem;
  border: 1px solid var(--feldrand);
  border-radius: var(--r-md);
  background: var(--card);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.wahl__titel { color: var(--ink); font-weight: 600; line-height: 1.3; }
.wahl__meta { color: var(--muted); font-size: .875rem; }
.wahl__haken { position: absolute; right: .8rem; top: 50%; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-top: -.675rem; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.wahl__haken .icon { width: .85rem; height: .85rem; }
.wahl__option:hover .wahl__karte { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 40%, var(--card)); }
.wahl__option input:checked + .wahl__karte { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.wahl__option input:checked + .wahl__karte .wahl__haken { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.wahl__option input:focus-visible + .wahl__karte { outline: 2px solid var(--accent); outline-offset: 3px; }
.wahl__option:active .wahl__karte { transform: scale(.985); }

.wahl--tag .wahl__karte,
.wahl--zeit .wahl__karte { justify-items: center; padding: .7rem .4rem; text-align: center; }
.wahl--tag .wahl__haken,
.wahl--zeit .wahl__haken { display: none; }
.wahl--tag .wahl__meta { order: -1; font-weight: 600; }
.wahl--tag .wahl__titel { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.wahl--zeit .wahl__karte { min-height: 3rem; align-content: center; border-radius: 999px; }
.wahl--zeit .wahl__titel { font-variant-numeric: tabular-nums; }
.wahl--zeit .wahl__option.is-belegt .wahl__karte { border-color: transparent; background: var(--paper-2); }
.wahl--zeit .wahl__option.is-belegt .wahl__titel { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.wahl--zeit .wahl__option.is-belegt:hover .wahl__karte { background: var(--paper-2); border-color: transparent; }
.wahl__pause { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; margin: .35rem 0; color: var(--muted); font-size: .875rem; font-weight: 600; }
.wahl__pause::before,
.wahl__pause::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.buchung__leiste { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.buchung__leiste [data-weiter] { margin-left: auto; }
.buchung__hilfe { color: var(--danger); font-size: .9375rem; font-weight: 500; }
.buchung__hilfe:empty { display: none; }
html:not(.js) .buchung__leiste { display: none; }

.buchung__fertig { display: grid; justify-items: start; gap: 1rem; padding: .5rem 0 .25rem; }
.buchung__fertig:focus { outline: none; }
.buchung__fertig-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.buchung__fertig-icon .icon { width: 2rem; height: 2rem; }
.buchung__danke { color: var(--text); font-size: 1.125rem; line-height: 1.55; max-width: 34rem; }
.buchung__danke strong { display: block; margin-bottom: .35rem; color: var(--ink); font-family: var(--f-display); font-size: clamp(1.45rem, 1.25rem + .6vw, 1.75rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.buchung__zum-postfach { font-weight: 600; }
@media (min-width: 1024px) { .buchung__zum-postfach { display: none; } }

.feld { display: grid; gap: .45rem; min-width: 0; }
.feld + .feld { margin-top: 1rem; }
.feld label,
.feld legend { padding: 0; color: var(--ink); font-weight: 600; line-height: 1.35; }
.feld__optional { color: var(--muted); font-weight: 500; }
.feld input,
.feld textarea {
  width: 100%;
  min-height: 3rem;
  padding: .75rem 1rem;
  border: 1px solid var(--feldrand);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--ink);
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input::placeholder,
.feld textarea::placeholder { color: var(--muted); opacity: 1; }
.feld input:hover,
.feld textarea:hover { border-color: var(--accent); }
.feld input:focus,
.feld textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.feld__hilfe { color: var(--muted); font-size: .9375rem; }
.feld__fehler { display: flex; align-items: flex-start; gap: .4rem; color: var(--danger); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.feld__fehler .icon { width: 1.1rem; height: 1.1rem; margin-top: .1rem; }
.feld__fehler[hidden] { display: none; }
.feld.is-fehler input,
.feld.is-fehler textarea { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }

/* Postfach */
.postfach { overflow: hidden; }
.postfach__kopf { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.postfach__kopf .icon { color: var(--accent); }
.postfach__neu { margin-left: auto; padding: .15rem .65rem; border-radius: 99px; background: var(--btn-bg); color: var(--btn-text); font-size: .8125rem; font-weight: 700; }
.postfach__leer { display: grid; justify-items: center; gap: .9rem; padding: 3.5rem 1.5rem 3.75rem; color: var(--muted); text-align: center; }
.postfach__leer p { max-width: 17rem; }
.postfach__leer-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--paper-2); color: var(--accent); }
.postfach__leer-icon .icon { width: 1.6rem; height: 1.6rem; }

.mail { padding: 1.4rem; }
.mail__kopf { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; }
.mail__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); font-family: var(--f-display); font-weight: 800; font-size: .95rem; }
.mail__meta { min-width: 0; }
.mail__von { display: flex; justify-content: space-between; gap: .75rem; color: var(--ink); font-weight: 700; font-size: .9375rem; }
.mail__zeit { color: var(--muted); font-weight: 500; font-size: .875rem; white-space: nowrap; }
.mail__betreff { margin-top: .15rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.mail__daten { display: grid; gap: .5rem; margin: 1.1rem 0 1.25rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.mail__daten div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; font-size: .9375rem; }
.mail__daten dt { color: var(--muted); }
.mail__daten dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.mail__aktionen { display: flex; flex-wrap: wrap; gap: .5rem; }
.mail__hinweis { margin-top: .85rem; color: var(--accent-ink); font-size: .9375rem; font-weight: 500; }
.mail__hinweis:empty { display: none; }

html.js .mail[hidden] { display: none; }
html.js .demo__raster:not(.is-gesendet) .mail { display: none; }
html.js .demo__raster.is-gesendet .postfach__leer { display: none; }
html:not(.js) .postfach__leer { display: none; }
.mail.is-neu { animation: mail-ein .8s var(--ease) both; }
@keyframes mail-ein {
  from { opacity: 0; transform: translateY(-14px) scale(.98); }
}

@media (min-width: 1024px) {
  .demo__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .wahl--tag { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .mail__daten div { grid-template-columns: 1fr; gap: 0; }
  .buchung__leiste { flex-wrap: wrap; }
  .buchung__hilfe { order: 3; width: 100%; }
}

/* ---------- Ablauf ---------- */
.weg { position: relative; }
.weg__spur { display: none; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.weg__linie { position: absolute; color: var(--accent-line); }
.weg__linie path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; }
.weg__decke { position: absolute; inset: 0; background: var(--paper); transform-origin: right center; }
.weg.is-gezeichnet .weg__decke { transform: translateX(101%); transition: transform 1.6s cubic-bezier(.45, .05, .2, 1) .1s; }
html:not(.js) .weg__decke { display: none; }

.weg__liste { position: relative; display: grid; gap: 2rem; }
.station { position: relative; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.25rem; row-gap: .35rem; align-items: start; align-content: start; }
/* Handy/Tablet: Linie pro Station, wächst mit der Einblendung nach unten */
.station:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(2rem - 1.25px);
  top: 4.5rem;
  bottom: -1.5rem;
  border-left: 2.5px dotted var(--accent-line);
  transform-origin: top center;
  transition: transform .9s var(--ease) .35s;
}
.js .station.einblenden:not(.is-sichtbar)::after { transform: scaleY(0); }
.station__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--schatten);
}
.station__icon .icon { width: 1.75rem; height: 1.75rem; }
.station h3 { align-self: end; margin-top: .55rem; }
.station p { max-width: 30rem; }

@media (min-width: 1024px) {
  .weg__spur { display: block; }
  .weg__linie { left: 0; top: calc(2rem - 20px); width: 100%; height: 40px; }
  .station:not(:last-child)::after { display: none; }
  .weg__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .station { grid-template-columns: 1fr; justify-items: center; row-gap: .6rem; padding-inline: 1rem; text-align: center; }
  .station__icon { grid-row: auto; margin-bottom: .85rem; }
  .station h3 { margin-top: 0; }
  .station p { max-width: 17rem; }
}

/* ---------- Sicherheit ---------- */
.sicherheit__raster { display: grid; gap: 3.5rem; }
.sicherheit__text h2 { max-width: 15ch; }
.sicherheit__text .kopfzeile__lead { margin-top: 1rem; }
.schutz { display: grid; gap: 2.25rem; margin-top: clamp(2.25rem, 4vw, 3rem); }
.schutz__titel { margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--f-text); font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
.schutz__liste { display: grid; gap: 1.4rem; }
.schutz__liste li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.schutz__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.schutz__icon .icon { width: 1.2rem; height: 1.2rem; }
.schutz__liste h4 { margin: .35rem 0 .25rem; }
.schutz__liste p { font-size: 1rem; line-height: 1.6; }
.sicherheit__fazit {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.015em;
}

.bon { justify-self: center; width: min(100%, 24rem); }
.bon__schatten { filter: drop-shadow(0 22px 26px rgba(42, 32, 110, .16)) drop-shadow(0 2px 3px rgba(42, 32, 110, .1)); }
.bon__papier {
  --zacke: .55rem;
  padding: 2rem 1.6rem 2.6rem;
  background: #FDFCFF;
  color: #2B2747;
  font-family: var(--f-mono);
  font-size: .8125rem;
  line-height: 1.55;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zacke)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zacke)) 100%;
}
.bon__titel { color: #1F1B3A; font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-align: center; }
.bon__unter { margin-top: .2rem; color: #6A6585; text-align: center; }
.bon__zeilen { display: grid; gap: .55rem; margin: 1.25rem 0 0; padding: 1.25rem 0; border-block: 1.5px dashed #C9C2E0; }
.bon__zeilen div { display: flex; align-items: baseline; }
.bon__zeilen dt { display: flex; flex: 1; align-items: baseline; min-width: 0; }
.bon__zeilen dt::after { content: ""; flex: 1; min-width: 1rem; margin: 0 .45rem; border-bottom: 2px dotted #BDB5D6; transform: translateY(-.25em); }
.bon__zeilen dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bon__zeilen dd.is-gut { color: #5A4BD1; }
.bon__zeilen dd.is-schlecht { color: #A8325E; }
.bon__summe { margin-top: 1.1rem; color: #1F1B3A; font-weight: 700; text-align: center; }
.bon__info { margin-top: 1.5rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; text-align: center; }
@media (prefers-color-scheme: dark) {
  .bon__papier { background: #ECE8F6; }
  .bon__schatten { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45)); }
}

@media (min-width: 768px) {
  .schutz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .sicherheit__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .bon__schatten { transform: rotate(2deg); }
}

/* ---------- Über mich (Brief) ---------- */
.ueber { background: var(--paper-2); border-block: 1px solid var(--line); }
.ueber__raster { display: grid; gap: 2.5rem; }
.brief {
  position: relative;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--schatten-l);
}
.brief__ort { margin-bottom: 1.75rem; color: var(--muted); font-size: .9375rem; }
.brief h2 { margin-bottom: 1.5rem; }
.brief__text { display: grid; gap: 1.1rem; max-width: 34rem; hyphens: auto; }
.brief__gruss { margin-top: 2rem; }
.brief__unterschrift { margin: .1rem 0 0 -.2rem; color: var(--accent); font-size: 4rem; font-weight: 600; line-height: .9; transform: rotate(-5deg); transform-origin: left center; width: fit-content; }
.brief__name { margin-top: .6rem; color: var(--muted); font-size: .9375rem; }

.ueber__seite { display: grid; gap: 2rem; align-content: start; }
.ueber__foto { display: grid; gap: 1rem; }
.ueber__foto .foto { aspect-ratio: 3 / 4; border: 6px solid var(--card); }
.ueber__foto figcaption { color: var(--accent); font-size: 1.6rem; font-weight: 600; line-height: 1.1; transform: rotate(-2deg); text-align: center; }
.fakten { display: grid; gap: .9rem; }
.fakten li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: center; color: var(--ink); font-weight: 500; line-height: 1.4; }
.fakten .icon { box-sizing: content-box; width: 1.2rem; height: 1.2rem; padding: .65rem; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--accent); }

@media (min-width: 768px) and (max-width: 1023px) {
  .ueber__seite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (min-width: 1024px) {
  .ueber__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0; align-items: start; }
  .brief { grid-column: 1; grid-row: 1; padding: 4rem 9rem 4rem 4.5rem; }
  .ueber__seite { grid-column: 2; grid-row: 1; margin: 4.5rem 0 0 -5.5rem; position: relative; z-index: 1; }
  .ueber__foto .foto { transform: rotate(2.5deg); box-shadow: var(--schatten-l); }
  .fakten { padding-left: 1.5rem; }
}

/* ---------- Fragen ---------- */
.fragen__raster { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.faq__liste { display: grid; gap: .75rem; }
.faq__eintrag { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.faq__eintrag[open] { border-color: var(--accent-line); box-shadow: var(--schatten); }
.faq__frage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 1.25rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r-lg);
}
.faq__frage::-webkit-details-marker { display: none; }
.faq__pfeil { width: 1.25rem; height: 1.25rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq__eintrag[open] .faq__pfeil { transform: rotate(180deg); }
.faq__antwort { padding: 0 1.25rem 1.25rem; }
.faq__antwort p { max-width: 40rem; }

.faq__desk { display: none; }
@media (min-width: 1024px) {
  html.js .faq__liste { display: none; }
  html.js .faq__desk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
}
.faq__tabs { display: grid; gap: .25rem; }
.faq__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .8rem 1rem;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.faq__tab .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.faq__tab .faq__tab-pfeil { rotate: -90deg; }
.faq__tab:hover { background: var(--paper-2); color: var(--ink); }
.faq__tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-ink); }
.faq__tab[aria-selected="true"] .icon { opacity: 1; transform: none; }
.faq__panel { position: sticky; top: 7rem; }
.faq__panel .schale__kern { padding: clamp(2rem, 3.5vw, 3rem); min-height: 18rem; }
.faq__panel-frage { margin-bottom: 1rem; }
.faq__panel-frage { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.85rem); }
.faq__panel-antwort { max-width: 36rem; font-size: 1.2rem; line-height: 1.6; color: var(--text); }
.faq__panel-inhalt.is-wechsel { animation: faq-wechsel .45s var(--ease) both; }
@keyframes faq-wechsel { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Kontakt ---------- */
.kontakt__raster { display: grid; gap: 2.5rem; align-items: start; }
.kontakt__rahmen {
  --zoom: 1;
  --fx: .485;
  --fy: .62;
  container-type: size;
  aspect-ratio: 1 / 1.02;
  background: #D8CFE8;
}
.kontakt__buehne {
  --sw: calc(var(--zoom) * max(100cqw, 177.78cqh));
  position: absolute;
  width: var(--sw);
  aspect-ratio: 16 / 9;
  left: clamp(calc(100cqw - var(--sw)), calc(50cqw - var(--fx) * var(--sw)), 0px);
  top: clamp(calc(100cqh - var(--sw) * .5625), calc(50cqh - var(--fy) * var(--sw) * .5625), 0px);
  container-type: inline-size;
}
.kontakt__buehne picture,
.kontakt__buehne img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 1023px) { .kontakt__rahmen { --zoom: 1.22; } }
.karte {
  position: absolute;
  left: 39.5%;
  top: 50.5%;
  width: 21.5%;
  margin: 0;
  color: var(--tinte-iris);
  font-size: 2.45cqw;
  font-weight: 600;
  line-height: 1.14;
  transform: rotate(-.6deg);
}
.karte span { display: block; }
.karte__name { margin-top: .35em; font-size: 1.25em; }

.formular { display: grid; gap: 1.25rem; }
.formular__paar { display: grid; gap: 1.25rem; }
.formular__paar .feld + .feld { margin-top: 0; }
.feld--chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.feld--chips legend { margin-bottom: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip__flaeche {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .9375rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.chip__haken { width: 0; height: 1rem; opacity: 0; transition: width .2s var(--ease), opacity .2s var(--ease); }
.chip:hover .chip__flaeche { border-color: var(--accent); }
.chip input:checked + .chip__flaeche { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.chip input:checked + .chip__flaeche .chip__haken { width: 1rem; opacity: 1; }
.chip input:focus-visible + .chip__flaeche { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip:active .chip__flaeche { transform: scale(.98); }

.formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular__fuss { display: grid; gap: 1rem; justify-items: start; margin-top: .25rem; }
.formular__datenschutz { color: var(--muted); font-size: .9375rem; line-height: 1.5; max-width: 34rem; }
.formular__meldung { display: flex; gap: .65rem; padding: 1rem 1.15rem; border-radius: var(--r-md); border: 1px solid var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--card)); color: var(--ink); font-weight: 500; }
.formular__meldung .icon { color: var(--danger); width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.formular__meldung:focus { outline: 2px solid var(--danger); outline-offset: 3px; }

.kontakt__mail { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; color: var(--text); }
.kontakt__mail .icon { color: var(--accent); }
.kontakt__mail a { font-weight: 600; }

.erfolg { display: grid; justify-items: start; gap: .75rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--schatten); }
.erfolg:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.erfolg__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.erfolg__icon .icon { width: 2rem; height: 2rem; }
.erfolg__titel { color: var(--ink); font-family: var(--f-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }

@media (min-width: 640px) {
  .formular__paar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (min-width: 1024px) {
  .kontakt__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .kontakt__bild { position: sticky; top: 6.5rem; }
  .kontakt__rahmen { aspect-ratio: 4 / 5; }
  .formular__fuss { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
}

/* ---------- Fußzeile ---------- */
.fuss { overflow: hidden; padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--paper-2); border-top: 1px solid var(--line); }
.fuss__inner { display: grid; gap: 1.25rem; }
.fuss__marke { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.fuss__marke:hover { color: var(--ink); text-decoration: none; }
.fuss__zweig { width: 1.1rem; height: 1.45rem; color: var(--accent); }
.fuss__satz { max-width: 30rem; color: var(--text); }
.fuss__nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.fuss__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.fuss__nav a:hover { color: var(--accent); text-decoration: underline; }
.fuss__copy { color: var(--muted); font-size: .9375rem; }
.fuss__wortmarke {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: var(--line);
  font-family: var(--f-display);
  font-size: 15.6vw;
  font-weight: 800;
  line-height: .74;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transform: translateY(.06em);
}
@media (min-width: 1024px) {
  .fuss__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 3rem; }
  .fuss__marke, .fuss__satz { grid-column: 1; }
  .fuss__nav { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: end; }
  .fuss__copy { grid-column: 2; justify-self: end; }
}
@media (min-width: 1600px) { .fuss__wortmarke { font-size: 15rem; } }

/* ---------- Unterseiten ---------- */
.unterseite { padding-block: clamp(7.5rem, 6rem + 5vw, 10rem) var(--abstand); }
.lesesatz { max-width: 70ch; }
.lesesatz h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); margin-bottom: 1.5rem; }
.lesesatz h2 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); margin: 2.75rem 0 .9rem; }
.lesesatz h3 { font-size: 1.2rem; margin: 1.75rem 0 .6rem; }
.lesesatz p,
.lesesatz ul { margin-bottom: 1rem; }
.lesesatz ul { padding-left: 1.25rem; }
.lesesatz li { margin-bottom: .4rem; }
.lesesatz li::marker { color: var(--accent); }
.lesesatz address { font-style: normal; }
.lesesatz .stand { margin-top: 3rem; color: var(--muted); font-size: .9375rem; }
.lesesatz .hervorgehoben { padding: 1.25rem 1.4rem; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--ink); }
.lesesatz .hervorgehoben h3 { margin-top: 0; }
.warnkasten { display: flex; gap: .75rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-md); border: 2px solid var(--danger); background: color-mix(in srgb, var(--danger) 9%, var(--card)); color: var(--ink); font-weight: 600; }
.warnkasten .icon { color: var(--danger); width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 2rem; font-weight: 600; }

.fehlerseite { display: grid; gap: 3rem; align-items: center; }
.fehlerseite__text { display: grid; gap: 1.25rem; justify-items: start; }
.fehlerseite__bild { position: relative; }
.fehlerseite__bild .foto { aspect-ratio: 4 / 3; }
.fehlerseite__notiz { position: absolute; left: 39%; top: 52%; max-width: 9em; color: var(--tinte); font-size: clamp(1.2rem, .9rem + 1.2vw, 1.75rem); font-weight: 600; line-height: 1.1; transform: rotate(-6deg); }
@media (min-width: 1024px) { .fehlerseite { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }

/* ---------- Bewegung ---------- */
.js .einblenden {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--stufe, 0) * 80ms);
}
.js .einblenden.is-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: auftauchen .8s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero__rahmen { animation: bild-ein 1.1s var(--ease) .1s both; }
  .hero__notiz { animation: notiz-ein .9s var(--ease) 1s both; }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(18px); } }
@keyframes bild-ein { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes notiz-ein { from { opacity: 0; transform: translateY(10px) rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .einblenden { opacity: 1; transform: none; }
  .band__spur { animation: none; width: 100%; }
  .band__liste { flex: 1 1 auto; flex-wrap: wrap; row-gap: .5rem; }
  .band__liste[aria-hidden="true"], .band__liste li:last-child .band__zweig { display: none; }
  .band__fenster { -webkit-mask-image: none; mask-image: none; }
  .weg__decke { display: none; }
}
