/* =========================================================
   BASIS / DESIGN-TOKENS
   - Globale CSS-Variablen für Farben, Effekte, Animationen
   - Zentraler Ort für schnelle Theme-Anpassungen
========================================================= */
:root{
  /* ===== Premium Surface System ===== */
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --shadow-sm:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 10px 28px rgba(15,23,42,0.08),
    0 2px 8px rgba(15,23,42,0.04);
  --shadow-md:
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 20px 50px rgba(15,23,42,0.12),
    0 6px 16px rgba(15,23,42,0.06);
  --shadow-lg:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 28px 80px rgba(0,0,0,0.28),
    0 12px 32px rgba(0,0,0,0.14);
  --shadow-stage:
    0 0 0 1px rgba(255,255,255,0.10),
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 26px 70px rgba(0,0,0,0.45);

  --stroke-light: rgba(255,255,255,0.14);
  --stroke-dark: rgba(0,0,0,0.08);

  --surface: rgba(255,255,255,0.86);
  --surface-strong: rgba(255,255,255,0.92);
  --surface-weak: rgba(255,255,255,0.78);

  --sheen-1: rgba(255,255,255,0.65);
  --sheen-2: rgba(255,255,255,0);

  --ease-out: cubic-bezier(.19,1,.22,1);
  --ease-soft: cubic-bezier(.2,.75,.25,1);
  --ease-luxe: cubic-bezier(.16,1,.3,1);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 760ms;
  --motion-delay-step: 60ms;
  --hover-lift: -2px;
  --accent: #0a84ff;
  --accent-soft: rgba(10,132,255,0.14);
  --content-max: 1160px;
  --text-strong: #11253e;
  --text-muted: rgba(17,37,62,0.78);
  --space-section-y: clamp(22px, 3.2vw, 34px);
  --space-section-x: clamp(14px, 2.2vw, 26px);

  /* Navigation: Glas-/Premium-Look */
  --nav-bg: rgba(22, 22, 22, 0.92);   /* edles, mattes Schwarz */
  --nav-border: rgba(255, 255, 255, 0.08);

  /* Footer: leicht dunkler als Nav für klare Hierarchie */
  --footer-bg: rgba(18, 18, 18, 0.95);
  --footer-border: rgba(255, 255, 255, 0.08);

  /* Seiten-Hintergrund + Textfarben */
  --page-bg: #cfd7e2;
  --header-bg: rgba(53, 50, 47, 0.55); /* dunkles Glas überall gleich */
  --text: #222;
  --white: #fff;

  /* Interaktionsfarben */
  --hover-bg: #1e1e1e;
  --border: #1e1e1e;

  /* Eleganter Gradient (Header-Layer / Sheen) */
  --header-grad-1: rgba(255,255,255,0.06);
  --header-grad-2: rgba(255,255,255,0.00);

  /* Hamburger-Konfiguration (Größe & Timing) */
  --burger-w: 22px;
  --burger-h: 2px;
  --burger-gap: 6px;
  --burger-speed: .32s;
  --burger-ease: cubic-bezier(.2,.75,.25,1);
}

/* =========================================================
   GLOBAL RESET / BOX-SIZING
   - Berechenbares Layout bei Padding/Border
========================================================= */
*{
  box-sizing: border-box;
}

/* =========================================================
   BODY / SEITENBASIS
   - Grundschrift, Hintergrund, z-index Kontext
========================================================= */
/* <script> am Ende von <body> darf nicht als Flex-Item mitwirken */
body > script{
  display: none !important;
}

body{
  margin:0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overscroll-behavior-y: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* dunklere Basis, damit das Licht gut wirkt */
  background:
    radial-gradient(1300px 920px at 12% 2%, rgba(120,168,255,0.22), transparent 62%),
    radial-gradient(1000px 760px at 95% 16%, rgba(119,240,255,0.14), transparent 60%),
    radial-gradient(1100px 900px at 82% 94%, rgba(209,178,129,0.24), transparent 62%),
    radial-gradient(980px 740px at 2% 84%, rgba(130,99,255,0.12), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03) 34%),
    var(--page-bg);

  /* z-index Kontext für ::before/::after Layer */
  position: relative;
  z-index: 0;
}

/* =========================================================
   BODY::BEFORE – WASSERZEICHEN
   - Fixiert im Hintergrund
   - Dezente Sichtbarkeit, damit Inhalte lesbar bleiben
========================================================= */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,0.20), transparent 56%),
    url('/Bilder/Wasserzeichen.png') no-repeat center 32%;
  background-size: 34%;
  opacity: 0.26;
  z-index:-1;
}

/* =========================================================
   BODY::AFTER – „LIQUID LIGHT“ BACKGROUND
   - Mehrere radial-gradients als Lichtflecken
   - Blur + mix-blend-mode für weichen Premium-Effekt
   - Sehr langsame Animation für „lebendiges“ Feeling
========================================================= */
body::after{
  content:"";
  position:fixed;
  inset:-15%;
  z-index:-2;
  pointer-events:none;

  background:
    radial-gradient(circle at 0% 18%,    rgba(209,178,129,0.46), transparent 60%),
    radial-gradient(circle at 100% 82%,  rgba(141,123,98,0.42),  transparent 62%),
    radial-gradient(circle at 8% 100%,   rgba(167,143,255,0.16), transparent 56%),
    radial-gradient(circle at 94% 0%,    rgba(111,216,255,0.16), transparent 58%),
    conic-gradient(from 180deg at 50% 50%, rgba(255,255,255,0.14), rgba(255,255,255,0), rgba(255,255,255,0.16), rgba(255,255,255,0));

  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 140% 140%;
  filter: blur(38px) saturate(112%);
  opacity: 0.62;
  mix-blend-mode: screen;

  animation:
    bgLiquidFlow 46s ease-in-out infinite alternate,
    bgAuroraDrift 36s linear infinite alternate;
}

/* =========================================================
   BACKGROUND-ANIMATION
   - Sanfte Bewegung + minimaler Zoom
   - Alternative: prefers-reduced-motion beachten (falls gewünscht)
========================================================= */
@keyframes bgLiquidFlow{
  0%{
    transform: translate3d(0,0,0) scale(1);
  }
  50%{
    transform: translate3d(-4%, 3%, 0) scale(1.06);
  }
  100%{
    transform: translate3d(4%, -3%, 0) scale(1.02);
  }
}

@keyframes bgAuroraDrift{
  0%{
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }
  50%{
    background-position:
      3% -1%,
      -2% 2%,
      1% 2%,
      -3% -2%,
      -5% 4%;
  }
  100%{
    background-position:
      -2% 2%,
      2% -2%,
      -2% -1%,
      2% 2%,
      5% -3%;
  }
}

/* =========================================================
   GLOBAL UX (Scroll, Selection, Reduced Motion)
========================================================= */
html{
  scroll-behavior: smooth;
  height: 100%;
  /* Kein „Gummiband“-Scroll unterhalb des Seitenendes (Footer = Stopper) */
  overscroll-behavior-y: none;
}

::selection{
  background: rgba(10,132,255,0.28);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   SECTION BASIS
   - Weiße, leicht transparente Cards auf dem Hintergrund
   - Ein Layout-„Container“ pro Section
========================================================= */
.section{
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.44) 0%, rgba(255,255,255,0.04) 46%),
    var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-section-y) var(--space-section-x);
  margin: clamp(16px, 2.4vw, 26px) auto;
  max-width: min(92vw,1520px);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  /* overflow:visible: Karten-Hover/Transforms; Pseudo-Layer darf nicht nach außen ragen (siehe .section::after) */
  overflow: visible;
}

/* Gradient-Stroke (hochwertiger Rahmen) */
.section::before{
  content:"";
  position:absolute;
  inset:0;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.34),
      rgba(255,255,255,0.06) 35%,
      rgba(10,132,255,0.18) 65%,
      rgba(255,255,255,0.14)
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: 0.85;
}

/* Soft Sheen (nur bei Hover/Focus innerhalb)
   WICHTIG: kein inset:-40% — bei sehr hohen Sections (z. B. #details auf Leistungen)
   würde das sonst die Seiten-Scrollhöhe unter den Footer verlängern. */
.section::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--sx, 50%) var(--sy, 35%),
    rgba(255,255,255,0.26),
    transparent 58%
  );
  filter: blur(14px);
  opacity: 0;
  transform: translate3d(0,0,0);
  transition: opacity .55s var(--ease-out);
  pointer-events:none;
}
.section:has(a:hover, button:hover, input:focus, textarea:focus, select:focus, .btn:hover)::after{
  opacity: 1;
}

/* Innerer Container: begrenzt Zeilenlängen */
.section .container{
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Überschriften in Sections: dezente Luxus-Linie */
.section > .container > h2{
  position: relative;
  display: inline-block;
  padding-bottom: 0.42rem;
  margin-bottom: 0.65rem;
}
.section > .container > h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:min(100%, 3.2rem);
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), rgba(10,132,255,0.25));
  opacity:0.9;
}

/* =========================================================
   ACCESSIBILITY: Screenreader-only
   - Visuell verborgen, aber für Screenreader vorhanden
========================================================= */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip: rect(0,0,1px,1px) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* =========================================================
   HEADER / NAVBAR (Sticky + Glas)
