/* ==========================================================================
   noahblesch.de · V3.3
   Dunkel, Königsblau als Fläche, Systemschrift (SF Pro auf Apple-Geräten).
   Keine Webfonts, keine Cookies, keine Drittanbieter.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0a0b0f;
  --bg-2: #101217;
  --surface: #15171e;
  --surface-2: #1c1f28;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --text: #f5f5f7;
  --text-2: #a8abb5;
  --text-3: #80838e;

  /* Königsblau */
  --royal: #2449d8;
  --royal-hi: #3059ee;
  --royal-deep: #1c3ab5;
  --royal-text: #8aa2ff;
  --on-royal: #ffffff;
  --on-royal-2: rgb(255 255 255 / 0.84);

  /* helle Karte (Anfrage) */
  --paper: #ffffff;
  --paper-ink: #1d1d1f;
  --paper-2: #6b6d75;
  --paper-line: #e4e5ea;
  --paper-fill: #f2f3f6;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 0.4rem + 3.6vw, 3rem);
  --nav-h: 3.25rem;
  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  scrollbar-color: rgb(255 255 255 / 0.22) var(--bg);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100svh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--text);
  background: var(--bg);
  caret-color: var(--royal-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

::selection { background: var(--royal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--royal-text);
  outline-offset: 3px;
  border-radius: 10px;
}

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

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

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

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Navigation: Material über dem Inhalt ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: rgb(10 11 15 / 0);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.nav.is-scrolled {
  background: rgb(14 15 20 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark { width: 1.75rem; height: 1.75rem; }

.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: #fff; }
}
@media (max-width: 47.99rem) {
  .nav__link { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled { background: rgb(14 15 20); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.375rem;
  border: 0;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 120ms var(--ease-out),
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn .icon { width: 1.125rem; height: 1.125rem; transition: transform 220ms var(--ease-out); }

.btn--white { background: #fff; color: var(--royal-deep); }
.btn--royal { background: var(--royal); color: #fff; }
.btn--line { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.55); color: #fff; }
.btn--sm { min-height: 2.25rem; padding: 0 1rem; font-size: 0.875rem; }

@media (hover: hover) and (pointer: fine) {
  .btn--white:hover { background: #eef1ff; }
  .btn--royal:hover { background: var(--royal-hi); }
  .btn--line:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgb(255 255 255 / 0.08); }
  .btn:hover .icon-go { transform: translateX(3px); }
}
@media (max-width: 29.99rem) {
  .nav .btn--sm { padding: 0 0.875rem; }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  color: var(--royal-text);
  font-weight: 500;
  text-decoration: none;
}
.link .icon { width: 1rem; height: 1rem; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration: underline; }
  .link:hover .icon { transform: translateX(2px); }
}

/* ---------- Typo ---------- */
.hero__copy { container-type: inline-size; }
.display {
  font-size: clamp(2.5rem, 14.8cqi, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.display .hl { display: block; }
.section-head div > .lede { margin-top: 1.25rem; }
.h2 {
  font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.h3 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lede {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

/* ---------- Hero: Königsblau-Fläche ---------- */
.hero {
  position: relative;
  background: var(--royal);
  color: var(--on-royal);
  padding-block: calc(var(--nav-h) + clamp(2.5rem, 1rem + 6vw, 6.5rem)) clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: clip;
}
.hero ::selection { background: #fff; color: var(--royal-deep); }
.hero :focus-visible { outline-color: #fff; }

.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center; }
.hero .lede { margin-top: 1.5rem; max-width: 32rem; color: var(--on-royal-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__fact {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--on-royal-2);
}
.hero__fact strong { color: #fff; font-weight: 600; }

@media (min-width: 62rem) {
  .hero { min-height: 100svh; display: grid; align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
@media (max-width: 61.99rem) {
  .composer { width: 100%; max-width: 36rem; }
}
@media (max-width: 29.99rem) {
  .hero__actions .btn, .contact__actions .btn { flex: 1 1 100%; }
}

/* ---------- Anfrage-Karte (öffnet das Mail-Programm) ---------- */
.composer {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.5) inset,
    0 2px 6px rgb(8 18 70 / 0.18),
    0 30px 60px -24px rgb(8 18 70 / 0.55);
  overflow: hidden;
}
.composer ::selection { background: var(--royal); color: #fff; }
.composer :focus-visible { outline-color: var(--royal); }

.composer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  border-bottom: 1px solid var(--paper-line);
  background: #fbfbfc;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--paper-2);
  letter-spacing: -0.005em;
}

.composer__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  margin-inline: 1.125rem;
  border-bottom: 1px solid var(--paper-line);
  font-size: 0.9375rem;
}
.composer__label { flex: none; color: var(--paper-2); }
.composer__to { font-weight: 500; }
.composer__subject {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper-ink);
}
.composer__subject::placeholder { color: var(--paper-2); font-weight: 500; opacity: 1; }
.composer__row:focus-within { border-bottom-color: var(--royal); }

.composer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem 0.25rem;
  border: 0;
  margin: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper-fill);
  color: var(--paper-ink);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.chip:active { transform: scale(0.95); transition-duration: 80ms; }
.chip[aria-pressed="true"] { background: var(--royal); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .chip:not([aria-pressed="true"]):hover { background: #e6e8ee; }
}

/* Segmented Control */
.seg {
  --i: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.875rem 1.125rem 0;
  padding: 3px;
  border: 0;
  border-radius: 11px;
  background: var(--paper-fill);
}
.seg__thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 3px 8px rgb(0 0 0 / 0.08);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 340ms var(--ease-drawer);
}
.seg:has(input[value="fernwartung"]:checked) { --i: 1; }
.seg:has(input[value="egal"]:checked) { --i: 2; }
.seg label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--paper-2);
  cursor: pointer;
  transition: color 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { color: var(--paper-ink); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--royal); outline-offset: -2px; border-radius: 8px; }

.composer__msg {
  display: block;
  margin: 0.875rem 1.125rem 0;
}
.composer__msg textarea {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: #fff;
  color: var(--paper-ink);
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.composer__msg textarea::placeholder { color: var(--paper-2); opacity: 1; }
.composer__msg textarea:focus { border-color: var(--royal); box-shadow: 0 0 0 3px rgb(36 73 216 / 0.15); }

.composer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem 1.125rem;
}
.composer__note { font-size: 0.75rem; line-height: 1.35; color: var(--paper-2); max-width: 15rem; }
.composer__sent {
  display: none;
  margin: 0 1.125rem 1.125rem;
  padding: 0.75rem 0.875rem;
  border-radius: 12px;
  background: #eef1ff;
  color: var(--royal-deep);
  font-size: 0.875rem;
  line-height: 1.4;
}
.composer.is-sent .composer__sent { display: block; }
.composer__sent p + p { margin-top: 0.5rem; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--royal);
  font-weight: 600;
  cursor: pointer;
}
.text-btn .icon { width: 1rem; height: 1rem; }
.text-btn:active { transform: scale(0.97); }

@media (pointer: coarse) {
  .chip { min-height: 2.75rem; padding: 0 1rem; }
  .seg label { min-height: 2.75rem; }
}
@media (max-width: 29.99rem) {
  .composer__foot { flex-direction: column-reverse; align-items: stretch; }
  .composer__foot .btn { width: 100%; }
  .composer__note { max-width: none; text-align: center; }
}


/* ---------- Sektionen ---------- */
.section { padding-block: clamp(5rem, 3rem + 8vw, 10rem); }
.section-head { display: grid; gap: 1.25rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.section-head .lede { max-width: 34rem; }
@media (min-width: 62rem) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* Leistungen: Galerie zum Wischen */
.gallery { position: relative; }
.gallery__track {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0.75rem max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 1.5rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -4px; }

.card {
  flex: 0 0 min(80vw, 21.5rem);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-snap-align: start;
}
.card__icon { width: 2rem; height: 2rem; color: var(--royal-text); stroke-width: 1.6; }
.card h3 { margin-top: 1.5rem; font-size: 1.75rem; line-height: 1.08; letter-spacing: -0.035em; }
.card__claim { margin-top: 0.5rem; font-size: 1.0625rem; color: var(--text-2); }
.card ul { margin: 0; padding: 1.75rem 0 0; list-style: none; display: grid; gap: 0.625rem; }
.card li { display: flex; gap: 0.625rem; align-items: baseline; font-size: 0.9375rem; color: var(--text); }
.card li .icon { width: 1rem; height: 1rem; color: var(--royal-text); stroke-width: 2.4; transform: translateY(2px); }

.card--royal { background: var(--royal); box-shadow: none; }
.card--royal .card__icon, .card--royal li .icon { color: #fff; }
.card--royal .card__claim { color: var(--on-royal-2); }

.round-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), opacity 200ms var(--ease-out), transform 120ms var(--ease-out);
}
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .round-btn:not(:disabled):hover { background: #2a2e3a; }
}
@media (min-width: 62rem) {
  .gallery__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding: 0 var(--gutter);
    overflow: visible;
    scroll-snap-type: none;
  }
  .card { min-height: 22rem; }
  .card ul { margin-top: auto; }
}

/* Vor Ort / Fernwartung */
.where { display: grid; gap: 1rem; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.tile--royal { background: var(--royal); box-shadow: none; }
.tile h3 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1; letter-spacing: -0.045em; }
.tile p { margin-top: 1rem; max-width: 26rem; font-size: 1.125rem; line-height: 1.45; color: var(--text-2); }
.tile--royal p { color: var(--on-royal-2); }
.tile__art { margin-top: auto; padding-top: 2.5rem; }

/* Kennzeichen ERH, HÖS, ER (SVG, Buchstaben im Stil der FE-Schrift) */
.plates { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 0.875rem; }
.plate {
  height: clamp(3.25rem, 2.9rem + 1.1vw, 3.75rem);
  width: auto;
  filter: drop-shadow(0 12px 18px rgb(6 16 80 / 0.38)) drop-shadow(0 2px 3px rgb(6 16 80 / 0.25));
  transition: rotate 700ms var(--ease-out), translate 700ms var(--ease-out);
}
.plate:nth-child(1) { rotate: -4deg; }
.plate:nth-child(2) { rotate: 2.5deg; translate: 0 5px; }
.plate:nth-child(3) { rotate: -1.5deg; translate: 0 -2px; }
/* Schmale Kachel (Handy, Tablet quer): bewusst als Pyramide, ER mittig darunter */
.tile { container-type: inline-size; }
@container (max-width: 27rem) {
  .plates { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0.625rem 0.875rem; }
  .plate { height: min(3.75rem, calc((100cqi - 0.875rem) / 4.8)); }
  .plate:nth-child(3) { grid-column: 1 / -1; justify-self: center; }
}

.cursor-art { width: 7rem; height: auto; color: var(--royal-text); overflow: visible; }
.cursor-art .cursor-tip { fill: var(--surface); transition: translate 500ms var(--ease-out); }
.cursor-art .cursor-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }

@media (min-width: 56rem) {
  .where { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 24rem; }
}
.tile__towns { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--on-royal-2); }

/* Ablauf */
.steps { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.step__n {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--royal-text);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 1rem; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.step p { margin-top: 0.75rem; max-width: 22rem; color: var(--text-2); }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

/* Aussage, die sich beim Scrollen aufhellt */
.statement {
  max-width: 54rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.statement .w { color: var(--text); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement .w {
      color: rgb(245 245 247 / 0.22);
      animation: lit linear both;
      animation-timeline: view();
      animation-range: cover 22% cover 46%;
    }
  }
}
@keyframes lit { to { color: var(--text); } }
.byline { margin-top: 2rem; max-width: 34rem; color: var(--text-2); font-size: 1.0625rem; }
.byline strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { max-width: 52rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding-block: 1.125rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--text-2);
  transition: transform 300ms var(--ease-out), color 200ms var(--ease-out);
}
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--text); }
.faq details p { max-width: 42rem; padding-bottom: 1.5rem; color: var(--text-2); font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover .icon { color: var(--text); }
}
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      height: 0;
      overflow: clip;
      transition: height 380ms var(--ease-out), content-visibility 380ms allow-discrete;
    }
    .faq details[open]::details-content { height: auto; }
  }
}

