/* ==========================================================================
   Erklärvideo Südtirol by TM BRANDING – Designsystem nach cursor-tmb.local
   Tokens: designsystem-tmb/reference.md. 1rem = 10px.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/LibreBaskerville-Italic-latin.woff2") format("woff2");
}

:root {
  /* Farben */
  --creme: #EEEAE2;
  --primary: var(--creme);
  --secondary: #F00A4F;
  --rot: var(--secondary);
  --secondary-d-1: #C90842;
  --petrol: #1A2E46;
  --warm: #75BEBA;
  --mauve: #7F7174;
  --tertiary: #5B4E6E;
  --schwarz: #0D0D0D;
  --white: #FFFFFF;
  --dark: var(--petrol);

  /* Alpha-Stufen (dieselbe Farbe, andere Deckkraft) */
  --creme-10: color-mix(in srgb, var(--creme) 10%, transparent);
  --creme-14: color-mix(in srgb, var(--creme) 14%, transparent);
  --creme-20: color-mix(in srgb, var(--creme) 20%, transparent);
  --creme-48: color-mix(in srgb, var(--creme) 48%, transparent);
  --creme-70: color-mix(in srgb, var(--creme) 70%, transparent);
  --creme-85: color-mix(in srgb, var(--creme) 85%, transparent);
  --petrol-10: color-mix(in srgb, var(--petrol) 10%, transparent);
  --petrol-20: color-mix(in srgb, var(--petrol) 20%, transparent);
  --petrol-50: color-mix(in srgb, var(--petrol) 50%, transparent);
  --petrol-70: color-mix(in srgb, var(--petrol) 70%, transparent);
  --petrol-85: color-mix(in srgb, var(--petrol) 85%, transparent);
  --warm-70: color-mix(in srgb, var(--warm) 70%, transparent);
  --warm-20: color-mix(in srgb, var(--warm) 20%, transparent);
  --schwarz-16: color-mix(in srgb, var(--schwarz) 16%, transparent);
  --schwarz-18: color-mix(in srgb, var(--schwarz) 18%, transparent);
  --schwarz-20: color-mix(in srgb, var(--schwarz) 20%, transparent);
  --schwarz-22: color-mix(in srgb, var(--schwarz) 22%, transparent);
  --schwarz-36: color-mix(in srgb, var(--schwarz) 36%, transparent);
  --schwarz-48: color-mix(in srgb, var(--schwarz) 48%, transparent);
  --schwarz-62: color-mix(in srgb, var(--schwarz) 62%, transparent);
  --white-12: color-mix(in srgb, var(--white) 12%, transparent);

  /* Schrift */
  --font-sans: "Bricolage Grotesque", sans-serif;
  --font-serif: "Libre Baskerville", serif;

  /* Typografie */
  --eyebrow-size: clamp(0.9rem, min(1.08vw, 1.4vh), 1.2rem);
  --body-size: clamp(1.4rem, min(1.44vw, 1.69vh), 1.75rem);
  --text-xs: clamp(1.26rem, calc(-0.34vw + 1.37rem), 0.9rem);
  --text-s: clamp(1.42rem, calc(-0.14vw + 1.47rem), 1.27rem);
  --text-m: clamp(1.6rem, calc(0.19vw + 1.54rem), 1.8rem);
  --text-l: clamp(1.8rem, calc(0.69vw + 1.58rem), 2.54rem);
  --text-xl: clamp(2.02rem, calc(1.46vw + 1.56rem), 3.6rem);
  --text-2xl: clamp(2.28rem, calc(2.6vw + 1.44rem), 5.09rem);
  --text-3xl: clamp(2.56rem, calc(4.29vw + 1.19rem), 7.2rem);
  --text-4xl: clamp(2.88rem, calc(6.75vw + 0.72rem), 10.18rem);
  --text-5xl: clamp(3.24rem, calc(10.32vw + -0.06rem), 14.39rem);
  --section-title-size: clamp(3.4rem, 5vw, 6.8rem);
  --hero-subtitle-size: clamp(2rem, min(2.5vw, 3.5vh), 5rem);
  --hero-title-size: clamp(4rem, min(9.5vw, 10.5vh), 11.8rem);
  --bold-title-size: clamp(10rem, min(10vw, 15vh), 14rem);

  /* Spacing */
  --space-4xs: clamp(0.52rem, calc(-0.03vw + 0.53rem), 0.49rem);
  --space-3xs: clamp(0.66rem, calc(0.04vw + 0.64rem), 0.7rem);
  --space-2xs: clamp(0.82rem, calc(0.16vw + 0.77rem), 0.99rem);
  --space-xs: clamp(1.02rem, calc(0.35vw + 0.91rem), 1.4rem);
  --space-s: clamp(1.28rem, calc(0.65vw + 1.07rem), 1.98rem);
  --space-m: clamp(1.6rem, calc(1.11vw + 1.24rem), 2.8rem);
  --space-l: clamp(2rem, calc(1.81vw + 1.42rem), 3.96rem);
  --space-xl: clamp(2.5rem, calc(2.87vw + 1.58rem), 5.6rem);
  --space-2xl: clamp(3.13rem, calc(4.44vw + 1.71rem), 7.92rem);
  --space-3xl: clamp(3.91rem, calc(6.75vw + 1.75rem), 11.19rem);
  --space-4xl: clamp(4.88rem, calc(10.13vw + 1.64rem), 15.83rem);
  --space-5xl: clamp(6.1rem, calc(15.07vw + 1.28rem), 22.38rem);

  /* Radien, Schatten, Layout */
  --radius-full: 9999px;
  --radius-m: 10px;
  --radius-card: 25px;
  --radius-img: 20px;
  --radius-process: 22px;
  --shadow-m: 0 5px 15px 0 var(--schwarz-20);
  --shadow-l: 0 10px 30px 0 var(--schwarz-22);
  --shadow-card: 0 5px 15px 0 var(--schwarz-20);
  --shadow-menu: 3px 3px 15px 0 var(--schwarz-22);
  --shadow-photo: 0 30px 80px 0 var(--schwarz-18);
  --shadow-nav: 0 5px 50px 0 var(--schwarz-20);
  --content-max: 120rem;
  --max-screen-width: 1400px;
  --section-space: clamp(8rem, 12vh, 14rem) 2.4rem;
  --nav-h: clamp(6.4rem, 8vh, 8.4rem);
}