========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index:1000;
  flex-shrink: 0;

  /* Glasfläche */
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(175%);
  -webkit-backdrop-filter: blur(16px) saturate(175%);

  border-bottom:1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 12px 40px rgba(0,0,0,0.22);
}

/* =========================================================
   HEADER::BEFORE – „SHEEN“ / GLANZÜBERZUG
   - Animierter Gradient für Premium-Feeling
========================================================= */
.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    120deg,
    var(--header-grad-1) 0%,
    var(--header-grad-2) 40%,
    var(--header-grad-1) 100%
  );
  background-size: 200% 100%;
  animation: headerSheen 12s ease-in-out infinite alternate;
  opacity: 0.35;
}

/* Glanzbewegung: läuft langsam von links nach rechts */
@keyframes headerSheen{
  0%{ background-position: 0% 0%; }
  100%{ background-position: 100% 0%; }
}

/* =========================================================
   HEADER CONTAINER
   - volle Breite, damit Burger rechts „bis zum Rand“ kann
   - Logo wird absolut zentriert platziert
========================================================= */
.site-header .container{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;

  padding: 18px 20px;
  min-height: 90px;

  display: flex;
  align-items: center;

  /* Navigation/Burger rechts im Header */
  justify-content: flex-end;

  position: relative;
  z-index: 1; /* über dem Sheen-Layer */
}

/* =========================================================
   LOGO (absolut mittig)
========================================================= */
.logo{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
}

.logo img{
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* =========================================================
   MENÜBUTTON (HAMBURGER)
   - Klickfläche 44x44
   - Bars werden später zu X gemorpht (body.nav-open)
========================================================= */
.menu-toggle{
  all: unset;
  position:absolute;
  right: 20px;
  top: 50%;
  transform:translateY(-50%);
  display:grid;
  place-content:center;
  width:44px;
  height:44px;
  cursor:pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

/* Hover: leichtes Highlight */
.menu-toggle:hover{
  background: rgba(255,255,255,.08);
}

/* Active: leichter „Press“ Effekt */
.menu-toggle:active{
  transform: scale(.96);
}

/* Hamburger-Striche */
.menu-toggle .bar{
  position: relative;
  width: var(--burger-w);
  height: var(--burger-h);
  background:#fff;
  transform-origin: center;
  transition: transform var(--burger-speed) var(--burger-ease), opacity .2s ease, width .2s ease;
}

/* Abstand zwischen den Strichen */
.menu-toggle .bar + .bar{
  margin-top: var(--burger-gap);
}

/* Hover: Striche minimal länger */
.menu-toggle:hover .bar{
  width: calc(var(--burger-w) + 2px);
}

/* =========================================================
   HAMBURGER – AUSGANGSPOSITION
   Hinweis: nth-child zählt auch .sr-only als Kind!
   - Daher ist die Zuordnung (2/3/4) auf die Bars abgestimmt
========================================================= */
.menu-toggle .bar:nth-child(2){
  transform: translateY(calc(-1 * var(--burger-gap))) scaleX(1.92);
}
.menu-toggle .bar:nth-child(3){
  transform: translateY(0) scaleX(1.92);
}
.menu-toggle .bar:nth-child(4){
  transform: translateY(var(--burger-gap)) scaleX(1.92);
}

/* =========================================================
   HAMBURGER – OFFEN (MORPH ZU „X“)
   gesteuert über body.nav-open (per JS)
========================================================= */
body.nav-open .menu-toggle .bar:nth-child(2){
  transform: rotate(45deg) translateY(11px) scaleX(1.92);
}
body.nav-open .menu-toggle .bar:nth-child(4){
  transform: rotate(-45deg) translateY(-11px) scaleX(1.92);
}

/* Mittlere Linie verschwindet */
body.nav-open .menu-toggle .bar:nth-child(3){
  transform: scaleX(0);
  opacity:0;
}

/* =========================================================
   FIX: Menübutton vollständig klickbar
   - Bars und sr-only dürfen keine Pointer-Events abfangen
========================================================= */
.menu-toggle .bar,
.menu-toggle .sr-only {
  pointer-events: none;
}

.menu-toggle {
  pointer-events: auto;
}

/* Active: hier zusätzlich translateY beibehalten */
.menu-toggle:active {
  transform: translateY(-50%) scale(.96);
}

/* =========================================================
   DROPDOWN MENÜ (NAV)
   - standard: hidden
   - body.nav-open: sichtbar + klickbar
========================================================= */
.nav{
  position:absolute;
  top:100%;
  right:0;
  width:min(280px, 95vw);

  background: var(--nav-bg);
  border:1px solid var(--nav-border);
  box-shadow:0 16px 40px rgba(0,0,0,.45);
  padding:0;

  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);

  /* Startzustand: leicht nach oben + ausgeblendet */
  transform: translateY(-18px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transition: transform .65s cubic-bezier(.19,1,.22,1), opacity .45s ease-out, visibility 0s linear .45s;
}

/* Offen-Zustand */
body.nav-open .nav{
  transform: translateY(0);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition: transform .65s cubic-bezier(.19,1,.22,1), opacity .45s ease-out, visibility 0s;
}

/* Liste: Grundreset */
.nav ul{
  list-style:none;
  margin:0;
  padding:8px;
}

/* Trennlinien zwischen Menüeinträgen */
.nav li + li{
  border-top: 1px solid rgba(255,255,255,.08);
}

/* =========================================================
   NAV LINKS
   - Blocklinks für große Klickfläche
   - Hover/Focus Effekte
========================================================= */
.nav a{
  position: relative;
  display:block;
  padding:1.0rem 1.4rem;
  color:#fff;
  text-decoration:none;
  font-size:1.05rem;
  letter-spacing:.2px;
  text-shadow:0 1px 1px rgba(0,0,0,.25);
  transition: background .2s ease, color .2s ease;
}

.nav a:hover,
.nav a:focus-visible{
  background: rgba(255,255,255,.10);
  outline:none;
}

/* Link-Deko: linker Balken */
.nav a::before{
  content:"";
  position:absolute;
  left:0.9rem;
  top:50%;
  transform: translateY(-50%) scaleY(0);
  transform-origin: bottom;
  width:3px;
  height:64%;
  border-radius:2px;
  background:#fff;
  opacity:.95;
  transition: transform .25s ease-out;
}

/* Link-Deko: Unterstrich */
.nav a::after{
  content:"";
  position:absolute;
  left:1.4rem;
  right:1.4rem;
  bottom:0.55rem;
  height:2px;
  border-radius:1px;
  background:#fff;
  transform: scaleX(0);
  transform-origin: left;
  opacity:0.8;
  transition: transform .25s ease-out;
}

/* Aktivierung der Deko bei Hover/Focus */
.nav a:hover::before,
.nav a:focus-visible::before{
  transform: translateY(-50%) scaleY(1);
}
.nav a:hover::after,
.nav a:focus-visible::after{
  transform: scaleX(1);
}

/* Aktueller Menüpunkt dauerhaft markiert */
.nav a.active::before{
  transform: translateY(-50%) scaleY(1);
}
.nav a.active::after{
  transform: scaleX(1);
  opacity:1;
}

/* =========================================================
   OVERLAY (HINTER DEM DROPDOWN)
   - Verdunkelt Hintergrund + schließt Menüs per Klick (JS)
========================================================= */
.nav-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:998;
}

body.nav-open .nav-overlay{
  opacity:1;
  pointer-events:auto;
}

/* =========================================================
   MAIN / TYPOGRAFIE
========================================================= */
main{
  flex: 1 1 auto;
  width: 100%;
  padding: clamp(18px, 2.6vw, 28px) clamp(14px, 2vw, 22px);
}

/* Headings & Text */
h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.14;
  margin-bottom: 0.9rem;
  letter-spacing: -0.028em;
  color: var(--text-strong);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 0.72rem;
  letter-spacing: -0.022em;
  color: var(--text-strong);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.28;
  margin-bottom: 0.48rem;
  color: var(--text-strong);
}

p {
  font-size: clamp(0.98rem, 1.08vw, 1.03rem);
  line-height: 1.66;
  margin-bottom: 0.72rem;
  color: var(--text-muted);
}

/* Lead-Text: größere Einleitung */
.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 52rem;
}

/* Intro-Absatz unter H2 in Sections */
.section-intro {
  font-size: clamp(1.02rem, 1.22vw, 1.15rem);
  line-height: 1.68;
  max-width: 64rem;
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
  color: rgba(16,35,59,0.84);
}

.center { text-align: center; }

/* =========================================================
   LISTE MIT HÄKCHEN
   - Custom Bullet via ::before
========================================================= */
.list-check {
  list-style: none;
  padding-left: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: #0a84ff;
}

/* =========================================================
   BUTTON (CTA)
========================================================= */
.btn {
  display: inline-block;
  padding: 0.88rem 1.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e8cff, #066fe0);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
  transition:
    background var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-soft),
    box-shadow var(--motion-base) var(--ease-soft),
    filter var(--motion-base) var(--ease-soft);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.32) inset,
    0 10px 24px rgba(7,92,198,0.33);
  cursor:pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: linear-gradient(135deg, #0d84ef, #065fc1);
  transform: translateY(var(--hover-lift));
  filter: saturate(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.36) inset,
    0 14px 30px rgba(7,92,198,0.4);
}

