:root {
  --bg-main: #f5f5f7;
  --bg-alt: #eef1f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.16);
  --card-radius: 20px;
  --container-max: 1200px;
  --container-pad: 20px;
  --nav-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
  --nav-shadow-outline: 0 0 0 1px rgba(255, 255, 255, 0.55);
  --cyber-pink: #ff2bd6;
  --cyber-cyan: #00e5ff;
  --cyber-glow: 0 0 10px rgba(0, 229, 255, 0.35), 0 0 18px rgba(255, 43, 214, 0.28);
}

/* Saans TRIAL (OTF) – files live in /fonts */
@font-face {
  font-family: "Saans TRIAL";
  src: url("/fonts/Saans-TRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saans TRIAL";
  src: url("/fonts/Saans-TRIAL-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Heat-Robox (OTF) – cyberpunk display font */
@font-face {
  font-family: "Heat Robox";
  src: url("/fonts/Heat-Robox.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.site-body {
  font-family: "Saans TRIAL", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    -webkit-system-font, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

.page {
  min-height: 100vh;
}

/* =========
   GLOBAL CONTENT WIDTH (align with nav)
   ========= */

/* Sections / content should not exceed the nav’s outer edges */
.section,
.pricing-note {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  overflow: visible;
}

/* Prevent overflows: headings should NOT hyphenate or break mid-word */
.section h1,
.section h2,
.section h3,
.section h4,
.hero-title{
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

/* Emergency: very small screens — allow breaking *only if a single word is too long* (no hyphens) */
@media (max-width: 380px){
  .section h1,
  .section h2,
  .section h3,
  .section h4,
  .hero-title{
    hyphens: none;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Body text can wrap defensively to avoid overflow on small screens */
.section p,
.section li,
.hero-subtitle{
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* =========
   NAVIGATION – CREO-STYLE PILLEN
   ========= */

/* Nav-Leiste selbst ist transparent – nur Pillen haben Glas */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 8px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0;
}

/* Ganz oben: Glas-Effekt der Pillen ausblenden, Inhalte bleiben sichtbar
   (ausgenommen: Mobile-Drawer im geöffneten Zustand) */
.main-nav.nav--at-top .nav-logo-pill,
.main-nav.nav--at-top:not(.is-open) .nav-links-pill,
.main-nav.nav--at-top .nav-cta {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Burger-Pille ganz oben ebenfalls "unsichtbar" machen (Icon bleibt) */
.main-nav.nav--at-top .nav-toggle {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Breite identisch zu .container, damit alles bündig abschließt */
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0;
  position: relative;
}

/* alle Pillen gleiche Höhe */
.nav-logo-pill,
.nav-links-pill,
.nav-cta {
  min-height: 67px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease;
}

/* Linke Seite – nur das Logo (Pille hängt links an der Containerkante) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Logo-Pille */
.nav-logo-pill {
  justify-content: center;
  padding: 0 38px; /* ca. +20% zur ursprünglichen Breite */
  background: rgba(255, 255, 255, 0.18); /* weniger deckend, mehr Glasgefühl */
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
  text-decoration: none;
}

.nav-logo-pill img {
  height: 34px; /* ca. +20% gegenüber 28px */
  display: block;
  /* Standard: Logo schwarz */
  filter: brightness(0);
}

/* Logo im Hero weiß, danach schwarz */
.main-nav:not(.nav--scrolled) .nav-logo-pill img {
  filter: brightness(0) invert(1);
}

.main-nav.nav--scrolled .nav-logo-pill img {
  filter: brightness(0);
}

/* ZENTRIERTE LINK-PILLE
   – absolut in der Mitte des Nav-Containers
   – Abstand zu Logo & CTAs ergibt sich automatisch */
.nav-links-pill {
  padding: 0 38px;
  width: 100%;
  max-width: 780px;
  justify-self: center;
  min-width: 0;
  /* milchiger Glas-Effekt */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Link-Liste in der Pille */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.nav-links li {
  position: relative;
  white-space: normal;
  min-width: 0;
}

.nav-link {
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  max-width: 14ch;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #4b5563;
  opacity: 0.9;
  /* kein zusätzlicher Unterstrich-Abstand mehr */
  padding-bottom: 0;
  transition: color 0.18s ease, opacity 0.18s ease;
}

/* kein Unterstreich-Strich mehr bei Hover */
.nav-link::after {
  content: none;
}

.nav-link:hover {
  /* global nur leicht mehr Sichtbarkeit, Farbe steuern die Zustände unten */
  opacity: 1;
}

/* Zustand 1: Hero-Bereich sichtbar – Navigation in Weiß */
.main-nav:not(.nav--scrolled) .nav-link {
  color: rgba(249, 250, 251, 0.95);
}

.main-nav:not(.nav--scrolled) .nav-link:hover {
  /* im Hero etwas „grauer“ wirken → leicht weniger hell */
  color: rgba(249, 250, 251, 0.75);
}

.main-nav:not(.nav--scrolled) .nav-link::after {
  background: #f9fafb;
}

/* Zustand 2: nach der ersten Sektion – Navigation in dunklem Grau */
.main-nav.nav--scrolled .nav-link {
  color: #1f2937;
}

.main-nav.nav--scrolled .nav-link:hover {
  color: #111827;
}

.main-nav.nav--scrolled .nav-link::after {
  background: #111827;
}

.nav-link:hover::after,
.nav-link.nav-link--active::after {
  transform: scaleX(1);
}

/* Burger-Button – Desktop versteckt */
.nav-toggle {
  display: none;
  margin-left: 12px;
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #4b5563;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 4px;
}

/* 2-Strich Burger → X */
.main-nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.main-nav.is-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Rechte Seite – CTA-Pillen hängen rechts am Containerabschluss */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  justify-content: flex-end;
  justify-self: end;
}

/* Basis für beide CTAs (Desktop) */
.nav-cta {
  justify-content: center;
  padding: 0 31px;  /* ca. +20% zu ursprünglichen 26px */
  font-size: 17px;  /* ca. +20% zu ursprünglichen 14px */
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* „Get in touch“ – helle, glasige Pille */
.nav-cta--ghost {
  background: rgba(248, 250, 252, 0.2);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  color: #4b5563; /* gleiches Grau wie die Link-Pille im Content-Bereich */
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
}

.nav-cta--ghost:hover {
  /* keine Farbänderung mehr, nur Position stabil halten */
  background: rgba(248, 250, 252, 0.2);
  transform: none;
}

/* „Kostenlose Erstberatung“ – dunkler Primary-Button */
.nav-cta--solid {
  background: #041c54;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.nav-cta--solid:hover {
  /* Farbe bleibt wie im Normalzustand */
  background: #041c54;
  border-color: #0f172a;
  transform: none;
}

/* CTA- und Burger-Farben je nach Scrollzustand */
.main-nav:not(.nav--scrolled) .nav-cta--ghost {
  color: #f9fafb;
  border-color: rgba(249, 250, 251, 0.8);
}

.main-nav.nav--scrolled .nav-cta--ghost {
  color: #1f2937;
}

.main-nav.nav--scrolled .nav-cta--ghost:hover {
  color: #111827;
}

.main-nav:not(.nav--scrolled) .nav-toggle-bar {
  background: #f9fafb;
}

.main-nav.nav--scrolled .nav-toggle-bar {
  background: #4b5563;
}

/* CTA-Items im Burger-Menü – Desktop ausblenden */
.nav-link-cta-item {
  display: none;
}

.nav-cta-inline {
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}

/* =========
   NAV RESPONSIVE
   ========= */

/* 1) Desktop bleibt: die Links-Pille wird im Grid automatisch enger.
   Wir reduzieren dabei stufenweise nur Abstände + erlaubte Link-Breite,
   damit die Wörter immer stärker umbrechen, statt zu überlappen. */
@media (max-width: 1200px) {
  .nav-links {
    gap: 26px;
  }
}

@media (max-width: 1100px) {
  .nav-links-pill {
    padding: 0 42px;
    max-width: 860px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    max-width: 10ch;
  }
}

@media (max-width: 980px) {
  .nav-links {
    gap: 16px;
  }

  .nav-link {
    max-width: 8ch;
  }
}

/* 2) Mobile: nur Logo links + Burger rechts.
   Burger öffnet ein weiches Full-Width Menü (Drawer) inkl. Links + CTAs (nicht als Pillen). */
@media (max-width: 900px) {
  :root {
    --container-pad: 16px;
  }
  /* Mobile: allow shadows from tiles/cards to extend beyond the container */
  .section,
  .contact-grid,
  .pricing-note{
    overflow: visible;
  }
  .main-nav {
    --nav-pad-top: 16px;
    --nav-pill-height: 67px;
    /* --mobile-pill-width: 190px; */ /* removed */
  }

  /* Header bleibt in einer Zeile: Logo links, Burger rechts */
  .nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
  }

  .nav-left {
    flex-wrap: nowrap;
  }

  /* Desktop-CTAs ausblenden */
  .nav-right .nav-cta {
    display: none;
  }

  /* Burger als eigene "Pille" */
  .nav-toggle {
    display: inline-flex;
    min-height: var(--nav-pill-height);
    padding: 0 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
    border: 1px solid rgba(255, 255, 255, 0.85);
    /* width: var(--mobile-pill-width); */ /* removed */
  }

  /* Logo-Pille auf Mobile exakt gleich breit wie die Burger-Pille */
  .nav-logo-pill {
    /* width: var(--mobile-pill-width); */ /* removed */
    padding: 0 38px;
  }

  /* Drawer (Links-Pille) wird zum Full-Width Panel */
  .nav-links-pill {
    position: fixed;
    display: block;
    top: calc(var(--nav-pad-top) + var(--nav-pill-height) + 12px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0 0 26px 26px;
    padding: 18px 20px 22px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--nav-shadow);
    backdrop-filter: blur(26px) saturate(1.25);
    -webkit-backdrop-filter: blur(26px) saturate(1.25);
    z-index: 999;

    /* Closed state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    visibility: hidden;
    transition:
      max-height 380ms ease,
      opacity 260ms ease,
      transform 260ms ease;
  }

  .main-nav.is-open .nav-links-pill {
    max-height: 80vh;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .main-nav .nav-links-pill .nav-link {
    opacity: 1;
    font-size: 18px;
    padding: 12px 10px;
    border-radius: 16px;
    display: block;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    text-align: center;
  }

  .main-nav .nav-links-pill .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
    white-space: normal;
  }

  /* CTA-Items im Drawer anzeigen und als Buttons stylen */
  .nav-link-cta-item {
    display: block;
    margin-top: 6px;
  }

  .nav-cta-inline {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    text-align: center;
  }

  .nav-cta-inline--ghost {
    color: rgba(249, 250, 251, 0.95);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
  }

  /* Mobile drawer: when nav is scrolled, ghost CTA should use the same dark grey as links */
  .main-nav.nav--scrolled .nav-cta-inline--ghost {
    color: #1f2937;
    background: rgba(17, 24, 39, 0.04);
    border-color: rgba(17, 24, 39, 0.12);
  }

  .main-nav.nav--scrolled .nav-cta-inline--ghost:hover {
    color: #111827;
    background: rgba(17, 24, 39, 0.06);
    border-color: rgba(17, 24, 39, 0.16);
  }

  .nav-cta-inline--solid {
    color: #ffffff;
    background: #041c54;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
  }
}

/* =========
   HERO – VIDEO-BACKGROUND
   ========= */

.hero {
  position: relative;
  padding: 120px 0 90px; /* oben Platz für Nav, unten Luft zum nächsten Abschnitt */
  color: #f9fafb;
  overflow: visible;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Hero video layer (supports wrapper or direct <video>) */
.hero-media,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-media video,
.hero-video video,
video.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Safety: never let the hero be constrained by container rules */
.hero.hero--video {
  max-width: none;
}

/* Overlay über dem Video für bessere Lesbarkeit des Textes */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.45), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.9));
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Defensive: prevent hero grid children from forcing horizontal overflow */
.hero-content > *{
  min-width: 0;
}

.hero-left {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(3.6rem, 6.4vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 460px;
  color: rgba(249, 250, 251, 0.9);
}

.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0; /* allow grid item to shrink */
}

.hero-visual-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
  overflow: visible;
}

.hero-visual {
  --hero-visual-scale: 1.15;
  --hero-visual-start-y: 40px;
  width: 100%;
  max-width: min(720px, 100%);
  height: auto;
  transform: translateY(var(--hero-visual-start-y)) scale(var(--hero-visual-scale));
  transform-origin: bottom center;
  opacity: 0;
  animation: heroFloatUp 0.9s var(--ease-out, cubic-bezier(0.2, 0.7, 0.3, 1)) 0.1s forwards;
}


/* Handwerk: hero image at 80% size */
.hero-right--handwerk .hero-visual{
  --hero-visual-scale: calc(1.15 * 0.80);
  max-width: 100%;
}

/* Shops: hero wrapper at 80% size */
.hero-visual-wrap--shops{
  width: 80%;
  max-width: 576px; /* 720px * 0.8 */
}

/* Shops: image fills the sized wrapper */
.hero-right--shops .hero-visual{
  width: 100%;
  max-width: 100%;
  --hero-visual-scale: 1;
}

@keyframes heroFloatUp {
  from {
    transform: translateY(var(--hero-visual-start-y)) scale(var(--hero-visual-scale));
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(var(--hero-visual-scale));
    opacity: 1;
  }
}

/* Mobile-Anpassungen für den Hero */
@media (max-width: 900px) {
  .hero {
    padding: 110px 0 70px;
    min-height: 80vh;
    overflow: visible;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    text-align: center;
  }

  .hero-left,
  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-visual {
    max-width: 100%;
    --hero-visual-scale: 1.05;
    --hero-visual-start-y: 30px;
  }

  .hero-right--handwerk .hero-visual{
    --hero-visual-scale: calc(1.05 * 0.80);
    max-width: 100%;
  }
  .hero-visual-wrap--shops{
    width: 80%;
    max-width: 100%;
  }

  .hero-right--shops .hero-visual{
    width: 100%;
    max-width: 100%;
    --hero-visual-scale: 1;
  }
}

/* =========
   GRID & CARDS
   ========= */

.grid {
  display: grid;
  gap: 34px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: transparent;
  border-radius: var(--card-radius);
  padding: 0;
  border: none;
  box-shadow: none;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  font-size: 16.8px;
  color: var(--text-muted);
}

/* Bullet Lists */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.bullet-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.bullet-list li::before {
  content: "•";
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
  color: #16a34a;
}

.bullet-list--negative li::before {
  content: "–";
  color: #b91c1c;
}

/* Stats */

.stat-card {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.stat-text {
  font-size: 16.8px;
  color: var(--text-muted);
}

/* =========
   PREISE
   ========= */

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
}


.pricing-card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

/* Non-highlight cards start lower so the highlight feels featured */
.pricing-card:not(.pricing-card--highlight) .pricing-card-inner {
  padding-top: 30px;
}

.pricing-card--highlight .pricing-card-inner {
  padding-top: 0;
}

.pricing-price {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.pricing-text {
  font-size: 16.8px;
  color: var(--text-muted);
}

 .pricing-badge {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #92400e;
  line-height: 1;
  flex: 0 0 auto;
}

/* Keep pricing card headers/text at consistent heights (badge should not shift layout) */
.pricing-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 2.4em;
}


.pricing-text {
  min-height: 3.6em;
}

.pricing-card--highlight {
  background: var(--bg-alt);
  border-radius: calc(var(--card-radius) + 10px);
  padding: 32px;
  border: 1px solid rgba(250, 204, 21, 0.55);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: translateY(-14px) scale(1.02);
  position: relative;
  z-index: 3;
}

/* Nicht-highlight Cards leicht tiefer, damit "Beliebt" hervorsticht */
.pricing-card:not(.pricing-card--highlight) {
  transform: translateY(10px);
  opacity: 0.98;
}

.pricing-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* =========
   KONTAKT
   ========= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: flex-start;
}

.section-intro {
  font-size: 16.8px;
  color: var(--text-muted);
  max-width: 480px;
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 18px;
}

.btn-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.9);
  background: #22c55e;
  color: #ecfdf5;
  text-decoration: none;
  font-size: 13px;
}

.btn-contact-whatsapp img {
  height: 16px;
  width: 16px;
}

.btn-contact-whatsapp:hover {
  background: #16a34a;
}

.contact-cta {
  white-space: nowrap;
}

.map-card {
  margin-top: 10px;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.contact-form {
  background: transparent;
  border-radius: var(--card-radius);
  padding: 0;
  border: none;
  box-shadow: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 13px;
  color: #111827;
}

.form-row input,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 9px 11px;
  font-size: 14px;
  font-family: inherit;
  background: #f9fafb;
  color: #111827;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9ca3af;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px #111827;
  background: #ffffff;
}

.form-hint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================
   CONTACT – Glass UI polish (scoped)
   ============================ */

.section--contact{
  /* subtle section tint so the glass reads well */
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.0));
}

.section--contact .contact-grid{
  gap: 36px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Left intro: align to brand */
.section--contact .contact-head h2{
  text-align: left;
  margin-bottom: 10px;
}

.section--contact .contact-head .section-intro{
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 62ch;
}

/* Glass cards */
.section--contact .contact-info-card,
.section--contact .contact-form{
  border-radius: calc(var(--card-radius) + 8px);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.section--contact .contact-info-card{
  padding: 18px 18px 16px;
}

.section--contact .contact-form{
  padding: 18px 18px 16px;
}

/* CTA row refinements */
.section--contact .contact-cta-row{
  margin: 18px 0 16px;
  gap: 10px;
  align-items: center;
}

/* Normalize CTA button typography */
.section--contact .contact-cta-row a,
.section--contact .contact-cta-row .btn-contact-whatsapp,
.section--contact .contact-cta-row .contact-cta{
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.section--contact .btn-contact-whatsapp{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border-radius: 999px;
  background: #041c54;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  text-decoration: none !important;
}

.section--contact .btn-contact-whatsapp:hover{
  background: #041c54;
  border-color: #0f172a;
}

/* “Anrufen / Mail” buttons: same blue as Nav solid CTA */
.section--contact .contact-cta.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px;
  background: #041c54;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  font-size: 16px;
  line-height: 1;
  text-decoration: none !important;
}

.section--contact .contact-cta.btn-ghost:hover{
  background: #041c54;
  border-color: #0f172a;
}

.section--contact .btn-contact-whatsapp span,
.section--contact .contact-cta{
  text-decoration: none !important;
}

/* Info typography */
.section--contact .contact-info-title{
  text-align: left;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(17, 24, 39, 0.92);
}

.section--contact .contact-info-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.62);
}

/* Map card as glass inset */
.section--contact .map-card{
  margin-top: 12px;
  border-radius: calc(var(--card-radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
}

.section--contact .map-card iframe{
  height: 240px;
}

/* Full-width Google Maps tile (glass card) */
.section--contact .contact-map-wide{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 14px;
}

/* Ensure the wide card uses the same glass styling and fills the row */

.section--contact .contact-map-wide .contact-info-card{
  width: 100%;
}

/* Center Standort headline + location text inside the wide map tile */
.section--contact .contact-map-wide .contact-info-title,
.section--contact .contact-map-wide .contact-info-text{
  text-align: center;
}

/* Make the embedded map feel “premium” */
.section--contact .contact-map-wide .map-card{
  margin-top: 14px;
}

.section--contact .contact-map-wide .map-card iframe{
  height: 340px;
}

@media (max-width: 900px){
  .section--contact .contact-map-wide .map-card iframe{
    height: 260px;
  }
}

/* Placeholder for maps before consent */
.section--contact .map-consent-placeholder{
  width: 100%;
  min-height: 240px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 18px;
  border-radius: calc(var(--card-radius) + 6px);
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.section--contact .map-consent-placeholder strong{
  color: rgba(17, 24, 39, 0.92);
  font-weight: 600;
}

.section--contact .map-consent-placeholder p{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.62);
}

.section--contact .contact-consent-hint{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.55);
}

.section--contact .contact-consent-hint .footer-cookie-settings{
  font-size: inherit;
  color: rgba(17, 24, 39, 0.72);
}

/* Form polish */
.section--contact .contact-form{
  display: grid;
  gap: 12px;
}

.section--contact .form-row{
  margin-bottom: 0;
}

.section--contact .form-row label{
  font-size: 13px;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.78);
  text-align: left;
}

.section--contact .form-row input,
.section--contact .form-row textarea{
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  padding: 12px 14px;
  font-size: 16px;
}

.section--contact .form-row input:focus,
.section--contact .form-row textarea:focus{
  border-color: rgba(4, 28, 84, 0.45);
  box-shadow: 0 0 0 3px rgba(4, 28, 84, 0.12);
}

/* Kontakt: Submit Button – grau bis Formular gültig ist */
.section--contact .contact-form .btn.btn-primary{
  border-radius: 999px;
  min-height: 56px;
  font-size: 17px;
  font-weight: 500;

  /* Default (nicht ready): grau */
  background: rgba(17, 24, 39, 0.22);
  color: rgba(17, 24, 39, 0.62);
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  cursor: not-allowed;
}

/* Ready (enabled): blau wie Nav-CTA */
.section--contact .contact-form .btn.btn-primary:not(:disabled){
  background: #041c54;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.section--contact .contact-form .btn.btn-primary:not(:disabled):hover{
  background: #041c54;
  border-color: #0f172a;
}

.section--contact .form-hint{
  margin-top: 2px;
  font-size: 12px;
}

@media (max-width: 900px){
  .section--contact .contact-head h2,
  .section--contact .contact-head .section-intro{
    text-align: center;
  }

  .section--contact .contact-info-title{
    text-align: center;
  }

  .section--contact .map-consent-placeholder{
    justify-items: center;
    text-align: center;
  }

  .section--contact .contact-form{
    padding: 16px;
  }

  .section--contact .contact-info-card{
    padding: 16px;
  }

  .section--contact .form-row input,
  .section--contact .form-row textarea{
    font-size: 16px;
  }
}

/* =========
   RESPONSIVE
   ========= */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    max-width: 420px;
    margin: 0 auto;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card--highlight {
    padding: 22px;
    transform: translateY(-10px) scale(1.01);
  }

  .pricing-card:not(.pricing-card--highlight) {
    transform: translateY(6px);
  }
  .pricing-card:not(.pricing-card--highlight) .pricing-card-inner { padding-top: 22px; }
}

@media (max-width: 768px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .map-card iframe {
    height: 200px;
  }
}


/* =========
   SECTION TYPOGRAPHY AND LAYOUT
   ========= */

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Fließtext in Sektionen: Medium +20% größer */
.section p,
.section li,
.section-intro,
.pricing-text,
.stat-text,
.card p,
.bullet-list,
.bullet-list li {
  font-size: 20.2px; /* 16.8px * 1.2 */
  line-height: 1.75;
  font-family: "Saans TRIAL", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", -webkit-system-font, "Segoe UI", sans-serif;
  font-weight: 500; /* Medium */
}

/* Überschriften in Sektionen: Regular, zentriert und deutlich größer
   (nur direkte Kinder, damit Card-Überschriften nicht mitwachsen) */
.section h1,
.section h2,
.section h3,
.section h4 {
  text-align: center;
  font-weight: 400; /* Regular */
  letter-spacing: -0.02em;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-family: "Saans TRIAL", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    -webkit-system-font, "Segoe UI", sans-serif;
  font-weight: 400; /* Regular */
}

.section h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  margin-top: 0;
  margin-bottom: 18px;
}

