/* ==========================================================================
   ERNST HANDWERKER — "Werkstatt-Editorial"
   Fraunces (Display-Serif) + Archivo (Grotesk) · Markenblau-Verlauf auf Tinte & Porzellan
   ========================================================================== */

/* ---------- Selbst-gehostete Schriften (DSGVO: kein Google-CDN) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts/archivo-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts/archivo-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Marke — aus dem Logo (3 Häuser) */
  --cyan:   #14ABE1;
  --blau:   #1371B9;
  --indigo: #293D98;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blau) 52%, var(--indigo) 100%);
  /* Button-Verlauf: startet bei --blau (nicht --cyan), damit weisser Text >=4,5:1 erreicht (WCAG AA).
     --cyan auf Weiss = 2,64:1; --blau = 5,13:1; --indigo = 9,48:1. */
  --grad-btn: linear-gradient(100deg, var(--blau) 0%, var(--indigo) 100%);

  /* Tinte (dunkle Bühnen) */
  --ink-900: #060D1A;
  --ink-800: #0A1424;
  --ink-700: #101E33;
  --ink-600: #18283F;

  /* Porzellan (helle Bühnen) */
  --porcelain: #F4F1EB;
  --paper:     #FBF9F5;
  --card:      #FFFFFF;

  --text-dark:  #19222E;
  --muted-dark: #5A6470;
  --text-light:  #ECF1F8;
  --muted-light: #93A3B8;
  --line-light: rgba(25, 34, 46, .12);
  --line-dark:  rgba(236, 241, 248, .12);

  --gold: #F4B73F;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --shadow-lg: 0 30px 60px -18px rgba(6, 13, 26, .35);
  --shadow-md: 0 14px 34px -12px rgba(6, 13, 26, .22);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--blau); color: #fff; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: .6em 1.2em; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.container--narrow { max-width: 880px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-stretch: 125%;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blau);
  display: flex; align-items: center; gap: .9em;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2.4em; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: #6CC6EE; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}

.section { position: relative; padding-block: clamp(72px, 9vw, 130px); }
.section--light { background: var(--porcelain); color: var(--text-dark); }
.section--light:nth-of-type(even) { background: var(--paper); }
.section--dark { background: var(--ink-800); color: var(--text-light); }
.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .05; mix-blend-mode: overlay;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 460;
  font-variation-settings: "opsz" 100;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.section__head {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px);
  align-items: end; margin-bottom: clamp(40px, 6vw, 72px);
}
.section__lede { color: var(--muted-dark); font-size: 1.05rem; max-width: 46ch; }
.section--dark .section__lede { color: var(--muted-light); }
.section__head--center { display: block; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { display: none; }
.section__lede--center { margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.9em;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn--grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 28px -10px rgba(19, 113, 185, .65); }
.btn--grad::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn--grad:hover::after { transform: translateX(120%); }
.btn--grad:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(19, 113, 185, .8); }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--text-light); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; transform: translateY(-3px); }
.btn--full { width: 100%; }
.btn__arr { transition: transform .25s; }
.btn--ghost:hover .btn__arr { transform: translateY(3px); }

/* ---------- Sterne ---------- */
.stars { color: var(--gold); letter-spacing: .18em; font-size: 1rem; }
.stars--big { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: .3em; display: inline-block; margin-bottom: .35em; }