.btn::before{
  content: "";
  position: absolute;
  inset: -120% auto -120% -40%;
  width: 36%;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,0), rgba(255,255,255,0.42), rgba(255,255,255,0));
  transform: translateX(-180%) rotate(12deg);
}

.btn:hover::before{
  animation: btnSheen .72s var(--ease-luxe) 1;
}

.btn:active {
  transform: translateY(0);
}

.service-card,
.testimonial,
.rating-card,
.detail-info,
.news-hint-card,
.partner-card,
.studio-node,
.flow-card{
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 14px 34px rgba(15,23,42,0.11);
}

.service-card:hover,
.testimonial:hover,
.rating-card:hover,
.partner-card:hover,
.studio-node:hover,
.flow-card:hover{
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 18px 38px rgba(15,23,42,0.14);
}

.hero-media img,
.partner-card-media img,
.bild-center img,
.swipe-media img{
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.16);
}

.hero-btn.is-attention{
  animation: ctaAttention 1.35s var(--ease-luxe) 1;
}

@keyframes ctaAttention{
  0%, 100%{
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 25px rgba(10,132,255,0.35);
  }
  35%{
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 14px 30px rgba(10,132,255,0.50);
  }
  68%{
    transform: translateY(-1px) scale(1.006);
    box-shadow: 0 12px 26px rgba(10,132,255,0.42);
  }
}

/* =========================================================
   FOOTER (alte Layout-Struktur: footer-content/footer-col)
   - Flex Layout + responsive Umbruch
========================================================= */
.footer-content{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  justify-content:space-between;
}

.footer-col{
  flex:1 1 220px;
  min-width: 220px;
}

.footer-brand .footer-logo{
  max-width: 180px;
  height:auto;
  margin-bottom: 8px;
}

.footer-links ul{
  list-style:none;
  padding:0;
  margin:0 0 8px 0;
}

.footer-links li{
  margin-bottom:4px;
}

.footer-links a{
  font-size:0.95rem;
  opacity:0.9;
}

@media (max-width: 700px){
  .footer-content{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================================
   FOOTER DESIGN (site-footer)
   - Glasoptik, Schatten nach oben, Typo/Links
========================================================= */
.site-footer {
  flex-shrink: 0;
  background: var(--footer-bg);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-top: 1px solid var(--footer-border);
  color: #f1f1f1;
  padding: 36px 20px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
  position: relative;
  z-index: 1000;
  border-radius: 0;
  box-shadow: 0 -3px 18px rgba(0,0,0,.22);
  overflow: hidden;
}

/* Footer: dezenter Verlauf, ohne Blend-Mode (ruhiger) */
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), transparent 55%);
  opacity: 1;
}

.site-footer::after{
  display: none;
}

/* Footer Container: 3 Spalten, wrappt bei Bedarf */
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer Textfarben / Abstände */
.footer-left p,
.footer-right p {
  margin: 0.25rem 0;
  color: #e0e0e0;
}

/* Footer Links */
.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer a:hover { opacity: 0.88; }

/* Social Icons (falls verwendet) */
.socials a img {
  width: 22px;
  height: 22px;
  filter: invert(1);
  margin-left: 8px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.socials a img:hover { opacity: 1; }

/* Footer: Mobile Layout (zentriert) – nicht auf .footer-premium (Grid) */
@media (max-width: 600px) {
  .site-footer .container:not(.footer-premium) {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .container.footer-premium{
    justify-items: center;
    text-align: center;
  }
  .footer-right {margin-top: 10px;}
}

/* =========================================================
   VORHER/NACHHER SLIDER (BA = Before/After)
   - CSS-only Layering, Range-Input transparent oben drüber
========================================================= */
.ba{
  --pos: 50%;
  position: relative;
  width: min(900px, 96vw);
  aspect-ratio: 16/9;
  margin: 24px auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Gemeinsame Eigenschaften für beide Bilder */
.ba-img{
  position: absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* „After“-Bild wird per clip-path beschnitten */
.ba-after{
  clip-path: polygon(0 0, var(--pos) 0, var(--pos) 100%, 0 100%);
  transition: clip-path .12s ease;
}

/* Range Input deckungsgleich (unsichtbar) */
.ba-range{
  position:absolute; inset:0;
  width:100%; height:100%;
  margin:0; opacity:0;
  cursor: col-resize;
}

/* Trennlinie / Handle-Stab */
.ba-handle{
  position:absolute; top:0; bottom:0;
  left: var(--pos);
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
  transition: background .2s ease, box-shadow .2s ease;
}

/* Griff-Kreis in der Mitte */
.ba-handle span{
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  display:grid; place-items:center;
  background: rgba(17,17,17,.85);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Pfeil-Deko im Griff */
.ba-handle span::before,
.ba-handle span::after{
  content:"";
  display:block;
  width:9px; height:9px;
  border-top:2px solid #fff;
  border-right:2px solid #fff;
  transform: rotate(45deg);
}

.ba-handle span::before{
  margin-right: 14px;
  transform: rotate(225deg);
}

.ba-handle span::after{
  margin-left: 14px;
  transform: rotate(45deg);
}

/* Hover: Trennlinie wird heller */
.ba:hover .ba-handle{
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25),
              0 6px 18px rgba(0,0,0,.35);
}

/* Labels (Vorher/Nachher) */
.ba-label{
  position:absolute; top:12px;
  padding:6px 10px;
  font-size:.9rem; letter-spacing:.2px;
  color:#fff;
  background: rgba(17,17,17,.72);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  pointer-events:none;
}

.ba-label-left{ left:12px; }
.ba-label-right{ right:12px; }

/* Motion-Reduktion: keine Transition fürs After */
@media (prefers-reduced-motion: reduce){
  .ba-after{ transition: none !important; }
}

/* =========================================================
   CAROUSEL (Premium Look)
   - Schwarze Bühne, contain-Bilder, Caption & Dots
========================================================= */
.carousel{
  --radius: 18px;
  --border: rgba(255,255,255,.14);
  --bg: #030508;
  --dot: rgba(255,255,255,.45);
  --dot-active: #fff;
  display: grid;
  gap: 14px;
}

/* Bühne */
.carousel-stage{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(10,132,255,0.12), transparent 55%),
    linear-gradient(180deg, #12151c 0%, #030508 100%);
  border: none;
  box-shadow: var(--shadow-stage);
}

/* Feine Vignette + oberer Lichtrand */
.carousel-stage::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 52px 80px -40px rgba(0,0,0,0.55);
}

/* Slide-Fläche */
.car-slides{
  position: relative;
  width: 100%;
  height: clamp(280px, 44vw, 560px);
}

/* Slide Grundzustand: unsichtbar */
.car-slide{
  position: absolute;
  inset:0;
  opacity: 0;
  transform: scale(1.012);
  transition:
    opacity .85s var(--ease-luxe),
    transform 1s var(--ease-luxe);
  z-index: 0;
}

/* Aktiver Slide sichtbar */
.car-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Bilder: contain = komplett sichtbar */
.car-slide img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
  background:transparent;
  transform-origin: center;
  animation: none;
  will-change: transform;
  transition: transform 1.1s var(--ease-luxe);
}

@media (prefers-reduced-motion: no-preference){
  .car-slide.is-active img{
    transform: scale(1.02);
  }
}

/* Caption im Bild */
.car-slide figcaption{
  position:absolute; left:16px; bottom:14px;
  z-index:3;
  color:#fff;
  font-size:.92rem;
  font-weight: 500;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(18,20,26,0.82), rgba(10,12,16,0.72));
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Pfeile (Styles vorhanden, werden aber unten ausgeblendet) */
.car-btn{
  position:absolute; top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  display:grid; place-items:center;
  color:#fff;
  font-size:24px; line-height:1;
  background: rgba(12,14,18,.72);
  border:1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  cursor:pointer;
  z-index:4;
  transition: transform .2s var(--ease-soft), opacity .25s ease, background .25s ease, border-color .25s ease;
}

.car-prev{ left:12px; }
.car-next{ right:12px; }

.car-btn:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,0.28);
}

.car-btn:active{
  transform: translateY(-50%) scale(.96);
}