.section h2 {
  font-size: 6.4rem;
  line-height: 1.02;
  margin-top: 0;
  margin-bottom: 18px;
}

.section h3 {
  font-size: 2.2rem;
  line-height: 1.12;
  margin-top: 0;
  margin-bottom: 14px;
}

.section h4 {
  font-size: 1.8rem;
  line-height: 1.18;
  margin-top: 0;
  margin-bottom: 12px;
}

/* Intro-Texte mittig */
.section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========
   LEGAL PAGES (Datenschutz)
   ========= */

/* Page-scoped theme: dark elegant grey with subtle texture */
body.page--datenschutz{
  background:
    /* soft “nap” sheen */
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.055), transparent 58%),
    radial-gradient(circle at 78% 26%, rgba(255,255,255,0.035), transparent 62%),

    /* fine grain (microfiber) */
    repeating-radial-gradient(
      circle at 30% 40%,
      rgba(255,255,255,0.028) 0px,
      rgba(255,255,255,0.028) 1px,
      transparent 1px,
      transparent 6px
    ),

    /* subtle diagonal “suede” direction */
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.028) 0px,
      rgba(255,255,255,0.028) 1px,
      transparent 1px,
      transparent 14px
    ),

    /* base elegant grey */
    linear-gradient(180deg, #0b1220 0%, #0f172a 55%, #111827 100%);
  color: rgba(249, 250, 251, 0.86);
}

