/* ==========================================================================
   Lorino Co. Digital Solutions
   Dunkles Design-System, ein Akzent (Rost #D9622B), IBM Plex Sans
   (selbst gehostet, latin + latin-ext, Gewichte 400/500/600/700).

   Radius-System (dokumentierte Regel, überall gleich angewendet):
     - Buttons, Pills, Tags  -> voll rund (999px)
     - Karten, Frames, Panels -> 16px
     - Inputs, kleine Flächen -> 10px

   Z-Index-Skala:
     10 = klebriger Header
     20 = Mobile-Menü
     30 = Datenschutz-Hinweis, Skip-Link
   ========================================================================== */

/* ---- Schriften (selbst gehostet, kein externer Font-Dienst) ------------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-latin.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500-latin.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600-latin.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-700-latin.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Farben: warmes Fast-Schwarz, ein Rost-Akzent, gesperrt für die ganze Site */
  --bg:           #12100E;
  --bg-soft:      #16130F;
  --surface:      #1C1814;
  --surface-2:    #241F19;
  --line:         rgba(237, 230, 222, 0.09);
  --line-strong:  rgba(237, 230, 222, 0.18);
  --text:         #EFE9E1;
  --text-2:       #B7AC9E;
  --text-3:       #8C8172;
  --accent:       #D9622B;
  --accent-hover: #E8743C;
  --accent-ink:   #1D0F06;              /* Text auf Akzent-Flächen */
  --accent-soft:  rgba(217, 98, 43, 0.13);
  --accent-line:  rgba(217, 98, 43, 0.38);

  /* Typografie */
  --font-display: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display:   clamp(2.3rem, 4.4vw, 3.5rem);
  --fs-h2:        clamp(1.85rem, 3.4vw, 2.7rem);
  --fs-h3:        1.3rem;
  --fs-lead:      clamp(1.06rem, 1.4vw, 1.2rem);

  /* Motion: starke Kurven statt schwacher CSS-Defaults (Emil Kowalski) */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);

  /* Radius-System, siehe Kopfkommentar */
  --r-pill: 999px;
  --r-card: 16px;
  --r-input: 10px;
}

/* ---- Reset & Basis ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }  /* width/height-Attribute reservieren Platz, verzerren aber nie */

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 30;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: var(--r-pill);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Unsichtbarer Anker ganz oben: steuert die Header-Kante ohne Scroll-Listener */
[data-scroll-sentinel] {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ---- Typo-Bausteine ------------------------------------------------------ */
.display-1 {
  font-size: var(--fs-display);
  line-height: 1.06;            /* enge Zeilenhöhe für grosse Grade */
  letter-spacing: -0.02em;      /* negative Laufweite, grössenspezifisch */
  font-weight: 600;
}

.display-2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}

.accent-word { color: var(--accent); }

/* Fliesstext-Blöcke (Über mich, längere Abschnitte) */
.prose { max-width: 68ch; }
.prose p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.75;
}
.prose p + p { margin-top: 1.25em; }
.prose strong { color: var(--text); }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

/* ---- Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-tint { background: var(--bg-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }

/* ---- Buttons --------------------------------------------------------------
   Press-Feedback auf :active (scale 0.97, 120ms), Hover nur bei echtem
   Pointer. Transitions einzeln benannt, nie `transition: all`.            */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: default; pointer-events: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

@media (hover: hover) and (pointer: fine) {
  /* Sanfter Akzent-Glow beim Hover, Feedback fürs wichtigste Element */
  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(217, 98, 43, 0.32);
  }
  .btn-ghost:hover {
    border-color: var(--accent-line);
    color: var(--text);
    background: rgba(217, 98, 43, 0.07);
  }
}
/* Druck-Feedback gewinnt gegen den Hover-Lift (Quellreihenfolge) */
.btn-primary:active,
.btn-ghost:active { transform: scale(0.97); box-shadow: none; }

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.arrow-link i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .arrow-link:hover i { transform: translateX(4px); }
}