/* Dots (Navigation) */
.car-dots{
  position:absolute; left:50%; bottom:12px;
  transform:translateX(-50%);
  display:flex; align-items:center;
  gap:7px;
  z-index:4;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8,10,14,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.car-dot{
  width:8px; height:8px;
  border-radius:999px;
  background: var(--dot);
  border: 1px solid rgba(255,255,255,.22);
  text-indent:-9999px;
  overflow:hidden;
  cursor:pointer;
  padding:0;
  transition: width .35s var(--ease-luxe), transform .25s ease, background .25s ease, border-color .25s ease;
}

.car-dot.is-active{
  background: var(--dot-active);
  width: 22px;
  border-color: rgba(255,255,255,0.45);
}

/* Thumbnails: deaktiviert */
.car-thumbs{
  display: none !important;
}

/* Counter / Status */
.car-counter{
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  color: rgba(255,255,255,0.92);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(10,12,16,.72);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 5px 11px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

/* Pfeile auf großen Screens subtil sichtbar */
.carousel-stage .car-btn{
  display: grid !important;
  opacity: .72;
}
.carousel-stage:hover .car-btn{
  opacity: 1;
}

/* Motion-Reduktion: keine Transitions/Animationen */
@media (prefers-reduced-motion: reduce){
  .car-slide img{
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .car-slide{
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 900px){
  .car-slides{
    height: clamp(240px, 58vw, 460px);
  }
  .carousel-stage .car-btn{
    width: 40px;
    height: 40px;
    font-size: 22px;
    opacity: .95;
    background: rgba(17,17,17,.74);
  }
  .car-dots{
    bottom: 10px;
    gap: 8px;
    padding: 7px 12px;
  }
  .car-dot{
    width: 7px;
    height: 7px;
    border-width: 1px;
  }
  .car-dot.is-active{
    width: 18px;
  }
  .car-slide figcaption{
    left: 10px;
    right: 10px;
    bottom: 52px;
    max-width: calc(100% - 20px);
    font-size: .86rem;
  }
}

/* =========================================================
   HERO + BEWERTUNG
   - Hero als Glas-Card mit FadeUp Animation
========================================================= */
.hero{
  padding: 80px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,255,255,0.10), transparent 55%),
    rgba(0,0,0,0.52);
  border-radius: 22px;
  max-width: 1100px;
  margin: 40px auto 48px;

  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 22px 60px rgba(0,0,0,0.32);

  /* Startzustand für Animation */
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .7s ease-out .1s forwards;
}

.hero-inner{
  max-width: 700px;
  margin: 0 auto;
  transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0);
  transition: transform .65s var(--ease-out);
}

/* Bewertung im Hero (falls genutzt) */
.hero-rating-inside{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 16px;
  margin-bottom: 18px;

  background: rgba(255,255,255,0.96);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);

  animation: ratingFadeUp .6s ease-out .1s forwards;
  opacity: 0;
  transform: translateY(8px);
}

/* Sterne (Gradient-Text) */
.stars{
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #FFD700, #F4C430);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFD700;
}

/* Text neben Sternen */
.rating-text{
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

/* Hero Typografie */
.hero h1{
  color: #fff;
  font-size: 2.9rem;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-sub{
  color: #f2f2f2;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 26px auto;
  opacity: 0.9;
}

/* Hero Button: Gradient + Shadow */
.hero-btn{
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0a84ff, #006fd1);
  color: #fff;
  box-shadow: 0 10px 25px rgba(10,132,255,0.35);
}

.hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,132,255,0.55);
}

.hero-btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(10,132,255,0.35);
}

/* Hero Animationen */
@keyframes heroFadeUp{
  0%{
    opacity: 0;
    transform: translateY(14px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ratingFadeUp{
  0%{
    opacity: 0;
    transform: translateY(8px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Responsive */
@media (max-width: 600px){
  .hero{
    padding: 60px 18px;
  }
  .hero h1{
    font-size: 2.1rem;
  }
  .hero-sub{
    font-size: 1.05rem;
  }
}

/* =========================================================
   TOP-RATING (Bewertung über dem Hero)
   - Zentriert, „Pill“-Design wie im Hero
========================================================= */
.top-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 16px;
  margin: 0 auto 20px auto;

  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 10px 28px rgba(15,23,42,0.10);

  position: relative;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
}

a.top-rating{
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.top-rating:hover{
  border-color: rgba(10,132,255,0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 14px 36px rgba(15,23,42,0.12);
}

a.top-rating:focus-visible{
  outline: 2px solid rgba(10,132,255,0.55);
  outline-offset: 3px;
}

.top-rating--neutral .stars{
  background: none;
  -webkit-text-fill-color: rgba(45,52,64,0.38);
  color: rgba(45,52,64,0.38);
  letter-spacing: 1px;
}

/* Sterne (Top-Rating) */
.top-rating .stars {
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #FFD700, #F4C430);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-rating-copy{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.28;
  min-width: 0;
}

/* Text (Top-Rating) */
.top-rating .rating-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

.top-rating .rating-text--main{
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-rating .rating-text--sub{
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(45, 52, 64, 0.62);
  letter-spacing: 0.02em;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
  .top-rating {
    padding: 6px 12px;
    gap: 8px;
    transform: translateX(-50%);
  }
  .top-rating .stars {
    font-size: 1.15rem;
  }
  .top-rating .rating-text {
    font-size: 0.9rem;
  }
  .top-rating .rating-text--sub{
    font-size: 0.72rem;
  }
}

/* =========================================================
   HOME SECTIONS (Intro, Leistungen, Projekte, Kunden, Kontakt)
========================================================= */
.section.home-intro h2,
.section.home-services h2,
.section.home-projects h2,
.section.home-testimonials h2,
.section.rating-section h2,
.section.home-contact h2{
  margin-top: 0;
  margin-bottom: 0.6rem;
}

/* Intro etwas kompakter */
.home-intro .section-intro{
  margin-bottom: 0.75rem;
}

/* Startseite: Leistungen im Überblick – dezente Aufwertung */
.home-services .home-services-kicker{
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.45);
}

.home-services .section-intro{
  max-width: 40rem;
  margin-bottom: 0.35rem;
}

.home-services-hint{
  margin: 0 0 2px;
  font-size: 0.82rem;
  color: rgba(15,23,42,0.42);
  letter-spacing: 0.02em;
}

.home-services-more{
  display: inline-flex;
  margin-top: 16px;
}

/* =========================================================
   LEISTUNGEN – GRID + CARDS
========================================================= */
.service-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:18px;
  margin-top: 1.2rem;
}

.service-card{
  position: relative;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition:
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out),
    border-color var(--motion-base) ease,
    background var(--motion-base) ease;
  overflow: hidden;
}

.service-card::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, var(--sheen-2) 30%, rgba(255,255,255,0.32) 48%, var(--sheen-2) 62%);
  transform: translateX(-35%) rotate(8deg);
  opacity: 0;
  transition: opacity .22s ease, transform .75s var(--ease-out);
  pointer-events:none;
}

.service-card:hover{
  transform: translateY(calc(var(--hover-lift) - 1px));
  box-shadow: var(--shadow-md);
  border-color: rgba(10,132,255,0.22);
}
.service-card:hover::after{
  opacity: 1;
  transform: translateX(35%) rotate(8deg);
}

.service-card h3{
  margin:0 0 6px;
}

.service-card p{
  margin:0 0 10px;
}

/* Link-Stil in Karten/Sections */
.service-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size:0.9rem;
  font-weight: 600;
  text-decoration:none;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: color .2s ease, transform .2s var(--ease-soft);
}

.service-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), rgba(10,132,255,0.35));
  transform: scaleX(0.35);
  transform-origin: left center;
  opacity:0.55;
  transition: transform .35s var(--ease-luxe), opacity .25s ease;
}

.service-link:hover{
  color: #006fd1;
  transform: translateY(-1px);
}

.service-link:hover::after{
  transform: scaleX(1);
  opacity:1;
}

.projects-link{
  display:inline-block;
  margin-top: 14px;
}

/* Projekte: Abstand zum Carousel */
.home-projects .carousel{
  margin-top: 1.2rem;
}

/* =========================================================
   KUNDENSTIMMEN – TESTIMONIAL GRID
========================================================= */
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
  margin: 1.2rem 0 0.6rem;
}

.testimonial{
  margin:0;
  padding:16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition:
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
}

.testimonial:hover{
  transform: translateY(calc(var(--hover-lift) - 1px));
  box-shadow: var(--shadow-md);
}

.testimonial blockquote{
  margin:0 0 8px;
  font-style: italic;
}

.testimonial figcaption{
  font-size:0.9rem;
  color:#555;
}

/* =========================================================
   KONTAKT-TEASER – Layout (Text links, Aktionen rechts)
========================================================= */
.home-contact .contact-inner{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}

.contact-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width: 260px;
}

.contact-line{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:0.98rem;
  color:#222;
  position: relative;
  width: fit-content;
  transition: transform var(--motion-base) var(--ease-soft), opacity var(--motion-base) ease;
}

.contact-line::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0.15);
  transform-origin: left center;
  opacity: .35;
  transition: transform .28s var(--ease-luxe), opacity .22s ease;
}

.contact-line:hover{
  transform: translateX(2px);
}

.contact-line:hover::after{
  transform: scaleX(1);
  opacity: .7;
}

/* Button-Position im Kontaktblock */
.contact-btn{
  align-self:flex-start;
  margin-top:4px;
}