/* Keep the section itself transparent so the page background shows through */
body.page--datenschutz .section.section--datenschutz{
  background: transparent;
}

/* Text colors (no size/spacing changes) */
body.page--datenschutz .section.section--datenschutz,
body.page--datenschutz .section.section--datenschutz p,
body.page--datenschutz .section.section--datenschutz li,
body.page--datenschutz .section.section--datenschutz h1,
body.page--datenschutz .section.section--datenschutz h2,
body.page--datenschutz .section.section--datenschutz h3,
body.page--datenschutz .section.section--datenschutz h4{
  color: rgba(249, 250, 251, 0.86);
}

body.page--datenschutz .section.section--datenschutz .page-title{
  color: rgba(249, 250, 251, 0.95);
}

body.page--datenschutz .section.section--datenschutz .section-sub{
  color: rgba(249, 250, 251, 0.72);
}

body.page--datenschutz .section.section--datenschutz a{
  color: rgba(255, 255, 255, 0.92);
}

/* Scoped via .page-title so it only affects the legal page */
.section .page-title{
  text-align: left;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 14px;
  color: rgba(249, 250, 251, 0.95);
}

.section .page-title + .section-sub{
  margin: 0 0 26px;
  max-width: 72ch;
  color: rgba(249, 250, 251, 0.72);
  font-weight: 400;
}