/* --------------------------------------------------------------------------
   Reset / Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;
  /* Nur ohne Lenis (No-JS). Sobald Lenis läuft, setzt es scrollTop pro Frame –
     CSS smooth würde jeden Frame neu animieren und immer stärker nachziehen. */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}
html.lenis { scroll-behavior: auto; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-weight: 100;
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--creme);
  background: var(--petrol);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100lvh;
}
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--hero-title-size); }
h2 { font-size: var(--section-title-size); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-l); }
p, li, label, input, textarea, button, select { font-family: inherit; font-weight: inherit; }
p { text-wrap: pretty; max-width: 68ch; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }
strong, b { font-weight: 600; }
em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 1000; padding: var(--space-xs) var(--space-s);
  background: var(--secondary); color: var(--white); border-radius: var(--radius-full); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Scroll-Fortschritt (Längenindikator) */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 90; height: 3px; width: 100%;
  background: var(--secondary); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* --------------------------------------------------------------------------
   Buttons (nur diese vier Klassen)
   -------------------------------------------------------------------------- */
.main-red-btn, .main-ghost-btn, .load-more-btn, .load-more-btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3xs);
  padding: var(--space-s) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: var(--text-m); line-height: 1.2;
  cursor: pointer; box-shadow: var(--shadow-m);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
  text-align: center; white-space: nowrap; min-height: 4.4rem;
}
.main-red-btn { background: var(--secondary); color: var(--white); border: 0; }
.main-red-btn:hover { background: var(--secondary-d-1); transform: translateY(-0.1rem); }
.main-ghost-btn { background: var(--warm); color: var(--creme); border: 0; }
.main-ghost-btn:hover { background: var(--warm-70); transform: translateY(-0.1rem); }
.load-more-btn { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); }
.load-more-btn:hover { background: var(--schwarz-16); transform: translateY(-0.1rem); }
.load-more-btn-light { background: transparent; color: var(--creme); border: 2px solid var(--creme); }
.load-more-btn-light:hover { background: var(--schwarz-16); transform: translateY(-0.1rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }
.btn-row--center { justify-content: center; }
.btn-row svg { width: 2rem; height: 2rem; }

/* --------------------------------------------------------------------------
   Header: Logo links (fest, zweizeilig), rechts eine Pille mit den Links
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: flex-start; justify-content: flex-end;
  min-height: 8.8rem;
  padding: 1.6rem 3.2rem 1.6rem 16rem;
  background: transparent; color: var(--petrol);
  pointer-events: none;
}
.site-nav__logo {
  position: absolute; left: 2rem; top: 1.4rem;
  pointer-events: auto; display: block; line-height: 0;
  padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.site-nav__logo::before { content: none; }
.logo-stroke-def { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-nav__logo img {
  position: relative; z-index: 1; display: block; height: 5.4rem; width: auto;
  filter: url("#logo-stroke") drop-shadow(0 1px 1px rgba(13, 13, 13, .4));
}
.site-nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(.4rem, 1vw, 1.2rem);
  width: fit-content; max-width: 100%; min-width: 0;
  margin-left: 0;
  padding: .5rem 1rem .5rem 2.8rem;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-nav);
}
.site-nav__links { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(1rem, 1.4vw, 2.2rem); }
.site-nav__links a { white-space: nowrap; }
.site-nav__links a {
  font-size: var(--text-s); font-weight: 600; color: var(--petrol); position: relative; padding: .6rem 0; white-space: nowrap;
}
.site-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--secondary);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease;
}
.site-nav__links a:hover::after, .site-nav__links a.is-active::after { transform: scaleX(1); }
.site-nav__right { display: flex; align-items: center; gap: var(--space-s); flex-shrink: 0; }
.site-nav .main-red-btn { padding: 1rem var(--space-l); min-height: 4rem; font-size: var(--text-s); }

.lang-switch { display: flex; align-items: center; gap: .2rem; padding: .3rem; border-radius: var(--radius-full); background: var(--petrol-10); }
.lang-switch a, .lang-switch span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 3.6rem; min-height: 3.2rem; padding: 0 .8rem;
  font-size: 1.2rem; font-weight: 600; border-radius: var(--radius-full); color: var(--petrol); letter-spacing: .04em;
}
.lang-switch a:hover { background: var(--creme); }
.lang-switch [aria-current="true"] { background: var(--petrol); color: var(--creme); }

.nav-burger {
  display: none; width: 4.4rem; height: 4.4rem; align-items: center; justify-content: center; border-radius: var(--radius-full);
  color: var(--petrol);
}
.nav-burger svg { width: 2.8rem; height: 2.8rem; }
.nav-burger .ham-line { transition: transform .3s ease, opacity .3s ease; transform-origin: 50% 50%; }
.nav-burger[aria-expanded="true"] .ham-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .ham-line:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .ham-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Overlay-Menü (Warm-Fläche, Radius 20px) */
.menu-open-div {
  position: fixed; top: 10px; right: 10px; z-index: 99;
  width: max-content; min-width: 280px; max-width: calc(100vw - 20px);
  padding: calc(var(--nav-h) + var(--space-m)) var(--space-xl) var(--space-xl);
  background: var(--warm); color: var(--petrol); border-radius: 20px; box-shadow: var(--shadow-menu);
  visibility: hidden; opacity: 0; transform: translateY(-1rem) scale(.98); transform-origin: 100% 0;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  display: flex; flex-direction: column; gap: var(--space-s);
}
.menu-open-div.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.menu-open-div a { font-size: var(--text-l); font-weight: 600; padding: .4rem 0; }
.menu-open-div a:hover { color: var(--white); }
.menu-open-div__meta { margin-top: var(--space-m); padding-top: var(--space-m); border-top: 1px solid var(--petrol-20); display: flex; flex-direction: column; gap: .6rem; }
.menu-open-div__meta a { font-size: var(--text-s); font-weight: 400; }
.menu-open-div .lang-switch { align-self: flex-start; background: var(--petrol-20); }
.menu-backdrop { position: fixed; inset: 0; z-index: 98; background: var(--petrol-50); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.menu-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }

/* --------------------------------------------------------------------------
   Layout-Helfer
   -------------------------------------------------------------------------- */
.section { position: relative; width: 100%; padding: var(--section-space); }
.section--full { height: auto; min-height: 100lvh; display: flex; flex-direction: column; justify-content: center; }
.section--creme { background: var(--creme); color: var(--petrol); }
.section--petrol { background: var(--petrol); color: var(--creme); }
.section--warm { background: var(--warm); color: var(--petrol); }
.inner { width: 100%; max-width: var(--max-screen-width); margin-inline: auto; }
.inner--narrow { max-width: var(--content-max); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; font-size: var(--text-l); font-weight: 600; letter-spacing: .08em;
  color: var(--secondary); margin-bottom: var(--space-s);
}
.section-head .eyebrow { font-size: var(--text-l); }
.section--petrol .eyebrow { color: var(--warm); }
.hero .eyebrow { color: var(--creme); }
.section-head { display: flex; flex-direction: column; gap: var(--space-s); margin-bottom: var(--space-2xl); max-width: 90rem; }
.section-head p { font-size: var(--text-l); line-height: 1.4; }
.lead { font-size: var(--text-l); line-height: 1.4; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.text-center { text-align: center; }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }

/* Reveal-Grundzustand (wird per JS gesetzt, ohne JS sichtbar) */
.js [data-reveal] { opacity: 0; transform: translateY(3rem); will-change: transform, opacity; }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in[data-delay="1"] { transition-delay: .12s; }
.js [data-reveal].is-in[data-delay="2"] { transition-delay: .24s; }
.js [data-reveal].is-in[data-delay="3"] { transition-delay: .36s; }
.js [data-reveal].is-in[data-delay="4"] { transition-delay: .48s; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1; height: 100lvh; min-height: 100lvh; overflow: hidden;
  display: flex; align-items: flex-end; color: var(--creme); background: var(--petrol);
  padding: 0 clamp(2rem, 4vw, 6rem) clamp(4rem, 8vh, 8rem);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--petrol) 0%, color-mix(in srgb, var(--petrol) 78%, transparent) 40%, color-mix(in srgb, var(--petrol) 40%, transparent) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max-screen-width); margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-l); }
