/* ==========================================================================
   NurApp — Website-Stylesheet
   Reihenfolge: Tokens · Reset · Typografie · Layout · Header · Buttons ·
   Hero · Kapitel (Produkt) · Karten · Preise · FAQ · Formular · Footer ·
   Bewegung · Utilities · Druck

   Grundsätze: eine Schrift (Inter, selbst gehostet), viel Weißraum, kein
   Leuchten, keine Verläufe auf Knöpfen. Islamischer Bezug nur leise: ein
   Girih-Muster als Textur, Bogenformen, die Kuppel aus dem Logo.
   ========================================================================== */

/* ------------------------------------------------------------ 0 Tokens */
:root {
  /* Farben — aus dem Logo abgeleitet (Petrol/Türkis) plus warmes Papier */
  --ink:        #0B2230;   /* tiefstes Petrol, fast schwarz */
  --teal-900:   #0E3446;
  --teal-800:   #124A5E;
  --teal-700:   #16617A;
  --teal-600:   #147C97;
  --brand:      #0A8FA8;   /* Leitfarbe */
  --teal-400:   #4FB4C6;
  --teal-200:   #BFE3EA;
  --teal-100:   #E4F2F5;
  --teal-50:    #F1F8FA;

  --gold:       #B08D4B;   /* sparsamer Akzent */
  --gold-100:   #F3EBD9;

  --paper:      #FBFAF7;   /* Seitenhintergrund, warmes Weiß */
  --paper-2:    #F4F1EA;   /* abgesetzte Flächen */
  --white:      #FFFFFF;
  --line:       rgb(11 34 48 / 0.10);
  --line-2:     rgb(11 34 48 / 0.18);

  --text:       #14262F;
  --text-2:     #4A5B63;
  --text-3:     #7A8A91;
  --on-dark:    #EEF4F5;
  --on-dark-2:  #A9C0C7;

  /* Schrift */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --step-2:  clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
  --step-4:  clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --step-5:  clamp(2.75rem, 1.7rem + 4.6vw, 5.25rem);

  /* Abstände */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 2.75rem; --sp-8: 3.5rem; --sp-9: 5rem; --sp-10: 7rem; --sp-11: 9.5rem;

  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --header-h: 4rem;

  --r-1: 6px; --r-2: 10px; --r-3: 16px; --r-4: 24px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgb(11 34 48 / 0.06), 0 1px 1px rgb(11 34 48 / 0.04);
  --sh-2: 0 10px 30px -12px rgb(11 34 48 / 0.18), 0 2px 6px rgb(11 34 48 / 0.05);
  --sh-3: 0 30px 70px -20px rgb(11 34 48 / 0.28), 0 8px 20px -8px rgb(11 34 48 / 0.10);

  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms; --t-med: 320ms;

  --motif: url("../img/motif-girih.svg");
}

/* ------------------------------------------------------------ 1 Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
ul { padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* Zweisprachigkeit: sichtbar ist nur die aktive Sprache (html[lang]) */
html[lang="de"] [data-l]:not([data-l="de"]),
html[lang="bs"] [data-l]:not([data-l="bs"]) { display: none !important; }

/* ------------------------------------------------------- 2 Typografie */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.h1 { font-size: var(--step-5); letter-spacing: -0.03em; }
.h2 { font-size: var(--step-4); letter-spacing: -0.028em; }
.h3 { font-size: var(--step-3); }
.h4 { font-size: var(--step-2); letter-spacing: -0.015em; }
.h5 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.small { font-size: var(--step--1); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: 0;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; opacity: 0.7; }
.center .eyebrow::before { display: none; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.8em; font-size: var(--step-1); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brand); }
.prose strong { font-weight: 600; color: var(--ink); }
.link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 500; color: var(--teal-700); text-decoration: none;
}
.link::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.link:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------- 3 Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 8.5rem); }
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
.sec-paper { background: var(--paper-2); }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-dark .lead, .sec-dark .muted { color: var(--on-dark-2); }
.sec-dark .eyebrow { color: var(--teal-400); }
.sec-teal { background: var(--teal-50); }
.sec-head { max-width: 40rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 64rem) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 58rem) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }

/* Girih als leise Textur */
.patterned { position: relative; isolation: isolate; }
.patterned::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--motif) center / 160px 160px repeat;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.sec-dark.patterned::before { opacity: 0.35; }