/* ---- Header ----------------------------------------------------------------
   Transluzente Ebene, Inhalt scrollt darunter durch (Apple: Material statt
   Balken). Die Kante erscheint erst beim Scrollen (Sentinel + IO, kein
   Scroll-Listener).                                                        */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(18, 16, 14, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-2);
  padding-block: 0.35rem;
  transition: color 180ms var(--ease-out);
}

/* Unterstrich wächst aus der Leserichtung (origin-aware) */
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover { color: var(--text); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
}
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav .btn { padding: 0.55rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--r-input);
}

/* ---- Mobile-Menü -------------------------------------------------------------
   Ein-/Ausblenden über transform + opacity (unterbrechbare Transition, kein
   Keyframe-Neustart). Gleicher Weg rein wie raus (räumliche Konsistenz),
   Ausblenden schneller als Einblenden (asymmetrisches Timing).             */
.mobile-menu {
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: 20;
  background: rgba(18, 16, 14, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem 2rem;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    visibility 0s linear 180ms;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition:
    opacity 240ms var(--ease-out),
    transform 240ms var(--ease-out),
    visibility 0s;
}

.mobile-menu a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn {
  margin-top: 1.25rem;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  display: inline-flex;
  justify-content: center;
}

@media (max-width: 979px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 980px) {
  .mobile-menu { display: none; }
}

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
/* Zwei Glow-Flächen im Akzentton, sehr langsame Drift (transform-only,
   läuft auf dem Compositor). Inhalt liegt über den Glows (z-index 1). */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 780px;
  max-height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 98, 43, 0.11), transparent 65%);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -38%;
  right: -12%;
  width: 44vw;
  height: 44vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 98, 43, 0.07), transparent 62%);
  pointer-events: none;
  animation: glow-drift 19s ease-in-out -9s infinite alternate-reverse;
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vh, 0) scale(1.14); }
}

/* Dezenter Parallax: das Hero-Bild löst sich beim Wegscrollen minimal
   langsamer (Scroll-getriebene CSS-Animation, nur wo unterstützt). */