.hero__title { font-size: var(--hero-title-size); line-height: .98; letter-spacing: -0.03em; max-width: 14ch; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .word > span { display: inline-block; }
.hero__title .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.hero__title .accent .word { transform: translateY(0.08em); }
.hero__sub { font-size: var(--hero-subtitle-size); line-height: 1.3; max-width: 34ch; font-weight: 100; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-l); padding-right: 8rem; }
.hero__scroll { position: absolute; right: clamp(2rem, 4vw, 6rem); bottom: clamp(4rem, 8vh, 8rem); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .8rem; font-size: var(--eyebrow-size); letter-spacing: .12em; }
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { display: block; width: 1px; height: 6rem; background: var(--creme-48); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--secondary); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* Google-Block (1:1 von cursor-tmb) */
.hero-google-block {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; width: max-content;
  color: var(--creme); text-decoration: none;
}
.g-icon-wrap { color: var(--creme); }
.section--creme .g-icon-wrap { color: var(--petrol); }
.hero-google-block .g-icon-wrap { width: 5.2rem; height: 5.2rem; display: flex; align-items: center; justify-content: center; color: var(--creme); }
.hero-google-block .g-icon-wrap svg { width: 100%; height: 100%; }
.rev-content { display: flex; flex-direction: column; gap: 0; }
.rev-title { font-weight: 600; font-size: var(--text-s); line-height: 1.2; }
.rev-rating { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: .8rem; }
.rev-score { font-weight: 600; font-size: var(--text-s); line-height: 1.2; }
.rev-stars { display: inline-flex; gap: 2px; }
.rev-stars svg { width: 14px; height: 14px; }
.rev-sub { font-size: 1.2rem; font-weight: 400; line-height: 1.2; }
.text-creme { color: var(--creme); }

/* --------------------------------------------------------------------------
   Karten (25px) – Warum, Qualität
   -------------------------------------------------------------------------- */
.cards { display: flex; flex-wrap: wrap; gap: var(--space-l); }
.card {
  flex: 1 1 28rem; min-width: 0;
  background: var(--white); color: var(--petrol); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-s);
}
.card--petrol { background: var(--petrol); color: var(--creme); }
.card--warm { background: var(--warm); color: var(--petrol); }
.card__num { font-family: var(--font-serif); font-style: italic; font-size: var(--text-2xl); line-height: 1; color: var(--secondary); }
.card h3 { font-size: var(--text-xl); }
.card p { font-size: var(--body-size); }
.card__icon { width: 5.6rem; height: 5.6rem; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--petrol-10); color: var(--secondary); }
.card--petrol .card__icon { background: var(--creme-14); }
.card__icon svg { width: 2.8rem; height: 2.8rem; }

/* --------------------------------------------------------------------------
   Warum mit uns + Logo-Marquee
   -------------------------------------------------------------------------- */