/* Reduce oversized section headings on the legal page */
.section .page-title ~ h2{
  text-align: left;
  font-size: clamp(1.5rem, 2.2vw, 2.0rem);
  line-height: 1.2;
  margin: 34px 0 10px;
}

.section .page-title ~ h3{
  text-align: left;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 24px 0 8px;
}

/* Body copy readability */
.section .page-title ~ p,
.section .page-title ~ li{
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  color: rgba(249, 250, 251, 0.78);
}

.section .page-title ~ p{
  margin: 0 0 14px;
  max-width: 78ch;
}

.section .page-title ~ ul,
.section .page-title ~ ol{
  margin: 10px 0 18px;
  padding-left: 1.2em;
  max-width: 78ch;
}

.section .page-title ~ ul{ list-style: disc; }
.section .page-title ~ ol{ list-style: decimal; }

.section .page-title ~ li{ margin: 6px 0; }

/* Links in CTA blue */
.section .page-title ~ p a,
.section .page-title ~ a{
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section .page-title ~ p a:hover{
  text-decoration-thickness: 2px;
}

@media (max-width: 900px){
  .section .page-title{
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .section .page-title ~ p,
  .section .page-title ~ li{
    font-size: 16px;
  }
}

/* =========
   INTERSTITIAL VIDEO STRIP (Text + Video)
   ========= */

.section.section-strip {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-top: 44px;
  padding-bottom: 44px;
  padding-left: 0;
  padding-right: 0;
  background: #000000;
}

/* =========
   CUSTOMER JOURNEY STRIP (Shops)
   ========= */

/* Override the black strip background for the journey variant */
.section.section-strip.journey-strip{
  background: var(--bg-alt);
}

.section.section-strip.journey-strip .journey-inner{
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  gap: 18px;
  align-items: center;
}

.section.section-strip.journey-strip .journey-text{
  margin: 0;
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  font-family: "Saans TRIAL", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.92);
}

.section.section-strip.journey-strip .journey-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section.section-strip.journey-strip .journey-card{
  position: relative;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease, border-color 220ms ease;
}

/* States set via JS */
.section.section-strip.journey-strip .journey-card.is-active{
  border-color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  filter: none;
}

.section.section-strip.journey-strip .journey-card.is-done{
  opacity: 0.55;
  filter: grayscale(1);
}

.section.section-strip.journey-strip .journey-card.is-done .journey-progress-bar{
  opacity: 0.6;
}

.section.section-strip.journey-strip .journey-card-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section.section-strip.journey-strip .journey-step{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(4, 28, 84, 0.08);
  border: 1px solid rgba(4, 28, 84, 0.18);
  color: rgba(4, 28, 84, 0.95);
  font-weight: 600;
}

.section.section-strip.journey-strip .journey-title{
  margin: 0;
  text-align: left;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.92);
}