/* Kontakt responsive: alles untereinander */
@media (max-width: 700px){
  .home-contact .contact-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================================
   BEWERTUNGSFORMULAR
   - Card Layout, Inputs, Sterne, Feedback-Meldungen
========================================================= */
.rating-section{
  padding: 12px 20px 48px;
}

.rating-card{
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.rating-card h2{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.rating-intro{
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 1rem;
  color: #444;
}

.rating-form{
  max-width: 640px;
}

.rating-row{
  margin-bottom: 14px;
}

.rating-row label{
  display:block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color:#444;
}

/* Inputs & Textarea */
.rating-row input,
.rating-row textarea{
  width:100%;
  border-radius: 10px;
  border:1px solid rgba(0,0,0,0.1);
  padding: 8px 10px;
  font: inherit;
  resize: vertical;
}

.rating-row input:focus,
.rating-row textarea:focus{
  outline:none;
  border-color:#0a84ff;
  box-shadow:0 0 0 1px rgba(10,132,255,0.4);
}

/* Sterne-Auswahl (interaktiv per JS: .is-active / .is-hover) */
.star-picker{
  display:flex;
  gap:4px;
  margin-bottom: 18px;
}

.star-picker .star{
  all:unset;
  cursor:pointer;
  font-size: 1.9rem;
  line-height: 1;
  padding: 2px 4px;
  color:#ccc;
  transition: transform .15s ease, color .15s ease;
}

.star-picker .star:hover{
  transform: translateY(-1px) scale(1.05);
}

.star-picker .star.is-active,
.star-picker .star.is-hover{
  color:#FFD700;
}

/* Button im Formular (falls genutzt) */
.rating-btn{
  margin-top: 4px;
}

/* Hinweise / Validierung */
.rating-note{
  margin-top: 10px;
  font-size: 0.85rem;
  color:#777;
}

.rating-error{
  margin-top: 8px;
  font-size: 0.9rem;
  color:#b00020;
}

.rating-success{
  margin-top: 8px;
  font-size: 0.95rem;
  color:#0c8a1f;
}

.reviews-layout{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.reviews-list-card h3,
.reviews-form-card h3{
  margin-top: 0;
  margin-bottom: 12px;
}

.reviews-list{
  display:grid;
  gap: 12px;
}

.review-item{
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(0,0,0,0.08);
}

.review-head{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.review-name{
  font-weight: 600;
  color:#20242f;
}

.review-date{
  font-size: 0.82rem;
  color:#5a6270;
}

.review-stars{
  color:#f4b400;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.review-text{
  margin: 0;
  color:#323742;
  line-height: 1.5;
}

.reviews-empty{
  margin: 0;
  color:#575f6d;
  padding: 10px 4px;
}

/* Bewertungsformular Mobile */
@media (max-width: 600px){
  .rating-card{
    padding: 24px 18px;
  }
  .rating-card h2{
    font-size: 1.5rem;
  }
}

@media (max-width: 900px){
  .reviews-layout{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FOOTER-GRID (.footer-premium)
   - 3 Spalten: Brand / Partner / Kontakt, darunter Credit-Zeile
   - Keine Kachel-/Glas-Kästen, ruhige Abstände & Hover
========================================================= */
.footer-premium{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.95fr;
  gap: 28px 36px;
  align-items: start;
}

.site-footer .container.footer-premium{
  max-width: 1220px;
  display: grid;
  flex-wrap: unset;
  justify-content: unset;
}

.footer-premium > *:not(.footer-credit){
  position: relative;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-credit{
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.02em;
}

.footer-credit a{
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.footer-credit a:hover{
  opacity: 1;
  color: rgba(255,255,255,0.92);
  border-bottom-color: rgba(255,255,255,0.32);
}

.footer-title{
  margin: 0 0 10px 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.footer-logo-link{
  display: inline-block;
  text-decoration: none;
}

.footer-logo{
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.footer-tagline{
  margin-top: 10px;
  color: #e6e6e6;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-usp,
.footer-area{
  color: #d6d6d6;
  opacity: .95;
}

.footer-right.footer-contact a{
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 1px;
}

.footer-right.footer-contact a:hover{
  opacity: 0.95;
  border-bottom-color: rgba(255,255,255,0.34);
}

/* Partnerlogos: flexibel und hover-freundlich */
.footer-partners{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-partners .footer-title{
  width: 100%;
}

.footer-partners .partner-row{
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.footer-partners .partner-row a{
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 6px;
  padding: 4px 2px;
  border: none;
  background: transparent;
  transition: opacity 0.2s ease;
}

.footer-partners .partner-row a:focus-visible{
  outline: 2px solid rgba(255,255,255,0.65);
  outline-offset: 3px;
}

/* LUKON: Partner-Zeile (lukon-logo-footer.png = zugeschnitten, echtes Alpha) */
.footer-partners .partner-row a.footer-lukon-badge img{
  height: auto;
  width: auto;
  max-height: 48px;
  max-width: 188px;
  display: block;
  object-fit: contain;
  filter: none;
}

.partner-logo{
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

.partner-logo:hover{
  opacity: 1;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.footer-note{
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: .75;
  color: #d8d8d8;
  line-height: 1.4;
}

/* Kontaktlinks im Footer */
.footer-contact-lines a{
  color: #fff;
  text-decoration: none;
}

.footer-contact-lines a:hover{
  opacity: .75;
}

.footer-legal{
  margin-top: 12px;
}

.footer-copy{
  margin-top: 10px;
  opacity: .7;
}

/* Footer Premium Responsive: 1 Spalte */
@media (max-width: 900px){
  .footer-premium{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-logo{
    height: 50px;
  }
  .partner-logo{
    height: 24px;
  }
  .footer-partners .partner-row img{
    height: 24px;
  }
  .footer-partners .partner-row a[aria-label="ABUS Website"] img{
    height: auto;
    max-height: 30px;
    max-width: 156px;
  }
  .footer-partners .partner-row a.footer-lukon-badge img{
    max-height: 42px;
    max-width: 168px;
  }
}

@media (max-width: 720px){
  .site-footer{
    padding: 30px 16px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================
   FIX: Partnerlogos im Footer stylen, auch ohne .partner-logo
   (damit HTML nicht angepasst werden muss)
========================================================= */
.footer-partners .partner-row img{
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: opacity 0.2s ease;
}

.footer-partners .partner-row a[aria-label="ABUS Website"] img{
  height: auto;
  max-height: 34px;
  max-width: 172px;
}

.footer-partners .partner-row a:hover{
  opacity: 0.88;
}


/* =========================================
   KONTAKTFORMULAR – PRO UX
========================================= */

/* Honeypot unsichtbar */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Pflichtfeld-Fehler: rot */
.is-error{
  border-color: #b00020 !important;
  box-shadow: 0 0 0 2px rgba(176,0,32,.18) !important;
}

/* Fehlertext pro Feld */
.field-error{
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #b00020;
}

/* Datenschutz Label sauber */
.privacy-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
}

/* Optionaler DSGVO-Hinweis */
.privacy-hint{
  margin: 10px 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Checkbox darf nicht 100% breit sein (wichtig!) */
.rating-row input[type="checkbox"]{
  width:auto;
  padding:0;
  border:none;
  box-shadow:none;
}

/* Toast/Overlay */
.toast[hidden]{ display:none !important; }
.toast{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: 20px;
}

.toast-card{
  width: min(520px, 92vw);
  background: rgba(255,255,255,0.96);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.08);
}

.toast-card h3{
  margin: 0 0 8px;
}

.toast-card p{
  margin: 0 0 14px;
}

.toast-btn{
  width: 100%;
}

/* =========================================================
   LEISTUNGEN – Add-on Styles (passt zu deinem Premium-Look)
   - nur neue Klassen, keine Änderungen am Grund-Theme
========================================================= */

.hero--compact{
  padding: 68px 20px;
  margin: 30px auto 36px;
}

/* Hero Buttons Reihe (falls nicht global vorhanden) */
.hero-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 16px;
}

/* Ghost Button – passt zu deinem Hero */
.btn--ghost{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: none;
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* =========================================================
   TOP SWIPE SLIDER
========================================================= */
.swipe{
  display:grid;
  gap: 12px;
}

.swipe-track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 320px);
  gap: 14px;

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  padding: 6px 6px 12px;

  -webkit-overflow-scrolling: touch;
}

.swipe-track::-webkit-scrollbar{
  height: 10px;
}
.swipe-track::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
}
.swipe-track::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.05);
  border-radius: 999px;
}

.swipe-card{
  scroll-snap-align: start;
  display:block;
  text-decoration:none;
  color: inherit;

  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  overflow:hidden;

  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .2s ease;
}

.swipe-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.12);
}

.swipe-media{
  position: relative;
  height: 170px;
  background:#000;
}

.swipe-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.swipe-chip{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 10px;
  border-radius: 999px;
  font-size: .85rem;
  color:#fff;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
}

.swipe-body{
  padding: 14px 14px 12px;
}

.swipe-body h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.swipe-body p{
  margin: 0;
  color:#444;
  font-size: 0.98rem;
  line-height: 1.5;
}

.swipe-dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  padding-bottom: 2px;
}

.swipe-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.22);
  transition: transform .15s ease, background .2s ease;
}

.swipe-dot.is-active{
  background: rgba(0,0,0,0.55);
  transform: scale(1.15);
}

/* =========================================================
   DETAIL LAYOUT (Slideshow links, Infos rechts)
========================================================= */
.detail-block{
  padding-top: 12px;
  margin-top: 26px;
  border-top: 1px solid rgba(15,23,42,0.07);
}

#details .detail-block:first-of-type{
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.detail-head h3{
  margin: 0 0 4px;
}

.detail-sub{
  margin: 0 0 12px;
  color: #555;
  font-size: 0.98rem;
}

.detail-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 18px;
  align-items: start;
}

/* Info-Card rechts */
.detail-info{
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

.detail-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* CTA unten: harmoniert mit deinen Cards */
.leistungen-cta{
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}

.cta-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 900px){
  .detail-grid{
    grid-template-columns: 1fr;
  }
  .swipe-media{
    height: 155px;
  }
  .swipe-track{
    grid-auto-columns: minmax(240px, 300px);
  }
}
/* ===== Google Maps (2-Klick) ===== */
.gmaps-card{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

/* Platzhalter */
.gmaps-consent{
  background: rgba(255,255,255,0.92);
  padding: 18px;
}

.gmaps-consent-inner{
  max-width: 900px;
}

.gmaps-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gmaps-mini{
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}

/* Map Frame */
.gmaps-frame{
  width: 100%;
  height: clamp(300px, 46vw, 520px);
  background: #000;
}

.gmaps-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Kontakt-Seite nutzt andere Klassen (ohne HTML-Änderung stylen) */
.map-placeholder,
.map-embed{
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
}

.map-placeholder{
  padding: 18px;
}

.map-embed iframe{
  width: 100%;
  height: clamp(300px, 46vw, 520px);
  border: 0;
  display:block;
}

.rating-row select{
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 8px 10px;
  font: inherit;
  background: #fff;
  cursor: pointer;
}

.rating-row select:focus{
  outline: none;
  border-color: #0a84ff;
  box-shadow: 0 0 0 1px rgba(10,132,255,0.4);
}

.bild-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  ;
}

.bild-text img {

  max-width: 50%;
  height: auto;
  ;

}

.bild-text a {
  display: block;
  text-align: center;
}

.bild-text img {
  margin: 0 auto;
  display: block;
}


.bild-text p{
  text-align: justify;
  hyphens: auto;
}

.bild-text h2{
  text-align: center;
}

.bild-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bild-center img{
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
}





/* ===============================
   Startseite: Leistungen horizontal wischbar
   (gleiches Design wie vorher, nur X-Swipe)
================================ */

.home-services .service-swipe {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox: Scrollbar aus */
  margin-top: 14px;
}

/* Dezenter Verlauf rechts: zeigt „es geht weiter“ */
.home-services .service-swipe::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  bottom:6px;
  width:44px;
  pointer-events:none;
  z-index:1;
  background: linear-gradient(270deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0) 100%);
}

.home-services .service-swipe::-webkit-scrollbar {
  display: none; /* Chrome/Safari: Scrollbar aus */
}

.home-services .service-swipe-track {
  display: flex;
  gap: 20px;
  padding: 4px 4px 8px 2px; /* minimal Luft für Hover-Schatten */
  scroll-snap-type: x mandatory;
}

.home-services .service-card {
  flex: 0 0 280px;          /* Breite der Karte (X-Achse) */
  scroll-snap-align: start; /* schnappt sauber beim Wischen */
  padding-top: 20px;
  box-shadow: var(--shadow-sm), inset 0 3px 0 0 rgba(10,132,255,0.2);
}

/* Höhe schlank halten: Text begrenzen */
.home-services .service-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* max. 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Auf größeren Screens dürfen es 2–3 Karten im Blick sein */
@media (min-width: 900px) {
  .home-services .service-card {
    flex-basis: 320px;
  }
}

/* =========================================================
   HIGH-END REVEALS (Scroll animations via JS)
========================================================= */
.reveal{
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.992);
  transition:
    opacity var(--motion-slow) var(--ease-luxe),
    transform calc(var(--motion-slow) + 140ms) var(--ease-luxe);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal--soft{
  transform: translate3d(0, 10px, 0) scale(0.997);
}

.reveal.is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal.is-inview.reveal--lift:hover{
  transform: translateY(-3px) scale(1.002);
}

/* =========================================================
   RESPONSIVE POLISH (alle Seiten)
========================================================= */
@media (max-width: 1024px){
  .site-header .container{
    min-height: 82px;
    padding: 14px 16px;
  }
  .logo img{
    height: 62px;
  }
  main{
    padding: 18px 14px;
  }
  .section{
    margin: 16px auto;
    padding: 28px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 760px){
  .logo img{
    height: 54px;
  }
  .menu-toggle{
    right: 12px;
  }
  .hero{
    margin: 20px auto 26px;
    padding: 42px 14px;
    border-radius: 15px;
  }
  .hero h1{
    font-size: clamp(1.6rem, 7.6vw, 2.05rem);
  }
  h2{
    font-size: clamp(1.25rem, 5.8vw, 1.6rem);
  }
  p, .section-intro, .hero-sub{
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .top-rating{
    width: calc(100% - 20px);
    justify-content: center;
    padding: 7px 10px;
  }
  .top-rating .rating-text{
    font-size: .84rem;
  }
  .service-grid,
  .testimonial-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-contact .contact-inner{
    gap: 12px;
  }
  .contact-actions{
    width: 100%;
    min-width: 0;
  }
  .contact-btn{
    width: 100%;
    text-align: center;
  }
  .footer-logo{
    height: 44px;
  }
}

@media (max-width: 480px){
  .site-header .container{
    min-height: 74px;
  }
  .logo img{
    height: 46px;
  }
  main{
    padding: 12px 10px;
  }
  .section{
    padding: 20px 12px;
    border-radius: 14px;
  }
  .btn{
    width: 100%;
    text-align: center;
    padding: .85rem 1rem;
  }
  .hero-btn{
    width: 100%;
  }
}

/* =========================================================
   HOME REDESIGN 2026
========================================================= */
.home-redesign{
  padding-top: 14px;
}

.top-rating--floating{
  margin-bottom: 6px;
  animation: floatingBadge 4.8s ease-in-out infinite;
}

.top-rating--floating:hover,
.top-rating--floating:focus-visible{
  animation-play-state: paused;
}

.hero--highend,
.hero--master{
  position: relative;
  overflow: hidden;
  min-height: clamp(350px, 52vw, 480px);
  background:
    linear-gradient(165deg, rgba(18,22,30,0.68), rgba(34,41,53,0.58));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 18px 44px rgba(15,23,42,0.2);
}

.hero--highend::before,
.hero--master::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.05));
  opacity: 0.7;
}

.hero-kicker{
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: rgba(176,209,255,0.95);
}

.hero--highend .hero-inner,
.hero--master .hero-inner{
  max-width: 760px;
}

.hero--highend .hero-sub,
.hero--master .hero-sub{
  max-width: 42rem;
}

.hero-master-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-facts{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.hero-facts li{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-left: 0;
  color: rgba(236,242,252,0.94);
  font-size: .95rem;
  line-height: 1.4;
}

.hero-facts li::before{
  content: "";
  position: static;
  width: 9px;
  height: 2px;
  border-radius: 99px;
  background: #59a9ff;
  flex: 0 0 auto;
}

.hero-media{
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
  background: rgba(10,12,16,0.5);
}

.hero-media img{
  display: block;
  width: 100%;
  height: clamp(240px, 30vw, 360px);
  object-fit: cover;
}

.hero-media figcaption{
  margin: 0;
  padding: 9px 12px;
  font-size: .82rem;
  letter-spacing: .03em;
  color: rgba(233,241,255,0.95);
  background: rgba(10,12,16,0.72);
}

.hero--master .hero-actions{
  margin-top: 16px;
}

.hero--master .btn{
  min-width: 210px;
}

.section--story{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.43), rgba(255,255,255,0.86)),
    var(--surface);
}

.after-hero-highlights{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.highlight-item{
  border-radius: 12px;
  padding: 14px 14px 12px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.08);
}

.highlight-item h3{
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #10233b;
}

.highlight-item p{
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(16,35,59,0.82);
}

.story-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.story-card{
  border-radius: 18px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: var(--shadow-sm);
}

.story-card h3{
  margin-top: 0;
}

.section--premium-slider{
  overflow: hidden;
}

.carousel--cinema .carousel-stage{
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.project-marquee{
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.project-marquee-track{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 10px 18px;
  animation: marqueeMove 34s linear infinite;
}

.project-marquee-track span{
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: rgba(10,12,24,0.72);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.07);
}

@keyframes marqueeMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.section--ratings{
  background:
    radial-gradient(90% 80% at 10% 10%, rgba(10,132,255,0.08), transparent 60%),
    radial-gradient(100% 80% at 95% 90%, rgba(161,104,255,0.08), transparent 62%),
    var(--surface-strong);
}

.section--cta{
  background:
    linear-gradient(115deg, rgba(14,18,28,0.86), rgba(21,25,36,0.7)),
    var(--surface);
}

.section--cta h2,
.section--cta .section-intro,
.section--cta .contact-line{
  color: #f3f6ff;
}

.section--cta .contact-line{
  opacity: .95;
}

.section--cta .contact-line:hover span{
  border-bottom-color: rgba(255,255,255,0.36);
}

@media (max-width: 980px){
  .hero-master-grid,
  .story-grid{
    grid-template-columns: 1fr;
  }

  .after-hero-highlights{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-media img{
    height: clamp(220px, 52vw, 320px);
  }
}

@media (max-width: 760px){
  .project-marquee-track{
    animation-duration: 24s;
  }
}

.project-marquee:hover .project-marquee-track{
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce){
  .project-marquee-track{
    animation: none !important;
  }
  .top-rating--floating{
    animation: none !important;
  }
}

/* =========================================================
   SUBPAGES - FULL PREMIUM ROLLOUT
========================================================= */
.subpage-premium{
  position: relative;
}

.subpage-premium .section{
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 26px 65px rgba(15,23,42,0.14),
    0 10px 24px rgba(15,23,42,0.07);
}

.subpage-premium .section .container > h2{
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.subpage-premium .hero{
  margin-bottom: 26px;
}

.subpage-premium .hero::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.09), rgba(255,255,255,0) 40%, rgba(255,255,255,0.08));
  opacity: 0.75;
}

.subpage-premium .service-card,
.subpage-premium .testimonial,
.subpage-premium .rating-card,
.subpage-premium .detail-info,
.subpage-premium .news-hint-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.95));
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 16px 38px rgba(15,23,42,0.1);
}