/* ---------- Reveal-Animationen ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.65,.25,1) var(--d, 0s),
              transform .9s cubic-bezier(.2,.65,.25,1) var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(6, 13, 26, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 14px 40px -20px rgba(0,0,0,.6);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.roofline { fill: none; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.roofline--nav { width: 46px; height: auto; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.25; }
.nav__wordmark strong { font-stretch: 118%; font-weight: 800; font-size: .92rem; letter-spacing: .14em; color: #fff; }
.nav__wordmark small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links > a:not(.nav__cta) {
  font-weight: 600; font-size: .92rem; color: var(--text-light);
  position: relative; padding-block: 6px;
}
.nav__links > a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav__links > a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { padding: .7em 1.5em; font-size: .88rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav__burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 460px) {
  .nav__wordmark small { display: none; }
}
@media (max-width: 920px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(6, 13, 26, .96); backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.nav__cta) { font-size: 1.4rem; font-family: var(--font-display); font-weight: 480; }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 100% at 70% 0%, var(--ink-700) 0%, var(--ink-800) 55%, var(--ink-900) 100%);
  color: var(--text-light);
  overflow: hidden;
  padding-block: 130px 80px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124, 170, 220, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 170, 220, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 70% at 50% 35%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 35%, #000 0%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .3; }
.hero__glow--cyan { width: 520px; height: 520px; background: var(--cyan); top: -180px; right: -120px; opacity: .16; }
.hero__glow--indigo { width: 620px; height: 620px; background: var(--indigo); bottom: -260px; left: -180px; opacity: .3; }
.hero__roofline {
  position: absolute; right: -4%; bottom: -6%;
  width: min(58vw, 880px); opacity: .12;
}
.hero__roofline path {
  fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
}

.hero__inner {
  position: relative;
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 440;
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted-light); max-width: 52ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted-light); }
.hero__trust strong { color: var(--text-light); }
.hero__trust em { color: #BFD9F2; font-style: italic; font-family: var(--font-display); }
.hero__trust-divider { width: 1px; height: 22px; background: var(--line-dark); }

.hero__figure { position: relative; }
.hero__frame {
  aspect-ratio: 19/20;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255,255,255,.03);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s ease-out;
  will-change: transform;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero__chip {
  position: absolute;
  background: rgba(10, 20, 36, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: .7em 1.1em;
  font-size: .85rem; color: var(--text-light);
  box-shadow: var(--shadow-md);
}
.hero__chip--top { top: 7%; right: -3%; font-weight: 700; letter-spacing: .04em; animation: floaty 5.2s ease-in-out infinite; }
.hero__chip--bottom {
  left: -6%; bottom: 9%;
  display: flex; flex-direction: column; gap: 2px;
  animation: floaty 6.4s ease-in-out 1s infinite;
}
.hero__chip--bottom strong { font-size: .92rem; }
.hero__chip--bottom span { color: var(--muted-light); font-size: .8rem; }
.chip-check { color: var(--cyan); margin-left: .3em; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero__scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-dark); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scrollcue span { width: 3px; height: 9px; border-radius: 3px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 920px) {
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__chip--bottom { left: 4%; }
  .hero__chip--top { right: 2%; }
  .hero__roofline { width: 90vw; right: -20%; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--ink-900);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  overflow: hidden; padding-block: 18px;
  position: relative;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.2em;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  padding-right: 2.2em;
}
.marquee__item { color: #C9D8EA; font-stretch: 115%; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .82rem; }
.marquee__item--serif { font-family: var(--font-display); font-style: italic; font-weight: 430; text-transform: none; letter-spacing: .02em; font-size: 1.05rem; color: #8FB7DD; }
.marquee__dot { color: var(--blau); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   LEISTUNGEN — Karten
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card--span7 { grid-column: span 7; }
.card--span5 { grid-column: span 5; }
.card--span4 { grid-column: span 4; }

.card {
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform .35s ease-out, box-shadow .35s, border-color .35s;
}
.card:hover { --lift: -6px; box-shadow: var(--shadow-md); }

.card--feature { min-height: 380px; display: flex; align-items: flex-end; color: #fff; }
.card--feature .card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.card--feature:hover .card__img { transform: scale(1.05); }
.card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(195deg, rgba(6,13,26,0) 30%, rgba(6,13,26,.86) 82%);
}
.card--feature .card__body { position: relative; padding: clamp(22px, 3vw, 34px); }
.card--feature h3 { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .4em; }
.card--feature p { color: rgba(236, 241, 248, .85); max-width: 48ch; font-size: .98rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.card__tags li {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}

.card--std {
  background: var(--card);
  border: 1px solid var(--line-light);
  padding: clamp(24px, 2.6vw, 32px);
}
.card--std::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.65,.25,1);
}
.card--std:hover::before { transform: scaleX(1); }
.card--std h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.35rem; margin: 18px 0 10px; }
.card--std p { color: var(--muted-dark); font-size: .95rem; }
.card__icon { width: 46px; height: 46px; fill: none; stroke: var(--blau); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card--std:hover .card__icon { stroke: var(--cyan); }

@media (max-width: 920px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card--span7, .card--span5, .card--span4 { grid-column: span 2; }
  .card--std { grid-column: span 1; }
}
@media (max-width: 640px) {
  .card--std { grid-column: span 2; }
  .section__head { grid-template-columns: 1fr; align-items: start; }
}

/* ==========================================================================
   VORHER / NACHHER
   ========================================================================== */