@keyframes drift-away {
  to { transform: translateY(-26px); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero-visual > * {
      animation: drift-away linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy .lead { margin-top: 1.4rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* Kompakter Seiten-Hero für Unterseiten */
.page-hero { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .lead { margin-top: 1.2rem; }

/* Einstiegs-Animation: Hierarchie erzählt sich der Reihe nach (Stagger).
   Läuft einmal pro Seitenaufruf, transform + opacity, unter 700ms fertig. */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1, .anim-2, .anim-3, .anim-4 {
  animation: rise-in 550ms var(--ease-out) both;
}
.anim-2 { animation-delay: 70ms; }
.anim-3 { animation-delay: 140ms; }
.anim-4 { animation-delay: 210ms; }

/* ---- Kino-Hero (nur Startseite) -----------------------------------------------
   Das Hero-Video liegt bildschirmfüllend hinter einem clip-path-Fenster.
   JS setzt --p (0..1) auf .cine und schaltet .cine-scrub sowie .is-settled;
   --p ist dabei bereits geglättet (Exponential-Nachlauf) und durch eine
   Ease-Out-Kurve geschickt (siehe main.js); alle Zwischenzustände leiten
   sich per calc() aus --p ab.
   Grundzustand (ohne JS oder mit reduzierter Bewegung): statischer
   Vollbild-Hero, Titel und Inhalt sofort sichtbar.
   Einzige Ausnahme von der "kein Scroll-Listener"-Regel der Site: der Scrub
   braucht kontinuierlichen Fortschritt; der Listener ist passiv und
   rAF-gedrosselt (siehe main.js).                                            */
.cine {
  position: relative;
  --p: 0;
  --cine-ix: 21%;   /* horizontaler Start-Einzug des Video-Fensters */
  --cine-iy: 22%;   /* vertikaler Start-Einzug */
}
.cine-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.cine-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: cine-fade 700ms ease 100ms backwards;
}
@keyframes cine-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cine-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg);
}
.cine-scrim,
.cine-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cine-scrim { background: #12100E; opacity: 0.45; }
.cine-shade {
  background: linear-gradient(180deg,
    rgba(18, 16, 14, 0.4) 0%,
    transparent 32%,
    transparent 50%,
    rgba(18, 16, 14, 0.9) 100%);
}

/* Haarlinien-Rahmen im Akzentton, läuft dem Fenster voraus (nur im Scrub) */
.cine-frame { display: none; }

/* Grundzustand (ohne JS / reduzierte Bewegung): Titel und Overlay liegen im
   normalen Fluss (flex space-between), die Stage waechst notfalls mit dem
   Inhalt mit; nichts kann sich ueberlagern (400%-Zoom, kurze Viewports). */
.cine-title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(68px + 8vh);
}
.cine-line { display: block; }

.cine-hint { display: none; }

.cine-overlay {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.cine-overlay .lead { margin-top: 1.1rem; max-width: 56ch; }
.cine-overlay .hero-ctas { margin-top: 1.8rem; }
.cine-overlay .rating-badge { margin-top: 1.4rem; }

/* Scrub-Modus: JS aktiv und Bewegung erlaubt.
   Die Stage ist 100lvh hoch (grosser Viewport), damit das Video auch nach dem
   Einklappen der mobilen Browserleiste buendig abschliesst; die Sektionshoehe
   nutzt stabile svh-Einheiten, main.js rechnet den Fortschritt aus
   Sektionshoehe minus Stage-Hoehe (beides fix, kein Springen). */
.cine-scrub {
  height: 250vh;
  height: 250svh;
}
.cine-scrub .cine-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  min-height: 0;
}
.cine-scrub .cine-media {
  clip-path: inset(
    calc(var(--cine-iy) * (1 - var(--p)))
    calc(var(--cine-ix) * (1 - var(--p)))
    round calc(var(--r-card) * (1 - var(--p))));
}
/* Dolly-Zoom: Das Video startet leicht vergroessert und faehrt beim
   Expandieren auf 1.0 zurueck (nur transform, kompositorfreundlich). */
.cine-scrub .cine-media video {
  will-change: transform;
  transform: scale(calc(1.12 - var(--p) * 0.12));
}
.cine-scrub .cine-scrim { opacity: calc(0.55 - var(--p) * 0.37); }
.cine-scrub .cine-shade { opacity: clamp(0, calc((var(--p) - 0.55) * 2.2), 1); }

.cine-scrub .cine-frame {
  display: block;
  position: absolute;
  z-index: 1;
  top: calc(var(--cine-iy) * (1 - var(--p)) - 10px);
  bottom: calc(var(--cine-iy) * (1 - var(--p)) - 10px);
  left: calc(var(--cine-ix) * (1 - var(--p)) - 10px);
  right: calc(var(--cine-ix) * (1 - var(--p)) - 10px);
  border: 1px solid var(--accent-line);
  border-radius: calc(var(--r-card) + 6px);
  opacity: clamp(0, calc(1.3 - var(--p) * 1.9), 0.85);
  pointer-events: none;
}

/* Einstiegs-Animationen nur, wenn die Seite oben startet (.cine-intro setzt
   JS bei p < 0.05). Sonst wuerden sie bei wiederhergestellter Scrollposition
   die aus --p berechneten Opacities ueberschreiben und kurz aufblitzen. */
.cine-intro .cine-frame { animation: cine-fade 700ms ease 250ms backwards; }
.cine-intro .cine-hint { animation: rise-in 550ms var(--ease-out) 450ms backwards; }

/* Titelzeilen gleiten horizontal auseinander und blenden aus */
.cine-scrub .cine-title {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  padding-top: 0;
  transform: translateY(-50%);
}
.cine-scrub .cine-line {
  will-change: transform, opacity;
  opacity: clamp(0, calc(1 - var(--p) * 1.7), 1);
}
.cine-scrub .cine-line-a { transform: translate(calc(var(--p) * -58vw), calc(var(--p) * -7vh)); }
.cine-scrub .cine-line-b { transform: translate(calc(var(--p) * 58vw), calc(var(--p) * 7vh)); }

/* Scroll-Hinweis unten, verschwindet mit den ersten Rad-Umdrehungen.
   bottom-Offset beruecksichtigt die anfangs sichtbare mobile Browserleiste
   (Stage ist 100lvh, sichtbar sind anfangs nur 100svh). */
.cine-scrub .cine-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: absolute;
  inset-inline: 0;
  bottom: 1.5rem;
  bottom: calc(100lvh - 100svh + 1.5rem);
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  opacity: clamp(0, calc(1 - var(--p) * 4), 1);
}
.cine-scrub.is-settled .cine-hint { display: none; }
.cine-scrub .cine-hint i {
  font-size: 1.2rem;
  color: var(--accent);
  animation: hint-bob 1.7s var(--ease-in-out) infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(-1px); }
  50%      { transform: translateY(3px); }
}