.subpage-premium .service-card:hover,
.subpage-premium .testimonial:hover{
  transform: translateY(-6px);
}

.subpage-premium .section + .section{
  margin-top: 30px;
}

.subpage-legal .section .container{
  max-width: 960px;
}

.subpage-legal h3{
  margin-top: 1.45rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.subpage-partner .bild-text img{
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15,23,42,0.12);
}

.subpage-partner .section{
  overflow: hidden;
}

.subpage-partner .partner-hero{
  background:
    radial-gradient(900px 320px at 50% -16%, rgba(10,132,255,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.92));
}

.partner-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.partner-kicker{
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(8,44,89,0.62);
}

.partner-hero h1{
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: #10253e;
}

.partner-hero .section-intro{
  max-width: 760px;
  margin: 0 auto;
}

.partner-pill-row{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.partner-pill{
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(9,41,80,0.86);
  border: 1px solid rgba(10,132,255,0.2);
  background: rgba(255,255,255,0.72);
}

.partner-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.partner-card{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,251,255,0.92));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 14px 30px rgba(15,23,42,0.1);
  overflow: hidden;
  transition: transform var(--motion-base) var(--ease-luxe), box-shadow var(--motion-base) var(--ease-luxe), border-color var(--motion-base) ease;
}

.partner-card:hover{
  transform: translateY(-5px);
  border-color: rgba(10,132,255,0.24);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 20px 38px rgba(15,23,42,0.14);
}