.ba-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.ba__viewport {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ar, 4/3);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-md);
  --pos: 50%;
  touch-action: pan-y;
}
.ba__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
  -webkit-appearance: none; appearance: none;
  z-index: 3;
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; background: rgba(255,255,255,.9);
  transform: translateX(-1px);
  pointer-events: none; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.ba__handle::before {
  content: ""; position: absolute;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 20, 36, .82); border: 1.5px solid rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.ba__handle span { position: relative; color: #fff; font-size: .8rem; font-weight: 700; padding-inline: 3px; }
.ba__label {
  position: absolute; top: 12px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px;
  background: rgba(6, 13, 26, .72); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__label--l { left: 12px; }
.ba__label--r { right: 12px; color: #9ED9F5; border-color: rgba(20, 171, 225, .5); }
.ba figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted-light); padding-inline: 4px; }

@media (max-width: 920px) {
  .ba-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ---------- Galerie-Strip ---------- */
.gallery { margin-bottom: clamp(44px, 6vw, 72px); }
.gallery__hint { font-size: .85rem; color: var(--muted-light); margin-bottom: 14px; letter-spacing: .04em; }
.gallery__strip {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent;
}
.gallery__strip img {
  height: 230px; width: auto; flex: 0 0 auto;
  border-radius: 14px; scroll-snap-align: start;
  cursor: zoom-in;
  border: 1px solid var(--line-dark);
  transition: transform .35s, box-shadow .35s;
}
.gallery__strip img:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }

/* ---------- Zahlenband ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(32px, 4vw, 48px);
}
.stats__item dt {
  font-family: var(--font-display); font-weight: 460;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stats__item dd { color: var(--muted-light); font-size: .92rem; margin-top: .5em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   FLIESENSTUDIO
   ========================================================================== */
.studio { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.studio__copy > p { font-size: 1.05rem; max-width: 52ch; }
.studio__features { margin-block: 1.6rem; display: grid; gap: .7rem; }
.studio__features li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; }
.feat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; box-shadow: 0 0 0 4px rgba(19, 113, 185, .14); }
.studio__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.8rem; }
.chip {
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  padding: .55em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line-light); color: var(--muted-dark);
  background: var(--card);
}
.chip--new { border-color: var(--cyan); color: var(--blau); }
.chip--new i { font-style: normal; font-size: .62rem; background: var(--grad); color: #fff; border-radius: 999px; padding: .25em .7em; margin-left: .5em; letter-spacing: .08em; }

.hours-card {
  background: var(--card); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  position: relative; overflow: hidden;
}
.hours-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.hours-card h4 { font-stretch: 115%; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blau); margin-bottom: 12px; }
.hours-card table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-card td { padding-block: 5px; }
.hours-card td:first-child { font-weight: 700; width: 35%; }
.hours-card__addr { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-light); font-size: .88rem; color: var(--muted-dark); }

/* ---------- 3D-Fliesenfächer ---------- */
.studio__stage { min-width: 0; }
.tilefan {
  perspective: 1300px;
  height: clamp(330px, 40vw, 470px);
  display: flex; align-items: center; justify-content: center;
}
.tilefan__scene {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--sx, 8deg)) rotateY(var(--sy, 0deg));
  transition: transform .5s cubic-bezier(.2,.65,.25,1);
  width: min(240px, 44vw); aspect-ratio: 3/4;
}
.tile3d {
  position: absolute; inset: 0;
  transform:
    translateX(calc(var(--i) * 58%))
    translateZ(calc(var(--i) * var(--i) * -34px))
    rotateY(calc(var(--i) * -13deg));
  transition: transform .5s cubic-bezier(.2,.65,.25,1);
  border-radius: 10px;
  box-shadow: 0 26px 50px -18px rgba(6, 13, 26, .5);
  cursor: pointer;
}
.tile3d img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); }
.tile3d figcaption {
  position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%);
  white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink-800); color: #fff; border-radius: 999px; padding: .5em 1.1em;
  opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.tile3d:hover {
  transform:
    translateX(calc(var(--i) * 58%))
    translateZ(60px)
    rotateY(calc(var(--i) * -4deg))
    scale(1.05);
  z-index: 5;
}
.tile3d:hover figcaption { opacity: 1; transform: translateX(-50%) translateY(-6px); }
.tilefan__hint { text-align: center; font-size: .85rem; color: var(--muted-dark); margin-top: 2.6rem; }