.why-us {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(28rem, 42rem);
  grid-template-areas: "text quote" "actions actions";
  column-gap: var(--space-2xl); row-gap: var(--space-xl); align-items: start;
}
.why-us__text { grid-area: text; min-width: 0; display: flex; flex-direction: column; gap: var(--space-m); }
.why-us__actions {
  grid-area: actions; display: grid; grid-template-columns: 1fr 1fr;
  width: fit-content; max-width: 100%; justify-content: start;
}
.why-us__actions > a { width: 100%; flex: none; }
.why-us__quote { grid-area: quote; position: relative; width: 100%; font-family: var(--font-serif); font-style: italic; font-size: var(--text-xl); line-height: 1.3; padding: 10.4rem var(--space-xl) var(--space-xl); border-radius: var(--radius-card); background: var(--creme); color: var(--petrol); box-shadow: var(--shadow-card); }
.why-us__quote::before { content: "\201E"; position: absolute; top: 1.2rem; left: var(--space-l); font-size: 5.6rem; line-height: 1; color: var(--secondary); font-family: var(--font-serif); pointer-events: none; }
.why-us__quote footer { margin-top: var(--space-s); font-family: var(--font-sans); font-style: normal; font-size: var(--text-s); font-weight: 600; }

.marquee { position: relative; overflow: hidden; margin-top: var(--space-3xl); padding: var(--space-m) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(3rem, 5vw, 8rem); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: clamp(4.4rem, 6vw, 7rem); width: auto; opacity: .85; filter: drop-shadow(0 2px 6px var(--schwarz-20)); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__label { display: block; width: 100%; max-width: none; font-size: var(--text-s); letter-spacing: .12em; font-weight: 600; text-align: center; margin: var(--space-l) auto 0; opacity: .8; }

/* --------------------------------------------------------------------------
   Einsatzgebiete – Pinned Narrative (Side-by-Side Sticky)
   -------------------------------------------------------------------------- */
.usecases { display: flex; gap: var(--space-2xl); align-items: flex-start; }
.usecases__sticky { flex: 1 1 50%; min-width: 0; position: -webkit-sticky; position: sticky; top: var(--nav-h); height: calc(100lvh - var(--nav-h)); display: flex; align-items: center; justify-content: center; }
.usecases__visual { position: relative; width: min(100%, 60rem); aspect-ratio: 1 / 0.86; }
.usecases__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); opacity: 0; transition: opacity .45s ease; }
.usecases__visual > img.is-on { opacity: 1; }
.usecase__fig { display: none; margin: 0 0 var(--space-s); }
.usecase__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-img); }
.usecases__badge {
  position: absolute; left: 50%; bottom: 6%; transform: translate(-50%, 1rem); opacity: 0;
  display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 2rem; border-radius: var(--radius-full);
  background: var(--petrol); color: var(--creme); font-weight: 600; font-size: var(--text-s); box-shadow: var(--shadow-card);
  transition: opacity .4s ease, transform .4s ease; white-space: nowrap;
}
.usecases__badge.is-active { opacity: 1; transform: translate(-50%, 0); }
.usecases__badge svg { width: 2rem; height: 2rem; color: var(--secondary); }
.usecases__steps { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; }
.usecase { min-height: 70lvh; display: flex; flex-direction: column; justify-content: center; gap: var(--space-s); padding: var(--space-xl) 0; opacity: .35; transition: opacity .5s ease; border-bottom: 1px solid var(--petrol-10); }
.usecase.is-active { opacity: 1; }
.usecase:last-child { border-bottom: 0; }
.usecases__steps::after { content: ""; display: block; flex: 0 0 auto; height: 52lvh; }
.usecase__num { font-family: var(--font-serif); font-style: italic; font-size: var(--text-xl); color: var(--secondary); line-height: 1; }
.usecase h3 { font-size: var(--text-2xl); }
.usecase p { font-size: var(--text-l); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Zahlen – Count-up
   -------------------------------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: var(--space-l); }
.stat { flex: 1 1 26rem; min-width: 0; display: flex; flex-direction: column; gap: var(--space-s); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--creme-10); border: 1px solid var(--white-12); }
.stat__ring { width: 11rem; height: 11rem; position: relative; }
.stat__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat__ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.stat__ring .track { stroke: var(--creme-14); }
.stat__ring .bar { stroke: var(--secondary); stroke-dasharray: 283; stroke-dashoffset: 283; }
.stat__value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat p { font-size: var(--body-size); }
.stat__source { font-size: 1.2rem; opacity: .7; margin-top: var(--space-l); }

/* PDF-Formular (Inline) */
.pdf-box { margin-top: var(--space-3xl); display: flex; flex-wrap: wrap; gap: var(--space-2xl); align-items: center; padding: var(--space-2xl); border-radius: var(--radius-card); background: var(--creme); color: var(--petrol); box-shadow: var(--shadow-card); }
.pdf-box__text { flex: 1 1 34rem; min-width: 0; display: flex; flex-direction: column; gap: var(--space-s); }
.pdf-box__text h3 { font-size: clamp(2.6rem, 3.2vw, 4.4rem); line-height: 1.08; }
.pdf-box__text p { font-size: var(--text-l); line-height: 1.4; max-width: 36ch; }
.pdf-box form { flex: 1 1 36rem; min-width: 0; }
.section--creme .pdf-box { background: var(--petrol); color: var(--creme); }
.section--warm .pdf-box { background: var(--petrol); color: var(--creme); }

/* --------------------------------------------------------------------------
   Video-Trenner (Zoom-Parallax)
   -------------------------------------------------------------------------- */
.divider { position: relative; padding: 0; background: var(--petrol); }
.divider__frame { position: relative; width: 100%; height: 100lvh; min-height: 100lvh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.divider__frame video, .divider__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(.86); border-radius: var(--radius-img); will-change: transform, border-radius; }
.divider__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, var(--petrol-70) 0%, var(--petrol-50) 55%, var(--petrol-20) 100%); pointer-events: none; }
.divider__claim { position: relative; z-index: 2; text-align: center; font-size: var(--text-3xl); color: var(--creme); text-shadow: 0 4px 30px var(--schwarz-62); padding: 0 2.4rem; }
.divider__claim .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* --------------------------------------------------------------------------
   Qualität – Sticky Cards
   -------------------------------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: var(--space-l); }