/* Inhalt erscheint erst, wenn das Video (fast) voll expandiert ist.
   Bewusst NUR opacity + pointer-events (keine visibility): Screenreader
   lesen Kicker/Lead/CTAs damit jederzeit in der normalen Reihenfolge, und
   sobald ein Tastatur-Fokus ins Overlay wandert (:focus-within), wird es
   sichtbar. main.js haelt .is-settled zusaetzlich fest, solange der Fokus
   im Overlay liegt. */
.cine-scrub .cine-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition:
    opacity 550ms var(--ease-out),
    transform 550ms var(--ease-out);
}
.cine-scrub.is-settled .cine-overlay,
.cine-scrub .cine-overlay:focus-within {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 650ms var(--ease-out) 120ms,
    transform 650ms var(--ease-out) 120ms;
}

/* Pause-/Play-Knopf fuers Hero-Video (WCAG 2.2.2): dezent unten rechts,
   funktioniert nur mit JS und wird darum erst von main.js eingeblendet. */
.cine-pause {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  bottom: calc(100lvh - 100svh + 1.4rem);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(18, 16, 14, 0.55);
  color: var(--text-2);
  font-size: 1.15rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cine-pause:hover { color: var(--accent); border-color: var(--accent-line); }
}

@media (max-width: 767px) {
  .cine { --cine-ix: 8%; --cine-iy: 24%; }
  .cine-scrub { height: 220vh; height: 220svh; }
  .cine-scrub .cine-line-a { transform: translate(calc(var(--p) * -85vw), calc(var(--p) * -4vh)); }
  .cine-scrub .cine-line-b { transform: translate(calc(var(--p) * 85vw), calc(var(--p) * 4vh)); }
  .cine-title { padding-top: calc(68px + 5vh); }
  .cine-overlay .lead { font-size: 1rem; }
}

/* ---- Bild-Platzhalter ---------------------------------------------------------
   Bewusst gestaltete Slots: Der Kunde ersetzt sie später durch eigene
   Screenshots/Fotos (siehe HTML-Kommentare an jeder Stelle).               */
.ph-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  background:
    repeating-linear-gradient(-45deg,
      rgba(239, 233, 225, 0.025) 0 10px,
      transparent 10px 20px),
    var(--surface);
  color: var(--text-3);
  text-align: center;
  padding: 1.5rem;
  min-height: 180px;
}
.ph-frame i { font-size: 1.9rem; color: var(--text-3); }
.ph-frame strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text-2);
}
.ph-frame span { font-size: 0.85rem; }