.partner-card-head{
  padding: 16px 14px 10px;
  min-height: 82px;
  display: flex;
  align-items: center;
}

.partner-card-head img{
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.partner-card-media{
  margin: 0 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.8);
}

.partner-card-media img{
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
}

.partner-card-media--qr{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.partner-card-media--qr img{
  width: min(160px, 60%);
  height: auto;
  object-fit: contain;
}

.partner-card-body{
  padding: 12px 14px 14px;
}

.partner-card h2{
  margin: 0 0 6px;
  font-size: 1rem;
  color: #122741;
}

.partner-card p{
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.partner-card .service-link{
  margin-top: 10px;
}

.partner-card--abus .partner-card-head{
  padding: 10px 14px 6px;
  min-height: 58px;
}

.partner-card--abus .partner-card-head img{
  max-height: 76px;
  max-width: min(300px, 100%);
}

.partner-card--lukon .partner-card-head{
  padding: 10px 14px 8px;
  min-height: 62px;
}

.partner-card--lukon .partner-card-head img{
  max-height: 72px;
  max-width: min(260px, 100%);
}

@media (max-width: 1080px){
  .partner-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  .partner-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .partner-card-media img{
    height: 160px;
  }
}

.subpage-news .news-hint-grid{
  gap: 20px;
}

.subpage-services #details .detail-block{
  padding: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
}

.subpage-services #details .detail-block + .detail-block{
  margin-top: 18px;
}

.subpage-contact .rating-card{
  border-radius: 20px;
}

@media (max-width: 760px){
  .subpage-premium .section{
    border-radius: 16px;
  }
}

/* =========================================================
   MICRO-INTERACTIONS 2026
   - Scroll-Fortschritt + subtile Keyframes
========================================================= */
.site-progress{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1400;
  pointer-events: none;
  background: transparent;
}

.site-progress::before{
  content: "";
  display: block;
  width: calc(var(--progress, 0) * 1%);
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #0a84ff, #66b2ff);
  box-shadow: 0 0 12px rgba(10,132,255,0.55);
  transition: width .08s linear;
}

@keyframes floatingBadge{
  0%, 100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(-3px); }
}

@keyframes btnSheen{
  0%{ transform: translateX(-180%) rotate(12deg); }
  100%{ transform: translateX(380%) rotate(12deg); }
}

/* =========================================================
   UEBER UNS - PROCESS SECTION
========================================================= */
.process-section .section-intro{
  margin-bottom: 1.1rem;
}

.process-flow{
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,0.09);
  background:
    radial-gradient(920px 280px at 50% -28%, rgba(31,117,255,0.10), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,0.965), rgba(248,252,255,0.93));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 16px 40px rgba(15,23,42,0.11);
  padding: 18px 14px 16px;
  overflow: hidden;
}

.flow-rail{
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10,132,255,0.10), rgba(10,132,255,0.18), rgba(10,132,255,0.08));
  box-shadow: 0 0 0 1px rgba(10,132,255,0.10) inset;
  pointer-events: none;
}

.flow-rail-glow{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.00) 0px,
      rgba(255,255,255,0.00) 14px,
      rgba(255,255,255,0.28) 14px,
      rgba(255,255,255,0.00) 26px
    );
  animation: flowRailShift 2.9s linear infinite;
}

.flow-drop{
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 34% 34%, #ffffff, #5cc4ff 55%, #1185ff 100%);
  box-shadow:
    0 0 0 4px rgba(84,191,255,0.12),
    0 0 12px rgba(10,132,255,0.35);
}

.flow-drop--a{
  animation: flowDrop 4.4s var(--ease-luxe) infinite;
}

.flow-drop--b{
  animation: flowDrop 4.4s var(--ease-luxe) infinite 2.2s;
  opacity: 0.62;
}

.flow-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.flow-step{
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  min-height: 108px;
}

.flow-step:nth-child(odd) .flow-card{
  grid-column: 1;
}

.flow-step:nth-child(even) .flow-card{
  grid-column: 3;
}

.flow-marker{
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(8,44,89,0.92);
  background: linear-gradient(140deg, #f3fbff, #c9ecff);
  border: 1px solid rgba(10,132,255,0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 0 0 6px rgba(72,176,255,0.12);
}

.flow-card{
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.96) inset,
    0 12px 24px rgba(15,23,42,0.09);
  padding: 11px 12px 10px;
  transition:
    transform var(--motion-base) var(--ease-luxe),
    box-shadow var(--motion-base) var(--ease-luxe),
    border-color var(--motion-base) ease;
}

.flow-card:hover{
  transform: translateY(-4px);
  border-color: rgba(10,132,255,0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.96) inset,
    0 16px 30px rgba(15,23,42,0.13);
}

.flow-step:nth-child(odd) .flow-card::after,
.flow-step:nth-child(even) .flow-card::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(10,132,255,0.06), rgba(10,132,255,0.5));
  transform: translateY(-50%);
}

.flow-step:nth-child(odd) .flow-card::after{
  right: -12px;
}

.flow-step:nth-child(even) .flow-card::after{
  left: -12px;
  transform: translateY(-50%) scaleX(-1);
}

.flow-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  border-radius: 8px;
  background: linear-gradient(140deg, #2e8be7, #165eb6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 8px 14px rgba(10,86,196,0.2);
}

.flow-icon svg{
  width: 15px;
  height: 15px;
  fill: none;
  stroke: rgba(255,255,255,0.96);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-step-label{
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(8,44,89,0.58);
}

.flow-card h3{
  margin: 0 0 5px;
  color: #10253e;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.flow-card p{
  margin: 0;
  color: rgba(15,23,42,0.84);
  font-size: 0.86rem;
  line-height: 1.42;
}

.flow-meta{
  margin-top: 8px !important;
  padding-top: 6px;
  border-top: 1px solid rgba(15,23,42,0.08);
  font-size: 0.74rem !important;
  letter-spacing: 0.02em;
  color: rgba(15,23,42,0.60) !important;
}

.process-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.process-footer p{
  margin: 0;
  color: rgba(15,23,42,0.7);
  font-size: 0.95rem;
}

@media (max-width: 1200px){
  .flow-step{
    grid-template-columns: 1fr 56px 1fr;
  }
}

@media (max-width: 860px){
  .process-flow{
    padding: 14px 11px 13px;
  }

  .flow-rail{
    left: 20px;
    transform: none;
    top: 18px;
    bottom: 18px;
  }

  .flow-drop{
    left: 6px;
    transform: none;
  }

  .flow-steps{
    gap: 10px;
  }

  .flow-step{
    grid-template-columns: 34px 1fr;
    min-height: unset;
    gap: 8px;
  }

  .flow-marker{
    grid-column: 1;
    width: 30px;
    height: 30px;
    font-size: 0.66rem;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.95) inset,
      0 0 0 4px rgba(72,176,255,0.12);
  }

  .flow-step:nth-child(odd) .flow-card,
  .flow-step:nth-child(even) .flow-card{
    grid-column: 2;
  }

  .flow-step:nth-child(odd) .flow-card::after,
  .flow-step:nth-child(even) .flow-card::after{
    display: none;
  }
}

@keyframes flowRailShift{
  0%{
    background-position: 0 0;
  }
  100%{
    background-position: 0 40px;
  }
}

