/* ==========================================================================
   GRUTANI · Designsystem
   Farben aus dem Logo: Navy #010F32, Blau #0291F9, Himmel #4DCCFF,
   Eis #A6FBFE, Mint #3EE1A8, Petrol #02AEA0, Sonne #FFE15D, Violett #5974FF
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, keine Google-Verbindung) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #000818;
  --navy-900: #010f32;
  --navy-850: #041640;
  --navy-800: #0a1d4d;
  --navy-700: #142a62;
  --ink: #0a1630;
  --ink-2: #33415e;
  --ink-3: #5f6e8c;
  --paper: #f3f7fb;
  --paper-2: #e8f0f8;
  --white: #ffffff;
  --line: rgba(10, 22, 48, 0.1);
  --line-strong: rgba(10, 22, 48, 0.18);
  --line-dark: rgba(255, 255, 255, 0.12);

  --blue: #0291f9;
  --blue-ink: #0569bd; /* Blau für Text auf hellem Grund (Kontrast AA) */
  --sky: #4dccff;
  --ice: #a6fbfe;
  --mint: #3ee1a8;
  --teal: #02aea0;
  --sun: #ffe15d;
  --violet: #5974ff;
  --danger: #ff5c7a;

  --grad: linear-gradient(115deg, #0291f9 0%, #4dccff 45%, #3ee1a8 100%);
  --grad-text: linear-gradient(100deg, #4dccff 0%, #a6fbfe 35%, #3ee1a8 70%, #4dccff 100%);
  --grad-ink: linear-gradient(100deg, #0280e0 0%, #01998c 100%);
  --grad-violet: linear-gradient(135deg, #6b84ff, #4f67f7);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-logo: "Bebas Neue", Impact, "Arial Narrow", sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.6vw, 4rem);
  --step-5: clamp(2.7rem, 1.9rem + 4.2vw, 5.6rem);

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-sm: 0 1px 2px rgba(1, 15, 50, 0.06), 0 2px 8px rgba(1, 15, 50, 0.05);
  --shadow: 0 2px 6px rgba(1, 15, 50, 0.05), 0 16px 40px -12px rgba(1, 15, 50, 0.18);
  --shadow-lg: 0 8px 20px rgba(1, 15, 50, 0.08), 0 40px 80px -24px rgba(1, 15, 50, 0.35);
  --glow: 0 0 0 1px rgba(77, 204, 255, 0.25), 0 18px 50px -12px rgba(2, 145, 249, 0.55);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video,
canvas,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
figure {
  margin: 0;
}
::selection {
  background: var(--sky);
  color: var(--navy-900);
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2 * var(--gutter), 880px);
  margin-inline: auto;
}
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}
.section--white {
  background: var(--white);
}
.section--paper {
  background: var(--paper);
}
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(2, 145, 249, 0.22), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(62, 225, 168, 0.14), transparent 70%);
}
.grid-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ink);
  background: rgba(2, 145, 249, 0.08);
  border: 1px solid rgba(2, 145, 249, 0.16);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(2, 145, 249, 0.12);
}
.eyebrow--plain::before {
  display: none;
}
.section--dark .eyebrow,
.eyebrow--dark {
  color: var(--ice);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.section-head {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 24px 64px;
}
.title {
  font-size: var(--step-4);
}
.title--xl {
  font-size: var(--step-5);
}
.title em,
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.grad-text {
  background: var(--grad-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--dark .grad-text,
.hero .grad-text,
.grad-text--light {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
/* SplitText legt Wörter in eigene Elemente: Verlauf an die Kinder weitergeben */
.grad-text > div,
.grad-text > div > div {
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: inherit;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.section--dark .lede {
  color: rgba(255, 255, 255, 0.72);
}
.muted {
  color: var(--ink-3);
}
.small {
  font-size: var(--step--1);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
  will-change: transform;
}
.btn--sm {
  --btn-h: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.btn--lg {
  --btn-h: 60px;
  padding: 0 32px;
  font-size: 1.04rem;
}
.btn--block {
  width: 100%;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.45s var(--ease);
}
.btn__arrow svg {
  width: 14px;
  height: 14px;
}
.btn:hover .btn__arrow {
  transform: translateX(4px) rotate(-45deg);
}
.btn--primary {
  color: var(--navy-900);
  background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(2, 145, 249, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary .btn__arrow {
  background: rgba(1, 15, 50, 0.12);
}
.btn--primary:hover {
  box-shadow: 0 16px 40px -10px rgba(2, 145, 249, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* Glanzstreifen, der über den Button wischt */
.btn--primary::after,
.shine::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--primary:hover::after,
.shine:hover::after {
  transform: translateX(120%);
}
.btn--dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(1, 15, 50, 0.6);
}
.btn--dark:hover {
  background: var(--navy-800);
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}
.btn--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--wa {
  color: #fff;
  background: #0f7f43;
  box-shadow: 0 10px 30px -12px rgba(31, 174, 91, 0.8);
}
.btn--wa:hover {
  background: #0b6b38;
}
.btn:active {
  transform: scale(0.97);
}
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-ink);
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link:hover::after {
  transform: scaleX(1);
}
.link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.link:hover svg {
  transform: translateX(4px);
}
.section--dark .link {
  color: var(--sky);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition:
    transform 0.55s var(--ease),
    background-color 0.4s,
    box-shadow 0.4s,
    height 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(1, 15, 50, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.4s;
}
.header.is-scrolled {
  --header-h: 66px;
}
.header.is-scrolled::before {
  opacity: 1;
}
.header.is-hidden {
  transform: translateY(-110%);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__icon {
  width: auto;
  height: 40px;
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand__icon {
  transform: rotate(-8deg) translateY(-2px);
}
.brand__word {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
  padding-top: 4px;
  background: linear-gradient(180deg, #4dccff, #00b7fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav__link {
  position: relative;
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s, background-color 0.3s;
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}
.nav__link[aria-current="page"] {
  color: var(--navy-900);
  background: var(--white);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.3s, background-color 0.3s;
}
.header__phone:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.header__phone svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
}
.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 22px;
  right: 19px;
}
.burger span:nth-child(3) {
  top: 27px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Mobiles Menü ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  color: var(--white);
  background: var(--navy-900);
  clip-path: circle(0% at calc(100% - 44px) 38px);
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease),
    visibility 0s linear 0.8s;
  overflow-y: auto;
}
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(2, 145, 249, 0.35), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(62, 225, 168, 0.22), transparent 70%);
}
.menu,
.lightbox {
  overscroll-behavior: contain;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 38px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease);
}
.menu__list {
  display: grid;
  gap: 4px;
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 10vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    color 0.3s;
}
.menu__link small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sky);
}
.menu__link[aria-current="page"] {
  color: var(--sky);
}
.menu.is-open .menu__link {
  opacity: 1;
  transform: none;
}
.menu.is-open .menu__list li:nth-child(1) .menu__link {
  transition-delay: 0.15s;
}
.menu.is-open .menu__list li:nth-child(2) .menu__link {
  transition-delay: 0.21s;
}
.menu.is-open .menu__list li:nth-child(3) .menu__link {
  transition-delay: 0.27s;
}
.menu.is-open .menu__list li:nth-child(4) .menu__link {
  transition-delay: 0.33s;
}
.menu__foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
  opacity: 0;
  transition: opacity 0.6s 0.4s;
}
.menu.is-open .menu__foot {
  opacity: 1;
}
.menu__foot .btn {
  width: 100%;
}

/* ---------- Hero (Unterseiten + Start) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy-900);
  padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(110px, 14vw, 190px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 60% at 80% 10%, rgba(2, 145, 249, 0.38), transparent 70%),
    radial-gradient(45% 55% at 10% 90%, rgba(62, 225, 168, 0.2), transparent 70%),
    radial-gradient(30% 30% at 55% 55%, rgba(89, 116, 255, 0.18), transparent 70%),
    var(--navy-900);
}
.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero h1 {
  color: var(--white);
}
.hero__title {
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  padding-right: 0.04em;
}
.hero__lede {
  margin-top: 26px;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 56ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero--page {
  padding-bottom: clamp(120px, 13vw, 180px);
}
.hero--page .hero__inner {
  display: grid;
  gap: 22px;
  max-width: 860px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

/* Tropfen-Kante (Motiv aus dem Logo) */
.drips {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(54px, 7vw, 110px);
  pointer-events: none;
  color: var(--paper);
  transform: scaleY(-1);
}
.drips svg {
  width: 100%;
  height: 100%;
}
.drips--white {
  color: var(--white);
}
.drips--navy {
  color: var(--navy-900);
}
.drips--paper {
  color: var(--paper);
}
.drips--navy950 {
  color: var(--navy-950);
}
.drips--top {
  top: -1px;
  bottom: auto;
  transform: none;
}
.drips--flip {
  transform: scale(-1, -1);
}
.drips--top.drips--flip {
  transform: scaleX(-1);
}

/* ---------- Live-Status ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.status__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s var(--ease) infinite;
}
.status--off .status__dot {
  background: var(--sun);
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------- Karten ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card--pad {
  padding: clamp(24px, 3vw, 36px);
}
.card--glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* Spotlight folgt der Maus (JS setzt --mx/--my) */
.spotlight {
  --mx: 50%;
  --my: 50%;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(77, 204, 255, 0.14), transparent 45%);
  transition: opacity 0.4s;
}
.spotlight:hover::before {
  opacity: 1;
}
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(140deg, rgba(2, 145, 249, 0.12), rgba(62, 225, 168, 0.12));
  border: 1px solid rgba(2, 145, 249, 0.14);
  flex: none;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
}
.section--dark .icon-badge {
  color: var(--ice);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.check-list {
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010F32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 13px no-repeat,
    var(--grad);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: var(--navy-900);
  color: var(--white);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 12%;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy-900), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-900), transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.marquee__item:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.55);
}
.marquee__item svg {
  width: 26px;
  height: 26px;
  color: var(--mint);
  flex: none;
}