.stack__card {
  position: -webkit-sticky; position: sticky; top: calc(var(--nav-h) + var(--space-l));
  display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: center;
  background: var(--creme); color: var(--petrol); border-radius: var(--radius-card); box-shadow: var(--shadow-l);
  padding: var(--space-xl); min-height: 50lvh; transform-origin: 50% 0; will-change: transform;
}
.stack__card:nth-child(2) { top: calc(var(--nav-h) + var(--space-l) + 2.4rem); }
.stack__card:nth-child(3) { top: calc(var(--nav-h) + var(--space-l) + 4.8rem); }
.stack__text { flex: 1 1 32rem; min-width: 0; display: flex; flex-direction: column; gap: var(--space-s); }
.stack__text h3 { font-size: var(--text-2xl); }
.stack__text p { font-size: var(--text-l); line-height: 1.4; }
.stack__media { flex: 1 1 36rem; min-width: 0; border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 16 / 9; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; }
.stack__spacer { height: 30lvh; }

/* --------------------------------------------------------------------------
   Workflow – SVG-Pfad zeichnet sich beim Scrollen
   -------------------------------------------------------------------------- */
.workflow { position: relative; display: flex; flex-direction: column; }
.workflow__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); pointer-events: none; }
.workflow__line svg { width: 100%; height: 100%; overflow: visible; }
.workflow__line .track { stroke: var(--petrol-20); stroke-width: 4; fill: none; }
.workflow__line .draw { stroke: var(--secondary); stroke-width: 4; fill: none; stroke-linecap: round; }
.wf-step { position: relative; display: flex; align-items: center; width: 50%; padding: var(--space-l) var(--space-2xl) var(--space-l) 0; }
.wf-step:nth-child(odd) { align-self: flex-end; padding: var(--space-l) 0 var(--space-l) var(--space-2xl); }
.wf-step__dot {
  position: absolute; top: calc(50% - 1.3rem); right: -1.3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--secondary); border: 4px solid var(--secondary); z-index: 1; transform: scale(0); opacity: 0;
}
.wf-step:nth-child(odd) .wf-step__dot { right: auto; left: -1.3rem; }
.js .wf-step__card { opacity: 0; }
html:not(.js) .wf-step__card { opacity: 1; }
html:not(.js) .wf-step__dot { opacity: 1; transform: none; background: var(--secondary); border-color: var(--secondary); }
.wf-step__card { width: 100%; display: flex; gap: var(--space-m); align-items: flex-start; padding: var(--space-l); border-radius: var(--radius-process); border: 1px solid var(--white-12); background: var(--white); color: var(--petrol); box-shadow: var(--shadow-card); }
.wf-step__num { font-family: var(--font-serif); font-style: italic; font-size: var(--text-2xl); line-height: 1; color: var(--secondary); flex-shrink: 0; }
.wf-step__card h3 { font-size: var(--text-l); margin-bottom: .4rem; }
.wf-step__card p { font-size: var(--body-size); }

/* --------------------------------------------------------------------------
   Portfolio – Videos (2-Klick-Facade)
   -------------------------------------------------------------------------- */