/* Bogen-Oberkante: ein flacher Spitzbogen als Abschluss der vorherigen Fläche */
.arch-top { position: relative; }
.arch-top::before {
  content: "";
  position: absolute; left: 50%; top: -1px;
  width: min(60vw, 26rem); height: 2.2rem;
  transform: translateX(-50%);
  background: inherit;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  opacity: 0;
}

/* ----------------------------------------------------------- 4 Header */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 2rem; height: 2rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); margin-left: auto; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 2px; }
.lang button {
  padding: 0.25rem 0.6rem; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-3);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: var(--r-2); }
.nav-toggle span { display: block; width: 1.25rem; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform var(--t-med) var(--ease), top var(--t-med) var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 58rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-3) var(--gutter) var(--sp-6);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s var(--t-med);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .lang { margin-top: var(--sp-4); align-self: flex-start; }
  .nav .btn { margin-top: var(--sp-4); }
}

/* ----------------------------------------------------------- 5 Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.72em 1.25em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--teal-800); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--teal-100); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgb(238 244 245 / 0.35); }
.btn-ghost-light:hover { border-color: var(--on-dark); }
.btn-lg { padding: 0.9em 1.6em; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.btn svg { width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------- 6 Hero */
.hero { position: relative; padding-top: clamp(3.5rem, 2rem + 6vw, 8rem); overflow: clip; }
.hero-copy { max-width: 52rem; margin-inline: auto; text-align: center; }
.hero-copy .lead { max-width: 38rem; margin-inline: auto; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; font-size: 0.86rem; color: var(--text-3); }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.45em; }
.hero-proof svg { width: 1em; height: 1em; color: var(--brand); }

/* Produktbild im Browserrahmen — schlicht, kein 3D */
.device {
  position: relative;
  border-radius: var(--r-4);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.device-bar {
  display: flex; align-items: center; gap: 0.4rem;
  height: 2.25rem; padding-inline: 0.9rem;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.device-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.device-bar span {
  margin-left: 0.6rem; flex: 1; max-width: 22rem; height: 1.25rem;
  border-radius: var(--r-1); background: var(--white); border: 1px solid var(--line);
  font-size: 0.68rem; color: var(--text-3); display: flex; align-items: center; padding-inline: 0.5rem;
}
.device img { width: 100%; height: auto; }
.device-phone {
  width: min(18rem, 70vw);
  border-radius: 2.2rem;
  padding: 0.55rem;
  background: var(--ink);
  box-shadow: var(--sh-3);
}
.device-phone img { border-radius: 1.7rem; }
.hero-stage { position: relative; margin-top: clamp(2.5rem, 2rem + 4vw, 5rem); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 3vw, 2.5rem); }
.phones .device-phone { width: min(15rem, 42vw); }
.phones .device-phone:nth-child(2) { transform: translateY(-2rem); }
.phones-3 .device-phone { width: min(14rem, 28vw); }
.phones-3 .device-phone:nth-child(2) { transform: translateY(-1.5rem); }
@media (max-width: 40rem) { .phones-3 .device-phone:nth-child(3) { display: none; } .phones-3 .device-phone { width: 42vw; } }
.hero-stage::after {
  /* weicher Bodenverlauf, damit der Rahmen "steht" */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -8%; height: 30%;
  background: radial-gradient(60% 60% at 50% 50%, rgb(10 143 168 / 0.16), transparent 70%);
  z-index: -1; filter: blur(12px);
}

/* Logos/Verweise (dezente Leiste) */
.proof-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4) var(--sp-8); color: var(--text-3); font-size: 0.9rem; }
.proof-bar strong { color: var(--text-2); font-weight: 600; }