.section.section-strip.journey-strip .journey-progress{
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.section.section-strip.journey-strip .journey-progress-bar{
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #041c54;
}

@media (max-width: 900px){
  .section.section-strip.journey-strip .journey-inner{
    gap: 14px;
  }

  .section.section-strip.journey-strip .journey-text{
    font-size: clamp(18px, 6vw, 24px);
  }

  .section.section-strip.journey-strip .journey-grid{
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .section.section-strip.journey-strip .journey-card{
    padding: 16px 16px 14px;
  }
}

.section.section-strip .strip-inner {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 12px;
}

.section.section-strip .strip-text {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1;
  font-family: "Heat Robox", "Saans TRIAL", system-ui, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--cyber-glow);
  text-align: left;
  transform: scaleY(1.06);
  transform-origin: left center;
  white-space: nowrap;
}


/* --- Logo Marquee Variant (Reservation + Delivery) --- */
.section.section-strip .strip-subtext {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(249, 250, 251, 0.85);
  max-width: 52ch;
}

.section.section-strip .logo-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 18px;
}

.section.section-strip .marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
}

.section.section-strip .logo-row {
  display: flex;
  align-items: center;
  gap: 56px;
}

.section.section-strip .logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.section.section-strip .logo-item img {
  height: 34px;
  width: auto;
  display: block;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.section.section-strip .logo-item img.is-muted {
  opacity: 0.78;
}

.section.section-strip .logo-marquee:hover .marquee-track {
  animation-play-state: paused;
}


@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.section.section-strip .strip-video-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.section.section-strip .strip-video {
  width: min(520px, 100%);
  height: auto;
  display: block;
  border-radius: calc(var(--card-radius) + 6px);
  object-fit: cover;
  background: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Defensive: hide native controls if a browser shows them */
.strip-video::-webkit-media-controls,
.strip-video::-webkit-media-controls-panel,
.strip-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

@media (max-width: 900px) {
  .section.section-strip {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section.section-strip .strip-inner {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .section.section-strip .strip-text {
    text-align: center;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1;
    font-family: "Heat Robox", "Saans TRIAL", system-ui, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--cyber-glow);
    transform: scaleY(1.04);
    transform-origin: center;
    white-space: nowrap;
  }

  .section.section-strip .strip-video-wrap {
    justify-content: center;
  }

  .section.section-strip .strip-subtext {
    font-size: 14px;
    text-align: center;
    margin: 8px 0 0;
    max-width: 44ch;
  }

  .section.section-strip .logo-marquee {
    margin-top: 14px;
  }

  .section.section-strip .marquee-track,
  .section.section-strip .logo-row {
    gap: 36px;
  }

  .section.section-strip .logo-item img {
    height: 28px;
  }
}

/* Portrait unter "Starker Auftritt, Starke Marke." – volle Container-Breite */
.section-portrait {
  width: 100%;
  margin-top: 46px;
}

.section-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--card-radius) + 6px);
}