@media (max-width: 920px) {
  .studio { grid-template-columns: 1fr; }
  .tilefan__scene { width: min(200px, 40vw); }
}

/* ==========================================================================
   ABLAUF
   ========================================================================== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
  position: relative;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.steps::before {
  content: ""; position: absolute; top: 34px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blau) 18%, var(--cyan) 82%, transparent);
  opacity: .45;
}
.step { position: relative; padding-top: 0; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 480; font-size: 1.5rem; font-style: italic;
  background: var(--ink-700);
  border: 1px solid var(--line-dark);
  color: #BFE2F5;
  margin-bottom: 1.1rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--ink-800);
}
.step h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.25rem; margin-bottom: .5em; }
.step p { color: var(--muted-light); font-size: .93rem; }
.steps__cta { text-align: center; }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   BEWERTUNGEN
   ========================================================================== */
.reviews { display: grid; gap: 22px; overflow: hidden; padding-block: 10px; }
.reviews__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews__track { display: inline-flex; gap: 22px; padding-right: 22px; animation: marquee 46s linear infinite; }
.reviews__row--rtl .reviews__track { animation-direction: reverse; }
.reviews__row:hover .reviews__track { animation-play-state: paused; }
.review {
  width: clamp(300px, 30vw, 420px); flex: 0 0 auto;
  background: var(--card); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: 0 6px 22px -12px rgba(6, 13, 26, .14);
}
.review .stars { font-size: .85rem; margin-bottom: .8em; }
.review p { font-size: .95rem; color: var(--text-dark); }
.review footer { margin-top: 1em; font-weight: 700; font-size: .85rem; }
.review footer span { color: var(--muted-dark); font-weight: 400; }
.review footer span::before { content: "✓ "; color: var(--blau); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.section--faq { background: var(--paper); }
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line-light);
  border-radius: 14px; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] { box-shadow: var(--shadow-md); border-color: rgba(19, 113, 185, .35); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-weight: 700; font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--blau); border-radius: 2px;
  transition: transform .3s;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__body { padding: 0 24px 22px; color: var(--muted-dark); animation: faqIn .35s ease; }
.faq__body a { color: var(--blau); font-weight: 600; text-decoration: underline; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.section--contact {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(20, 171, 225, .08) 0%, transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(41, 61, 152, .22) 0%, transparent 60%),
    var(--ink-800);
}
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__lede { color: var(--muted-light); margin-block: 1.2rem 2rem; max-width: 46ch; }
.contact__rows { display: grid; gap: 0; }
.contact__rows li {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline;
  padding-block: 15px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1rem;
}
.contact__rows li:first-child { border-top: 1px solid var(--line-dark); }
.contact__label { font-stretch: 115%; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); font-weight: 700; }
.contact__rows a { color: var(--text-light); font-weight: 600; transition: color .2s; }
.contact__rows a:hover { color: var(--cyan); }

.contact__form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  backdrop-filter: blur(8px);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text-light);
  background: rgba(6, 13, 26, .55);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: .85em 1em;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-light) 50%), linear-gradient(135deg, var(--muted-light) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: rgba(147, 163, 184, .55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(20, 171, 225, .15);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact__note { font-size: .8rem; color: var(--muted-light); text-align: center; }
@media (max-width: 920px) {
  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink-900); color: var(--muted-light); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(48px, 6vw, 80px) 40px;
}
.roofline--footer { width: 72px; }
.footer__claim { margin-top: 18px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 460; color: var(--text-light); line-height: 1.3; }
.footer__claim span { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted-light); margin-top: .6em; font-style: normal; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-stretch: 115%; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #7C8DA3; margin-bottom: 6px; }
.footer__legal-h { margin-top: 18px; }
.footer__col a { font-size: .95rem; color: var(--muted-light); width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.07); padding-block: 18px; font-size: .82rem; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 9, 18, .92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 5vmin;
  animation: faqIn .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 18px; right: 26px;
  font-size: 2.4rem; color: #fff; line-height: 1;
  transition: transform .2s, color .2s;
}
.lightbox__close:hover { color: var(--cyan); transform: rotate(90deg); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track, .reviews__track { animation: none; flex-wrap: wrap; white-space: normal; }
}