.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3   { aspect-ratio: 4 / 3; }
.ratio-3x4   { aspect-ratio: 3 / 4; }
.ratio-1x1   { aspect-ratio: 1 / 1; }

/* Browser-Rahmen als Marken-Anwendung (Mockup-Konvention) */
.browser-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 5, 3, 0.55);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.browser-url {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-3);
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.9rem;
  max-width: 260px;
}
.browser-frame .ph-frame {
  border: 0;
  border-radius: 0;
}

/* Echte Bilder in Rahmen und Karten */
.frame-img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.img-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
/* Porträt in natürlichem Seitenverhältnis, bewusst kompakter als die Spalte */
.portrait-natural {
  max-width: 340px;
  margin-inline: auto;
}
.visual-caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-3);
}

.hero-visual { position: relative; }
.hero-visual .browser-frame { position: relative; }

/* ---- Scroll-Reveal --------------------------------------------------------------
   IntersectionObserver setzt .is-in, Stagger über --i (70ms-Schritte).
   Ohne JS bleibt alles sichtbar (Gate über .js).                            */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 550ms var(--ease-out),
    transform 550ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Bento (Leistungen auf der Startseite) ---------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}

/* Spotlight: Akzent-Schein folgt dem Zeiger (JS setzt --mx/--my direkt
   auf der Karte, wirkt nur dort). Nur bei echtem Pointer sichtbar. */
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 98, 43, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover::after { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-4px); border-color: var(--accent-line); }
  .svc-card:hover .svc-arrow { opacity: 1; transform: translate(0, 0); }
}
.svc-card:active { transform: scale(0.99); }

.svc-card i.svc-icon {
  font-size: 1.7rem;
  color: var(--accent);
}
.svc-card h3 { font-size: var(--fs-h3); font-weight: 500; }
.svc-card p { color: var(--text-2); font-size: 0.97rem; max-width: 46ch; }

.svc-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.25rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.svc-lg { grid-column: span 7; min-height: 300px; justify-content: flex-end; }
.svc-lg-alt { grid-column: span 5; min-height: 300px; justify-content: flex-end; }
.svc-sm { grid-column: span 4; }

/* Zellen mit visueller Varianz statt Karte-auf-Karte-Einerlei */
.svc-visual {
  background:
    linear-gradient(180deg, transparent 40%, var(--surface) 78%),
    repeating-linear-gradient(90deg,
      rgba(239, 233, 225, 0.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg,
      rgba(239, 233, 225, 0.05) 0 1px, transparent 1px 56px),
    var(--surface);
}
.svc-tinted {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
}

@media (max-width: 900px) {
  .svc-lg, .svc-lg-alt { grid-column: span 12; min-height: 0; }
  .svc-sm { grid-column: span 12; }
}

/* ---- Statement / Manifest ------------------------------------------------------ */
.statement {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.statement .display-2 { line-height: 1.2; }
.statement .lead { margin: 1.5rem auto 0; }

/* ---- Prozess --------------------------------------------------------------------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.process-step { position: relative; padding-top: 2rem; }
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.process-3 { grid-template-columns: repeat(3, 1fr); }
.process-step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-2); font-size: 0.95rem; }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 2.25rem; }
  .process::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .process-step { padding-top: 0; padding-left: 2.2rem; }
}

/* ---- Zeilen-Listen (Werte, Startvorteile): Fläche statt Kartenstapel ---------- */
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--line);
}
.row-item h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.row-item h3 i { color: var(--accent); font-size: 1.5rem; }
.row-item p { color: var(--text-2); }