/* Kontakt: Königsblau-Fläche */
.contact { background: var(--royal); color: #fff; }
.contact ::selection { background: #fff; color: var(--royal-deep); }
.contact :focus-visible { outline-color: #fff; }
.contact .lede { margin-top: 1.5rem; max-width: 34rem; color: var(--on-royal-2); }
.contact__mail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.contact__address {
  font-family: var(--font-display);
  min-width: 0;
  font-size: clamp(1.375rem, 0.7rem + 3.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 0.1em;
  position: relative;
  transition: background-size 300ms var(--ease-out);
}
.contact__address::after { content: ""; position: absolute; inset: -0.5rem 0; }
@media (hover: hover) and (pointer: fine) {
  .contact__address:hover { background-size: 0 3px; background-position: 100% 100%; }
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.copy-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 200ms var(--ease-out), transform 120ms var(--ease-out);
}
.copy-btn:active { transform: scale(0.92); }
.copy-btn .icon {
  grid-area: 1 / 1;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.copy-btn .i-check { opacity: 0; transform: scale(0.5); filter: blur(4px); stroke-width: 2.6; }
.copy-btn.is-copied .i-copy { opacity: 0; transform: scale(0.5); filter: blur(4px); }
.copy-btn.is-copied .i-check { opacity: 1; transform: none; filter: none; }
.copy-btn__tip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--royal-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px) scale(0.96);
  transform-origin: bottom center;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.copy-btn.is-copied .copy-btn__tip { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (hover: hover) and (pointer: fine) {
  .copy-btn:hover { background: rgb(255 255 255 / 0.22); }
}

/* ---------- Projekte: Websites, Buchungen, KI ---------- */
.showcase {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(55% 65% at 78% 55%, rgb(36 73 216 / 0.3), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.showcase h3 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.04em; }
.showcase__copy > p { margin-top: 1.25rem; max-width: 30rem; font-size: 1.125rem; line-height: 1.45; color: var(--text-2); }
.showcase__facts { display: grid; gap: 0.625rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.showcase__facts li { display: flex; gap: 0.625rem; align-items: baseline; font-size: 0.9375rem; }
.showcase__facts .icon { width: 1rem; height: 1rem; color: var(--royal-text); stroke-width: 2.4; transform: translateY(2px); }
.showcase__art { margin: 0; display: grid; justify-items: center; gap: 0.875rem; }
.showcase__art figcaption { font-size: 0.75rem; color: var(--text-3); }
@media (min-width: 56rem) {
  .showcase { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; }
}

/* Handy mit Buchungs-Demo (läuft ab, sobald sichtbar) */
.phone {
  width: min(100%, 17rem);
  padding: 0.5rem;
  border-radius: 2.75rem;
  background: #050608;
  box-shadow:
    inset 0 0 0 1.5px #2a2d36,
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 70px -30px rgb(0 0 0 / 0.85);
  user-select: none;
  transition: translate 700ms var(--ease-out);
}
.phone__screen {
  position: relative;
  padding: 2.75rem 0.875rem 1rem;
  border-radius: 2.25rem;
  background: #fff;
  color: #1d1d1f;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  overflow: hidden;
}
.phone__island { position: absolute; top: 0.625rem; left: 50%; width: 5rem; height: 1.375rem; border-radius: 999px; background: #050608; translate: -50% 0; }
.bk__brand { display: flex; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.bk__brand .icon { width: 0.875rem; height: 0.875rem; color: #a07a3f; stroke-width: 2; }
.bk__title { margin-top: 0.875rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.bk__label { margin: 0.875rem 0 0.375rem; font-size: 0.625rem; font-weight: 600; color: #6b6d75; letter-spacing: 0.02em; }
.bk__services { display: grid; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.bk__services li, .bk__days span, .bk__slots span {
  border-radius: 0.625rem;
  background: #f2f3f6;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.bk__services li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.625rem; font-weight: 600; }
.bk__services li span { font-weight: 500; color: #6b6d75; transition: color 300ms var(--ease-out); }
.bk__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.3rem; }
.bk__days span { display: grid; justify-items: center; padding: 0.375rem 0; font-size: 0.625rem; color: #6b6d75; }
.bk__days b { font-size: 0.875rem; color: #1d1d1f; transition: color 300ms var(--ease-out); }
.bk__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.3rem; }
.bk__slots span { padding: 0.45rem 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk__slots .is-taken { background: none; box-shadow: inset 0 0 0 1px #e4e5ea; color: #b4b6bd; text-decoration: line-through; font-weight: 500; }
.bk__btn {
  display: grid;
  height: 2.5rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}
.bk__btn > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: opacity 300ms var(--ease-out), translate 400ms var(--ease-out), filter 300ms var(--ease-out);
}
.bk__btn-b { opacity: 0; translate: 0 6px; filter: blur(3px); }
.bk__btn-b .icon { width: 0.9rem; height: 0.9rem; color: #e2c48f; stroke-width: 2.6; }

.phone.s1 [data-bk="service"],
.phone.s2 [data-bk="day"],
.phone.s3 [data-bk="slot"] { background: #1d1d1f; color: #fff; animation: tap 420ms var(--ease-out); }
.phone.s1 [data-bk="service"] span,
.phone.s2 [data-bk="day"] b { color: #fff; }
.phone.s2 [data-bk="day"] { color: rgb(255 255 255 / 0.75); }
.phone.s4 .bk__btn { animation: tap 420ms var(--ease-out); }
.phone.s4 .bk__btn-a { opacity: 0; translate: 0 -6px; filter: blur(3px); }
.phone.s4 .bk__btn-b { opacity: 1; translate: 0 0; filter: none; }
@keyframes tap { 40% { scale: 0.95; } }

/* Angebote: drei Karten */
.offers { display: grid; gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
@media (min-width: 48rem) and (max-width: 61.99rem) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers .card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 62rem) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Hover: Karten und Kacheln heben sich leicht ---------- */
.card, .tile { isolation: isolate; }
.card { position: relative; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% 0%, rgb(255 255 255 / 0.07), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease-out);
}
.card, .tile {
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), background-color 500ms var(--ease-out);
}
.card__icon { transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 50px -28px rgb(0 0 0 / 0.9); }
  .card:hover::before { opacity: 1; }
  .card:hover .card__icon { transform: translateY(-2px) scale(1.06); }
  .card--royal:hover { background: var(--royal-hi); box-shadow: 0 28px 50px -24px rgb(16 40 170 / 0.75); }

  .tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgb(0 0 0 / 0.9); }
  .tile--royal:hover { box-shadow: 0 30px 60px -26px rgb(16 40 170 / 0.75); }
  .tile--royal:hover .plate { rotate: 0deg; translate: 0 -3px; }
  .tile--royal:hover .plate:nth-child(2) { transition-delay: 50ms; }
  .tile--royal:hover .plate:nth-child(3) { transition-delay: 100ms; }
  .tile:hover .cursor-tip { translate: -5px -5px; }
  .tile:hover .cursor-ring { animation: ripple 700ms 280ms var(--ease-out) both; }

  .showcase:hover .phone { translate: 0 -6px; }
}
@keyframes ripple { from { opacity: 0.9; scale: 0.3; } to { opacity: 0; scale: 1.8; } }

/* ---------- Aufbau-Animationen (Apple-artig) ----------
   Hero beim Laden: Überschrift zuerst, dann Text, Buttons, Karte.
   Weiter unten steigen Inhalte beim Scrollen auf (site.js setzt .rv und .is-in).
   Bei „Bewegung reduzieren“ nur sanftes Einblenden. */
@keyframes rise {
  from { opacity: 0; translate: 0 var(--y, 2rem); scale: var(--s, 1); filter: blur(var(--b, 0px)); }
}
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .nav__inner { animation: fade 900ms var(--ease-out) backwards; }
  .hero .hl, .hero .lede, .hero__actions, .hero__fact, .hero .composer {
    animation: rise 1000ms var(--ease-out) backwards;
  }
  .hero .hl { --y: 0.3em; --b: 12px; animation-duration: 1100ms; }
  .hero .hl + .hl { animation-delay: 110ms; }
  .hero .lede { --y: 1.25rem; animation-delay: 260ms; }
  .hero__actions { --y: 1rem; animation-delay: 360ms; }
  .hero__fact { animation-name: fade; animation-delay: 480ms; }
  .hero .composer { --y: 3.5rem; --s: 0.96; animation-duration: 1300ms; animation-delay: 220ms; }

  .rv [data-reveal]:not(.is-in),
  .rv [data-reveal-group]:not(.is-in) > * { opacity: 0; }
  .rv [data-reveal].is-in,
  .rv [data-reveal-group].is-in > * {
    animation: rise 1000ms var(--ease-out) backwards;
    animation-delay: var(--d, 0ms);
  }
  .rv .where > *, .rv .showcase { --y: 3rem; --s: 0.97; }
}
@media (prefers-reduced-motion: reduce) {
  .rv [data-reveal]:not(.is-in),
  .rv [data-reveal-group]:not(.is-in) > * { opacity: 0; }
  .rv [data-reveal].is-in,
  .rv [data-reveal-group].is-in > * { animation: fade 400ms ease backwards; }
}
@media print {
  .rv [data-reveal], .rv [data-reveal-group] > * { opacity: 1 !important; animation: none !important; }
}

/* ---------- Footer ---------- */
.foot {
  padding-block: 2.5rem 3rem;
  font-size: 0.875rem;
  color: var(--text-3);
}
.foot__inner { display: grid; gap: 1rem; }
.foot__brand { color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-2); text-decoration: none; transition: color 160ms var(--ease-out); }
.foot nav a[aria-current="page"] { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .foot nav a:hover { color: var(--text); }
}
@media (min-width: 56rem) {
  .foot__inner { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2.5rem; }
}

/* ---------- Rechtstexte & 404 ---------- */
.page { padding-block: calc(var(--nav-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)) clamp(4.5rem, 3rem + 5vw, 8rem); }
.page h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; hyphens: manual; }
.page__meta { margin-top: 1rem; color: var(--text-2); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  margin-bottom: 1.5rem;
  color: var(--royal-text);
  text-decoration: none;
  font-size: 0.9375rem;
}
.back .icon { width: 1rem; height: 1rem; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .back:hover .icon { transform: translateX(-2px); }
}

.facts { max-width: 46rem; margin-top: 2.5rem; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; gap: 0.25rem 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line-2); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--text-2); }
.facts a { color: var(--royal-text); }
@media (min-width: 40rem) {
  .facts > div { grid-template-columns: 12rem minmax(0, 1fr); }
}

.prose { max-width: 46rem; margin-top: 3rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose h2 { margin-top: 3.5rem; font-size: 1.75rem; line-height: 1.12; letter-spacing: -0.035em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.25rem; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; }
.prose h4 { margin-top: 1.5rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.prose p, .prose ul { margin-top: 0.75rem; color: var(--text-2); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--royal-text); overflow-wrap: anywhere; }

.notfound { min-height: 100svh; display: grid; align-content: center; }
.notfound .lede { margin-top: 1.25rem; max-width: 30rem; }
.notfound .hero__actions { margin-top: 2rem; }

@media print {
  .nav, .skip-link, .foot, .back { display: none !important; }
  body, html { background: #fff; color: #000; }
  .prose p, .prose ul, .facts dd { color: #222; }
}