/* ---------- Statistiken ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  display: grid;
  gap: 6px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat__num .grad-text {
  display: inline-block;
}
.stat__label {
  font-weight: 600;
  color: var(--ink-3);
}

/* ---------- Vorher/Nachher-Slider ---------- */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition: transform 0.3s var(--ease);
}
.ba__knob svg {
  width: 30px;
  height: 30px;
}
.ba.is-dragging .ba__knob {
  transform: scale(0.9);
}
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba__range:focus-visible + .ba__knob {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}
.ba__tag {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-logo);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-top: 9px;
  pointer-events: none;
}
.ba__tag--before {
  left: 18px;
  color: var(--white);
  background: rgba(1, 15, 50, 0.78);
  backdrop-filter: blur(8px);
}
.ba__tag--after {
  right: 18px;
  color: var(--navy-900);
  background: rgba(166, 251, 254, 0.92);
}

/* ---------- Wisch-Fläche (Hero) ---------- */
.wipe {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  background: var(--navy-800);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 50px 100px -30px rgba(0, 0, 0, 0.75),
    0 0 120px -40px rgba(2, 145, 249, 0.6);
  touch-action: none;
  cursor: none;
}
.wipe__clean,
.wipe__dirt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wipe__clean {
  object-fit: cover;
}
.wipe__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 10px rgba(1, 15, 50, 0.55), inset 0 0 0 11px rgba(255, 255, 255, 0.14);
}
.wipe__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.08) 100%);
}
.wipe__squeegee {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.wipe.is-active .wipe__squeegee {
  opacity: 1;
}
.wipe__hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.wipe__hud > * {
  pointer-events: auto;
}
.wipe__meter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(1, 15, 50, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.wipe__ring {
  --p: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--navy-900) 70%, transparent 72% 100%),
    conic-gradient(var(--mint) calc(var(--p) * 1%), rgba(255, 255, 255, 0.15) 0);
}
.wipe__reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(1, 15, 50, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s;
}
.wipe__reset:hover {
  background: rgba(1, 15, 50, 0.92);
}
.wipe__reset svg {
  width: 16px;
  height: 16px;
}
.wipe__hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s var(--ease);
  white-space: nowrap;
}
.wipe__hint svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  animation: wiggle 1.8s var(--ease-in-out) infinite;
}
.wipe.is-touched .wipe__hint {
  opacity: 0;
  transform: translate(-50%, -30%) scale(0.92);
}
.wipe__done {
  position: absolute;
  inset: auto 18px 76px;
  z-index: 5;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
  pointer-events: none;
}
.wipe__done strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.wipe__done span {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.wipe.is-clean .wipe__done {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.no-js .wipe__hint,
.no-js .wipe__hud,
.no-js .wipe__squeegee {
  display: none;
}
/* Glanzstreifen, der regelmässig über das Glas zieht */
.wipe__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  animation: glass-shine 7s var(--ease-in-out) infinite 3s;
  mix-blend-mode: soft-light;
}
@keyframes glass-shine {
  0%,
  70% {
    background-position: 150% 0;
  }
  100% {
    background-position: -60% 0;
  }
}
@keyframes wiggle {
  0%,
  100% {
    transform: translateX(-3px) rotate(-8deg);
  }
  50% {
    transform: translateX(3px) rotate(8deg);
  }
}

/* ---------- Formulare ---------- */
.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  position: relative;
  display: grid;
}
.field__input {
  width: 100%;
  min-height: 60px;
  padding: 26px 18px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.field__input {
  min-height: 150px;
  resize: vertical;
}
select.field__input {
  padding-right: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6e8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
      right 16px center / 18px no-repeat,
    var(--white);
}
.field__label {
  position: absolute;
  left: 19px;
  top: 19px;
  font-size: 1rem;
  color: var(--ink-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--ease), color 0.25s;
}
.field__input:focus,
.field__input:hover {
  border-color: var(--blue);
}
.field__input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(2, 145, 249, 0.15);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
select.field__input + .field__label {
  transform: translateY(-11px) scale(0.78);
  color: var(--blue);
  font-weight: 600;
}
.field__input::placeholder {
  color: transparent;
}
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--danger);
}
.field.is-invalid .field__input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.12);
}
.field.is-invalid .field__error {
  display: block;
}
.field.is-valid .field__input {
  border-color: var(--teal);
}
.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.fieldset legend {
  padding: 0;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--ease);
}
.chip span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: all 0.25s var(--ease);
}
.chip input[type="checkbox"] + span::before {
  border-radius: 5px;
}
.chip:hover span {
  border-color: var(--blue);
}
.chip input:checked + span {
  color: var(--navy-900);
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 6px 18px -8px rgba(2, 145, 249, 0.6);
}
.chip input:checked + span::before {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010F32' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    var(--grad);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.consent a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent.is-invalid {
  color: var(--danger);
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-3);
}
.form__note svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}
.btn.is-loading {
  pointer-events: none;
  color: transparent !important;
}
.btn.is-loading::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(1, 15, 50, 0.25);
  border-top-color: var(--navy-900);
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Dialog (Formular-Versand) ---------- */
.dialog {
  width: min(100% - 32px, 520px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.dialog::backdrop {
  background: rgba(1, 10, 30, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dialog[open] {
  animation: dialog-in 0.5s var(--ease);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}
.dialog__body {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 40px);
}
.dialog__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--navy-900);
}
.dialog__icon svg {
  width: 30px;
  height: 30px;
}
.dialog h2 {
  font-size: var(--step-2);
}
.dialog__actions {
  display: grid;
  gap: 10px;
}
.dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
}
.dialog__close svg {
  width: 18px;
  height: 18px;
}
.dialog pre {
  margin: 0;
  max-height: 180px;
  overflow: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.86rem;
  white-space: pre-wrap;
  color: var(--ink-2);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.94rem;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 24px);
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s,
    visibility 0s linear 0.6s;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s;
}
.toast svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.4s var(--ease);
}
.faq__item[open] {
  border-color: rgba(2, 145, 249, 0.3);
  box-shadow: var(--shadow);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.3s, transform 0.5s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon {
  background: var(--grad);
  transform: rotate(180deg);
}
.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}
.faq__a {
  overflow: hidden;
}
.faq__a-inner {
  padding: 0 24px 24px;
  color: var(--ink-2);
  max-width: 70ch;
}
.section--dark .faq__item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.section--dark .faq__q {
  color: var(--white);
}
.section--dark .faq__a-inner {
  color: rgba(255, 255, 255, 0.7);
}
.section--dark .faq__icon {
  background: rgba(255, 255, 255, 0.08);
}
.section--dark .faq__icon::before,
.section--dark .faq__icon::after {
  background: var(--white);
}
.section--dark .faq__item[open] .faq__icon::before,
.section--dark .faq__item[open] .faq__icon::after {
  background: var(--navy-900);
}