/* ------------------------------------------ 7 Kapitel: Produkt erklären */
.chapter { padding-block: clamp(4rem, 3rem + 6vw, 9rem); }
.chapter .split { align-items: center; }
.chapter-list { list-style: none; margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.chapter-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.75rem; align-items: start; }
.chapter-list svg { width: 1.4rem; height: 1.4rem; color: var(--brand); margin-top: 0.1em; }
.chapter-list strong { display: block; font-weight: 600; color: var(--ink); }
.chapter-list span { color: var(--text-2); font-size: var(--step--1); }
.chapter-media { position: relative; }
.chapter-media .device { transform: none; }
/* Bild mit Bogenkante (Kuppel-Anklang) */
.arch-frame { border-radius: 999px 999px var(--r-3) var(--r-3); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); background: var(--white); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Feature-Raster */
.feature { padding: var(--sp-6); border-radius: var(--r-3); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.feature:hover { border-color: var(--line-2); }
.feature .icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: var(--r-2); background: var(--teal-100); color: var(--teal-700); }
.feature .icon svg { width: 1.3rem; height: 1.3rem; }
.feature h3 { margin-top: var(--sp-4); font-size: var(--step-1); }
.feature p { margin-top: var(--sp-2); color: var(--text-2); font-size: var(--step--1); }
.sec-dark .feature { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.10); }
.sec-dark .feature .icon { background: rgb(79 180 198 / 0.14); color: var(--teal-400); }
.sec-dark .feature p { color: var(--on-dark-2); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { padding-top: var(--sp-4); border-top: 1px solid var(--line-2); }
.stat b { display: block; font-size: var(--step-4); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: var(--sp-2); font-size: var(--step--1); color: var(--text-2); }
.sec-dark .stat { border-top-color: rgb(255 255 255 / 0.18); }
.sec-dark .stat b { color: var(--white); }
.sec-dark .stat span { color: var(--on-dark-2); }
@media (max-width: 40rem) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Zitat (Hadith) */
.quote { text-align: center; max-width: 40rem; margin-inline: auto; }
.quote p { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.quote cite { display: block; margin-top: var(--sp-4); font-style: normal; font-size: var(--step--1); color: var(--text-3); }
.sec-dark .quote p { color: var(--white); } .sec-dark .quote cite { color: var(--on-dark-2); }

/* Galerie-Schiene: Scroll-Snap, läuft bis an den Bildschirmrand */
.between { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 46rem);
  gap: var(--sp-5);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-block: var(--sp-3) var(--sp-6);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail figure { margin: 0; }
.rail figcaption { margin-top: var(--sp-3); font-size: var(--step--1); color: var(--text-2); }
.rail figcaption strong { color: var(--ink); font-weight: 600; }
.rail-nav { display: flex; gap: var(--sp-3); }
.rail-btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.rail-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rail-btn svg { width: 1.1rem; height: 1.1rem; }
/* Zwei Bildschirme übereinander: Hauptbild links, Detail vorne rechts */
.stack { position: relative; padding: 0 10% 16% 0; }
.stack .device:first-child { position: relative; z-index: 1; }
.stack .device:last-child { position: absolute; right: 0; bottom: 0; width: 58%; z-index: 2; box-shadow: var(--sh-3); }
.stack .device-bar span { max-width: 14rem; }

/* ------------------------------------------------------------- 8 Karten */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.sec-dark .card { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.10); }
.check-list { list-style: none; display: grid; gap: 0.7rem; }
.check-list li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.65rem; align-items: start; color: var(--text-2); }
.check-list svg { width: 1.2rem; height: 1.2rem; color: var(--brand); margin-top: 0.15em; }
.sec-dark .check-list li { color: var(--on-dark-2); } .sec-dark .check-list svg { color: var(--teal-400); }

/* Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
.step { counter-increment: step; padding-top: var(--sp-5); border-top: 1px solid var(--line-2); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--brand); }
.step h3 { margin-top: var(--sp-3); font-size: var(--step-1); }
.step p { margin-top: var(--sp-2); color: var(--text-2); font-size: var(--step--1); }
@media (max-width: 48rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ 9 Preise */
.price-card { max-width: 30rem; margin-inline: auto; text-align: left; }
.price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: var(--sp-4); }
.price b { font-size: var(--step-5); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.price span { color: var(--text-2); }
.price-note { margin-top: var(--sp-2); font-size: var(--step--1); color: var(--text-3); }

/* --------------------------------------------------------------- 10 FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.15rem 0; font-weight: 500; font-size: var(--step-0); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 0.9rem; height: 0.9rem;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
  transition: transform var(--t-med) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.25rem; color: var(--text-2); max-width: 60ch; }
.faq .answer p + p { margin-top: 0.6em; }

/* ---------------------------------------------------------- 11 Formular */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 40rem) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  font: inherit; color: var(--text);
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-2);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(10 143 168 / 0.15); }
.field textarea { min-height: 8rem; resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.86rem; color: var(--text-2); }
.consent input { margin-top: 0.2em; accent-color: var(--brand); }
.form-note { padding: 0.9rem 1rem; border-radius: var(--r-2); background: var(--teal-50); border: 1px solid var(--teal-200); font-size: var(--step--1); }
.form-err { background: #FBEDE9; border-color: #EBC2B8; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
[data-form-ok]:target, [data-form-err]:target { display: block !important; }
button[type="submit"]:disabled { opacity: 0.6; cursor: progress; transform: none; }
.contact-list { list-style: none; display: grid; gap: var(--sp-4); }
.contact-list li { display: grid; gap: 0.15rem; }
.contact-list dt, .contact-list .k { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brand); }