@media (max-width: 900px) {
  .section-portrait {
    margin-top: 30px;
  }
}

/* Mobile: reduce section typography ~30% */
@media (max-width: 900px) {
  .section p,
  .section li,
  .section-intro,
  .pricing-text,
  .stat-text,
  .card p,
  .bullet-list,
  .bullet-list li {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .section h1 { font-size: 2.55rem; }
  .section h2 { font-size: 3.7rem; }
  .section h3 { font-size: 1.3rem; }
  .section h4 { font-size: 1.08rem; }

  /* Mobile headings: do not break inside words (wrap only between words) */
  .section h1,
  .section h2,
  .section h3,
  .section h4,
  .hero-title{
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: manual;
  }

  .pricing-card--highlight {
    transform: translateY(-6px) scale(1.0);
  }
  .pricing-card:not(.pricing-card--highlight) {
    transform: translateY(0);
  }
  .pricing-card:not(.pricing-card--highlight) .pricing-card-inner { padding-top: 16px; }
}

/* ============================
   RESTAURANTS: LOGO CAROUSEL STRIP (override)
   ============================ */

/* Logo strip: use light grey background (instead of the default black strip) */
.section.section-strip.section-strip--logos{
  /* slightly darker grey than the default alt background */
  --logos-strip-bg: #e3e6ee;
  background: var(--logos-strip-bg);
}

.section.section-strip.section-strip--logos .strip-inner{
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

/* Headline: same size as .card h3 (19px), Saans, centered */
.section.section-strip.section-strip--logos .strip-text{
  margin: 0;
  font-family: "Saans TRIAL", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(17, 24, 39, 0.92);
  background: none;
  -webkit-text-fill-color: rgba(17, 24, 39, 0.92);
  text-shadow: none;
  transform: none;
  white-space: normal;
}

/* Subtext centered */
.section.section-strip.section-strip--logos .strip-subtext{
  margin: 6px 0 0;
  font-family: "Saans TRIAL", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.62);
  -webkit-text-fill-color: rgba(17, 24, 39, 0.62);
  text-shadow: none;
  max-width: 60ch;
}

/* Logo carousel: centered, ~3 visible, fade left/right */
.section.section-strip.section-strip--logos .logo-marquee{
  width: 100%;
  max-width: 1120px;
  margin: 16px auto 0;
  overflow: hidden;
  position: relative;

  /* Carousel viewport shows exactly 3 logos */
  --logo-gap: 28px;
  --logo-slot: 170px;
  --logo-step: calc(var(--logo-slot) + var(--logo-gap));
  --logo-max-h: 34px; /* desktop logo height cap (downscale only) */
}

/* Fade left/right (more reliable than mask-image) */
.section.section-strip.section-strip--logos .logo-marquee::before,
.section.section-strip.section-strip--logos .logo-marquee::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}

.section.section-strip.section-strip--logos .logo-marquee::before{
  left: 0;
  background: linear-gradient(to right, var(--logos-strip-bg) 0%, rgba(227,230,238,0) 100%);
}

.section.section-strip.section-strip--logos .logo-marquee::after{
  right: 0;
  background: linear-gradient(to left, var(--logos-strip-bg) 0%, rgba(227,230,238,0) 100%);
}


.section.section-strip.section-strip--logos .marquee-track,
.section.section-strip.section-strip--logos .logo-marquee__track,
.section.section-strip.section-strip--logos .logo-marquee-track{
  display: flex;
  width: max-content;
  gap: 0; /* keep seamless -50% loop */
  will-change: transform;
  animation: restaurantMarquee 34s linear infinite;
}

.section.section-strip.section-strip--logos .logo-row{
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
}

.section.section-strip.section-strip--logos .logo-item,
.section.section-strip.section-strip--logos .logo-row > *,
.section.section-strip.section-strip--logos .marquee-track > :not(.logo-row),
.section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row),
.section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row){
  flex: 0 0 var(--logo-slot);
  width: var(--logo-slot);
  min-width: var(--logo-slot);
  max-width: var(--logo-slot);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  height: auto; /* do NOT force a height that would “inflate” logos */
  line-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.section.section-strip.section-strip--logos .logo-item img,
.section.section-strip.section-strip--logos .logo-row > * img,
.section.section-strip.section-strip--logos .marquee-track > :not(.logo-row) img,
.section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row) img,
.section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row) img,
.section.section-strip.section-strip--logos .logo-item svg,
.section.section-strip.section-strip--logos .logo-row > * svg,
.section.section-strip.section-strip--logos .marquee-track > :not(.logo-row) svg,
.section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row) svg,
.section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row) svg{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--logo-max-h);
  object-fit: contain;
  display: block;
  opacity: 0.92;
  filter: brightness(0);
}

/* pause on hover (optional) */
.section.section-strip.section-strip--logos .logo-marquee:hover .marquee-track{
  animation-play-state: running;
}

