/* ==========================================================================
   Let's Do. – Auftritt
   Drei Abschnitte der Startseite mit eigener Inszenierung. Wird nach licht.css
   geladen und überschreibt dort, wo es nötig ist.
     1. Zitat (#about): das Bild als Bühne, das Zitat groß darüber
     2. Film zum Newsletter (#ihr-film): vier Schritte, ein Telefon spielt sie vor
     3. Schaufenster der Cubes (#produkte): jede Kachel zeigt das Programm in Bewegung
   Bewegung, die das Skript steuert (Videos, Wort für Wort), liegt in
   assets/js/modules/bewegung.js.
   ========================================================================== */

/* ── 1 · Zitat ───────────────────────────────────────────────────────────── */
.philosophy .philosophy__glasbox {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4.5rem); row-gap: clamp(1rem, 2.4vh, 1.8rem);
  align-items: start; align-content: start;
  padding: clamp(1.8rem, 4.2vw, 4.2rem);
  padding-bottom: calc(var(--inhalt) * 0.31);          /* Platz für die untere Bildhälfte: Schreibtisch und Fenster */
  text-align: left;
  background: #090a0e;                                 /* Farbe der Wand im Bild, damit oben kein Rand entsteht */
}
.philosophy__glasbox > .philosophy__hero-img {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -2;
  width: 100%; max-width: none; height: auto; max-height: none; margin: 0;
  border-radius: 0; box-shadow: none; object-fit: cover;
  transform-origin: 72% 78%;
  animation: zitat-atem 26s ease-in-out infinite alternate;
}
@keyframes zitat-atem { from { scale: 1; } to { scale: 1.07; } }
.philosophy .philosophy__glasbox::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 46% at 16% 10%, rgba(228, 28, 34, 0.17), transparent 72%),
    linear-gradient(180deg, #090a0e 0%, rgba(9, 10, 14, 0.94) 24%, rgba(9, 10, 14, 0.6) 46%, rgba(9, 10, 14, 0) 70%);
}
.philosophy__glasbox > .philosophy__quote-wrap { grid-column: 1; max-width: none; margin: 0; padding: 0; }
.philosophy .philosophy__quote {
  max-width: none; margin: 0;
  font-size: clamp(1.8rem, 1rem + 3.1vw, 3.9rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em;
  color: #fff; text-wrap: balance;
}
.philosophy .philosophy__quote::before {
  display: block; content: '\201E'; font-size: 1.6em; line-height: 0.62; margin-bottom: 0.2em;
  color: #ff4a50; opacity: 1; text-shadow: 0 0 34px rgba(255, 74, 80, 0.55);
}
.philosophy .philosophy__quote::after { color: #ff4a50; opacity: 0.9; }
.philosophy__quote .philosophy__highlight,
.philosophy__quote .philosophy__highlight .ld-wort {
  background: linear-gradient(180deg, #ffb0b3 0%, #ff5a60 48%, #e41c22 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 1; font-weight: 600;
}
.philosophy__glasbox > .philosophy__attribution {
  grid-column: 1; max-width: none; margin: 0;
  display: flex; align-items: center; gap: 0.9em;
  font-size: clamp(0.7rem, 0.66rem + 0.2vw, 0.84rem); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}
.philosophy__glasbox > .philosophy__attribution::before { content: ''; flex: none; width: 46px; height: 2px; background: linear-gradient(90deg, #ff4a50, rgba(255, 74, 80, 0)); }
.philosophy__glasbox > .philosophy__body {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  max-width: 44ch; margin: 0.5rem 0 0; padding-left: clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.12rem); line-height: 1.75; color: rgba(255, 255, 255, 0.86);
}
.philosophy__body .philosophy__highlight--dim { color: #FF6168; opacity: 1; }
/* Wort für Wort (bewegung.js zerlegt das Zitat) */
.ld-bewegt [data-ein-worte] .ld-wort {
  display: inline-block; opacity: 0; translate: 0 0.45em; filter: blur(8px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s ease;
  transition-delay: calc(var(--w, 0) * 70ms + 120ms);
}
.ld-bewegt [data-ein-worte].ist-da .ld-wort { opacity: 1; translate: 0 0; filter: none; }
@media (max-width: 860px) {
  .philosophy .philosophy__glasbox { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(var(--inhalt) * 0.4); }
  .philosophy__glasbox > .philosophy__attribution { letter-spacing: 0.1em; }
  .philosophy__glasbox > .philosophy__body { grid-column: 1; grid-row: auto; max-width: none; margin: 0.4rem 0 0; padding: 1rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

/* ── Geräte: Rahmen für Aufnahmen und Videos ─────────────────────────────── */
.geraet { position: absolute; display: block; }
.geraet > img, .geraet > video, .wechsel > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.geraet--handy {
  aspect-ratio: 390 / 844; padding: 5px; border-radius: 26px;
  background: linear-gradient(160deg, #3a4052 0%, #12141c 38%, #05060a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 30px 60px -22px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.geraet--handy > img, .geraet--handy > video, .geraet--handy > .wechsel { border-radius: 21px; overflow: hidden; background: #0b0d13; }
.geraet--fenster {
  padding-top: 22px; border-radius: 12px 12px 0 0; overflow: hidden;
  background: #1a1d27;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 60px -24px rgba(0, 0, 0, 0.9);
}
.geraet--fenster::before {
  content: ''; position: absolute; left: 12px; top: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: #ff5f57; box-shadow: 12px 0 0 #febc2e, 24px 0 0 #28c840;
}
.geraet--tv {
  aspect-ratio: 16 / 9; padding: 6px; border-radius: 10px;
  background: linear-gradient(180deg, #2b2f3c, #0a0b10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 34px 70px -26px rgba(0, 0, 0, 0.95), 0 0 60px -10px rgba(120, 150, 255, 0.16);
}
.geraet--tv > video, .geraet--tv > img { border-radius: 5px; }
.geraet--tv::after {
  content: ''; position: absolute; left: 50%; top: 100%; translate: -50% 0; width: 34%; height: 12px;
  background: linear-gradient(180deg, #1c1f29, #0a0b10); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
/* Bildfolge: mehrere Aufnahmen im selben Rahmen blenden nacheinander über */
.wechsel { position: relative; display: block; width: 100%; height: 100%; }
.wechsel > img { position: absolute; inset: 0; opacity: 0; animation: wechsel-3 10.5s infinite; animation-delay: calc(var(--k, 0) * 3.5s); }
.wechsel > img:first-child { opacity: 1; }
@keyframes wechsel-3 { 0% { opacity: 0; } 5%, 33% { opacity: 1; } 39%, 100% { opacity: 0; } }

/* ── 2 · Film zum Newsletter ─────────────────────────────────────────────── */
@property --fa-w { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
/* overflow-x: Der Lichthof hinter dem Telefon reicht bei mittleren Breiten über den Bildrand und machte die Seite seitlich schiebbar */
.film-aktion { position: relative; padding: clamp(2.5rem, 6vh, 5rem) clamp(1rem, 4vw, 4rem); overflow-x: clip; }
.film-aktion .film-aktion__box {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.6vw, 3.6rem);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(228, 28, 34, 0.26) 0%, rgba(228, 28, 34, 0) 62%),
    radial-gradient(60% 80% at 0% 100%, rgba(70, 110, 255, 0.16) 0%, rgba(70, 110, 255, 0) 60%),
    linear-gradient(180deg, rgba(34, 40, 60, 0.72), rgba(14, 17, 27, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 50px 110px -40px rgba(228, 28, 34, 0.45), 0 40px 80px -34px rgba(0, 0, 0, 0.7);
}
/* Lichtkante, die um die Fläche läuft */
.film-aktion .film-aktion__box::before {
  content: ''; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--fa-w), rgba(255, 74, 80, 0) 0 58%, #ff4a50 76%, #fff 83%, #ff4a50 90%, rgba(255, 74, 80, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: fa-rand 7s linear infinite;
}
@keyframes fa-rand { to { --fa-w: 360deg; } }
.film-aktion__zeile { display: flex; align-items: center; gap: 0.8rem; margin-bottom: clamp(0.8rem, 1.6vh, 1.2rem); }
.film-aktion__neu {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  padding: 0.42em 0.95em; border-radius: 999px;
  background: linear-gradient(180deg, #F2383E, #B9141A); border: 1px solid rgba(255, 170, 170, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 22px rgba(228, 28, 34, 0.75);
  animation: fa-puls 2.4s ease-in-out infinite;
}
@keyframes fa-puls { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 38px rgba(255, 74, 80, 1); } }
.film-aktion__tag { font-family: var(--font-display); font-size: clamp(0.82rem, 1.2vw, 1rem); letter-spacing: 0.3em; text-transform: uppercase; color: #FF6168; }
.film-aktion__title {
  font-family: var(--font-display); font-size: clamp(2rem, 1.1rem + 3.4vw, 4.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  color: #fff; text-wrap: balance;
}
.film-aktion__title span { display: block; background: linear-gradient(180deg, #ffb0b3 0%, #ff5a60 50%, #e41c22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.film-aktion__lead { margin-top: clamp(0.9rem, 2vh, 1.4rem); max-width: 56ch; font-size: clamp(1rem, 0.92rem + 0.4vw, 1.22rem); line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.film-aktion__schritte { counter-reset: fa; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: clamp(1.2rem, 2.6vh, 2rem) 0 0; padding: 0; }
.film-aktion__schritt {
  counter-increment: fa; position: relative; display: grid; gap: 0.2rem; align-content: start;
  padding: 0.95rem 1rem 1rem 3.5rem; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: fa-schritt 12s infinite; animation-delay: calc(var(--n) * 3s);
}
.film-aktion__schritt::before {
  content: counter(fa); position: absolute; left: 0.9rem; top: 0.9rem; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
  animation: fa-zahl 12s infinite; animation-delay: calc(var(--n) * 3s);
}
.film-aktion__schritt b { font-family: var(--font-display); font-size: clamp(1rem, 0.94rem + 0.3vw, 1.16rem); font-weight: 600; color: #fff; }
.film-aktion__schritt span { font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
@keyframes fa-schritt {
  0%, 23% { background: rgba(228, 28, 34, 0.17); border-color: rgba(255, 97, 104, 0.75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 40px -18px rgba(228, 28, 34, 0.7); }
  28%, 100% { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
}
@keyframes fa-zahl {
  0%, 23% { background: linear-gradient(180deg, #F2383E, #B9141A); border-color: rgba(255, 170, 170, 0.6); box-shadow: 0 0 18px rgba(255, 74, 80, 0.8); }
  28%, 100% { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); box-shadow: none; }
}
.film-aktion__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: clamp(1.3rem, 2.8vh, 2.1rem); }
.film-aktion__actions .btn { font-size: clamp(1rem, 0.94rem + 0.3vw, 1.18rem); padding: 0.95em 1.9em; }

/* Das Telefon spielt die vier Schritte vor */
.film-aktion__kino { position: relative; justify-self: center; width: min(100%, 310px); }
.film-aktion__kino::before {
  content: ''; position: absolute; inset: -14% -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 74, 80, 0.42), rgba(255, 74, 80, 0) 70%); filter: blur(10px);
  animation: fa-glut 6s ease-in-out infinite alternate;
}
@keyframes fa-glut { to { scale: 1.12; opacity: 0.75; } }
.kino {
  position: relative; aspect-ratio: 9 / 18.4; padding: 8px; border-radius: 40px;
  background: linear-gradient(160deg, #474d62 0%, #14161f 36%, #05060a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 50px 90px -30px rgba(0, 0, 0, 0.95);
  rotate: 3deg; animation: fa-schweben 7s ease-in-out infinite alternate;
}
@keyframes fa-schweben { to { translate: 0 -12px; rotate: 1.5deg; } }
.kino__schirm { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #1b2136 0%, #0a0c14 70%); }
.kino__bild { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 7%; padding: 12% 10%; opacity: 0; animation: fa-bild 12s infinite; animation-delay: calc(var(--n) * 3s); }
@keyframes fa-bild { 0% { opacity: 0; scale: 1.05; } 3%, 23% { opacity: 1; scale: 1; } 27%, 100% { opacity: 0; scale: 1; } }
.kino__nr {
  position: absolute; left: 50%; top: 5%; translate: -50% 0; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #fff;
  background: linear-gradient(180deg, #F2383E, #B9141A); box-shadow: 0 0 18px rgba(255, 74, 80, 0.8);
}
.kino svg { width: 44%; height: auto; color: #fff; }
/* 1 · E-Mail: ein Feld füllt sich, der Knopf leuchtet auf */
.kino__feld { position: relative; width: 100%; height: 13%; min-height: 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.kino__feld::before { content: ''; position: absolute; left: 9%; top: 50%; translate: 0 -50%; height: 5px; width: 62%; border-radius: 5px; background: rgba(255, 255, 255, 0.8); transform-origin: 0 50%; animation: fa-tippen 12s steps(14) infinite; }
@keyframes fa-tippen { 0% { scale: 0 1; } 14%, 100% { scale: 1 1; } }
.kino__knopf { width: 62%; height: 11%; min-height: 30px; border-radius: 999px; background: linear-gradient(180deg, #F2383E, #B9141A); box-shadow: 0 10px 26px -8px rgba(228, 28, 34, 0.9); }
/* 2 · Selfie: der Kreis mit dem Bildnis, ein Blitz */
.kino__selfie { position: relative; width: 70%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: end center; overflow: hidden; border: 2px dashed rgba(255, 255, 255, 0.5); background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); }
.kino__selfie svg { width: 82%; }
.kino__selfie::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; animation: fa-blitz 12s infinite; animation-delay: 3s; }
@keyframes fa-blitz { 0%, 9% { opacity: 0; } 10% { opacity: 0.95; } 15%, 100% { opacity: 0; } }
/* 3 · Wahl: vier Filme, einer wird gewählt */
.kino__wahl { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.kino__wahl img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); }
.kino__wahl img:nth-child(2) { animation: fa-wahl 12s infinite; animation-delay: 6s; }
@keyframes fa-wahl { 0%, 8% { outline: 0 solid rgba(255, 74, 80, 0); scale: 1; } 11%, 25% { outline: 3px solid #ff4a50; outline-offset: 2px; scale: 1.05; box-shadow: 0 0 26px rgba(255, 74, 80, 0.8); } 28%, 100% { outline: 0 solid rgba(255, 74, 80, 0); scale: 1; } }
/* 4 · Film: die Szene, das Bildnis in der Glaskugel, die Laufleiste */
.kino__bild--film { padding: 0; }
.kino__bild--film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: fa-fahrt 12s linear infinite; animation-delay: 9s; }
@keyframes fa-fahrt { 0% { scale: 1.02; } 27%, 100% { scale: 1.2; } }
.kino__kugel {
  position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: end center; margin-top: 34%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.07) 46%, rgba(255, 74, 80, 0.2) 100%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.36), 0 0 44px rgba(255, 120, 124, 0.7);
}
.kino__kugel svg { width: 82%; }
.kino__lauf { position: absolute; left: 9%; right: 9%; bottom: 6%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.kino__lauf::before { content: ''; position: absolute; inset: 0; background: #ff4a50; transform-origin: 0 50%; animation: fa-lauf 12s linear infinite; animation-delay: 9s; }
@keyframes fa-lauf { 0% { scale: 0 1; } 25%, 100% { scale: 1 1; } }

/* Schritt 4 im Telefon: der fertige Film läuft */
.kino__bild--film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kino__wahl img { aspect-ratio: 1; }

/* Erklärvideo-Knopf und Kleinzeile */
.film-aktion__erklaer {
  display: inline-flex; align-items: center; gap: 0.8em; padding: 0.7em 1.3em 0.7em 0.7em; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1.04rem); font-weight: 500; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26); background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: border-color 0.3s ease, translate 0.3s ease, box-shadow 0.3s ease;
}
.film-aktion__erklaer i { position: relative; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); animation: erklaer-puls 2.6s ease-out infinite; }
.film-aktion__erklaer i::before { content: ''; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: 0.42em 0 0.42em 0.7em; border-color: transparent transparent transparent #E41C22; }
@keyframes erklaer-puls { to { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.film-aktion__erklaer:hover { border-color: #fff; translate: 0 -2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px -14px rgba(255, 255, 255, 0.5); }
.film-aktion__klein { margin-top: clamp(0.8rem, 1.8vh, 1.2rem); max-width: 60ch; font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

/* Die vier Filme */
.film-aktion__filme { grid-column: 1 / -1; margin-top: clamp(0.6rem, 2vh, 1.4rem); padding-top: clamp(1.2rem, 3vh, 2rem); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.film-aktion__filme-titel { font-family: var(--font-display); font-size: clamp(0.82rem, 1.2vw, 1rem); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: #FF6168; margin: 0 0 clamp(0.8rem, 2vh, 1.2rem); }
.film-aktion__reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.7rem, 1.4vw, 1.3rem); }
.filmkarte {
  position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: #070b18;
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 26px 50px -30px rgba(0, 0, 0, 0.9);
  transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}
.filmkarte video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: 50% 30%; transition: scale 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.filmkarte:hover { translate: 0 -8px; border-color: rgba(255, 120, 124, 0.85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 34px 70px -28px rgba(228, 28, 34, 0.75); }
.filmkarte:hover video { scale: 1.04; }
.filmkarte:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.filmkarte__fuss { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.85rem 1rem 0.95rem; background: #0a0f1f; border-top: 1px solid rgba(255, 255, 255, 0.12); flex: 1; }
.filmkarte__name { font-family: var(--font-display); font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.2rem); font-weight: 600; line-height: 1.2; color: #fff; text-wrap: balance; }
.filmkarte__dauer { flex: none; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.72rem; letter-spacing: 0.08em; padding: 0.3em 0.7em; border-radius: 999px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.08); }
.filmkarte::before {
  content: ''; position: absolute; right: 12px; top: 12px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23E41C22'/%3E%3C/svg%3E") 54% 50% / 21px no-repeat;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.8); transition: opacity 0.3s ease, scale 0.4s ease;
}
.filmkarte:hover::before { opacity: 0; scale: 0.7; }
@media (hover: none) { .filmkarte::before { display: none; } }

/* Erklärvideo im Fenster */
.erklaer { border: 0; padding: 0; background: transparent; overflow: visible; max-width: 96vw; max-height: 96vh; }
.erklaer::backdrop { background: rgba(4, 6, 14, 0.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.erklaer video { display: block; height: min(88vh, 1100px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 28px; background: #000; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 90px -20px rgba(228, 28, 34, 0.6); }
.erklaer[open] { animation: sprach-auf 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.erklaer__zu { position: absolute; right: -12px; top: -12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); background: linear-gradient(180deg, #F2383E, #B9141A); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.8); }

/* Hinweis im Hero */
.hero__neu {
  display: inline-flex; align-items: center; gap: 0.7em; margin-bottom: clamp(0.9rem, 2.2vh, 1.5rem); padding: 0.42em 1.1em 0.42em 0.45em;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 14px 34px -16px rgba(228, 28, 34, 0.7);
  font-family: var(--font-display); font-size: clamp(0.86rem, 0.8rem + 0.25vw, 1.02rem); color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease, opacity 0.8s ease 0.5s;
}
.hero__neu:hover { border-color: rgba(255, 120, 124, 0.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 18px 40px -14px rgba(228, 28, 34, 0.95); translate: 0 -2px; }
.hero__neu b { font-size: 0.74em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.4em 0.9em; border-radius: 999px; background: linear-gradient(180deg, #F2383E, #B9141A); box-shadow: 0 0 18px rgba(228, 28, 34, 0.8); }
.hero__neu i { font-style: normal; transition: translate 0.3s ease; }
.hero__neu:hover i { translate: 4px 0; }
html.js .hero:not(.hero--in) .hero__neu { opacity: 0; }

@media (max-width: 980px) {
  /* schmal: Überschrift zuerst, dann das Telefon, dann die Schritte */
  .film-aktion .film-aktion__box { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .film-aktion__text { display: contents; }
  .film-aktion__zeile { order: 1; } .film-aktion__title { order: 2; } .film-aktion__lead { order: 3; }
  .film-aktion__kino { order: 4; width: min(58%, 240px); margin: clamp(1.8rem, 5vh, 2.6rem) auto clamp(0.6rem, 2vh, 1.2rem); }
  .film-aktion__schritte { order: 5; } .film-aktion__actions { order: 6; } .film-aktion__klein { order: 7; } .film-aktion__filme { order: 8; }
  .film-aktion__reihe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(58%, 230px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; scrollbar-width: thin; }
  .filmkarte { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .film-aktion__schritte { grid-template-columns: minmax(0, 1fr); }
  .film-aktion__actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ── 3 · Schaufenster der Cubes ──────────────────────────────────────────── */
.produkte .produkte__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.9rem, 1.5vw, 1.5rem); }
.produkte .produkt { grid-column: span 6; padding: 0; gap: 0; overflow: hidden; align-items: stretch; border-radius: var(--glas-rund, 26px); }
.produkte .produkt--schmal { grid-column: span 5; }
.produkte .produkt--breit { grid-column: span 7; }
.produkt__buehne {
  position: relative; height: clamp(230px, 23vw, 330px); overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 112%, var(--glut, rgba(228, 28, 34, 0.5)) 0%, rgba(228, 28, 34, 0) 68%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #171b29 0%, #0b0d14 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.produkt__buehne::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, rgba(11, 13, 20, 0), rgba(11, 13, 20, 0.82)); pointer-events: none; }
.produkt__kopf { display: flex; align-items: center; gap: 0.9rem; padding: clamp(1rem, 1.6vw, 1.5rem) clamp(1.1rem, 1.8vw, 1.7rem) 0; }
.produkt__zeichen { flex: none; width: 46px; height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)); transition: rotate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), scale 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.produkt:hover .produkt__zeichen { rotate: -8deg; scale: 1.12; }
.produkt__kopf .produkt__name { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1.1; }
.produkt__kopf .produkt__kind { margin-top: 0.3em; }
.produkte .produkt__text { padding: 0.7rem clamp(1.1rem, 1.8vw, 1.7rem) clamp(1.1rem, 1.8vw, 1.7rem); font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.04rem); }
/* Kachel hebt ihr Gerät an, wenn der Zeiger darüber ist */
.produkt__buehne .geraet { transition: translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.produkt:hover .produkt__buehne .geraet { translate: 0 -10px; }

/* Anordnung je Programm */
.buehne--zwei-handys .geraet:nth-child(1) { left: 50%; top: 9%; width: clamp(128px, 13.5vw, 172px); margin-left: clamp(-150px, -11.5vw, -108px); rotate: -5deg; z-index: 2; }
.buehne--zwei-handys .geraet:nth-child(2) { left: 50%; top: 20%; width: clamp(118px, 12.5vw, 160px); margin-left: clamp(4px, 1vw, 16px); rotate: 6deg; }
.buehne--fenster .geraet { left: 7%; right: 7%; top: 11%; aspect-ratio: 1440 / 940; }
.buehne--post .geraet { left: 12%; right: 12%; top: 10%; height: 130%; }
.buehne--post .geraet img { height: auto; animation: post-lesen 16s ease-in-out infinite alternate; }
@keyframes post-lesen { 0%, 12% { translate: 0 0; } 88%, 100% { translate: 0 -34%; } }
.buehne--tv .geraet--tv { left: 6%; top: 10%; width: 66%; }
.buehne--tv .geraet--handy { right: 7%; top: 14%; width: clamp(104px, 11vw, 142px); rotate: 5deg; z-index: 2; }
.buehne--handy .geraet { left: 50%; top: 9%; width: clamp(132px, 14vw, 176px); translate: -50% 0; }
.produkt:hover .buehne--handy .geraet { translate: -50% -10px; }
/* Funkwellen hinter dem Telefon (DropCube) */
.buehne--handy::before, .buehne--handy i {
  content: ''; position: absolute; left: 50%; top: 46%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  border: 1.5px solid rgba(255, 110, 116, 0.6); animation: welle 3.6s ease-out infinite;
}
.buehne--handy i:nth-of-type(1) { animation-delay: 1.2s; }
.buehne--handy i:nth-of-type(2) { animation-delay: 2.4s; }
@keyframes welle { from { scale: 0.5; opacity: 0.95; } to { scale: 3.6; opacity: 0; } }
/* SpeechCube: das Diktatfenster, davor die Stimme als Pegel */
.buehne--sprache .geraet { left: 50%; top: 12%; width: min(74%, 330px); aspect-ratio: 606 / 540; translate: -50% 0; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.produkt:hover .buehne--sprache .geraet { translate: -50% -10px; }
.pegel { position: absolute; left: 0; right: 0; bottom: 9%; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 5px; height: 46px; }
.pegel i { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #fff, #ff4a50); transform-origin: 50% 50%; animation: pegel 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--p) * -0.137s); box-shadow: 0 0 10px rgba(255, 74, 80, 0.7); }
@keyframes pegel { from { scale: 1 0.14; } to { scale: 1 1; } }
/* Contract Signer: ein Blatt, die Unterschrift schreibt sich */
.buehne--blatt .blatt { position: absolute; left: 50%; top: 11%; width: min(56%, 250px); translate: -50% 0; rotate: -3deg; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.75)); transition: translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.produkt:hover .buehne--blatt .blatt { translate: -50% -10px; rotate: -1deg; }
.blatt__schrift { stroke-dasharray: 520; stroke-dashoffset: 520; animation: schreiben 6.5s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
@keyframes schreiben { 0%, 8% { stroke-dashoffset: 520; } 48%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.blatt__haken { opacity: 0; transform-origin: 50% 50%; transform-box: fill-box; animation: haken 6.5s infinite; }
@keyframes haken { 0%, 50% { opacity: 0; scale: 0.4; } 58%, 88% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }

@media (max-width: 1100px) {
  .produkte .produkt, .produkte .produkt--schmal, .produkte .produkt--breit { grid-column: span 6; }
  .produkt__buehne { height: clamp(230px, 34vw, 320px); }
  .buehne--zwei-handys .geraet:nth-child(1) { width: clamp(118px, 17vw, 160px); margin-left: clamp(-140px, -15vw, -100px); }
  .buehne--zwei-handys .geraet:nth-child(2) { width: clamp(110px, 16vw, 150px); }
  .buehne--tv .geraet--handy { width: clamp(92px, 13vw, 126px); }
  .buehne--handy .geraet { width: clamp(124px, 18vw, 164px); }
}
@media (max-width: 720px) {
  .produkte .produkt, .produkte .produkt--schmal, .produkte .produkt--breit { grid-column: 1 / -1; }
  .produkt__buehne { height: clamp(240px, 64vw, 340px); }
  .buehne--zwei-handys .geraet:nth-child(1) { width: clamp(124px, 34vw, 168px); margin-left: clamp(-150px, -31vw, -112px); }
  .buehne--zwei-handys .geraet:nth-child(2) { width: clamp(116px, 32vw, 156px); }
  .buehne--tv .geraet--handy { width: clamp(88px, 24vw, 124px); }
  .buehne--handy .geraet { width: clamp(132px, 36vw, 176px); }
}

/* ── 3b · Produktbühne ───────────────────────────────────────────────────────
   schaufenster.js setzt .produkte--buehne: Ein Programm steht groß im Bild, die Leiste darüber wählt.
   Ohne Skript bleiben die Kacheln von oben stehen. Die Kennung #produkte hebt diese Regeln über die
   Einblend- und Kachelregeln aus licht.css. */
#produkt-teamcube { --glut: rgba(46, 170, 116, 0.46); }
#produkt-homecube { --glut: rgba(70, 120, 255, 0.5); }
#produkt-keycube { --glut: rgba(240, 170, 60, 0.44); }
#produkt-dropcube { --glut: rgba(170, 96, 255, 0.46); }
#produkt-speechcube { --glut: rgba(60, 196, 226, 0.44); }

.schau-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0 0 clamp(1rem, 2.2vh, 1.6rem); }
.schau-nav__knopf {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.42em 0.95em 0.42em 0.45em; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(0.8rem, 0.74rem + 0.2vw, 0.92rem); font-weight: 500; color: rgba(255, 255, 255, 0.82); white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18); background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease;
}
.schau-nav__knopf:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); translate: 0 -2px; }
.schau-nav__knopf:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.schau-nav__zeichen { width: 24px; height: 24px; object-fit: contain; flex: none; transition: scale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.schau-nav__knopf.ist-aktiv {
  color: #fff; border-color: rgba(255, 120, 124, 0.8); background: linear-gradient(180deg, rgba(228, 28, 34, 0.34), rgba(228, 28, 34, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 14px 32px -14px rgba(228, 28, 34, 0.85);
}
.schau-nav__knopf.ist-aktiv .schau-nav__zeichen { scale: 1.18; rotate: -6deg; }
.schau-nav__lauf { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #ff4a50, #fff); transform-origin: 0 50%; scale: 0 1; }
.produkte--laeuft .schau-nav__knopf.ist-aktiv .schau-nav__lauf { animation: schau-lauf 14s linear forwards; }
#produkte.produkte--buehne:is(:hover, :focus-within) .schau-nav__lauf { animation-play-state: paused; }
.produkte--still .schau-nav__lauf { display: none; }
@keyframes schau-lauf { to { scale: 1 1; } }

#produkte.produkte--buehne .produkte__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; perspective: none; }
#produkte.produkte--buehne .produkt {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(1.4rem, 3vw, 3.4rem);
  align-content: center; align-items: start; overflow: hidden; rotate: none;
  opacity: 0; visibility: hidden; pointer-events: none; translate: 48px 0; filter: blur(14px);
  transition: opacity 0.55s ease, translate 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.55s ease, visibility 0s linear 0.75s;
}
/* Beim Aufbau steht die Bühne sofort, ohne dass die übrigen Programme sichtbar ausblenden */
#produkte.produkte--buehne:not(.produkte--bereit) .produkt, #produkte.produkte--buehne:not(.produkte--bereit) .produkt * { transition: none !important; }
#produkte.produkte--buehne .produkt.geht { translate: -48px 0; }
#produkte.produkte--buehne .produkt.ist-aktiv { opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; filter: none; transition-delay: 0.14s, 0.14s, 0.14s, 0s; }
#produkte.produkte--buehne .produkt__buehne {
  --z: 1.5; --h: clamp(380px, 35vw, 520px);
  grid-row: 1 / span 2; width: calc(100% / var(--z)); height: calc(var(--h) / var(--z)); margin-bottom: calc(var(--h) - var(--h) / var(--z));
  scale: var(--z); transform-origin: 0 0; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.12);
}
#produkte.produkte--buehne .produkt__buehne::after { display: none; }
/* Die Geräte steigen beim Wechsel auf */
#produkte.produkte--buehne .produkt__buehne > :is(.geraet, .blatt, .pegel) { opacity: 0; transition: opacity 0.5s ease, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
#produkte.produkte--buehne .produkt:not(.ist-aktiv) .produkt__buehne > .geraet { translate: 0 60px; }
#produkte.produkte--buehne .produkt:not(.ist-aktiv) .buehne--handy > .geraet,
#produkte.produkte--buehne .produkt:not(.ist-aktiv) .buehne--sprache > .geraet,
#produkte.produkte--buehne .produkt:not(.ist-aktiv) .buehne--blatt > .blatt { translate: -50% 60px; }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__buehne > :is(.geraet, .blatt, .pegel) { opacity: 1; transition-delay: 0.3s; }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__buehne > :nth-child(2) { transition-delay: 0.42s; }
#produkte.produkte--buehne .produkt__kopf { grid-column: 2; flex-direction: column; align-items: flex-start; gap: clamp(0.8rem, 1.6vh, 1.2rem); padding: clamp(1.6rem, 3vw, 3rem) clamp(1.4rem, 2.6vw, 2.8rem) 0 0; }
#produkte.produkte--buehne .produkt__zeichen { width: clamp(56px, 4.6vw, 76px); }
#produkte.produkte--buehne .produkt__name { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; }
#produkte.produkte--buehne .produkt__kind { margin-top: 0.7em; font-size: clamp(0.76rem, 0.72rem + 0.2vw, 0.9rem); letter-spacing: 0.16em; }
#produkte.produkte--buehne .produkt__text { grid-column: 2; padding: clamp(0.8rem, 1.6vh, 1.2rem) clamp(1.4rem, 2.6vw, 2.8rem) clamp(1.6rem, 3vw, 3rem) 0; font-size: clamp(1rem, 0.94rem + 0.35vw, 1.22rem); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
/* Schrift der aktiven Kachel kommt gestaffelt */
#produkte.produkte--buehne .produkt :is(.produkt__kopf, .produkt__text) { opacity: 0; translate: 0 18px; transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__kopf { opacity: 1; translate: 0 0; transition-delay: 0.34s; }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__text { opacity: 1; translate: 0 0; transition-delay: 0.46s; }
@media (max-width: 900px) {
  .schau-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin-inline: -0.4rem; scrollbar-width: none; }
  .schau-nav::-webkit-scrollbar { display: none; }
  .schau-nav__knopf { scroll-snap-align: center; flex: none; }
  #produkte.produkte--buehne .produkt { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: start; }
  #produkte.produkte--buehne .produkt__buehne { --z: 1.12; --h: clamp(280px, 70vw, 380px); grid-row: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  #produkte.produkte--buehne .produkt__kopf { grid-column: 1; flex-direction: row; align-items: center; padding: 1.2rem 1.2rem 0; }
  #produkte.produkte--buehne .produkt__text { grid-column: 1; padding: 0.8rem 1.2rem 1.4rem; }
  #produkte.produkte--buehne .produkt__zeichen { width: 52px; }
}

/* ── 4 · Kontakt: Lagekarte und Angaben ──────────────────────────────────── */
.kontakt .kontakt__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.kontakt .kontakt__sub { font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.6rem); line-height: 1.14; font-weight: 600; color: #fff; text-wrap: balance; }
.kontakt .kontakt__side { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; gap: clamp(0.8rem, 1.6vh, 1.2rem); }
.kontakt .kontakt__map {
  flex: 1; min-height: clamp(240px, 34vh, 340px); border-radius: var(--glas-rund-klein, 20px); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(60% 70% at 58% 44%, rgba(228, 28, 34, 0.24) 0%, rgba(228, 28, 34, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, #151a29 0%, #0a0c14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 24px 54px -28px rgba(0, 0, 0, 0.8);
}
.kontakt__map iframe { position: absolute; inset: 0; z-index: 1; }
.kontakt__radar { position: absolute; inset: 0; }
.kontakt__radar i, .kontakt__pin, .kontakt__radar-strahl { position: absolute; left: 58%; top: 44%; }
.kontakt__radar i { width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 1.5px solid rgba(255, 110, 116, 0.7); animation: welle 4.2s ease-out infinite; }
.kontakt__radar i:nth-of-type(2) { animation-delay: 1.4s; } .kontakt__radar i:nth-of-type(3) { animation-delay: 2.8s; }
.kontakt__radar-strahl {
  width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 74, 80, 0.34) 0deg, rgba(255, 74, 80, 0) 46deg, rgba(255, 74, 80, 0) 360deg);
  animation: kontakt-strahl 9s linear infinite;
}
@keyframes kontakt-strahl { to { rotate: 360deg; } }
.kontakt__pin {
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff;
  border: 4px solid #ff4a50; box-shadow: 0 0 0 6px rgba(255, 74, 80, 0.26), 0 0 30px rgba(255, 74, 80, 1);
}
.kontakt__koord {
  position: absolute; left: 16px; top: 14px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.74rem; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78); padding: 0.35em 0.8em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(10, 12, 20, 0.6);
}
.kontakt .kontakt__map-consent {
  inset: auto 12px 12px 12px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem;
  padding: 0.75rem 0.85rem 0.75rem 1.1rem; border-radius: 16px; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(16, 20, 31, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: opacity 0.4s ease;
}
.kontakt .kontakt__map-consent p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.kontakt .kontakt__map-btn {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; padding: 0.7em 1.4em; border-radius: 999px;
  background: linear-gradient(180deg, #F2383E, #B9141A); border: 1px solid rgba(255, 170, 170, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px -10px rgba(228, 28, 34, 0.8);
}
.kontakt .kontakt__map-btn:hover { color: #fff; border-color: #fff; background: linear-gradient(180deg, #FF4A50, #C4161C); }
.kontakt .kontakt__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.6rem, 1.2vh, 0.9rem); }
.kontakt .kontakt__info-item {
  display: flex; align-items: center; gap: 0.9rem; min-width: 0; padding: 0.9rem 1.1rem; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: var(--glas-kachel, rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem); line-height: 1.45; color: rgba(255, 255, 255, 0.92);
  transition: border-color 0.3s ease, translate 0.3s ease, box-shadow 0.3s ease;
}
.kontakt .kontakt__info-item:hover { border-color: rgba(255, 120, 124, 0.6); translate: 0 -2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 34px -18px rgba(228, 28, 34, 0.6); }
.kontakt .kontakt__info-item--breit { grid-column: 1 / -1; }
.kontakt .kontakt__info-item > svg {
  flex: none; box-sizing: content-box; width: 20px; height: 20px; margin: 0; padding: 11px; border-radius: 50%; opacity: 1; color: #fff;
  background: linear-gradient(180deg, #F2383E, #B9141A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px -8px rgba(228, 28, 34, 0.9);
}
.kontakt .kontakt__info-item > div { min-width: 0; display: grid; gap: 0.1rem; }
.kontakt__info-kopf { font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #FF6168; }
.kontakt .kontakt__info-item a { color: #fff; overflow-wrap: anywhere; }
.kontakt .kontakt__info-item a:hover { color: #ff8a8e; }
.kontakt .kontakt__route {
  flex: none; margin-left: auto; font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.65em 1.2em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.07); white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.kontakt .kontakt__route:hover { color: #fff; background: rgba(228, 28, 34, 0.3); border-color: rgba(255, 120, 124, 0.8); }
@media (max-width: 900px) { .kontakt .kontakt__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .kontakt .kontakt__info { grid-template-columns: minmax(0, 1fr); }
  .kontakt .kontakt__info-item--breit { flex-wrap: wrap; }
  .kontakt .kontakt__route { margin-left: 0; width: 100%; text-align: center; }
}

/* ── 5 · Leistungen als Filmkacheln ──────────────────────────────────────────
   Lokale KI, Leistungen und Beratung: Jede Karte ist ein großes Bild, die Schrift liegt darauf.
   Ein Klick führt direkt auf die Seite (kein Zwischenfenster mehr, siehe scroll.js). */
#main-content :is(.ai-gen__grid, .ai-services__grid, .ki-produkte__grid) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.8rem, 1.4vw, 1.4rem); }
#main-content .ki-card {
  grid-column: span 2; position: relative; isolation: isolate; display: block; overflow: hidden; padding: 0;
  min-height: clamp(300px, 29vw, 400px); border-radius: var(--glas-rund-klein, 20px); background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
#main-content .ai-gen__grid .ki-card:nth-child(-n+2) { grid-column: span 3; }
#main-content :is(.ai-services__grid, .ki-produkte__grid) .ki-card:is(:nth-child(1), :nth-child(4)) { grid-column: span 4; }
#main-content .ai-services__grid .ki-card:is(:nth-child(5), :nth-child(6)) { grid-column: span 3; }
#main-content .ki-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#main-content .ki-card__image-wrap { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; height: 100%; }
#main-content .ki-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease; }
#main-content .ki-card:hover .ki-card__img { transform: scale(1.07); filter: brightness(1.36) contrast(1.04) saturate(1.12); }
#main-content .ki-card__image-gradient { opacity: 1; background: linear-gradient(to top, rgba(8, 10, 16, 0.96) 0%, rgba(8, 10, 16, 0.78) 32%, rgba(8, 10, 16, 0.16) 66%, rgba(8, 10, 16, 0) 100%); }
#main-content .ki-card:hover .ki-card__image-gradient { opacity: 1; }
#main-content .ki-card__hover-cta { inset: 14px 14px auto auto; display: block; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; }
#main-content .ki-card__hover-btn {
  transform: none; padding: 0.6em 1.15em; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(14, 17, 27, 0.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#main-content .ki-card:hover .ki-card__hover-btn { background: linear-gradient(180deg, #F2383E, #B9141A); border-color: rgba(255, 170, 170, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px -8px rgba(228, 28, 34, 0.9); }
#main-content .ki-card__body { position: absolute; left: 0; right: 0; bottom: 0; align-items: flex-start; text-align: left; gap: 0.3rem; padding: clamp(1.1rem, 1.8vw, 1.8rem); }
#main-content .ki-card__icon-wrap, #main-content .ki-card__step { display: none; }
#main-content .ki-card__accent { order: -1; width: 38px; height: 3px; border-radius: 3px; opacity: 1; margin: 0 0 0.5rem; background: linear-gradient(90deg, #ff4a50, rgba(255, 74, 80, 0.2)); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
#main-content .ki-card:hover .ki-card__accent { width: 92px; }
#main-content .ki-card__name { margin: 0; font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.84rem); letter-spacing: 0.18em; }
#main-content .ki-card__tagline { margin: 0; font-size: clamp(1.2rem, 0.95rem + 1vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
#main-content .ki-card__desc {
  margin: 0; max-width: 62ch; font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem); line-height: 1.55; color: rgba(255, 255, 255, 0.86);
  overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, margin 0.5s ease;
}
#main-content .ki-card:is(:hover, :focus-visible) .ki-card__desc { opacity: 1; max-height: 12em; margin-top: 0.35rem; transition: max-height 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease 0.1s, margin 0.5s ease; }
#main-content .ki-card__tags { justify-content: flex-start; margin-top: 0.6rem; padding-top: 0; }
#main-content .ki-card__punchline { display: none; }
@media (hover: none) { #main-content .ki-card__desc { opacity: 1; max-height: none; margin-top: 0.35rem; } }
@media (max-width: 1000px) {
  #main-content .ki-card, #main-content .ai-gen__grid .ki-card:nth-child(-n+2),
  #main-content :is(.ai-services__grid, .ki-produkte__grid) .ki-card:is(:nth-child(1), :nth-child(4)),
  #main-content .ai-services__grid .ki-card:is(:nth-child(5), :nth-child(6)) { grid-column: span 3; }
  #main-content .ai-gen__grid .ki-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #main-content .ki-card, #main-content .ai-gen__grid .ki-card:nth-child(-n+2),
  #main-content :is(.ai-services__grid, .ki-produkte__grid) .ki-card:is(:nth-child(1), :nth-child(4)),
  #main-content .ai-services__grid .ki-card:is(:nth-child(5), :nth-child(6)) { grid-column: 1 / -1; min-height: clamp(300px, 86vw, 380px); }
}

/* ── 6 · Referenzwand ────────────────────────────────────────────────────────
   Ersetzt das Laufband: oben ziehen die Namen groß durchs Bild, darunter steht jede Referenz als Karte.
   Daten: data/referenzen.php. Die früheren Erfahrungsfelder liegen aufklappbar darunter. */
.referenzen .referenzen__header { margin-bottom: clamp(1rem, 2.4vh, 1.8rem); }
.referenzen .referenzen__sub { opacity: 1 !important; }
.referenzen__lead { max-width: 64ch; margin: clamp(0.6rem, 1.4vh, 1rem) auto 0; text-align: center; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.18rem); line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.ref-band {
  overflow: hidden; margin: 0 calc(clamp(2rem, 4vw, 5rem) * -1) clamp(1.2rem, 3vh, 2.2rem); padding-block: 0.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
/* Auf dem Handy ist der Rand der Glasfläche schmaler als der Überstand des Bands: Es bliebe 8 px über den Bildrand stehen */
@media (max-width: 700px) { .ref-band { margin-inline: -0.6rem; } }
.referenzen { overflow-x: clip; }
.ref-band__spur { display: flex; width: max-content; gap: clamp(1.6rem, 3.2vw, 3.4rem); animation: ref-band 110s linear infinite; }
.ref-band:hover .ref-band__spur { animation-play-state: paused; }
@keyframes ref-band { to { translate: -50% 0; } }
.ref-band__spur span {
  display: inline-flex; align-items: center; gap: clamp(1.6rem, 3.2vw, 3.4rem); white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}
.ref-band__spur span:nth-child(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.ref-band__spur span::after { content: ''; width: 0.22em; height: 0.22em; border-radius: 50%; background: #ff4a50; box-shadow: 0 0 18px rgba(255, 74, 80, 0.9); }
.ref-wand { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.7rem, 1.2vw, 1.1rem); perspective: 1500px; }
.referenzen .ref-karte {
  position: relative; overflow: hidden; display: grid; align-content: start; gap: 0.35rem; text-align: left;
  padding: clamp(1.1rem, 1.6vw, 1.5rem) clamp(1.1rem, 1.7vw, 1.6rem); padding-right: clamp(3.4rem, 5vw, 4.6rem);
  border-radius: var(--glas-rund-klein, 20px); opacity: 1;
}
.ref-karte__nr {
  position: absolute; right: 0.5rem; top: -0.1rem; font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 2.4vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16); transition: -webkit-text-stroke-color 0.4s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ref-karte:hover .ref-karte__nr { -webkit-text-stroke-color: rgba(255, 97, 104, 0.85); translate: -4px 4px; }
.ref-karte__bereich { font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #FF6168; }
.ref-karte__name { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.ref-karte__leistung { margin-top: 0.25rem; font-size: clamp(0.9rem, 0.87rem + 0.15vw, 0.98rem); line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.ref-karte::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #ff4a50, rgba(255, 74, 80, 0)); scale: 1 0; transform-origin: 50% 0; transition: scale 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ref-karte:hover::before { scale: 1 1; }
.ref-felder { margin-top: clamp(1rem, 2.4vh, 1.8rem); text-align: center; }
.ref-felder > summary { list-style: none; }
.ref-felder > summary::-webkit-details-marker { display: none; }
.ref-felder > .ref-felder__knopf {
  display: inline-flex; align-items: center; gap: 0.7em; cursor: pointer; padding: 0.75em 1.5em; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24); background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ref-felder__knopf::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; transition: rotate 0.3s ease, translate 0.3s ease; }
.ref-felder[open] .ref-felder__knopf::after { rotate: 225deg; translate: 0 2px; }
.ref-felder > .ref-felder__knopf:hover { border-color: rgba(255, 120, 124, 0.75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 26px -10px rgba(228, 28, 34, 0.7); }
.ref-felder__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.6rem, 1vw, 0.9rem); margin-top: clamp(0.9rem, 2vh, 1.4rem); text-align: left; animation: sprach-auf 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ref-felder__raster .ref-tile { width: auto; max-width: none; opacity: 1; transform: none; align-items: flex-start; text-align: left; padding: 0.9rem 1rem; gap: 0.3rem; border-radius: 16px; }
.ref-felder__raster .ref-tile__icon { display: none; }
.ref-felder__raster .ref-tile__title { font-family: var(--font-display); font-size: 1rem; color: #fff; }
.ref-felder__raster .ref-tile__text { font-size: 0.88rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.ref-felder__raster .ref-tile__badge { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #FF6168; }
.referenzen .referenzen__divider-label { margin-top: clamp(1.4rem, 3vh, 2.4rem); font-size: clamp(0.78rem, 1vw, 0.92rem); }
@media (max-width: 1100px) { .ref-wand { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ref-felder__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  /* schmal: die Karten als Streifen zum Wischen */
  .ref-wand { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; margin-inline: -0.4rem; padding-inline: 0.4rem; scrollbar-width: thin; }
  .ref-wand > .ref-karte { scroll-snap-align: start; }
  .ref-felder__raster { grid-template-columns: minmax(0, 1fr); }
}

/* ══ Runde fünf: keine Umriss-Schrift mehr; Produktdaten, Arbeitsweise, FAQ und Assistent neu ══ */

/* Referenzen: volle Schrift statt Umriss, zweites Band, ein Licht wandert über die Karten */
.ref-band__spur span, .ref-band__spur span:nth-child(3n+1) { -webkit-text-stroke: 0; color: rgba(255, 255, 255, 0.28); }
.ref-band__spur span:nth-child(odd) { color: #fff; }
.ref-band { margin-bottom: 0.2rem; }
.ref-band--zwei { margin-bottom: clamp(1.2rem, 3vh, 2.2rem); }
.ref-band--zwei .ref-band__spur { animation-direction: reverse; animation-duration: 70s; gap: clamp(1rem, 2vw, 2rem); }
.ref-band--zwei .ref-band__spur span { gap: clamp(1rem, 2vw, 2rem); font-size: clamp(0.9rem, 0.8rem + 0.6vw, 1.3rem); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #FF6168; }
.ref-band--zwei .ref-band__spur span:nth-child(odd) { color: rgba(255, 255, 255, 0.7); }
.ref-band--zwei .ref-band__spur span::after { width: 5px; height: 5px; background: rgba(255, 255, 255, 0.5); box-shadow: none; }
.ref-karte__nr { -webkit-text-stroke: 0; color: rgba(255, 255, 255, 0.09); transition: color 0.4s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ref-karte:hover .ref-karte__nr { color: rgba(255, 97, 104, 0.95); }
.referenzen .ref-karte { animation: ref-licht 18s linear infinite; animation-delay: calc(var(--n, 0) * 1s); }
.referenzen .ref-karte .ref-karte__nr { animation: ref-licht-nr 18s linear infinite; animation-delay: calc(var(--n, 0) * 1s); }
@keyframes ref-licht {
  0%, 9%, 100% { border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 44px -26px rgba(0, 0, 0, 0.7); }
  3%, 5% { border-color: rgba(255, 120, 124, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(255, 74, 80, 0.4), 0 24px 60px -22px rgba(228, 28, 34, 0.85); }
}
@keyframes ref-licht-nr { 0%, 9%, 100% { color: rgba(255, 255, 255, 0.09); } 3%, 5% { color: rgba(255, 97, 104, 0.95); } }

/* Produktdaten: volle Breite, links die Aussage, rechts die Tabelle, die sich laufend selbst prüft */
#produktdaten .pd-home__box { position: relative; isolation: isolate; overflow: hidden; max-width: var(--inhalt); padding: clamp(1.8rem, 4vw, 4rem); }
#produktdaten .pd-home__box > * { max-width: none; margin-inline: 0; }
#produktdaten .pd-home__box::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 70% at 84% 34%, rgba(46, 170, 116, 0.24), rgba(46, 170, 116, 0) 70%), radial-gradient(40% 60% at 0% 100%, rgba(228, 28, 34, 0.2), rgba(228, 28, 34, 0) 70%);
}
#produktdaten .pd-home__top { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; perspective: 1700px; }
#produktdaten .pd-home__title { max-width: 13ch; margin-bottom: clamp(1rem, 2.2vh, 1.6rem); font-size: clamp(2rem, 1.1rem + 3.4vw, 4.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
#produktdaten .pd-home__text { max-width: 50ch; font-size: clamp(1rem, 0.92rem + 0.4vw, 1.22rem); font-weight: 400; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
#produktdaten .pd-home__cta { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem); padding: 0.9em 1.8em; }
#produktdaten .pd-sheet {
  position: relative; overflow: hidden; margin: 0; padding: clamp(1rem, 2vw, 1.8rem); border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: linear-gradient(180deg, rgba(20, 24, 36, 0.94), rgba(10, 12, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 60px 100px -44px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(46, 170, 116, 0.6);
  transform: rotateY(-10deg) rotateX(4deg); transform-origin: 30% 50%; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#produktdaten .pd-home__top:hover .pd-sheet { transform: rotateY(0deg) rotateX(0deg); }
#produktdaten .pd-sheet::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none;
  background: linear-gradient(180deg, rgba(90, 230, 160, 0), rgba(90, 230, 160, 0.14) 78%, rgba(140, 255, 200, 0.85) 100%);
  animation: pd-pruefstrahl 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes pd-pruefstrahl { 0% { translate: 0 -100%; } 62%, 100% { translate: 0 400%; } }
#produktdaten .pd-rows, #produktdaten .pd-table { background: none; border: 0; }
#produktdaten .pd-table { width: 100%; font-size: clamp(0.9rem, 0.84rem + 0.32vw, 1.08rem); }
#produktdaten .pd-table caption { font-size: 1.05em; color: #fff; padding-bottom: 0.9em; }
#produktdaten .pd-table :is(th, td) { padding: 0.72em 0.8em; }
#produktdaten .pd-table tbody tr:not(.pd-row--note) .pd-check { animation: pd-haken 6s infinite; }
#produktdaten .pd-table tbody tr:nth-child(1) .pd-check { animation-delay: 0.5s; }
#produktdaten .pd-table tbody tr:nth-child(2) .pd-check { animation-delay: 1.1s; }
#produktdaten .pd-table tbody tr:nth-child(3) .pd-check { animation-delay: 1.7s; }
#produktdaten .pd-table tbody tr:nth-child(4) .pd-check { animation-delay: 2.3s; }
@keyframes pd-haken { 0%, 3% { opacity: 0; scale: 0.5; } 9%, 88% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
#produktdaten .pd-row--stop { animation: pd-sperre 6s infinite; animation-delay: 2.3s; }
@keyframes pd-sperre { 0%, 6% { translate: 0 0; } 8% { translate: -5px 0; } 10% { translate: 5px 0; } 12% { translate: -3px 0; } 14%, 100% { translate: 0 0; } }
#produktdaten .pd-row--note { animation: pd-hinweis 6s infinite; animation-delay: 2.6s; }
@keyframes pd-hinweis { 0%, 4% { opacity: 0; } 12%, 86% { opacity: 1; } 100% { opacity: 0; } }
#produktdaten .pd-items { counter-reset: pd; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.6rem, 1.2vw, 1rem); margin-top: clamp(1.8rem, 4.4vh, 3.2rem); }
#produktdaten .pd-item {
  counter-increment: pd; position: relative; padding: 1.2rem 1.3rem 1.3rem; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--glas-kachel, rgba(255, 255, 255, 0.06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: border-color 0.3s ease, translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
#produktdaten .pd-item:hover { border-color: rgba(255, 120, 124, 0.6); translate: 0 -5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 22px 44px -22px rgba(228, 28, 34, 0.6); }
#produktdaten .pd-item::before {
  content: counter(pd); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 0.9rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; background: linear-gradient(180deg, #F2383E, #B9141A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px -8px rgba(228, 28, 34, 0.9);
}
#produktdaten .pd-item :is(h3, h4) { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); line-height: 1.2; color: #fff; }
#produktdaten .pd-item p { margin-top: 0.4rem; font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1.02rem); line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
@media (max-width: 960px) {
  #produktdaten .pd-home__top { grid-template-columns: minmax(0, 1fr); }
  #produktdaten .pd-sheet, #produktdaten .pd-home__top:hover .pd-sheet { transform: none; }
  #produktdaten .pd-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { #produktdaten .pd-items { grid-template-columns: minmax(0, 1fr); } }

/* Wie wir arbeiten: vier Stationen an einer Linie. Die Kreise stehen frei über ihren Karten, die Linie verbindet die
   Kreismitten und läuft durch freien Raum (vorher lag sie auf der Oberkante der Karten und sah dort wie angeklebt aus).
   Ein kurzer Steg führt vom Kreis zur Karte. Ein Licht läuft die Linie ab, die Station, an der es gerade ist, leuchtet
   auf (Takt: 8 s, je Station 2 s). --s ist der Abstand zwischen Kreis und Karte. */
#methode .methode__header { text-align: center; }
#methode .methode__grid {
  --g: clamp(1rem, 2vw, 2rem); --k: clamp(78px, 6.4vw, 100px); --s: clamp(20px, 2.6vh, 30px);
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g);
  max-width: none; margin: clamp(1.6rem, 3.6vh, 2.8rem) auto 0; padding-top: calc(var(--k) + var(--s)); perspective: 1500px;
}
#methode .methode__grid::before, #methode .methode__grid::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: calc((100% - 3 * var(--g)) / 8); right: calc((100% - 3 * var(--g)) / 8);
}
/* Die Linie besteht aus Stücken zwischen den Kreisen (je Karte eines bis zum nächsten Kreis), dazu ein auslaufendes
   Stück vor dem ersten und nach dem letzten Kreis. Eine durchgehende Linie schien durch die Kreise hindurch. */
#methode .methode__grid::before { display: none; }
#methode .methode__card::before {
  content: ''; position: absolute; pointer-events: none; top: calc((var(--k) / 2 + var(--s)) * -1 - 1px); height: 2px; border-radius: 2px;
  left: calc(50% + var(--k) / 2 + 10px); width: calc(100% + var(--g) - var(--k) - 20px);
  background: linear-gradient(90deg, rgba(255, 74, 80, 0.3), #ff4a50 28%, #ff4a50 72%, rgba(255, 74, 80, 0.3)); box-shadow: 0 0 12px rgba(255, 74, 80, 0.5);
}
#methode .methode__card:last-child::before { width: calc(var(--k) * 0.9); background: linear-gradient(90deg, rgba(255, 74, 80, 0.55), rgba(255, 74, 80, 0)); box-shadow: none; }
#methode .methode__card:first-child .methode__icon-wrap::before {
  content: ''; position: absolute; pointer-events: none; right: calc(100% + 10px); top: 50%; width: calc(var(--k) * 0.9); height: 2px; translate: 0 -50%; border-radius: 2px;
  background: linear-gradient(270deg, rgba(255, 74, 80, 0.55), rgba(255, 74, 80, 0));
}
#methode .methode__grid::after {
  top: calc(var(--k) / 2 - 10px); height: 20px;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 110, 116, 0.95) 36%, rgba(255, 74, 80, 0) 76%) no-repeat; background-size: 170px 20px;
  animation: methode-licht 8s linear infinite;
}
@keyframes methode-licht { 0% { background-position: -85px 0; } 75% { background-position: calc(100% + 85px) 0; opacity: 1; } 76%, 100% { background-position: calc(100% + 85px) 0; opacity: 0; } }
#methode .methode__card {
  position: relative; overflow: visible; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.55rem;
  padding: 0 clamp(1rem, 1.6vw, 1.7rem) clamp(1.5rem, 2.4vw, 2.2rem); border-radius: var(--glas-rund-klein, 20px);
  border: 1px solid rgba(255, 255, 255, 0.16); background: var(--glas-kachel, rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 44px -26px rgba(0, 0, 0, 0.7);
  animation: methode-karte 8s infinite;
}
#methode .methode__icon-wrap {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; justify-content: center;
  width: var(--k); height: var(--k); aspect-ratio: 1; margin: calc((var(--k) + var(--s)) * -1) 0 calc(var(--s) + clamp(1rem, 1.8vw, 1.5rem)); border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #313a55 0%, #161b2b 62%, #0d101a 100%); border: 2px solid rgba(255, 97, 104, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 0 34px rgba(255, 74, 80, 0.5);
  animation: methode-kreis 8s infinite;
}
/* Steg vom Kreis zur Karte */
#methode .methode__icon-wrap::after { content: ''; position: absolute; left: 50%; top: calc(100% + 2px); width: 2px; height: var(--s); translate: -50% 0; border-radius: 2px; background: linear-gradient(180deg, #ff4a50, rgba(255, 74, 80, 0.2)); }
#methode .methode__icon { width: 50%; height: 50%; opacity: 1; stroke-width: 1.7; }
#methode .methode__icon * { opacity: 1; }
#methode .methode__num {
  position: absolute; z-index: 2; top: calc((var(--k) + var(--s)) * -1 - 4px); left: calc(50% + var(--k) * 0.22); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; color: #fff; -webkit-text-stroke: 0; transform: none; translate: none;
  background: linear-gradient(180deg, #F2383E, #B9141A); border: 1px solid rgba(255, 190, 190, 0.65); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.85);
}
#methode .methode__card:hover .methode__num { color: #fff; transform: none; translate: none; }
#methode .methode__card:nth-child(2), #methode .methode__card:nth-child(2) .methode__icon-wrap { animation-delay: 2s; }
#methode .methode__card:nth-child(3), #methode .methode__card:nth-child(3) .methode__icon-wrap { animation-delay: 4s; }
#methode .methode__card:nth-child(4), #methode .methode__card:nth-child(4) .methode__icon-wrap { animation-delay: 6s; }
@keyframes methode-karte {
  0%, 22% { border-color: rgba(255, 120, 124, 0.85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 26px 60px -24px rgba(228, 28, 34, 0.8); }
  30%, 100% { border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 44px -26px rgba(0, 0, 0, 0.7); }
}
@keyframes methode-kreis {
  0%, 22% { background: radial-gradient(circle at 34% 26%, #ff8a8e 0%, #e41c22 58%, #9c1116 100%); scale: 1.1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 74, 80, 1); }
  30%, 100% { background: radial-gradient(circle at 34% 26%, #313a55 0%, #161b2b 62%, #0d101a 100%); scale: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 0 34px rgba(255, 74, 80, 0.5); }
}
#methode .methode__name { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.95rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-transform: none; color: #fff; }
#methode .methode__desc { max-width: 32ch; margin-inline: auto; font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.06rem); line-height: 1.62; font-weight: 400; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 1100px) {
  #methode .methode__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: calc(var(--k) + var(--s) + 1.4rem); }
  #methode .methode__grid::before, #methode .methode__grid::after, #methode .methode__card::before, #methode .methode__card:first-child .methode__icon-wrap::before { display: none; }
}
@media (max-width: 600px) { #methode .methode__grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: links die Überschrift, rechts die Fragen als Glaskarten */
#faq .faq__glasbox { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: start; text-align: left; }
#faq .faq__glasbox > * { max-width: none; margin: 0; }
#faq .faq__header { position: sticky; top: 110px; text-align: left; }
#faq .faq__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.9rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
#faq .faq__sub { margin-top: clamp(0.9rem, 2vh, 1.4rem); max-width: 34ch; font-size: clamp(1rem, 0.94rem + 0.35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
#faq .faq__list { display: grid; gap: 0.6rem; }
#faq .faq__item {
  overflow: hidden; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.15); background: var(--glas-kachel, rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#faq .faq__item:hover { border-color: rgba(255, 255, 255, 0.34); translate: 6px 0; }
#faq .faq__item:has(.faq__question[aria-expanded="true"]) {
  border-color: rgba(255, 120, 124, 0.75); translate: 0 0;
  background: linear-gradient(180deg, rgba(228, 28, 34, 0.2), rgba(228, 28, 34, 0.06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 24px 54px -26px rgba(228, 28, 34, 0.7);
}
#faq .faq__question { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.05rem 1.25rem; text-align: left; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); font-weight: 500; line-height: 1.3; color: #fff; }
#faq .faq__num {
  flex: none; display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; opacity: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#faq .faq__question[aria-expanded="true"] .faq__num { background: linear-gradient(180deg, #F2383E, #B9141A); border-color: rgba(255, 170, 170, 0.6); box-shadow: 0 0 18px rgba(255, 74, 80, 0.8); }
#faq .faq__chevron { flex: none; margin-left: auto; opacity: 0.8; transition: rotate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease; }
#faq .faq__question[aria-expanded="true"] .faq__chevron { rotate: 180deg; color: #ff6168; opacity: 1; }
#faq .faq__answer { padding: 0 1.25rem 1.25rem calc(1.25rem + 2.5em * 0.78 + 1rem); font-size: clamp(0.96rem, 0.92rem + 0.2vw, 1.06rem); line-height: 1.65; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 900px) {
  #faq .faq__glasbox { grid-template-columns: minmax(0, 1fr); }
  #faq .faq__header { position: static; }
  #faq .faq__answer { padding-left: 1.25rem; }
}

/* Assistent: links Auftritt und Startfragen, rechts das Gespräch */
#assistent .chat-section__glasbox { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(1.6rem, 5vw, 5rem); row-gap: clamp(1rem, 2.4vh, 1.6rem); align-items: start; align-content: center; text-align: left; }
#assistent .chat-section__glasbox > * { max-width: none; margin: 0; }
#assistent .chat-section__header { grid-column: 1; text-align: left; }
#assistent .chat-section__header::before {
  content: ''; display: block; width: clamp(74px, 7vw, 108px); aspect-ratio: 1; margin-bottom: clamp(1rem, 2.4vh, 1.6rem); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0%, #ffd0d2 12%, #ff5a60 42%, #b9141a 74%, #5a0a0e 100%);
  box-shadow: 0 0 0 10px rgba(255, 74, 80, 0.12), 0 0 0 24px rgba(255, 74, 80, 0.06), 0 0 70px rgba(255, 74, 80, 0.85);
  animation: assistent-kugel 4.5s ease-in-out infinite;
}
@keyframes assistent-kugel {
  50% { scale: 1.06; box-shadow: 0 0 0 16px rgba(255, 74, 80, 0.14), 0 0 0 38px rgba(255, 74, 80, 0.05), 0 0 100px rgba(255, 74, 80, 1); }
}
#assistent .chat-section__sub { opacity: 1 !important; font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.chat-fragen { grid-column: 1; display: grid; gap: 0.55rem; justify-items: start; }
.chat-frage {
  display: inline-flex; align-items: center; gap: 0.8em; max-width: 100%; padding: 0.8em 1.2em; border-radius: 18px; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.06rem); line-height: 1.3; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26); transition: border-color 0.3s ease, translate 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.chat-frage::after { content: '\2192'; margin-left: auto; padding-left: 0.6em; color: #ff6168; transition: translate 0.3s ease; }
.chat-frage:hover { border-color: rgba(255, 120, 124, 0.8); translate: 6px 0; background: linear-gradient(180deg, rgba(228, 28, 34, 0.26), rgba(228, 28, 34, 0.08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 16px 34px -16px rgba(228, 28, 34, 0.8); }
.chat-frage:hover::after { translate: 4px 0; }
.chat-frage:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#assistent .chat { grid-column: 2; grid-row: 1 / span 3; width: 100%; max-width: none; min-height: clamp(420px, 58vh, 620px); align-self: stretch; }
#assistent .chat-section__footer, #assistent .chat-section__noscript { grid-column: 1; text-align: left; font-size: 0.86rem; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }
@media (max-width: 900px) {
  #assistent .chat-section__glasbox { grid-template-columns: minmax(0, 1fr); }
  #assistent .chat { grid-column: 1; grid-row: auto; }
}

/* ── Weihnachtsurlaub: Hinweis im Kontaktbereich und im Hero (templates/weihnacht.php schaltet ihn) ── */
.urlaub {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
  max-width: none; margin: 0 0 clamp(1.2rem, 3vh, 2rem); padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2.4vw, 2rem); border-radius: 22px; text-align: left;
  border: 1px solid rgba(243, 208, 138, 0.6);
  background: radial-gradient(70% 160% at 0% 0%, rgba(243, 208, 138, 0.22), rgba(243, 208, 138, 0) 62%), linear-gradient(180deg, rgba(48, 42, 34, 0.7), rgba(22, 20, 22, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 241, 207, 0.6), 0 26px 60px -30px rgba(243, 208, 138, 0.55);
}
.kontakt__glasbox > .urlaub { max-width: none; }
.urlaub__stern {
  width: clamp(40px, 3.6vw, 56px); aspect-ratio: 1; background: linear-gradient(180deg, #fff1cf, #f3d08a 55%, #c9a45c);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  filter: drop-shadow(0 0 14px rgba(243, 208, 138, 0.9)); animation: urlaub-stern 4.5s ease-in-out infinite;
}
@keyframes urlaub-stern { 0%, 100% { scale: 0.86; rotate: 0deg; } 50% { scale: 1.08; rotate: 12deg; } }
.urlaub__titel { display: block; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.7rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: #fff1cf; }
.urlaub__text { margin: 0.4rem 0 0; max-width: 70ch; font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.urlaub__zurueck { display: grid; gap: 0.2rem; padding: 0.8rem 1.2rem; border-radius: 16px; border: 1px solid rgba(243, 208, 138, 0.45); background: rgba(243, 208, 138, 0.1); text-align: center; white-space: nowrap; }
.urlaub__zurueck span { font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #f3d08a; }
.urlaub__zurueck strong { font-family: var(--font-display); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: #fff; }
/* Gezeichneter Lichterbaum (templates/weihnacht.php) */
.fest-baum { flex: none; width: clamp(54px, 5vw, 78px); height: auto; overflow: visible; filter: drop-shadow(0 0 16px rgba(243, 208, 138, 0.55)); }
.fest-baum__stern { transform-origin: 40px 12px; animation: baum-stern 3.2s ease-in-out infinite; }
.fest-baum__licht { animation: baum-licht 2.4s ease-in-out infinite; animation-delay: calc(var(--l) * 0.37s); }
@keyframes baum-stern { 0%, 100% { scale: 0.85; opacity: 0.8; } 50% { scale: 1.2; opacity: 1; } }
@keyframes baum-licht { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* Festkarte im Hero: Gruß und Weihnachtsurlaub, rechts neben der Überschrift */
.festkarte {
  position: absolute; z-index: 2; right: var(--hero-pad-x, 6vw); top: 50%; translate: 0 -52%; width: min(380px, 29vw);
  display: grid; justify-items: center; gap: clamp(0.7rem, 1.6vh, 1.1rem); padding: clamp(1.4rem, 2.4vw, 2.2rem) clamp(1.2rem, 2vw, 1.9rem); border-radius: 28px; text-align: center;
  border: 1px solid rgba(243, 208, 138, 0.65);
  background: radial-gradient(90% 60% at 50% 0%, rgba(243, 208, 138, 0.26), rgba(243, 208, 138, 0) 70%), linear-gradient(180deg, rgba(40, 36, 34, 0.62), rgba(16, 17, 24, 0.7));
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 241, 207, 0.75), inset 0 0 0 5px rgba(243, 208, 138, 0.07), 0 40px 90px -36px rgba(0, 0, 0, 0.9), 0 0 80px -24px rgba(243, 208, 138, 0.6);
  transition: opacity 1s ease 0.6s, translate 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
  animation: festkarte-schweben 9s ease-in-out infinite alternate;
}
@keyframes festkarte-schweben { to { margin-top: -10px; } }
html.js .hero:not(.hero--in) .festkarte { opacity: 0; translate: 0 -46%; }
.festkarte .fest-baum { width: clamp(72px, 6.4vw, 104px); }
.festkarte__gruss {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.9rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em;
  background: linear-gradient(100deg, #c9a45c 0%, #fff1cf 30%, #f3d08a 50%, #fff7e2 70%, #c9a45c 100%); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: festkarte-glanz 6s ease-in-out infinite;
}
@keyframes festkarte-glanz { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.festkarte__urlaub { display: grid; gap: 0.7rem; width: 100%; padding-top: clamp(0.7rem, 1.6vh, 1.1rem); border-top: 1px solid rgba(243, 208, 138, 0.35); }
.festkarte__titel { font-family: var(--font-display); font-size: clamp(1rem, 0.94rem + 0.35vw, 1.2rem); font-weight: 600; line-height: 1.3; color: #fff; text-wrap: balance; }
.festkarte__zurueck { display: grid; gap: 0.15rem; padding: 0.7rem 0.9rem; border-radius: 16px; border: 1px solid rgba(243, 208, 138, 0.45); background: rgba(243, 208, 138, 0.1); }
.festkarte__zurueck span { font-family: var(--font-display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #f3d08a; }
.festkarte__zurueck b { font-family: var(--font-display); font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); font-weight: 700; color: #fff1cf; }
.festkarte__link {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #2a2112; padding: 0.75em 1.5em; border-radius: 999px;
  background: linear-gradient(180deg, #fff1cf, #f3d08a 60%, #d9b46c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 28px -12px rgba(243, 208, 138, 0.9);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.festkarte__link:hover { translate: 0 -2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 34px -10px rgba(243, 208, 138, 1); }
.festkarte--schlicht { border-color: rgba(255, 255, 255, 0.24); }
@media (max-width: 1180px) {
  /* schmal: die Karte steht als flacher Streifen über der Überschrift */
  .hero:has(.festkarte) { grid-template-rows: auto minmax(0, 1fr) auto; }
  .festkarte {
    position: relative; right: auto; top: auto; translate: none; order: -1; width: auto; max-width: 40rem; animation: none;
    grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 1rem; row-gap: 0.5rem; text-align: left; padding: 1rem 1.2rem; border-radius: 22px; margin-top: clamp(0.4rem, 2vh, 1.4rem);
  }
  html.js .hero:not(.hero--in) .festkarte { translate: 0 10px; }
  .festkarte .fest-baum { grid-row: 1 / span 3; align-self: center; width: clamp(52px, 13vw, 76px); }
  .festkarte__gruss { font-size: clamp(1.4rem, 1rem + 2.2vw, 2rem); }
  .festkarte__urlaub { padding-top: 0; border-top: 0; gap: 0.5rem; }
  .festkarte__zurueck { justify-items: start; padding: 0.5rem 0.8rem; }
  .festkarte__link { justify-self: start; }
}

/* Urlaubshinweis im Kontaktbereich: Lichterreihe an der Oberkante */
.urlaub::before {
  content: ''; position: absolute; left: 14px; right: 14px; top: 7px; height: 8px; pointer-events: none;
  background: radial-gradient(circle, #fff3d6 0 2px, rgba(243, 208, 138, 0.5) 3px, rgba(243, 208, 138, 0) 4.5px) 0 0 / 28px 8px repeat-x; animation: baum-licht 2.8s ease-in-out infinite;
}
.urlaub { padding-top: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 820px) {
  .urlaub { grid-template-columns: auto minmax(0, 1fr); }
  .urlaub__zurueck { grid-column: 1 / -1; white-space: normal; }
}

/* ══ Fotos mit Menschen (Bildauftrag 2) ══ */

/* Bildband: ein breiter Streifen Foto in einem Abschnitt, wandert beim Scrollen leicht und zoomt langsam */
.bildband {
  position: relative; overflow: hidden; max-width: none; margin: 0 0 clamp(1.2rem, 3vh, 2rem); height: clamp(220px, 27vw, 380px); border-radius: var(--glas-rund-klein, 20px);
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 30px 60px -34px rgba(0, 0, 0, 0.85);
}
.bildband__bild { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--fy, 12%); transform-origin: var(--ox, 70%) var(--oy, 30%); filter: brightness(1.16) saturate(1.06); animation: bildband-fahrt 24s ease-in-out infinite alternate; }
@keyframes bildband-fahrt { from { scale: 1; } to { scale: 1.09; } }
.bildband::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 12, 20, 0.5) 0%, rgba(10, 12, 20, 0) 34%, rgba(10, 12, 20, 0) 80%, rgba(10, 12, 20, 0.35) 100%), linear-gradient(180deg, rgba(10, 12, 20, 0) 60%, rgba(10, 12, 20, 0.5) 100%); }
.bildband--rechts { margin: clamp(1.6rem, 4vh, 3rem) 0 0; }
.bildband--rechts + .pd-items { margin-top: clamp(0.8rem, 1.6vw, 1.2rem) !important; }
.referenzen__glasbox > .bildband, .kontakt__glasbox > .bildband, .chat-section__glasbox > .bildband { max-width: none; }
#assistent .chat-section__glasbox > .bildband { grid-column: 1 / -1; margin-bottom: 0.4rem; }
#assistent .chat { grid-row: 2 / span 3; }
@media (max-width: 900px) { #assistent .chat { grid-row: auto; } }

/* Cubes: Stimmungsfoto hinter den Geräten. Auf der Bühne steht erst das Foto, dann kommen die Geräte davor */
.produkt__buehne { isolation: isolate; }
.produkt__foto { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 70%) var(--fy, 30%); opacity: 0.34; filter: saturate(0.9); }
#produkte.produkte--buehne .produkt__foto { opacity: 1; scale: 1.06; transform-origin: var(--fx, 70%) var(--fy, 30%); filter: none; transition: none; }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__foto {
  opacity: 0.36; scale: 1; filter: blur(1.5px) saturate(0.85);
  transition: opacity 1.4s ease 4s, filter 1.4s ease 4s, scale 14s cubic-bezier(0.2, 0.6, 0.3, 1);
}
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__buehne > :is(.geraet, .blatt, .pegel) { transition-delay: 4.2s; }
#produkte.produkte--buehne .produkt__buehne > .produkt__foto { translate: none; }
#produkte.produkte--buehne .produkt.ist-aktiv .produkt__buehne > :is(.geraet, .blatt):nth-child(2) { transition-delay: 4.35s; }
#produkte.produkte--buehne:not(.produkte--bereit) .produkt.ist-aktiv .produkt__foto { opacity: 0.36; }

/* Wie wir arbeiten: Kreis oben, darunter die Szene als eigenes Bild (nichts liegt über den Gesichtern), dann der Text */
#methode .methode__icon-wrap { order: 0; }
#methode .methode__bild {
  order: 1; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--fx, 68%) var(--fy, 30%); border-radius: 16px; margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 34px -22px rgba(0, 0, 0, 0.85); filter: brightness(1.12);
  transition: scale 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}
#methode .methode__card:hover .methode__bild { scale: 1.03; filter: brightness(1.24); }
#methode .methode__name { order: 2; }
#methode .methode__desc { order: 3; }
#methode .methode__product-link { order: 4; }

/* Film: das Selfie im Kreis und in der Glaskugel */
.kino__selfie { border-style: solid; border-color: rgba(255, 255, 255, 0.7); }
.kino__selfie img, .kino__kugel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }
.kino__kugel { place-items: center; }
.kino__kugel img { opacity: 0.94; -webkit-mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, 0) 74%); mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, 0) 74%); }

/* Wer Bewegung reduziert, sieht ruhige Bilder: den fertigen Film, die erste Aufnahme, das unterschriebene Blatt */
@media (prefers-reduced-motion: reduce) {
  .philosophy__glasbox > .philosophy__hero-img, .film-aktion .film-aktion__box::before, .film-aktion__neu, .film-aktion__schritt, .film-aktion__schritt::before,
  .film-aktion__kino::before, .kino, .kino *, .kino *::before, .kino *::after, .wechsel > img, .buehne--post .geraet img, .buehne--handy::before, .buehne--handy i, .pegel i, .blatt__schrift, .blatt__haken, .kontakt__radar i, .kontakt__radar-strahl, .ref-band__spur, .bildband__bild, .festkarte, .festkarte__gruss, .fest-baum__stern, .fest-baum__licht, .urlaub::before, .referenzen .ref-karte, .referenzen .ref-karte .ref-karte__nr, #produktdaten .pd-sheet::after,
  #produktdaten .pd-table .pd-check, #produktdaten .pd-row--stop, #produktdaten .pd-row--note, #methode .methode__grid::after, #methode .methode__card, #methode .methode__icon-wrap, #assistent .chat-section__header::before { animation: none; }
  #produktdaten .pd-sheet::after, #methode .methode__grid::after { display: none; }
  .kontakt__radar i { display: none; }
  .kino__bild--film { opacity: 1; }
  .kino__lauf::before { scale: 0.6 1; }
  .buehne--handy::before, .buehne--handy i { display: none; }
  .pegel i { scale: 1 0.5; }
  .blatt__schrift { stroke-dashoffset: 0; }
  .blatt__haken { opacity: 1; }
}