.portfolio-intro { display: flex; flex-wrap: wrap; gap: var(--space-2xl); align-items: center; justify-content: space-between; margin-bottom: var(--space-2xl); }
.portfolio-intro .section-head { flex: 1 1 42rem; min-width: 0; margin-bottom: 0; }
.portfolio-intro__side {
  flex: 1 1 42rem; min-width: 0; max-width: 56rem;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-m);
}
.portfolio-intro__shot { width: 100%; min-width: 0; }
.portfolio-intro__cap { margin: 0; max-width: none; text-align: center; }
.portfolio-intro__btn { width: auto; max-width: 100%; padding-inline: var(--space-l); }
.portfolio-intro__img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.video-grid { display: flex; flex-wrap: wrap; gap: var(--space-l); }
.yt { position: relative; flex: 1 1 36rem; min-width: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-img); overflow: hidden; background: var(--schwarz); box-shadow: var(--shadow-card); }
.yt__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.yt:hover .yt__thumb { transform: scale(1.04); }
.yt__play {
  position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .4rem;
  padding: var(--space-m); color: var(--creme); text-align: left;
  background: linear-gradient(to top, var(--schwarz-62) 0%, transparent 55%);
}
.yt__play::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7.2rem; height: 7.2rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--secondary); box-shadow: var(--shadow-l); transition: transform .3s ease, background .3s ease;
}
.yt__play::after {
  content: ""; position: absolute; left: calc(50% + .4rem); top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 1.1rem 0 1.1rem 1.9rem; border-color: transparent transparent transparent var(--white);
}
.yt:hover .yt__play::before { transform: translate(-50%, -50%) scale(1.08); background: var(--secondary-d-1); }
.yt__title { font-weight: 600; font-size: var(--text-m); }
.yt__meta { font-size: 1.2rem; opacity: .85; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__consent {
  position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column; justify-content: center; gap: var(--space-s);
  padding: var(--space-l); background: var(--petrol-85); color: var(--creme); font-size: var(--text-s); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.yt.is-consent .yt__consent { display: flex; }
.yt__consent p { font-size: 1.3rem; line-height: 1.4; }
.yt__consent a { text-decoration: underline; }
.yt__consent label { display: flex; align-items: center; gap: .8rem; font-size: 1.3rem; }
.yt__consent .btn-row { gap: var(--space-xs); }
.yt__consent .main-red-btn, .yt__consent .load-more-btn-light { padding: 1rem var(--space-l); min-height: 3.8rem; font-size: var(--text-s); }

/* --------------------------------------------------------------------------
   Über uns
   -------------------------------------------------------------------------- */
.about { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-3xl); }
.about__photo { flex: 1 1 34rem; min-width: 0; max-width: 52rem; position: relative; margin-top: 0; align-self: flex-start; }
.about__photo-clip { display: block; overflow: hidden; border-radius: var(--radius-img); aspect-ratio: 4 / 5; box-shadow: var(--shadow-photo); }
.about__photo-shift { display: block; height: 118%; }
.about__photo-shift img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
html:not(.js) .about__photo-shift img { transform: none; height: 100%; }
.about__photo figcaption { position: absolute; left: var(--space-m); bottom: var(--space-m); padding: 1rem 1.8rem; border-radius: var(--radius-full); background: var(--creme); color: var(--petrol); font-weight: 600; font-size: var(--text-s); box-shadow: var(--shadow-card); }
.about__text { flex: 1 1 42rem; min-width: 0; display: flex; flex-direction: column; gap: var(--space-m); align-self: stretch; justify-content: space-between; }
.about__text h3 { font-size: var(--text-l); }
.about__text > p:not(.eyebrow) { font-size: var(--text-m); line-height: 1.5; }
.about__more { margin-top: var(--space-3xl); display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.about__more .btn-row { justify-content: center; }
.about__facts { display: flex; flex-wrap: wrap; gap: var(--space-m); width: 100%; margin-top: 0; }
.about__fact { flex: 1 1 16rem; display: flex; flex-direction: column; gap: .2rem; padding: var(--space-m); border-radius: var(--radius-process); background: var(--white); box-shadow: var(--shadow-card); }
.about__fact b { font-size: var(--text-2xl); font-weight: 600; line-height: 1; color: var(--secondary); }
.about__fact span { font-size: var(--text-s); }
.about__office { margin-top: var(--space-3xl); display: flex; flex-wrap: wrap; gap: var(--space-l); }
.about__office img { flex: 1 1 36rem; min-width: 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.about__office img:first-child { object-position: center top; }

/* --------------------------------------------------------------------------
   Kontakt (wie cursor-cta-contact) + Formular
   -------------------------------------------------------------------------- */
.contact { display: flex; flex-wrap: wrap; gap: var(--space-2xl); align-items: flex-start; }
.contact__text { flex: 1 1 36rem; min-width: 0; display: flex; flex-direction: column; gap: var(--space-m); }
.contact__text h2 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.contact__details { display: flex; flex-direction: column; gap: .6rem; font-size: var(--text-m); font-style: normal; }
.contact__details a:hover { color: var(--secondary); }
.contact__social { display: flex; gap: var(--space-s); margin-top: var(--space-s); }
.contact__social a { width: 4.4rem; height: 4.4rem; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; border: 1px solid var(--creme-48); transition: background .25s, border-color .25s; }
.contact__social a:hover { background: var(--secondary); border-color: var(--secondary); }
.contact__social svg { width: 2rem; height: 2rem; }
.contact__form-wrap { flex: 1 1 44rem; min-width: 0; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--creme-10); border: 1px solid var(--white-12); }

.cursor-contact__form { display: flex; flex-direction: column; gap: 0; width: 100%; }
.cursor-contact__form .form-group { padding-bottom: clamp(8px, 1.2vh, 20px); display: flex; flex-direction: column; gap: .6rem; }
.cursor-contact__form input:not([type="hidden"]):not([type="checkbox"]), .cursor-contact__form textarea {
  width: 100%; padding: clamp(10px, 1.4vh, 18px) var(--space-s);
  background: transparent; color: var(--creme); font-size: var(--text-m); font-weight: 600; line-height: 1.4;
  border-radius: var(--radius-m); border: 1px solid var(--creme); min-height: clamp(48px, 5.5vh, 64px);
  transition: .25s ease-in-out; appearance: none; outline: 0;
}
.cursor-contact__form textarea { min-height: clamp(120px, 18vh, 220px); resize: vertical; }
.cursor-contact__form input::placeholder, .cursor-contact__form textarea::placeholder { color: var(--creme-70); font-weight: 400; }
.cursor-contact__form input:hover, .cursor-contact__form textarea:hover { box-shadow: var(--shadow-l); background: var(--creme-10); }
.cursor-contact__form input:focus, .cursor-contact__form textarea:focus { background: var(--primary); color: var(--petrol); border-color: var(--creme); }
.cursor-contact__form input:focus::placeholder, .cursor-contact__form textarea:focus::placeholder { color: var(--petrol-50); }
.cursor-contact__form .form-check { flex-direction: row; align-items: flex-start; gap: 1.2rem; font-size: 1.3rem; line-height: 1.4; }
.cursor-contact__form .form-check input { width: 2rem; height: 2rem; min-height: 0; padding: 0; margin-top: .2rem; flex-shrink: 0; appearance: auto; accent-color: var(--secondary); }
.cursor-contact__form .form-check a { text-decoration: underline; }
.cursor-contact__form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.cursor-contact__form .submit-button-wrapper { padding-top: var(--space-xs); }
.cursor-contact__form .main-red-btn { width: 100%; }
.cursor-contact__form .main-red-btn[disabled] { opacity: .6; cursor: wait; }
.form-msg { display: none; margin-top: var(--space-s); padding: var(--space-s) var(--space-m); border-radius: var(--radius-m); font-size: var(--text-s); font-weight: 600; }
.form-msg.is-ok { display: block; background: var(--warm); color: var(--petrol); }
.form-msg.is-err { display: block; background: var(--secondary); color: var(--white); }
.form-note { font-size: 1.2rem; opacity: .8; }

/* Formular auf hellem Grund (PDF-Boxen auf Petrol → gleiche Regeln; auf Creme invertiert) */
.section--creme .cursor-contact__form input, .section--creme .cursor-contact__form textarea { color: var(--creme); border-color: var(--creme); }
.pdf-form { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--space-s); align-items: flex-start; }
.pdf-form .form-group { flex: 1 1 18rem; min-width: 0; padding-bottom: 0; }
.section--petrol .pdf-box .cursor-contact__form input:not([type="hidden"]):not([type="checkbox"]) {
  color: var(--petrol); background: var(--white); border-color: var(--petrol-20);
}
.section--petrol .pdf-box .cursor-contact__form input::placeholder { color: var(--petrol-50); }
.section--petrol .pdf-box .cursor-contact__form input:focus { background: var(--creme); color: var(--petrol); }
.pdf-form .form-check { flex: 1 1 100%; }
.pdf-form .form-check input {
  appearance: none; -webkit-appearance: none;
  background: var(--white); border: 1px solid var(--petrol-20); border-radius: .4rem;
}
.pdf-form .form-check input:checked {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.2 11.4 13 4.6' fill='none' stroke='%231A2E46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 1.4rem;
}
.contact__form-wrap .form-check input {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 1px solid var(--creme); border-radius: .4rem;
}
.contact__form-wrap .form-check input:checked {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.2 11.4 13 4.6' fill='none' stroke='%23EEEAE2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 1.4rem;
}
.pdf-form .submit-button-wrapper, .pdf-form .form-msg { flex: 1 1 100%; }
.pdf-form .submit-button-wrapper { padding-top: var(--space-xs); }

/* --------------------------------------------------------------------------
   Footer-Reveal (Vorhang) + Footer (1:1 Struktur von cursor-tmb)
   -------------------------------------------------------------------------- */
/* overflow sichtbar lassen: hidden/clip an diesem Vorfahren bricht position:sticky
   (Einsatzgebiete, Qualitätskarten). Der Stapelkontext (z-index) reicht für den Vorhang. */
.cursor-footer-reveal { position: relative; z-index: 1; width: 100%; margin-bottom: var(--footer-h, 100vh); background: var(--petrol); }
.cursor-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
  width: 100%; height: 100vh; min-height: 517px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(70px, 10vh, 120px) 0 40px; background-color: var(--petrol); color: var(--creme);
}
/* Fallback ohne JS oder wenn Footer höher als Viewport: normaler Fluss statt Vorhang */
html:not(.js) .cursor-footer-reveal, .cursor-footer-reveal.is-static { margin-bottom: 0; }
html:not(.js) .cursor-footer, .cursor-footer.is-static { position: relative; height: auto; min-height: 0; }
.cursor-footer__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cursor-footer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cursor-footer__overlay { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--schwarz-62) 0%, var(--schwarz-48) 55%, var(--schwarz-36) 100%); }
.cursor-footer__inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; align-self: center; padding: 0 clamp(24px, 6vw, 96px); display: flex; flex-direction: column; }
.cursor-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: clamp(32px, 4vw, 64px); width: 100%; padding: 0 0 clamp(48px, 7vh, 80px); border-bottom: 1px solid var(--creme-14); }
.footer-spalte { display: flex; flex-direction: column; gap: 1rem; z-index: 22; }
.footer-spalte--brand { gap: var(--space-m); }
.footer-spalte--brand img.footer-logo { width: min(100%, 26rem); height: auto; cursor: pointer; }
.footer-spalte--brand p { font-size: var(--text-s); max-width: 36rem; }
.footer-title { color: var(--creme); line-height: 1.2; letter-spacing: 0.1em; margin-bottom: var(--space-xs); font-size: var(--text-s); font-weight: 600; text-transform: uppercase; }
.footer-link, .footer-link-to-page, .footer-text { color: var(--creme); line-height: 1.2; font-size: var(--text-s); transition: .1s ease-in-out; max-width: fit-content; width: auto; }
.footer-link:hover, .footer-link-to-page:hover { color: var(--secondary); }
.footer-link-to-page { text-wrap: nowrap; }
.footer-google { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; justify-content: flex-start; margin-top: var(--space-xs); }
.footer-google .g-icon-wrap { width: 5.2rem; height: 5.2rem; }
.footer-social { display: flex; gap: 1.6rem; margin-top: var(--space-s); }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: var(--radius-full); border: 1px solid var(--creme-48); transition: background .25s, border-color .25s; }
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); }
.footer-social svg { width: 1.8rem; height: 1.8rem; }
.footer-bottom-line { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-m); flex-wrap: wrap; padding-top: var(--space-l); font-size: var(--text-s); }
.footer-bottom-line > div:last-child { display: flex; gap: var(--space-m); flex-wrap: wrap; }
.footer-bottom-link { color: var(--creme-48); }
.footer-bottom-link:hover { color: var(--secondary); }