@keyframes flowDrop{
  0%{
    top: -16px;
    opacity: 0;
    transform: translateX(-50%) scale(0.82);
  }
  12%{
    opacity: 1;
  }
  100%{
    top: calc(100% - 2px);
    opacity: 0;
    transform: translateX(-50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce){
  .flow-rail-glow,
  .flow-drop{
    animation: none !important;
  }
  .flow-card:hover{
    transform: translateY(-3px);
  }
}

/* =========================================================
   PROCESS STUDIO V2 (komplett neues Format)
========================================================= */
.process-studio{
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(900px 240px at 50% -25%, rgba(30,108,255,0.11), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,0.965), rgba(247,251,255,0.93));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 18px 42px rgba(15,23,42,0.11);
  padding: 16px 14px 14px;
  overflow: hidden;
}

.studio-stream{
  position: relative;
  height: 7px;
  margin: 2px 8px 14px;
}

.studio-stream-base,
.studio-stream-glint,
.studio-stream-pulse{
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.studio-stream-base{
  background: linear-gradient(90deg, rgba(10,132,255,0.13), rgba(10,132,255,0.34), rgba(10,132,255,0.10));
}

.studio-stream-glint{
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.75), rgba(255,255,255,0));
  transform: translateX(-120%);
  animation: studioFlowGlint 3.1s var(--ease-luxe) infinite;
}

.studio-stream-pulse{
  width: 18px;
  left: -18px;
  right: auto;
  background: radial-gradient(circle at 30% 30%, #fff, #6fd3ff 48%, #0a84ff 100%);
  box-shadow:
    0 0 0 4px rgba(95,198,255,0.16),
    0 0 14px rgba(10,132,255,0.42);
  animation: studioFlowPulse 3.1s var(--ease-luxe) infinite;
}

.studio-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.studio-node{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 10px 24px rgba(15,23,42,0.09);
  padding: 10px 11px 9px;
  transition:
    transform var(--motion-base) var(--ease-luxe),
    box-shadow var(--motion-base) var(--ease-luxe),
    border-color var(--motion-base) ease;
}

.studio-node:hover{
  transform: translateY(-4px);
  border-color: rgba(10,132,255,0.26);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 16px 30px rgba(15,23,42,0.13);
}

.studio-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.studio-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(10,44,89,0.9);
  border: 1px solid rgba(10,132,255,0.24);
  background: linear-gradient(140deg, #f4fbff, #d7edff);
}

.studio-icon{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #2f90ea, #175eb8);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.62) inset,
    0 7px 12px rgba(11,83,182,0.18);
}

.studio-icon svg{
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(255,255,255,0.96);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-node h3{
  margin: 0 0 5px;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  color: #10253e;
}

.studio-node p{
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(15,23,42,0.84);
}

.studio-meta{
  margin-top: 7px !important;
  padding-top: 6px;
  border-top: 1px solid rgba(15,23,42,0.08);
  font-size: 0.72rem !important;
  letter-spacing: 0.02em;
  color: rgba(15,23,42,0.62) !important;
}

@keyframes studioFlowGlint{
  0%{ transform: translateX(-120%); opacity: 0; }
  20%{ opacity: 1; }
  100%{ transform: translateX(120%); opacity: 0; }
}

@keyframes studioFlowPulse{
  0%{ left: -18px; opacity: 0; }
  14%{ opacity: 1; }
  100%{ left: calc(100% + 2px); opacity: 0; }
}

@media (max-width: 1080px){
  .studio-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .process-studio{
    padding: 12px 10px 11px;
  }
  .studio-grid{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce){
  .studio-stream-glint,
  .studio-stream-pulse{
    animation: none !important;
  }
}

/* =========================================================
   CONVERSION LAYER (home/services/contact)
========================================================= */
.trust-band{
  background:
    radial-gradient(900px 240px at 50% -40%, rgba(10,132,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.92));
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.1);
  background: rgba(255,255,255,0.86);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 12px 24px rgba(15,23,42,0.09);
  padding: 11px 12px;
  transition: transform var(--motion-base) var(--ease-luxe), box-shadow var(--motion-base) var(--ease-luxe), border-color var(--motion-base) ease;
}

.trust-item:hover{
  transform: translateY(-4px);
  border-color: rgba(10,132,255,0.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 16px 30px rgba(15,23,42,0.13);
}

.trust-kicker{
  margin: 0 0 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: rgba(8,44,89,0.58);
}

.trust-value{
  margin: 0 0 5px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #10253e;
}

.trust-item p:last-child{
  margin-bottom: 0;
}

.contact-fast-lanes{
  background:
    radial-gradient(900px 260px at 50% -40%, rgba(10,132,255,0.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.94));
}

.lane-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lane-card{
  display: block;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.1);
  background: rgba(255,255,255,0.9);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 12px 24px rgba(15,23,42,0.09);
  padding: 12px 13px;
  color: inherit;
  transition: transform var(--motion-base) var(--ease-luxe), box-shadow var(--motion-base) var(--ease-luxe), border-color var(--motion-base) ease;
}

.lane-card:hover{
  transform: translateY(-5px);
  border-color: rgba(10,132,255,0.26);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.94) inset,
    0 17px 30px rgba(15,23,42,0.13);
}

.lane-kicker{
  margin: 0 0 4px;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: rgba(8,44,89,0.56);
}

.lane-card h3{
  margin: 0 0 4px;
}

.lane-card p{
  margin: 0;
}

.kpi-section{
  background:
    radial-gradient(900px 260px at 50% -40%, rgba(10,132,255,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.94));
}

.kpi-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.1);
  background: rgba(255,255,255,0.9);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 12px 24px rgba(15,23,42,0.09);
  padding: 12px 10px;
  text-align: center;
  transition: transform var(--motion-base) var(--ease-luxe), box-shadow var(--motion-base) var(--ease-luxe);
}

.kpi-card:hover{
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 18px 30px rgba(15,23,42,0.13);
}

.kpi-value{
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f3a66;
}

.kpi-label{
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: rgba(15,23,42,0.66);
}

@media (max-width: 980px){
  .trust-grid,
  .lane-grid,
  .kpi-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GLOBAL PREMIUM PASS V4 (sitewide finishing layer)
========================================================= */
body{
  background:
    radial-gradient(1200px 860px at 10% -6%, rgba(110,164,255,0.16), transparent 62%),
    radial-gradient(980px 780px at 96% 10%, rgba(120,226,255,0.10), transparent 62%),
    linear-gradient(165deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 36%),
    #cfd6e0;
}

body::before{
  opacity: 0.2;
  background-size: 31%;
}

body::after{
  opacity: 0.46;
  filter: blur(34px) saturate(108%);
}

.site-header{
  border-bottom: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 10px 30px rgba(0,0,0,0.24);
}

.site-header .container{
  min-height: 86px;
}

.nav a{
  border-radius: 11px;
  letter-spacing: 0.01em;
}

.nav a.active{
  background: rgba(255,255,255,0.12);
}

.section{
  box-shadow:
    0 1px 0 rgba(255,255,255,0.74) inset,
    0 22px 54px rgba(15,23,42,0.12),
    0 8px 22px rgba(15,23,42,0.06);
}

.section .container{
  max-width: 1140px;
}

.section > .container > h2{
  margin-bottom: 0.72rem;
}

h1, h2, h3{
  font-weight: 700;
}

.section-intro{
  max-width: 68ch;
}

a{
  text-underline-offset: 0.14em;
}

.btn{
  border-color: rgba(255,255,255,0.28);
}

.btn:hover{
  transform: translateY(-3px);
}

.hero{
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 26px 56px rgba(15,23,42,0.22);
}

.service-card,
.testimonial,
.rating-card,
.detail-info,
.news-hint-card,
.partner-card,
.studio-node,
.flow-card{
  backdrop-filter: blur(9px) saturate(120%);
  -webkit-backdrop-filter: blur(9px) saturate(120%);
}

.service-card:hover,
.testimonial:hover,
.rating-card:hover,
.partner-card:hover,
.studio-node:hover,
.flow-card:hover{
  transform: translateY(-6px);
}

.car-slide img,
.hero-media img,
.partner-card-media img,
.bild-center img,
.swipe-media img{
  transition: transform var(--motion-slow) var(--ease-luxe), filter var(--motion-base) ease;
}

.car-slide:hover img,
.hero-media:hover img,
.partner-card-media:hover img,
.bild-center:hover img,
.swipe-media:hover img{
  transform: scale(1.018);
  filter: saturate(1.06) contrast(1.03);
}

.site-footer{
  box-shadow: 0 -8px 28px rgba(0,0,0,.3);
}

body:not(.page-ready) main{
  opacity: 0;
  transform: translateY(8px);
}

body.page-ready main{
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .55s var(--ease-luxe),
    transform .7s var(--ease-luxe);
}

@media (max-width: 1024px){
  .site-header .container{
    min-height: 80px;
  }
  .section{
    border-radius: 18px;
  }
}

@media (max-width: 760px){
  body::before{
    background-size: 46%;
    opacity: 0.17;
  }
  .btn{
    width: 100%;
    text-align: center;
  }
  body.page-ready main{
    transition-duration: .45s, .55s;
  }
}

/* Mobile Layering Fix:
   Menübutton + Dropdown müssen über Footer liegen */
@media (max-width: 1024px){
  .site-header{
    z-index: 2600;
  }

  .site-header .container{
    z-index: 2601;
  }

  .menu-toggle{
    z-index: 2700;
  }

  .nav{
    z-index: 2690;
  }

  .nav-overlay{
    z-index: 2580;
  }

  .site-footer{
    z-index: 1200;
  }
}

@media (prefers-reduced-motion: reduce){
  body:not(.page-ready) main{
    opacity: 1 !important;
    transform: none !important;
  }
  .car-slide img,
  .hero-media img,
  .partner-card-media img,
  .bild-center img,
  .swipe-media img{
    transition: none !important;
  }
}