@keyframes restaurantMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile: still centered, smaller, still ~3 visible */
@media (max-width: 900px){
  .section.section-strip.section-strip--logos .strip-text{
    font-size: 18px;
  }

  .section.section-strip.section-strip--logos .strip-subtext{
    font-size: 14px;
    max-width: 46ch;
  }

  .section.section-strip.section-strip--logos .logo-marquee{
    /* Mobile target: 1 full logo + half on each side */
    --logo-gap: 14px;
    --logo-slot: calc((100vw - (2 * var(--container-pad)) - var(--logo-gap)) / 2);
    --logo-max-h: 28px;
    max-width: 100%;
    margin-top: 14px;
  }

  .section.section-strip.section-strip--logos .marquee-track,
  .section.section-strip.section-strip--logos .logo-marquee__track,
  .section.section-strip.section-strip--logos .logo-marquee-track{
    animation-duration: 28s;
  }

  .section.section-strip.section-strip--logos .logo-row{
    gap: var(--logo-gap);
  }

  .section.section-strip.section-strip--logos .logo-item,
  .section.section-strip.section-strip--logos .logo-row > *,
  .section.section-strip.section-strip--logos .marquee-track > :not(.logo-row),
  .section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row),
  .section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row){
    flex: 0 0 var(--logo-slot);
    width: var(--logo-slot);
    min-width: var(--logo-slot);
    max-width: var(--logo-slot);
    height: auto;
    padding: 10px 8px;
    line-height: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .section.section-strip.section-strip--logos .logo-item img,
  .section.section-strip.section-strip--logos .logo-row > * img,
  .section.section-strip.section-strip--logos .marquee-track > :not(.logo-row) img,
  .section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row) img,
  .section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row) img,
  .section.section-strip.section-strip--logos .logo-item svg,
  .section.section-strip.section-strip--logos .logo-row > * svg,
  .section.section-strip.section-strip--logos .marquee-track > :not(.logo-row) svg,
  .section.section-strip.section-strip--logos .logo-marquee__track > :not(.logo-row) svg,
  .section.section-strip.section-strip--logos .logo-marquee-track > :not(.logo-row) svg{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: var(--logo-max-h);
    object-fit: contain;
  }

  .section.section-strip.section-strip--logos .logo-marquee::before,
  .section.section-strip.section-strip--logos .logo-marquee::after{
    width: 28px;
  }
}

/* ============================
   RESTAURANTS: SPEISEKARTE PREVIEW (iframe)
   ============================ */
/* Constrain preview wrapper and card to a hard max width */
#speisekarte-preview .menu-preview-bleed,
.section#speisekarte-preview .menu-preview-bleed{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

#speisekarte-preview .menu-preview-card,
.section#speisekarte-preview .menu-preview-card{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;

  border-radius: 26px;
  overflow: visible; /* allow the iframe to visually bleed for inner shadows */
  border: none;
  background: transparent;
  box-shadow: none;
  height: clamp(620px, 78vh, 920px);
  min-width: 0;
}

.section#speisekarte-preview .menu-preview-card iframe{
  width: calc(100% + 80px);
  height: 100%;
  border: 0;
  display: block;
  margin-left: -40px;
  border-radius: 26px;
}

@media (max-width: 900px){
  .section#speisekarte-preview .menu-preview-bleed{
    padding: 0;
  }
  .section#speisekarte-preview .menu-preview-card{
    height: clamp(560px, 80vh, 860px);
  }
  .section#speisekarte-preview .menu-preview-card iframe{
    width: calc(100% + 32px);
    margin-left: -16px;
    border-radius: 22px;
  }
}
/* ============================
   FOOTER
   ============================ */
footer,
.site-footer,
.footer{
  width: 100%;
  margin-top: 64px;
  padding: 44px 0 18px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-sizing: border-box;
  overflow-x: clip;
}

.site-footer .footer-inner{
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* Logo */
.footer-logo{
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0);
  opacity: 0.92;
}


.site-footer .footer-col{
  min-width: 0;
}

.site-footer .footer-brand{
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer .footer-claim{
  margin: 0;
  max-width: 46ch;
}

footer ul,
.site-footer ul,
.footer ul{
  max-width: 34ch;
}

/* Headings */
footer h4,
.site-footer h4,
.footer h4{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.78);
  text-align: left;
}

/* Text */
footer p,
.site-footer p,
.footer p{
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.62);
}

/* Lists */
footer ul,
.site-footer ul,
.footer ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li,
.site-footer li,
.footer li{
  margin: 8px 0;
}