/* Nach oben – gleiches Muster wie cursor-tmb */
.to-top {
  position: fixed; right: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vh, 32px); z-index: 55;
  width: 52px; height: 52px; border: none; border-radius: 50%;
  background: var(--secondary); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 32px var(--schwarz-22);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--secondary-d-1); transform: translateY(-2px); }
.to-top:active { transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; display: block; }

/* --------------------------------------------------------------------------
   Rechtsseiten
   -------------------------------------------------------------------------- */
.legal { padding-top: calc(var(--nav-h) + var(--space-3xl)); }
.legal .inner--narrow { max-width: 90rem; display: flex; flex-direction: column; gap: var(--space-m); }
.legal h1 { font-size: var(--text-4xl); margin-bottom: var(--space-l); }
.legal h2 { font-size: var(--text-xl); margin-top: var(--space-l); }
.legal h3 { font-size: var(--text-l); margin-top: var(--space-s); }
.legal p, .legal li { font-size: var(--text-m); max-width: none; }
.legal ul { list-style: disc; padding-left: 2.4rem; display: flex; flex-direction: column; gap: .6rem; }
.legal a { text-decoration: underline; }
.legal a:hover { color: var(--secondary); }

@media (min-width: 992px) {
  :root { --nav-h: 8.8rem; }
}
/* --------------------------------------------------------------------------
   Breakpoints 1279 / 991 / 767 / 478
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .cursor-footer__top { grid-template-columns: 1.4fr 1fr 1.1fr; }
  .why-us { grid-template-columns: minmax(0, 1fr) minmax(24rem, 36rem); }
  .site-nav { padding-left: 14rem; }
  .site-nav__links { gap: 1.2rem; }
  .site-nav__links a { font-size: 1.35rem; }
  .site-nav__pill { padding-left: 1.8rem; gap: .6rem; }
  .site-nav .main-red-btn { padding-inline: 1.4rem; }
  .lang-switch a, .lang-switch span { min-width: 3.2rem; padding: 0 .5rem; }
}
@media (max-width: 991px) {
  .site-nav {
    align-items: center; justify-content: space-between; min-height: 0; height: var(--nav-h);
    padding: 0 1.6rem; pointer-events: auto;
    background: color-mix(in srgb, var(--creme) 92%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 0 var(--petrol-10);
  }
  .site-nav__logo { position: static; top: auto; left: auto; background: none; box-shadow: none; padding: 0; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav__logo::before { display: none; }
  .site-nav__logo img { height: 4.6rem; }
  .site-nav__pill { background: transparent; box-shadow: none; padding: 0; margin-left: 0; max-width: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav__links, .site-nav .main-red-btn { display: none; }
  .nav-burger { display: flex; }
  .why-us { grid-template-columns: 1fr; grid-template-areas: "text" "quote" "actions"; }
  .why-us__actions { width: 100%; grid-template-columns: 1fr; }
  .usecases { flex-direction: column; gap: var(--space-l); }
  .usecases__steps::after { display: none; }
  .usecases__sticky { display: none; }
  .usecase__fig { display: block; }
  .usecase { min-height: 0; opacity: 1; padding: var(--space-l) 0; }
  .usecase h3 { font-size: var(--text-xl); }
  .usecase p { font-size: var(--text-m); }
  .about { gap: var(--space-xl); }
  .about__photo { margin-top: 0; max-width: none; }
  .cursor-footer__top { grid-template-columns: 1fr 1fr; }
  .footer-spalte--brand { grid-column: 1 / -1; }
  .workflow__line { left: 1.3rem; }
  .wf-step, .wf-step:nth-child(odd) { width: 100%; align-self: auto; padding: var(--space-m) 0 var(--space-m) var(--space-2xl); }
  .wf-step__dot, .wf-step:nth-child(odd) .wf-step__dot { right: auto; left: 0; }
  .stack__card { min-height: 0; }
}
@media (max-width: 767px) {
  :root { --nav-h: 6.4rem; --section-space: clamp(8rem, 12vh, 14rem) 2rem; }
  .site-nav { padding: 0 1.6rem; }
  .site-nav__logo img { height: 4.6rem; }
  .hero { padding: 0 2rem 7rem; }
  .hero__title { max-width: none; }
  .hero__scroll { display: none; }
  .hero .eyebrow { display: none; }
  .hero__bottom { flex-direction: column; align-items: center; padding-right: 0; }
  .cards, .stats { flex-direction: column; }
  .card, .stat { flex-basis: auto; }
  .stack__card { position: relative; top: auto !important; transform: none !important; }
  .stack__spacer { display: none; }
  .divider__frame video, .divider__frame img { transform: scale(1); border-radius: 0; }
  .portfolio-intro__side { max-width: none; align-items: stretch; gap: 4.8rem; }
  .portfolio-intro__shot { width: 100%; }
  .portfolio-intro__img { width: 100%; max-height: none; }
  .portfolio-intro__btn { width: 100%; }
  .portfolio-intro__cap { text-align: center; }
  .video-grid { flex-direction: column; }
  .yt { flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .yt:nth-child(n + 7) { display: none; }
  .about__photo { max-width: none; margin-top: 0; }
  .about__photo-clip { border-radius: var(--radius-card); }
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-row > a, .btn-row > button,
  .main-red-btn, .main-ghost-btn, .load-more-btn, .load-more-btn-light { width: 100%; }
  .site-nav .nav-burger { width: 4.4rem; }
  .menu-open-div { top: 0; right: 0; left: 0; width: 100%; min-width: 100%; max-width: 100%; min-height: 100lvh; border-radius: 0; box-shadow: none; }
  .cursor-footer-reveal { margin-bottom: 0; }
  .cursor-footer { position: relative; height: auto; max-height: none; overflow: visible; min-height: 0; padding-top: calc(var(--nav-h) + 1.2rem); padding-bottom: 20px; }
  .footer-spalte--brand { min-width: 0; }
  .footer-logo { display: block; width: min(100%, 18rem); height: auto; }
  .cursor-footer__top { grid-template-columns: 1fr; gap: var(--space-l); padding-bottom: var(--space-xl); }
  .footer-link-to-page { text-wrap: wrap; }
}
@media (max-width: 478px) {
  .site-nav { padding: 0 1.2rem; gap: 1rem; }
  .main-red-btn, .main-ghost-btn, .load-more-btn, .load-more-btn-light { white-space: normal; max-width: 100%; padding-inline: var(--space-l); }
  .btn-row { width: 100%; }
  .lang-switch a, .lang-switch span { min-width: 3.2rem; padding: 0 .6rem; }
  .contact__form-wrap, .pdf-box, .card, .stat, .wf-step__card, .stack__card { padding: var(--space-l); }
  .why-us__quote { padding: 6rem var(--space-l) var(--space-l); }
  .why-us__quote::before { font-size: 5rem; height: 4rem; }
  .footer-bottom-line { padding-top: var(--space-s); padding-bottom: var(--space-s); width: 100%; align-items: center; }
  .cursor-footer__inner { padding: 0 20px; }
  .footer-spalte { width: 100%; }
  .footer-google { justify-content: center; }
  .pdf-form .form-group { flex-basis: 100%; }
}

/* --------------------------------------------------------------------------
   Reduced Motion – Inhalte sofort sichtbar, keine Scroll-Inszenierung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__media video, .hero__media img { transform: none; }
  .divider__frame video, .divider__frame img { transform: none; border-radius: 0; }
  .stack__card { position: relative; top: auto !important; transform: none !important; }
  .stack__spacer { display: none; }
  .usecase { opacity: 1; }
  .stat__ring .bar { stroke-dashoffset: var(--final-offset, 283); }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .wf-step__card { opacity: 1; transform: none; }
  .wf-step__dot { opacity: 1; transform: none; border-color: var(--secondary); background: var(--secondary); }
  .about__photo-shift img { transform: none; }
  .workflow__line .draw { stroke-dashoffset: 0 !important; }
  .cursor-footer-reveal { margin-bottom: 0; }
  .cursor-footer { position: relative; height: auto; min-height: 0; }
}