/* ==========================================================================
   STICKY ANRUF-BUTTON (nur mobil) — Primär-CTA = Telefon
   ========================================================================== */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1em calc(.9em + env(safe-area-inset-bottom, 0px));
  background: var(--grad-btn); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  box-shadow: 0 -8px 24px -12px rgba(6, 13, 26, .8);
}
.callbar svg { flex: 0 0 auto; }
@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ==========================================================================
   UNTERSEITEN: pagehead / prose / 360°-Tour / Studio-Shots / Team / Teaser
   ========================================================================== */
.pagehead { padding-top: clamp(110px, 16vw, 165px); }
.container--narrow { max-width: 820px; }
.pagehead__title { font-family: var(--font-display); font-weight: 460; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; color: var(--text-light); margin: .35em 0 .55em; }
.pagehead__sub { color: var(--muted-light); font-size: 1.12rem; line-height: 1.65; max-width: 62ch; }
.pagehead__img { width: 100%; border-radius: 16px; margin: 1.5em 0; box-shadow: var(--shadow-lg); }
.pagehead__ctas { display: flex; flex-wrap: wrap; gap: .8em; margin: 1.8em 0 1.1em; }
.pagehead__cta { margin-top: 1.8em; }
.pagehead__nap { color: var(--muted-light); font-size: .9rem; margin-top: 1.2em; }
.pagehead__nap a { color: var(--cyan); }
.prose-body { color: var(--muted-light); line-height: 1.7; font-size: 1.05rem; }
.prose-body p { margin-bottom: 1em; }
.prose-body ul { margin: .2em 0 1.2em 1.2em; }
.prose-body li { margin-bottom: .4em; }
.prose-body strong { color: var(--text-light); }

/* 360°-Rundgang (Matterport, click-to-load) */
.tour { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin: 2.2em 0; background: var(--ink-700); box-shadow: var(--shadow-lg); cursor: pointer; }
.tour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,26,.12), rgba(6,13,26,.55)); transition: opacity .3s; }
.tour__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; }
.tour__hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: .82rem; letter-spacing: .03em; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.tour__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour--loaded { cursor: default; }
.tour--loaded::after, .tour--loaded .tour__hint { display: none; }

/* Establishing-Fotos */
.studio-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1em; margin: 1.6em 0; }
.studio-shot { margin: 0; }
.studio-shot img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; display: block; }
.studio-shot figcaption { color: var(--muted-light); font-size: .85rem; margin-top: .5em; }

/* Studio-Teaser auf der Startseite */
.studio-teaser { position: relative; display: block; margin-top: 2.6em; border-radius: 16px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow-lg); }
.studio-teaser img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.studio-teaser:hover img { transform: scale(1.04); }
.studio-teaser__btn { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-weight: 700; padding: .85em 1.6em; border-radius: 999px; box-shadow: 0 10px 28px -10px rgba(19,113,185,.7); white-space: nowrap; }

/* Team / Über uns */
.team__founder { color: var(--muted-light); max-width: 72ch; margin: .4em 0 2em; line-height: 1.6; }
.team__founder strong { color: var(--text-light); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5em; }
.team__card { margin: 0; text-align: center; }
.team__card img { width: 100%; max-width: 220px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-lg); }
.team__card figcaption { margin-top: .8em; }
.team__card strong { display: block; color: var(--text-light); font-size: 1.05rem; }
.team__card span { color: var(--muted-light); font-size: .88rem; }

/* Formular: Honeypot (versteckt) + Consent-Zeile */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field--check { flex-direction: row; align-items: flex-start; gap: .6em; }
.field--check input { margin-top: .2em; }
.field--check span { font-size: .85rem; color: var(--muted-light); }
.field--check a { color: var(--cyan); }