/* Links */
footer a,
.site-footer a,
.footer a{
  color: rgba(17, 24, 39, 0.72);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

footer a:hover,
.site-footer a:hover,
.footer a:hover{
  color: rgba(17, 24, 39, 0.92);
}

/* Bottom bar */
.site-footer .footer-bottom{
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .footer-bottom a{
  font-size: 14px;
  color: rgba(17, 24, 39, 0.62);
}

.site-footer .footer-bottom a:hover{
  color: rgba(17, 24, 39, 0.9);
}

.site-footer .footer-copy,
.site-footer .footer-bottom span{
  font-size: 13px;
  color: rgba(17, 24, 39, 0.52);
}

@media (max-width: 900px){
  footer,
  .site-footer,
  .footer{
    margin-top: 60px;
    padding: 44px 0 18px;
  }

  /* 2 columns on mobile: Leistungen + Kontakt side-by-side */
  .site-footer .footer-inner{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: center;
  }

  /* Brand spans full width and is centered */
  .site-footer .footer-inner .footer-brand{
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .site-footer .footer-logo{
    height: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Center headings + lists */
  .site-footer h4{
    text-align: center;
  }

  .site-footer ul,
  .site-footer li{
    text-align: center;
  }

  /* Bottom area centered */
  .site-footer .footer-bottom{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .site-footer .footer-bottom-links{
    justify-content: center;
  }
}

/* FOOTER OVERRIDE: Desktop nicht untereinander
   (removed as per new grid system) */
/* Footer v2 helpers */
.footer-brand{display:grid;gap:14px;text-decoration:none;}
.footer-brand__name{font-size:18px;font-weight:600;letter-spacing:-0.01em;color:rgba(17,24,39,.92);}
.footer-brand__tagline{font-size:13px;color:rgba(17,24,39,.55);margin-top:2px;}
.footer-bottom-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}

/* ============================
   COOKIE BANNER (Maps Consent) – Glass Look like Nav
   ============================ */

.cookie-banner{
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  bottom: 16px;
  z-index: 9999;
  width: 100%;
  max-width: calc(var(--container-max) + (var(--container-pad) * 2));
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Default: hidden via attribute. Allow JS to override via .is-visible */
.cookie-banner[hidden]:not(.is-visible){
  display: none;
}

.cookie-banner.is-visible{
  display: block;
}

.cookie-banner:not([hidden]),
.cookie-banner.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner{
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: 67px; /* match nav pill height */
  border-radius: 999px;
  padding: 14px 18px;

  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  /* Glass like nav */
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
}

.cookie-banner__text{
  min-width: 0;
  color: rgba(17, 24, 39, 0.88);
}

.cookie-banner__text strong{
  display: block;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.92);
}

.cookie-banner__text p{
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(17, 24, 39, 0.68);
  max-width: 72ch;
}

.cookie-banner__actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* Footer link/button: match footer link styling but as button */
.footer-cookie-settings{
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 14px;
  line-height: inherit;
  color: rgba(17, 24, 39, 0.62);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-cookie-settings:hover{
  color: rgba(17, 24, 39, 0.9);
}

.site-footer .footer-bottom-links a,
.site-footer .footer-bottom-links .footer-cookie-settings{
  font-size: 14px;
  color: rgba(17, 24, 39, 0.62);
}

.site-footer .footer-bottom-links a:hover,
.site-footer .footer-bottom-links .footer-cookie-settings:hover{
  color: rgba(17, 24, 39, 0.9);
}

/* Buttons inside banner: match Nav CTA pill style */
.cookie-banner .btn{
  border-radius: 999px;
  min-height: 67px;
  padding: 0 31px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Primary = same as nav solid CTA */
.cookie-banner .btn-primary{
  background: #041c54;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.cookie-banner .btn-primary:hover{
  background: #041c54;
  border-color: #0f172a;
}

/* Ghost = same vibe as nav ghost CTA */
.cookie-banner .btn-ghost{
  background: rgba(248, 250, 252, 0.2);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  color: #4b5563;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--nav-shadow), var(--nav-shadow-outline);
}

.cookie-banner .btn-ghost:hover{
  background: rgba(248, 250, 252, 0.2);
  color: #4b5563;
}

@media (max-width: 900px){
  .cookie-banner{
    bottom: 12px;
  }

  .cookie-banner__inner{
    border-radius: 26px;
    padding: 14px 14px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-banner__actions{
    justify-content: flex-start;
  }

  .cookie-banner .btn{
    min-height: 56px;
    font-size: 16px;
    padding: 0 22px;
  }
}

/* ============================
   CONTENT BLOCK REVEAL ON SCROLL
   (reveal individual blocks; excludes .hero)
   ============================ */

@keyframes sectionRevealUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes headingRevealUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Modern browsers: scroll-driven reveal per block */
@supports (animation-timeline: view()) {
  /* Headings (also when nested, e.g. inside .contact-head) */
  .section:not(.hero) .container :where(h1, h2, h3, h4){
    opacity: 0;
    transform: translateY(14px);

    animation: headingRevealUp 1050ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 5% cover 22%;
    will-change: opacity, transform;
  }

  /* Paragraphs, lists and major blocks */
  .section:not(.hero) .container :where(
    p,
    ul,
    ol,
    .grid,
    .pricing-grid,
    .contact-grid,
    .journey-grid,
    .section-portrait,
    .menu-preview-bleed
  ),
  /* Grid items/cards */
  .section:not(.hero) .grid > *,
  .section:not(.hero) .pricing-grid > *,
  .section:not(.hero) .contact-grid > *,
  .section:not(.hero) .journey-grid > *{
    opacity: 0;
    transform: translateY(22px);

    animation: sectionRevealUp 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 5% cover 22%;
    will-change: opacity, transform;
  }

  /* Don’t double-animate nested text inside cards */
  .section:not(.hero) .grid > * :where(h1, h2, h3, h4, p, ul, ol),
  .section:not(.hero) .pricing-grid > * :where(h1, h2, h3, h4, p, ul, ol),
  .section:not(.hero) .journey-grid > * :where(h1, h2, h3, h4, p, ul, ol){
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section:not(.hero) .container > :where(
    h2,
    h3,
    p,
    ul,
    ol,
    .grid,
    .pricing-grid,
    .contact-grid,
    .journey-grid,
    .section-portrait,
    .menu-preview-bleed
  ),
  .section:not(.hero) .grid > *,
  .section:not(.hero) .pricing-grid > *,
  .section:not(.hero) .contact-grid > *,
  .section:not(.hero) .journey-grid > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================
   HANDWERK: STRIP IMAGE OVERLAY (Leiter Endposition)
   ============================ */
.section-portrait.section-portrait--overlay{
  position: relative;
  /* easy tuning */
  --ladder-left: calc(43% - 255px);
  --ladder-top: calc(10% + 80px);
  --ladder-width: clamp(220px, 22.5%, 320px);
  --ladder-rotate: 10deg; /* leans to the right */
}

.section-portrait.section-portrait--overlay .section-portrait-overlay{
  position: absolute;
  left: var(--ladder-left);
  top: var(--ladder-top);
  width: var(--ladder-width);
  height: auto;
  z-index: 2;
  pointer-events: none;

  /* pivot from the feet of the ladder */
  transform-origin: 50% 100%;
  transform: rotate(var(--ladder-rotate));

  /* subtle depth */
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));

  /* Animation triggers only when section is in view */
  opacity: 1;
  animation: none;
}

/* Play ladder animation when the strip enters the viewport (CSS-only in supported browsers) */
@supports (animation-timeline: view()){
  #mueller-innovations-strip .section-portrait-overlay{
    animation-name: ladderLeanIn;
    animation-duration: 3200ms;
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    animation-delay: 1000ms;
    animation-fill-mode: both;
    animation-iteration-count: 1;

    /* Scroll-driven: runs quickly as the section enters */
    animation-timeline: view();
    animation-range: entry 0% entry 120%;
  }
}

/* Fallback: if you later add JS that toggles .is-inview */
#mueller-innovations-strip.is-inview .section-portrait-overlay{
  animation: ladderLeanIn 3200ms cubic-bezier(0.2, 0.9, 0.2, 1) 1000ms both;
}

@keyframes ladderLeanIn{
  0%{
    transform: rotate(calc(var(--ladder-rotate) - 22deg));
  }
  100%{
    transform: rotate(var(--ladder-rotate));
  }
}

@media (max-width: 900px){
  .section-portrait.section-portrait--overlay{
    /* Mobile: keep ladder inside the card and scaled down */
    --ladder-left: calc(40% - 78px);
    --ladder-top: calc(5% + 28px);
    --ladder-width: clamp(100px, 25%, 170px);
    --ladder-rotate: 10deg;
  }

  /* Safety: never let the overlay exceed the portrait area on mobile */
  .section-portrait.section-portrait--overlay .section-portrait-overlay{
    max-width: 46vw;
  }
}

@media (prefers-reduced-motion: reduce){
  .section-portrait.section-portrait--overlay .section-portrait-overlay{
    animation: none;
    opacity: 1;
    transform: rotate(var(--ladder-rotate));
  }
}