/* ---------- CTA-Band ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 90px);
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy-900);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(2, 145, 249, 0.55), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(62, 225, 168, 0.35), transparent 65%);
}
.cta h2 {
  color: var(--white);
}
.cta .lede {
  color: rgba(255, 255, 255, 0.74);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.cta__icon {
  position: absolute;
  right: -40px;
  bottom: -60px;
  z-index: -1;
  width: 260px;
  opacity: 0.08;
  transform: rotate(-14deg);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 10vw, 140px) 0 28px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--navy-950);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 120%, rgba(2, 145, 249, 0.3), transparent 70%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer h3,
.footer .footer__title {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__links a {
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--white);
}
.footer__about {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 34ch;
}
.footer__hours {
  display: grid;
  gap: 8px;
}
.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.footer__hours li.is-today {
  color: var(--mint);
  font-weight: 700;
}
.footer__wordmark {
  margin-top: clamp(60px, 8vw, 100px);
  font-family: var(--font-logo);
  font-size: clamp(5rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(77, 204, 255, 0.28);
  background: linear-gradient(180deg, rgba(77, 204, 255, 0.16), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
.footer__bottom nav {
  display: flex;
  gap: 20px;
}
.footer__bottom a:hover,
.footer__top:hover {
  color: var(--white);
}
.footer__top {
  font-size: inherit;
  color: inherit;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  color: var(--navy-900);
  background: var(--white);
  transform: translateY(-3px);
}
.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Schwebende Elemente ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: #1fae5b;
  box-shadow: 0 14px 30px -8px rgba(31, 174, 91, 0.7);
  transform: scale(0);
  transition: transform 0.6s var(--ease);
}
.wa-float.is-visible {
  transform: scale(1);
}
.wa-float:hover {
  transform: scale(1.08) rotate(-6deg);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy-900);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-float__tip {
  opacity: 1;
  transform: none;
}
.mobile-bar {
  display: none;
}
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid rgba(77, 204, 255, 0.9);
  pointer-events: none;
  mix-blend-mode: difference;
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    margin 0.35s var(--ease),
    background-color 0.35s,
    opacity 0.3s;
  opacity: 0;
}
.cursor.is-visible {
  opacity: 1;
}
.cursor.is-link {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(77, 204, 255, 0.25);
}
.cursor.is-hidden {
  opacity: 0;
}
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 401;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--sky);
  pointer-events: none;
  opacity: 0;
}
.cursor-dot.is-visible {
  opacity: 1;
}

/* ---------- Ladebildschirm + Seitenwechsel ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--navy-900);
}
.loader__icon {
  width: 74px;
  height: auto;
}
.loader__bar {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 140px;
  height: 2px;
  margin-left: -70px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.loader__bar span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
}
.no-js .loader,
.loader.is-done {
  display: none;
}
.pt {
  position: fixed;
  inset: 0;
  z-index: 499;
  pointer-events: none;
  visibility: hidden;
}
.pt__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 120px);
  background: var(--navy-900);
  transform: translateY(100%);
}
.pt__panel svg.pt__drips {
  position: absolute;
  left: 0;
  width: 100%;
  height: 110px;
  bottom: 0;
  color: var(--navy-900);
}
.pt__logo {
  position: absolute;
  left: 50%;
  top: 50vh;
  width: 54px;
  margin: -54px 0 0 -27px;
  opacity: 0;
}

.pt-in .pt {
  visibility: visible;
}
.pt-in .pt__panel {
  transform: none;
}
.pt-in .pt__logo {
  opacity: 1;
}
.reduced .loader,
.reduced .pt {
  display: none;
}
.wipe__spark {
  position: absolute;
  z-index: 6;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  color: var(--white);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(166, 251, 254, 0.9));
}
.wipe__spark .i {
  width: 100%;
  height: 100%;
}

/* ---------- Reveal-Grundzustand (nur mit JS) ---------- */
.js [data-reveal] {
  opacity: 0;
}
.js.reduced [data-reveal] {
  opacity: 1;
}