@media (max-width: 720px) {
  .row-item { grid-template-columns: 1fr; gap: 0.6rem; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split > .sticky-col { position: sticky; top: 100px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > .sticky-col { position: static; }
}

/* ---- Leistungs-Detailblöcke ------------------------------------------------------ */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; }
.service-block.is-flipped .service-media { order: -1; }
.service-block.is-stacked {
  grid-template-columns: 1fr;
  align-items: start;
}

.service-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.service-copy h2 i { color: var(--accent); font-size: 1.6rem; flex: none; }
.service-copy > p { margin-top: 1rem; color: var(--text-2); max-width: 58ch; }

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
  margin-top: 1.5rem;
}
.include-grid li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--text-2);
  font-size: 0.95rem;
}
.include-grid li i { color: var(--accent); font-size: 0.9rem; position: relative; top: 1px; }
@media (max-width: 560px) {
  .include-grid { grid-template-columns: 1fr; }
}

/* Volle Bandbreite (Hosting): drei Spalten in getönter Fläche */
.band {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 12% 0%, var(--accent-soft), transparent 55%),
    var(--surface);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.band-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.8rem;
}
.band-cols h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.4rem; }
.band-cols p { color: var(--text-2); font-size: 0.93rem; }
.band-cols i { font-size: 1.5rem; color: var(--accent); margin-bottom: 0.7rem; }
@media (max-width: 820px) {
  .band-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Sprunganker-Pills auf der Leistungsseite */
.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.jump-pills a {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .jump-pills a:hover { color: var(--text); border-color: var(--accent-line); }
}

/* ---- Referenzen-Platzhalter ------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
/* Gespiegelte Asymmetrie: 7/5 oben, 5/7 unten */
.ref-card:nth-child(1) { grid-column: span 7; }
.ref-card:nth-child(2) { grid-column: span 5; }
.ref-card:nth-child(3) { grid-column: span 5; }
.ref-card:nth-child(4) { grid-column: span 7; }
.ref-card .ph-frame { min-height: 260px; }
@media (max-width: 860px) {
  .ref-grid .ref-card { grid-column: span 12; }
}
.ref-caption { margin-top: 0.9rem; }
.ref-caption strong {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
}
.ref-caption span { font-size: 0.88rem; color: var(--text-3); }

/* ---- FAQ / Accordion -----------------------------------------------------------------
   Grid-Rows-Transition: unterbrechbar, läuft in beide Richtungen sauber.
   280ms, starke ease-in-out-Kurve (Bewegung auf dem Bildschirm).            */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--text);
  transition: color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .acc-trigger:hover { color: var(--accent); }
}
.acc-trigger i {
  flex: none;
  font-size: 1.1rem;
  color: var(--text-3);
  transition: transform 240ms var(--ease-in-out), color 180ms var(--ease-out);
}
.acc-item.is-open .acc-trigger i { transform: rotate(180deg); color: var(--accent); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-in-out);
}
.acc-panel-inner { overflow: hidden; }
.acc-panel p {
  padding: 0 0.25rem 1.5rem;
  color: var(--text-2);
  max-width: 68ch;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---- Kontakt --------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.channel-list { display: flex; flex-direction: column; }
.channel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.channel i {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-input);
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a.channel:hover i { transform: translateY(-2px); }
}
.channel-label { font-size: 0.82rem; color: var(--text-3); }
.channel-value { font-weight: 700; color: var(--text); }

/* Formular: Label über Input, Hilfetext im Markup, Fehler unter dem Feld */
.form-grid { display: grid; gap: 1.4rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--text-3); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  padding: 0.8rem 1rem;
  transition: border-color 160ms var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.field textarea { min-height: 150px; resize: vertical; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; }
.select-wrap i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-3);
}