/* ------------------------------------------------------------- 12 Footer */
.footer { padding-block: var(--sp-9) var(--sp-6); background: var(--ink); color: var(--on-dark-2); font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-7); }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: var(--sp-4); font-weight: 600; }
.footer nav { display: grid; gap: 0.6rem; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .brand { color: var(--white); }
.footer-bottom { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: 0.82rem; }
@media (max-width: 58rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 13 Bewegung
   Alles nur mit JavaScript (html.js) und ohne prefers-reduced-motion.
   Ohne beides bleibt alles sofort sichtbar. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.1s; } .js .reveal-d2 { transition-delay: 0.2s; } .js .reveal-d3 { transition-delay: 0.3s; }

/* Scroll-gebundene Bewegung: Produktbild wächst beim Hereinrollen leicht,
   Kapitelbilder heben sich an. Fällt ohne Unterstützung auf .reveal zurück. */
@supports (animation-timeline: view()) {
  .js .fx-scale { animation: fx-scale linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .js .fx-rise  { animation: fx-rise  linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .js .fx-fade  { animation: fx-fade  linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  /* Produktbild im Hero: kommt beim Laden heran, tritt beim Weiterscrollen zurück */
  .js .hero-stage {
    animation: fx-scale linear both, fx-exit linear both;
    animation-timeline: view(), view();
    animation-range: entry 0% entry 60%, exit 0% exit 95%;
  }
  /* Leichte Parallaxe: Bild wandert langsamer als die Seite */
  .js .fx-parallax { animation: fx-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}
@keyframes fx-exit { to { transform: scale(0.94) translateY(-24px); opacity: 0.3; } }
@keyframes fx-parallax { from { transform: translateY(5%); } to { transform: translateY(-5%); } }
@keyframes fx-scale { from { transform: scale(0.94) translateY(24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes fx-rise  { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fx-fade  { from { opacity: 0; } to { opacity: 1; } }

/* Hero-Überschrift: Wörter steigen nacheinander auf (site.js teilt sie) */
.js .words .w { display: inline-block; opacity: 0; transform: translateY(0.6em); animation: word-in 0.9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms + 120ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* Sticky-Kapitel: Bild bleibt stehen, Texte laufen vorbei (Desktop) */
@media (min-width: 58rem) {
  .pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .pin-copy { display: grid; }
  .pin-copy > * { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; }
  .pin-media { position: sticky; top: calc(var(--header-h) + 3rem); display: grid; }
  .pin-media .device {
    grid-area: 1 / 1;
    opacity: 0; transform: translateY(18px) scale(0.985);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    pointer-events: none;
  }
  .pin-media .device.is-active { opacity: 1; transform: none; }
  .pin-copy .device { display: none; }   /* auf Desktop zeigt die Sticky-Spalte das Bild */
}
@media (max-width: 57.99rem) {
  .pin-copy > * + * { margin-top: var(--sp-8); }
  .pin-media { display: none; }
  .pin-copy .device { margin-top: var(--sp-5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .fx-scale, .js .fx-rise, .js .fx-fade, .js .fx-parallax, .js .hero-stage { animation: none; }
  .pin-media .device { transition: none; }
  .js .words .w { opacity: 1; transform: none; animation: none; }
  .btn, .link::after { transition: none; }
}

/* ------------------------------------------------------------ 14 Utilities */
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); } .mt-9 { margin-top: var(--sp-9); }
.center { text-align: center; }
.visually-hidden { 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 { position: absolute; left: var(--gutter); top: -3rem; z-index: 200; padding: 0.5rem 0.9rem; background: var(--ink); color: var(--white); border-radius: var(--r-2); text-decoration: none; }
.skip:focus { top: 0.6rem; }
.no-scroll { overflow: hidden; }

/* Rechtstexte */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.legal .prose { color: var(--text-2); }
.legal .prose h1 { color: var(--ink); font-size: var(--step-4); }
.legal .prose h2 { color: var(--ink); }
.legal .prose h3 { color: var(--ink); }

/* ---------------------------------------------------------------- 15 Druck */
@media print {
  .header, .footer, .btn, .nav-toggle, .lang { display: none !important; }
  body { background: #fff; color: #000; }
  .sec-dark { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