/* ---------- Bilder ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame--tall {
  aspect-ratio: 3 / 4;
}
.img-frame--wide {
  aspect-ratio: 4 / 3;
}
.img-frame--square {
  aspect-ratio: 1;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(1, 15, 50, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tag--light {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.9);
}
.tag--before::before,
.tag--after::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}
.tag--after::before {
  background: var(--mint);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 70px 16px 24px;
  background: rgba(0, 8, 24, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s;
}
.lightbox__img {
  max-width: min(100%, 1000px);
  max-height: calc(100dvh - 160px);
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__cap {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-align: center;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.3s;
}
.lightbox__btn,
.lightbox__count {
  z-index: 2;
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__btn svg {
  width: 22px;
  height: 22px;
}
.lightbox__close {
  top: 16px;
  right: 16px;
}
.lightbox__prev {
  left: 16px;
  top: 50%;
  margin-top: -26px;
}
.lightbox__next {
  right: 16px;
  top: 50%;
  margin-top: -26px;
}
.lightbox__count {
  position: absolute;
  top: 28px;
  left: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header__phone {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head--split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .nav,
  .header__actions .btn {
    display: none;
  }
  .burger {
    display: block;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .cta__grid {
    grid-template-columns: 1fr;
  }
  .wa-float {
    display: none;
  }
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 85;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(1, 15, 50, 0.86);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.6s var(--ease);
  }
  .mobile-bar.is-visible {
    transform: none;
  }
  .mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
  }
  .mobile-bar a svg {
    width: 18px;
    height: 18px;
  }
  .mobile-bar .mobile-bar__cta {
    color: var(--navy-900);
    background: var(--grad);
  }
  .footer {
    padding-bottom: 100px;
  }
  html {
    scroll-padding-bottom: 90px;
  }
  .toast {
    bottom: 92px;
  }
}
@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .ba__knob {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }
  .faq__q {
    padding: 18px 18px;
  }
  .faq__a-inner {
    padding: 0 18px 20px;
  }
}
@media (hover: none) {
  .cursor,
  .cursor-dot {
    display: none;
  }
  .wipe {
    cursor: auto;
  }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* ---------- Druck ---------- */
@media print {
  .header,
  .menu,
  .mobile-bar,
  .wa-float,
  .loader,
  .pt,
  .cursor,
  .cursor-dot,
  .progress,
  .drips {
    display: none !important;
  }
  .hero,
  .section--dark,
  .footer {
    background: none !important;
    color: #000 !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
  }
}