.field .error {
  display: none;
  font-size: 0.85rem;
  color: #E5896B;
}
.field.has-error .error { display: block; }
.field.has-error input,
.field.has-error textarea { border-color: #B14E2A; }

.form-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.92rem;
}
.form-note i { color: var(--accent); font-size: 1.2rem; flex: none; position: relative; top: 2px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
@media (max-width: 560px) {
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.form-status {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--r-input);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; }

/* ---- CTA-Band ---------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(75% 130% at 85% 110%, rgba(217, 98, 43, 0.16), transparent 60%),
    var(--surface);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.cta-band .display-2 { max-width: 18ch; }
.cta-band .lead { margin-top: 1rem; max-width: 52ch; }
.cta-band .hero-ctas { margin-top: 2rem; }
.cta-alt {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-3);
}
.cta-alt a {
  color: var(--text-2);
  font-weight: 700;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .cta-alt a:hover { color: var(--text); }
}

/* ---- Google-Bewertungs-Badge ------------------------------------------------------------------
   Sichtbarer Vertrauensanker, verlinkt aufs Google-Unternehmensprofil. */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rating-badge:hover { border-color: var(--accent-line); transform: translateY(-2px); }
}
.rating-stars { display: inline-flex; gap: 2px; color: var(--accent); }
.rating-stars svg { width: 15px; height: 15px; }
.rating-badge strong { font-size: 0.95rem; color: var(--text); }
.rating-badge span { font-size: 0.88rem; color: var(--text-3); }
.hero-copy .rating-badge { margin-top: 1.2rem; }
.page-hero .rating-badge { margin-top: 1.5rem; }

/* ---- Datenschutz-Hinweis (kleines Popup unten rechts) --------------------------------------
   Kein blockierendes Modal: informiert, verlinkt, lässt sich bestätigen.
   Die Bestätigung landet im localStorage, danach erscheint er nicht mehr. */
.consent-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 30;
  max-width: 430px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(8, 5, 3, 0.55);
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    visibility 0s linear 200ms;
}
.consent-banner.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out),
    visibility 0s;
}
.consent-banner p {
  font-size: 0.92rem;
  color: var(--text-2);
}
.consent-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text);
}
.consent-title i {
  color: var(--accent);
  font-size: 1.35rem;
  flex: none;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.consent-actions .btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
}

/* ---- Footer ---------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-2);
  font-size: 0.95rem;
  max-width: 34ch;
}

.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 1.25rem;
  text-decoration: none;
  transition:
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .social-row a:hover {
    color: var(--accent);
    border-color: var(--accent-line);
    transform: translateY(-2px);
  }
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--text); }
}
.footer-col address {
  font-style: normal;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-2); text-decoration: none; }
.footer-legal { display: flex; gap: 1.4rem; }
@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover { color: var(--text); }
}

/* ---- Impressum / Textseiten ---------------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2.6rem 0 0.8rem;
}
.legal p { color: var(--text-2); margin-bottom: 0.9rem; }
.legal address { font-style: normal; color: var(--text-2); line-height: 1.8; }
.legal a { color: var(--text); text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.legal .todo-hint {
  color: var(--accent);
  font-weight: 700;
}

/* ---- Responsives Verhalten der grossen Layouts ---------------------------------------------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.is-flipped .service-media { order: 0; }
}

/* ---- Reduzierte Bewegung ----------------------------------------------------------------------
   Sanfter, nicht null: Deckkraft bleibt, Bewegung entfällt.                  */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .anim-1, .anim-2, .anim-3, .anim-4 {
    animation: none;
  }

  .hero::before,
  .hero::after,
  .hero-visual > * { animation: none; }

  .social-row a {
    transition-property: color, border-color;
  }

  .consent-banner,
  .consent-banner.is-visible {
    transform: none;
    transition: opacity 200ms ease, visibility 0s;
  }

  .js .reveal {
    transform: none;
    transition: opacity 200ms ease;
  }

  .mobile-menu,
  .mobile-menu.is-open { transform: none; }

  .acc-panel { transition: none; }
  .acc-trigger i { transition: color 180ms ease; }

  .btn, .svc-card, .arrow-link i, .channel i, .svc-arrow {
    transition-property: background-color, border-color, color, opacity;
  }
  .btn:active, .svc-card:active { transform: none; }
}
