/* ================================================================
   Ruster Gebäudemanagement – Corporate Website
   Farben aus Logo: #004880 (Primär), #39719c (Akzent), #d9e4ec (Bg)
   ================================================================ */

:root {
  /* Blau-Palette – gestufte Schattierungen für modernes, tiefes Farbspiel */
  --primary: #004880;
  --primary-dark: #003564;
  --primary-deepest: #001f38;
  --primary-mid: #1a5c94;
  --primary-light: #39719c;
  --primary-soft: #7fa4c4;
  --primary-bg: #d9e4ec;
  --primary-bg-soft: #eef3f7;
  --primary-bg-hint: #f6f9fb;
  /* Signature-Verläufe */
  --grad-primary: linear-gradient(135deg, #003564 0%, #004880 55%, #1a5c94 100%);
  --grad-accent:  linear-gradient(135deg, #004880 0%, #39719c 100%);
  --grad-glass:   linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.65) 100%);
  --accent: #f7a600;
  --text: #1a1a1a;
  --text-muted: #5b6b78;
  --border: #dde5ec;
  --border-strong: #c7d4de;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,72,128,0.06), 0 1px 2px rgba(0,72,128,0.08);
  --shadow-md: 0 6px 20px rgba(0,72,128,0.08), 0 2px 6px rgba(0,72,128,0.06);
  --shadow-lg: 0 20px 45px rgba(0,72,128,0.15), 0 6px 12px rgba(0,72,128,0.08);
  --shadow-glow: 0 0 0 1px rgba(0,72,128,.08), 0 12px 30px rgba(0,72,128,.12);
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --container: 1240px;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-muted); margin-bottom: 1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: .75rem;
}
.section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem;
  font-weight: 600; font-size: .95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none; white-space: nowrap;
  position: relative; isolation: isolate;
}
/* Fix: Overlay-Layer unter den Text setzen, damit Schrift NIE verschwindet */
.btn-primary {
  background: var(--grad-accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(0,72,128,.25), inset 0 1px 0 rgba(255,255,255,.15);
  overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #003564 0%, #004880 100%);
  opacity: 0; transition: opacity .3s var(--ease);
  z-index: -1;
  border-radius: inherit;
}
.btn-primary:hover {
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,72,128,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover::before { opacity: 1; }
/* Sanfter Shine-Sweep beim Hover als Wow-Element */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  z-index: -1;
}
.btn-primary:hover::after { left: 130%; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,72,128,.2); }
.btn-light { background: var(--white); color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.btn-light:hover { background: var(--primary-bg); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--white); border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 1.5rem; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-links { display: flex; gap: 1.25rem; }
@media (max-width: 768px) { .topbar-info { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header / Nav ---------- */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-glow);
  background: rgba(255,255,255,.96);
}
.site-header.scrolled .container { padding-top: .4rem; padding-bottom: .4rem; }
.site-header.scrolled .logo img { height: 74px; }
@media (max-width: 640px) { .site-header.scrolled .logo img { height: 56px; } }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
  transition: padding .3s var(--ease);
}
.logo { display: flex; align-items: center; transition: transform .3s var(--ease); }
.logo:hover { transform: scale(1.03); }
.logo img { height: 112px; width: auto; transition: height .3s var(--ease), filter .3s var(--ease); }
@media (max-width: 640px) { .logo img { height: 72px; } }
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .98rem;
  padding: .5rem 0;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width .25s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--primary); }
.nav-cta {
  margin-left: .5rem;
  font-size: .82rem !important;
  padding: .6rem 1.1rem !important;
  letter-spacing: .01em;
}
/* Fix: Nav-Selektor überschreibt sonst die Button-Farbe */
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover { color: var(--white); }
.main-nav a.btn-primary::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--primary); margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 1rem 24px; gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { max-height: 500px; padding: 1rem 24px 2rem; }
  .main-nav a { width: 100%; padding: .875rem 0; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 1rem 0 0; width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(0,31,56,.94) 0%, rgba(0,53,100,.88) 40%, rgba(0,72,128,.82) 70%, rgba(57,113,156,.72) 100%),
    url("../images/hero-building.svg") center/cover no-repeat;
  color: var(--white);
  padding: 7rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(120,180,230,.22), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0,72,128,.35), transparent 50%);
  pointer-events: none;
}
/* Animierte Licht-Orbs für neumodische Tiefe */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at var(--orb1-x, 20%) var(--orb1-y, 30%), rgba(127,164,196,.18) 0%, transparent 25%),
    radial-gradient(circle at var(--orb2-x, 80%) var(--orb2-y, 70%), rgba(247,166,0,.10) 0%, transparent 25%);
  animation: floatOrbs 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes floatOrbs {
  0%   { --orb1-x: 20%; --orb1-y: 30%; --orb2-x: 80%; --orb2-y: 70%; opacity: .8; }
  50%  { opacity: 1; }
  100% { --orb1-x: 35%; --orb1-y: 60%; --orb2-x: 65%; --orb2-y: 40%; opacity: .8; }
}
@property --orb1-x { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --orb1-y { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --orb2-x { syntax: "<percentage>"; inherits: false; initial-value: 80%; }
@property --orb2-y { syntax: "<percentage>"; inherits: false; initial-value: 70%; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; animation: heroRise .8s var(--ease) both; }
.hero-lead { font-size: 1.2rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; max-width: 560px; animation: heroRise .8s var(--ease) .1s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: heroRise .8s var(--ease) .2s both; }
.hero .eyebrow { animation: heroRise .8s var(--ease) both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-quickform {
  background: var(--grad-glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: var(--text);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7);
  animation: heroRise .8s var(--ease) .15s both;
  position: relative;
}
.hero-quickform::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(127,164,196,.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero-quickform h3 { color: var(--primary); margin-bottom: .25rem; }
.hero-quickform .form-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.hero-quickform label { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; margin-top: .75rem; }
.hero-quickform select, .hero-quickform input {
  width: 100%; padding: .75rem .875rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
  background: var(--white);
}
.hero-quickform select:focus, .hero-quickform input:focus { outline: 2px solid var(--primary-light); outline-offset: 1px; }
.hero-quickform .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

@media (max-width: 900px) {
  .hero { padding: 3rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-alt {
  background: linear-gradient(180deg, var(--primary-bg-hint) 0%, var(--primary-bg-soft) 60%, var(--primary-bg-hint) 100%);
  position: relative;
}
.section-alt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.section-dark {
  background: linear-gradient(135deg, var(--primary-deepest) 0%, var(--primary-dark) 55%, var(--primary) 100%);
  color: rgba(255,255,255,.9);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(127,164,196,.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(247,166,0,.08), transparent 40%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.85); }

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,72,128,.03) 0%, rgba(57,113,156,.06) 100%);
  opacity: 0; transition: opacity .35s var(--ease);
  z-index: -1;
}
.service-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-icon {
  background: var(--grad-accent);
  color: var(--white);
  transform: rotate(-4deg) scale(1.08);
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-soft) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all .35s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(0,72,128,.06);
}
.service-icon svg { width: 32px; height: 32px; transition: transform .35s var(--ease); }
.service-card:hover .service-icon svg { transform: rotate(4deg); }
.service-card h3 { color: var(--primary); }
.service-card p { flex: 1; font-size: .95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--primary); font-weight: 600; font-size: .9rem;
  margin-top: 1rem;
}
.service-link:hover { color: var(--primary-dark); }
.service-link .arrow { transition: transform .2s; }
.service-link:hover .arrow { transform: translateX(3px); }

/* ---------- Feature / Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--primary-bg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.split-img svg, .split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.reverse .split-img { order: 0; } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-num {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1;
  display: block; margin-bottom: .5rem;
  background: linear-gradient(135deg, #ffffff 0%, #b7d0e5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
}
.stat-label { color: rgba(255,255,255,.8); font-size: .95rem; letter-spacing: .02em; }
.stat-item {
  position: relative; padding-top: 1rem;
}
.stat-item::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px; background: var(--accent);
  border-radius: 2px;
}

/* ---------- Industries ---------- */
.industries {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  cursor: default;
  position: relative;
}
.industry-card:hover {
  border-color: var(--primary-soft);
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-bg-soft) 100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card:hover .industry-icon {
  transform: scale(1.15) translateY(-2px);
  color: var(--primary-mid);
}
.industry-icon {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  color: var(--primary);
  transition: transform .4s var(--ease), color .35s var(--ease);
}
.industry-card h4 { color: var(--primary); font-size: 1rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; position: relative; }
.step { text-align: center; position: relative; padding: 0 1rem; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: var(--grad-accent); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--primary-bg), 0 8px 20px rgba(0,72,128,.2);
  position: relative;
  transition: transform .35s var(--ease);
}
.step-num::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px dashed rgba(0,72,128,.25);
  animation: rotateRing 20s linear infinite;
}
@keyframes rotateRing { to { transform: rotate(360deg); } }
.step:hover .step-num { transform: translateY(-4px) scale(1.05); }
.step h4 { color: var(--primary); margin-bottom: .5rem; }
.step p { font-size: .93rem; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at var(--cx, 30%) 50%, rgba(127,164,196,.18), transparent 40%),
    radial-gradient(circle at var(--cx2, 70%) 50%, rgba(247,166,0,.10), transparent 40%);
  animation: ctaShift 14s ease-in-out infinite alternate;
}
@keyframes ctaShift {
  from { --cx: 20%; --cx2: 80%; }
  to   { --cx: 80%; --cx2: 20%; }
}
@property --cx { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --cx2 { syntax: "<percentage>"; inherits: false; initial-value: 70%; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 680px; margin: 0 auto 1.75rem; }
.cta-band .btn { margin: 0 .5rem .5rem; }

/* ---------- References ---------- */
.reference-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.ref-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ref-visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92);
  position: relative; overflow: hidden;
}
.ref-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(127,164,196,.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(247,166,0,.12), transparent 45%);
}
.ref-visual::after {
  content: ""; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,.03) 30px, rgba(255,255,255,.03) 60px);
  transition: transform .8s var(--ease);
}
.ref-card:hover .ref-visual::after { transform: translate(30px, 30px); }
.ref-visual svg { width: 55%; height: 55%; position: relative; z-index: 1; transition: transform .5s var(--ease); }
.ref-card:hover .ref-visual svg { transform: scale(1.08); }
.ref-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.95); color: var(--primary);
  padding: .3rem .75rem; border-radius: var(--radius);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}
.ref-body { padding: 1.5rem; }
.ref-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.ref-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--text-muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.ref-meta span { display: inline-flex; align-items: center; gap: .3rem; }

/* ---------- Trust bar ---------- */
.trust-bar {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, var(--primary-bg-hint) 0%, var(--white) 50%, var(--primary-bg-hint) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item { transition: transform .3s var(--ease); }
.trust-item:hover { transform: translateY(-2px); }
.trust-item svg {
  padding: 8px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-soft) 100%);
  box-sizing: content-box; width: 24px; height: 24px;
  transition: transform .3s var(--ease);
}
.trust-item:hover svg { transform: rotate(-8deg) scale(1.08); }
.trust-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; align-items: center;
}
.trust-item {
  display: flex; gap: .875rem; align-items: center;
  color: var(--primary); font-weight: 500;
}
.trust-item svg { width: 32px; height: 32px; flex-shrink: 0; color: var(--primary); }
.trust-item small { display: block; color: var(--text-muted); font-weight: 400; font-size: .82rem; }

/* ---------- Footer ---------- */
footer {
  background: #001f38;
  color: rgba(255,255,255,.75);
  padding: 4rem 0 1.5rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }
footer ul { list-style: none; }
footer li { margin-bottom: .6rem; }
footer a { color: rgba(255,255,255,.75); }
footer a:hover { color: var(--white); }
.footer-logo img { height: 88px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(125deg, var(--primary-deepest) 0%, var(--primary-dark) 45%, var(--primary) 75%, var(--primary-light) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(127,164,196,.18), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(247,166,0,.10), transparent 40%);
  pointer-events: none;
}
.page-header::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1, .page-header p, .page-header .breadcrumbs { animation: heroRise .7s var(--ease) both; }
.page-header p { animation-delay: .1s; }
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 720px; margin-top: .75rem; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Detailed service list ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail.reverse .service-detail-visual { order: 2; }
.service-detail-visual {
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
}
.service-detail-visual svg { width: 100%; height: 100%; color: var(--primary); }
.service-detail h2 { margin-bottom: 1rem; }
.service-detail ul { list-style: none; margin: 1rem 0; }
.service-detail li {
  padding: .5rem 0 .5rem 1.75rem; position: relative;
  color: var(--text);
}
.service-detail li::before {
  content: ""; position: absolute; left: 0; top: .8rem;
  width: 8px; height: 8px; background: var(--primary);
  border-radius: 2px; transform: rotate(45deg);
}
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 2rem; } .service-detail.reverse .service-detail-visual { order: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.contact-form {
  background: var(--white); padding: 2.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem .875rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit; background: var(--white);
  transition: border-color .2s;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,72,128,.12);
}
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.form-check input { width: auto; margin-top: 3px; }
.contact-info-card {
  background: var(--primary); color: var(--white);
  padding: 2.5rem; border-radius: var(--radius-lg);
  height: fit-content;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.contact-info-card ul { list-style: none; }
.contact-info-card li { display: flex; gap: .875rem; margin-bottom: 1.25rem; }
.contact-info-card svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--white); margin-top: 2px; }
.contact-info-card a { color: var(--white); font-weight: 500; }
.contact-info-card a:hover { color: var(--primary-bg); }
.contact-info-card small { color: rgba(255,255,255,.7); font-size: .85rem; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal-content h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.legal-content p { color: var(--text); }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--text); }
.legal-content li { margin-bottom: .35rem; }

/* ---------- Team / Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.value-card {
  padding: 2rem; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all .25s;
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.value-icon {
  width: 52px; height: 52px; margin-bottom: 1rem;
  color: var(--primary);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: var(--white); border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 460px; z-index: 200;
  font-size: .9rem; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner strong { color: var(--primary); }
.cookie-banner .cookie-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .6rem 1.25rem; font-size: .85rem; }

/* ---------- Utilities ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Staggered fade for grids */
.fade-in-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-in-stagger.visible > * { opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: .10s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: .15s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: .20s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: .25s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: .30s; }
.fade-in-stagger.visible > *:nth-child(7) { transition-delay: .35s; }
.fade-in-stagger.visible > *:nth-child(8) { transition-delay: .40s; }

/* =====================================================
   WOW-Elemente / neumodische Details
   ===================================================== */

/* --- Animierter SVG-Wave-Divider zwischen Sections --- */
.wave-divider {
  display: block; width: 100%; height: 80px;
  margin-top: -1px;
}
.wave-divider path { animation: waveMove 12s ease-in-out infinite alternate; }
@keyframes waveMove {
  0%   { d: path("M0,40 C240,80 480,0 720,40 C960,80 1200,10 1440,40 L1440,80 L0,80 Z"); }
  100% { d: path("M0,40 C240,10 480,70 720,30 C960,0 1200,80 1440,40 L1440,80 L0,80 Z"); }
}

/* --- Animierter dezenter Punkte-Grid als Hintergrund --- */
.grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  animation: gridDrift 30s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift { to { background-position: 320px 320px; } }

/* --- Endlos scrollender Branchen-Marquee --- */
.marquee {
  overflow: hidden;
  padding: 2rem 0;
  background: linear-gradient(90deg, var(--primary-bg-hint), var(--white), var(--primary-bg-hint));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--primary-bg-hint), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--primary-bg-hint), transparent); }
.marquee-track {
  display: flex; gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--primary); font-weight: 600; font-size: 1.05rem;
  white-space: nowrap;
  opacity: .75; transition: opacity .3s var(--ease);
}
.marquee-item:hover { opacity: 1; }
.marquee-item svg { width: 28px; height: 28px; color: var(--primary-mid); }
.marquee-item::after { content: "·"; margin-left: 3.5rem; color: var(--primary-soft); font-size: 1.5rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Animierter Fenster-Squeegee-Effekt (SVG-Loop) --- */
.squeegee-scene {
  position: relative; aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-soft) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.squeegee-scene svg { width: 100%; height: 100%; display: block; }
.squeegee-scene .window-dirty { animation: fadeDirt 6s ease-in-out infinite; }
.squeegee-scene .squeegee { animation: swipe 6s ease-in-out infinite; transform-origin: center; }
@keyframes swipe {
  0%   { transform: translate(-40px, 0); }
  45%  { transform: translate(320px, 0); }
  55%  { transform: translate(320px, 0); }
  100% { transform: translate(-40px, 0); }
}
@keyframes fadeDirt {
  0%, 5%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* --- Floating Badge/Accent (subtile Loop-Animation) --- */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-glow);
  display: flex; align-items: center; gap: .75rem;
  animation: floaty 4s ease-in-out infinite alternate;
  z-index: 2;
  font-weight: 600; color: var(--primary);
  font-size: .9rem;
}
.float-badge svg { width: 20px; height: 20px; color: var(--accent); }
.float-badge.top-right { top: 20px; right: -10px; }
.float-badge.bot-left  { bottom: 30px; left: -15px; animation-delay: -2s; }
@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

/* --- Progress-Bars in Stats-Bereich --- */
.stat-item {
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.stat-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.stat-progress {
  height: 3px; width: 100%; margin-top: 1rem;
  background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden;
}
.stat-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), #ffcc66);
  border-radius: 3px;
  transition: width 1.6s var(--ease);
}
.stats.visible .stat-progress-fill { width: var(--fill, 88%); }

/* --- Section Corner-Glow (subtiler Farbfleck) --- */
.corner-glow { position: relative; }
.corner-glow::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,72,128,.08), transparent 70%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .5; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.15); }
}

/* --- Magnetic Card Hover (3D-Tilt-Illusion) --- */
.service-card { transform-style: preserve-3d; will-change: transform; }
.service-card:hover { transform: translateY(-6px) perspective(1000px) rotateX(2deg); }

/* --- Section-Transitions --- */
.hero + section, section + .section-alt, .section-alt + section, section + .section-dark {
  position: relative;
}

/* --- Animierter Scroll-Indicator im Hero --- */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: bounceHint 2.4s ease-in-out infinite;
  z-index: 2;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), transparent);
}
@keyframes bounceHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .7; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* =====================================================
   ERWEITERTE WOW-Elemente (Runde 2)
   ===================================================== */

/* --- Rotator: Wörter wechseln im Hero-Titel --- */
.word-rotator {
  display: inline-flex; height: 1.15em; overflow: hidden; vertical-align: bottom;
  position: relative;
  color: var(--accent);
  min-width: 8ch;
}
.word-rotator span {
  display: block; height: 1.15em; line-height: 1.15em;
  animation: rotateWords 9s cubic-bezier(.6,0,.4,1) infinite;
  opacity: 0;
}
@keyframes rotateWords {
  0%, 22%   { transform: translateY(0);      opacity: 1; }
  27%, 30%  { transform: translateY(-100%);  opacity: 1; }
  100%      { transform: translateY(-100%);  opacity: 0; }
}
.word-rotator span:nth-child(1) { animation-delay: 0s; }
.word-rotator span:nth-child(2) { animation-delay: 3s; }
.word-rotator span:nth-child(3) { animation-delay: 6s; }

/* --- Skyline-Loop: Wolken ziehen im Hero --- */
.cloud-strip {
  position: absolute; top: 12%; left: 0; right: 0; height: 60px;
  pointer-events: none; z-index: 0; opacity: .5;
}
.cloud-strip .cloud {
  position: absolute; top: 0;
  height: 30px; width: 90px;
  background: radial-gradient(circle at 30% 60%, rgba(255,255,255,.4), rgba(255,255,255,0) 65%),
              radial-gradient(circle at 65% 40%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%);
  animation: cloudDrift linear infinite;
}
.cloud-strip .cloud:nth-child(1) { top: 0;  animation-duration: 55s; animation-delay: 0s; }
.cloud-strip .cloud:nth-child(2) { top: 40px; animation-duration: 75s; animation-delay: -20s; width: 140px; height: 40px; }
.cloud-strip .cloud:nth-child(3) { top: 15px; animation-duration: 90s; animation-delay: -50s; width: 60px; }
.cloud-strip .cloud:nth-child(4) { top: 55px; animation-duration: 60s; animation-delay: -35s; width: 110px; height: 35px; }
@keyframes cloudDrift {
  from { left: -20%; }
  to   { left: 120%; }
}

/* --- Testimonial-Rotator (Auto-Slider) --- */
.testi-rotator {
  position: relative;
  max-width: 780px; margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  min-height: 240px;
}
.testi-slide {
  position: absolute; inset: 3rem 2rem;
  opacity: 0; transform: translateY(10px);
  animation: testiCycle 18s ease-in-out infinite;
  text-align: center;
}
.testi-slide:nth-child(1) { animation-delay: 0s; }
.testi-slide:nth-child(2) { animation-delay: 6s; }
.testi-slide:nth-child(3) { animation-delay: 12s; }
@keyframes testiCycle {
  0%, 2%    { opacity: 0; transform: translateY(10px); }
  6%, 28%   { opacity: 1; transform: translateY(0); }
  32%, 100% { opacity: 0; transform: translateY(-10px); }
}
.testi-slide .quote-mark { font-size: 3rem; color: var(--primary-soft); line-height: 1; }
.testi-slide p { font-size: 1.15rem; color: var(--text); font-style: italic; margin: .5rem 0 1.25rem; }
.testi-slide .author { color: var(--primary); font-weight: 600; }
.testi-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.testi-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-bg);
  animation: dotCycle 18s ease-in-out infinite;
}
.testi-dots span:nth-child(1) { animation-delay: 0s; }
.testi-dots span:nth-child(2) { animation-delay: 6s; }
.testi-dots span:nth-child(3) { animation-delay: 12s; }
@keyframes dotCycle {
  0%, 2%, 32%, 100% { background: var(--primary-bg); transform: scale(1); }
  6%, 28%           { background: var(--primary); transform: scale(1.3); }
}

/* --- Schneefall im Winterdienst-Card --- */
.service-card[data-anim="snow"] { position: relative; overflow: hidden; }
.service-card[data-anim="snow"]::before {
  content: "❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄";
  position: absolute; top: -20px; left: 0; right: 0;
  color: var(--primary-soft); opacity: .35;
  font-size: 12px; letter-spacing: 24px;
  animation: snowFall 8s linear infinite;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
@keyframes snowFall {
  0%   { transform: translateY(-20px); opacity: 0; }
  10%  { opacity: .35; }
  100% { transform: translateY(320px); opacity: 0; }
}
.service-card[data-anim] > * { position: relative; z-index: 1; }

/* --- Bubble-Puls für Grundreinigungs-Card --- */
.service-card[data-anim="bubbles"] .service-icon { position: relative; }
.service-card[data-anim="bubbles"] .service-icon::after {
  content: ""; position: absolute; top: -8px; right: -8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(127,164,196,.6));
  animation: bubbleUp 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(127,164,196,.4);
}
@keyframes bubbleUp {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-30px) scale(1.2); opacity: 0; }
}

/* --- Puls-Loop für Sonderreinigungs-Stern --- */
.service-card[data-anim="pulse"] .service-icon svg {
  animation: pulseIcon 2.4s ease-in-out infinite;
}
@keyframes pulseIcon {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.12) rotate(6deg); }
}

/* --- Fabrik-Rauch für Industrie --- */
.service-card[data-anim="smoke"] .service-icon { position: relative; }
.service-card[data-anim="smoke"] .service-icon::after {
  content: ""; position: absolute; top: -14px; left: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(127,164,196,.5);
  animation: smokeRise 3s ease-in-out infinite;
}
@keyframes smokeRise {
  0%   { transform: translateY(0) scale(.5); opacity: 0; }
  30%  { opacity: .7; }
  100% { transform: translateY(-24px) scale(1.6); opacity: 0; }
}

/* --- Timeline auf Über-uns --- */
.timeline {
  position: relative;
  max-width: 800px; margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary-bg), var(--primary), var(--primary-mid), var(--primary-bg));
  transform: translateX(-50%);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.timeline.visible .timeline-item { opacity: 1; transform: translateY(0); }
.timeline.visible .timeline-item:nth-child(2) { transition-delay: .15s; }
.timeline.visible .timeline-item:nth-child(3) { transition-delay: .3s; }
.timeline.visible .timeline-item:nth-child(4) { transition-delay: .45s; }
.timeline.visible .timeline-item:nth-child(5) { transition-delay: .6s; }
.timeline-item:nth-child(odd) { margin-left: auto; text-align: left; }
.timeline-item:nth-child(even) { text-align: right; }
.timeline-item::before {
  content: ""; position: absolute; top: 2rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-accent);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-bg), 0 0 20px rgba(0,72,128,.3);
  animation: pulseNode 2.5s ease-in-out infinite;
}
.timeline-item:nth-child(odd)::before { left: -9px; }
.timeline-item:nth-child(even)::before { right: -9px; }
.timeline-item:nth-child(2)::before { animation-delay: .5s; }
.timeline-item:nth-child(3)::before { animation-delay: 1s; }
.timeline-item:nth-child(4)::before { animation-delay: 1.5s; }
@keyframes pulseNode {
  0%, 100% { box-shadow: 0 0 0 3px var(--primary-bg), 0 0 20px rgba(0,72,128,.3); }
  50%      { box-shadow: 0 0 0 3px var(--primary-bg), 0 0 30px rgba(247,166,0,.6); }
}
.timeline-year {
  display: inline-block;
  background: var(--grad-accent); color: var(--white);
  padding: .3rem .875rem;
  border-radius: 20px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: .5rem;
}
.timeline-item h4 { color: var(--primary); margin-bottom: .5rem; }
@media (max-width: 720px) {
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 3rem; padding-right: 0; text-align: left; margin-left: 0; }
  .timeline-item:nth-child(even) { text-align: left; }
  .timeline-item::before, .timeline-item:nth-child(even)::before { left: 11px; right: auto; }
}

/* --- Referenz-Karten mit klar lesbarem Overlay (kein 3D-Flip mehr) --- */
.ref-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.ref-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ref-flip { position: relative; min-height: auto; transform: none; }
.ref-face { position: static; transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; border: 0; box-shadow: none; background: transparent; }

/* Dunkler Overlay statt Flip – deutlich besser lesbar */
.ref-back {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,31,56,.96) 0%, rgba(0,72,128,.92) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
  border-radius: var(--radius-lg);
  z-index: 2;
}
.ref-card:hover .ref-back {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ref-back h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: .875rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  font-weight: 700;
}
.ref-back p {
  color: rgba(255,255,255,.95);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
  max-width: 320px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.ref-back .btn {
  background: var(--accent);
  color: var(--primary-dark);
  border: 0;
  font-weight: 700;
}
.ref-back .btn:hover {
  background: #ffcc66;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(247,166,0,.35);
}

/* --- Pulsierender Location-Pin für Kontakt --- */
.pulse-pin {
  position: relative; display: inline-block;
  width: 40px; height: 40px;
}
.pulse-pin::before, .pulse-pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--primary);
}
.pulse-pin::before { animation: pinPulse 2s ease-out infinite; opacity: .35; }
.pulse-pin > svg { position: relative; width: 100%; height: 100%; color: var(--accent); z-index: 1; }
@keyframes pinPulse {
  0%   { transform: scale(.5); opacity: .5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* --- Live-Öffnungszeit Badge --- */
.open-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .875rem;
  background: rgba(76,175,80,.15);
  color: #4caf50;
  border: 1px solid rgba(76,175,80,.35);
  border-radius: 20px;
  font-size: .85rem; font-weight: 600;
}
.open-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4caf50;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,.6); opacity: 1; }
  70%      { box-shadow: 0 0 0 8px rgba(76,175,80,0); opacity: .6; }
}

/* --- Prozess-Verbindungslinie (animiert) --- */
.process { position: relative; }
.process::before {
  content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--primary-bg), var(--primary) 30%, var(--primary) 70%, var(--primary-bg));
  z-index: 0;
  background-size: 200% 100%;
  animation: lineFlow 4s linear infinite;
}
@keyframes lineFlow {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}
@media (max-width: 720px) { .process::before { display: none; } }
.step { position: relative; z-index: 1; background: transparent; }

/* --- Animierte Zahlen-Kreise auf Leistungen --- */
.mini-scene {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.mini-scene svg { width: 70%; height: 70%; overflow: visible; }
.mini-scene .float-1 { animation: floatY 3.5s ease-in-out infinite; }
.mini-scene .float-2 { animation: floatY 4s ease-in-out infinite -1s; }
.mini-scene .float-3 { animation: floatY 4.5s ease-in-out infinite -2s; }
.mini-scene .spin    { animation: spinSlow 12s linear infinite; transform-origin: center; }
.mini-scene .swipe-x { animation: swipeX 4s ease-in-out infinite; }
.mini-scene .drop    { animation: dropFall 2.2s ease-in infinite; }
.mini-scene .flake   { animation: flakeFall 6s linear infinite; }
@keyframes floatY   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes swipeX   { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(30px); } }
@keyframes dropFall { 0% { transform: translateY(-20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
@keyframes flakeFall{ 0% { transform: translateY(-30px) rotate(0deg); opacity: 0; } 20% { opacity: .8; } 100% { transform: translateY(200px) rotate(360deg); opacity: 0; } }

/* --- Confetti/Partikel-Regen im CTA-Bereich (dezent) --- */
.particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.particles span {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(247,166,0,.6);
  animation: floatParticle linear infinite;
}
.particles span:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: -2s; background: rgba(255,255,255,.4); }
.particles span:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: -5s; }
.particles span:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: -1s; background: rgba(255,255,255,.4); width: 4px; height: 4px; }
.particles span:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: -7s; }
.particles span:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: -3s; background: rgba(255,255,255,.4); }
.particles span:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: -6s; width: 5px; height: 5px; }
@keyframes floatParticle {
  0%   { bottom: -10px; transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { bottom: 110%; transform: translateX(30px); opacity: 0; }
}

/* --- Reveal-Text: Buchstabenweise erscheinen --- */
.text-reveal { display: inline-block; overflow: hidden; }
.text-reveal .char {
  display: inline-block;
  opacity: 0; transform: translateY(30px);
  animation: charReveal .6s var(--ease) both;
}
@keyframes charReveal { to { opacity: 1; transform: translateY(0); } }

/* --- Contact-Icon-Boxen mit Ripple --- */
.contact-info-card li svg {
  transition: transform .3s var(--ease);
}
.contact-info-card li:hover svg { transform: rotate(-10deg) scale(1.15); }

/* =====================================================
   Ruster-Chatbot "Max" – im Header integriert (sticky)
   ===================================================== */
.mascot-wrap {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  margin-left: 1rem;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mascot-wrap.show { opacity: 1; transform: translateY(0); }

/* Startseiten-Header: Max ist deutlich größer, Bubble sichtbar */
.mascot-bubble {
  position: absolute;
  top: 100%; right: 0; margin-top: 12px;
  background: var(--white);
  color: var(--text);
  padding: .85rem 1rem;
  border-radius: 14px 14px 4px 14px;
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  max-width: 260px;
  border: 1px solid var(--border);
  transform: scale(.6) translateY(-10px);
  opacity: 0;
  transform-origin: top right;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.mascot-wrap.show .mascot-bubble { transform: scale(1) translateY(0); opacity: 1; transition-delay: 1s; pointer-events: auto; }
.site-header.scrolled .mascot-bubble { display: none; }
.mascot-bubble strong { color: var(--primary); }
.mascot-bubble p { margin: 0; color: var(--text); line-height: 1.4; }
.mascot-bubble .bubble-close {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s;
}
.mascot-bubble .bubble-close:hover { transform: scale(1.1); }
.mascot-bubble::before {
  content: ""; position: absolute; top: -8px; right: 22px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid var(--white);
  filter: drop-shadow(0 -1px 0 var(--border));
}

/* Der Charakter selbst */
.mascot {
  width: 130px; height: 130px;
  position: relative;
  cursor: pointer;
  animation: mascotBob 3.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,72,128,.22));
  transition: width .3s var(--ease), height .3s var(--ease), transform .3s var(--ease);
  flex-shrink: 0;
}
.mascot:hover { transform: translateY(-3px) scale(1.04); }
.mascot svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Beim Scrollen: schrumpft mit dem Header */
.site-header.scrolled .mascot { width: 70px; height: 70px; }

/* Sanftes Schweben */
@keyframes mascotBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Winken (Arm) */
.mascot .wave-arm {
  transform-origin: 66px 72px;
  animation: waveArm 3s ease-in-out infinite;
}
@keyframes waveArm {
  0%, 60%, 100% { transform: rotate(0deg); }
  70%           { transform: rotate(-22deg); }
  80%           { transform: rotate(12deg); }
  90%           { transform: rotate(-12deg); }
}

/* Blinken */
.mascot .eye-lid {
  transform-origin: center top;
  animation: blink 5.5s ease-in-out infinite;
  transform: scaleY(0);
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(0); }
  94%           { transform: scaleY(1); }
  96%           { transform: scaleY(0); }
}

/* Leichtes Kopfnicken (Sympathie) */
.mascot .head-group {
  transform-origin: 50% 70%;
  animation: headSway 6s ease-in-out infinite;
}
@keyframes headSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

/* Notification-Dot */
.mascot .notif {
  position: absolute; top: 6px; right: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  animation: notifPulse 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247,166,0,.7); }
  70%      { box-shadow: 0 0 0 10px rgba(247,166,0,0); }
}
.mascot-wrap.hide-notif .notif { display: none; }

@media (max-width: 960px) {
  .mascot-wrap { margin-left: auto; margin-right: 8px; }
  .mascot { width: 84px; height: 84px; }
  .site-header.scrolled .mascot { width: 58px; height: 58px; }
  .mascot-bubble { max-width: 200px; font-size: .82rem; }
}
@media (max-width: 480px) {
  .mascot { width: 66px; height: 66px; }
  .mascot-bubble { display: none; }
}

/* =====================================================
   Max-Chatbot: Chat-Fenster
   ===================================================== */
.chat-window {
  position: fixed;
  top: 180px; right: 24px;
  width: 380px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 220px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px rgba(0,72,128,.25), 0 8px 20px rgba(0,72,128,.15);
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 155;
  opacity: 0; transform: translateY(-20px) scale(.9);
  transform-origin: top right;
  transition: opacity .35s var(--ease), transform .35s var(--ease), top .3s var(--ease);
  pointer-events: none;
  border: 1px solid var(--border);
}
.chat-window.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
/* Nach Scroll (Header ist kompakt) rutscht Chat höher */
body.header-scrolled .chat-window { top: 108px; }
@media (max-width: 640px) {
  .chat-window { top: 148px; }
  body.header-scrolled .chat-window { top: 92px; }
}

.chat-header {
  background: var(--grad-primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.chat-header .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white);
  padding: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.chat-header .avatar svg { width: 100%; height: 100%; display: block; }
.chat-header .title { flex: 1; }
.chat-header strong { display: block; font-size: 1rem; }
.chat-header .status {
  font-size: .78rem; color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: .35rem;
}
.chat-header .status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4caf50;
  animation: livePulse 1.6s ease-in-out infinite;
}
.chat-header .close-chat {
  background: transparent; border: 0; color: var(--white);
  cursor: pointer; padding: 4px; border-radius: 50%;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.chat-header .close-chat:hover { background: rgba(255,255,255,.15); }
.chat-header .close-chat svg { width: 20px; height: 20px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  background: linear-gradient(180deg, var(--primary-bg-hint) 0%, var(--white) 100%);
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--primary-bg); border-radius: 3px; }

.chat-msg {
  max-width: 82%;
  padding: .7rem .95rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.45;
  animation: msgIn .3s var(--ease);
  word-wrap: break-word;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,72,128,.05);
}
.chat-msg.user {
  background: var(--grad-accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-msg a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.chat-msg.user a { color: var(--white); }
.chat-msg strong { color: var(--primary); }
.chat-msg.user strong { color: var(--white); }

.chat-typing {
  align-self: flex-start;
  background: var(--white); border: 1px solid var(--border);
  padding: .8rem 1rem; border-radius: 14px 14px 14px 4px;
  display: inline-flex; gap: 4px;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-soft);
  animation: typeBounce 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typeBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

.chat-quick {
  padding: 0 1.25rem .5rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-top: .6rem;
}
.chat-quick button {
  background: var(--primary-bg-soft);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: .4rem .8rem;
  border-radius: 20px;
  font-size: .8rem; font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.chat-quick button:hover {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.chat-input {
  display: flex; gap: .5rem;
  padding: .75rem 1rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  padding: .6rem .875rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: .9rem; font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.chat-input input:focus { border-color: var(--primary); }
.chat-input button {
  width: 40px; height: 40px;
  background: var(--grad-accent);
  color: var(--white);
  border: 0; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease), box-shadow .2s;
  flex-shrink: 0;
}
.chat-input button:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,72,128,.3);
}
.chat-input button svg { width: 18px; height: 18px; }

/* Mini-Formular innerhalb der Chat-Bubbles */
.chat-miniform {
  display: flex; flex-direction: column; gap: .5rem;
  margin-top: .5rem;
}
.chat-miniform input, .chat-miniform select, .chat-miniform textarea {
  padding: .5rem .7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  font-family: inherit;
}
.chat-miniform textarea { resize: vertical; min-height: 60px; }
.chat-miniform button {
  background: var(--primary);
  color: var(--white);
  border: 0; padding: .55rem;
  border-radius: 8px;
  font-weight: 600; font-size: .85rem;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.chat-miniform button:hover { background: var(--primary-dark); }

@media (max-width: 480px) {
  .chat-window {
    right: 16px; left: 16px; width: auto;
    bottom: 108px; height: calc(100vh - 160px);
  }
}

/* =====================================================
   Video-Cards ("Impressions") – animierte Clip-Loops
   ===================================================== */
.video-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-bg-hint) 100%);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.video-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .video-hero { grid-template-columns: 1fr; } }

.video-clip {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #001f38;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transform: translateZ(0);
}
.video-clip.large { aspect-ratio: 16/9; }
.video-clip::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Der eigentliche animierte Inhalt */
.video-scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Play-Button-Overlay in der Mitte */
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), background .3s var(--ease);
  animation: playPulse 2.4s ease-in-out infinite;
}
.video-clip:hover .video-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
}
.video-play svg { width: 24px; height: 24px; color: var(--primary); margin-left: 3px; }
.video-clip:hover .video-play svg { color: var(--white); }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(255,255,255,.4); }
  70%      { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 20px rgba(255,255,255,0); }
}

/* Time-Badge oben rechts */
.video-time {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: .3rem .625rem;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 600;
  z-index: 4;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.video-time::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff3b30; margin-right: 6px;
  vertical-align: 1px;
  animation: livePulse 1.6s ease-in-out infinite;
}

/* Untere Info-Leiste (Titel + Kategorie) */
.video-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem;
  color: var(--white);
  z-index: 4;
}
.video-info h4 { color: var(--white); font-size: 1.1rem; margin-bottom: .25rem; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.video-info small { color: rgba(255,255,255,.85); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }

/* Progress-Bar am unteren Rand */
.video-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.2);
  z-index: 5;
}
.video-progress::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  animation: videoProgress 20s linear infinite;
}
@keyframes videoProgress {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* Wiederkehrender Vignette-Look */
.video-clip .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,.35) 100%);
  z-index: 2; pointer-events: none;
}

/* ---------- Video-Szenen (animierte SVG-Inhalte) ---------- */

/* Szene 1: Fenster wird gereinigt (Schwenk) */
.scene-window {
  background:
    linear-gradient(180deg, #7fa4c4 0%, #39719c 60%, #003564 100%);
}
.scene-window .sun {
  position: absolute; top: 15%; right: 15%;
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, #fff5c8 0%, rgba(255,204,102,.4) 60%, transparent 100%);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.scene-window .buildings {
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background:
    linear-gradient(90deg, #1a3d5c 0%, #123c66 100%);
  clip-path: polygon(0 100%, 0 40%, 5% 40%, 5% 20%, 12% 20%, 12% 45%, 18% 45%, 18% 25%, 28% 25%, 28% 15%, 38% 15%, 38% 35%, 45% 35%, 45% 55%, 58% 55%, 58% 30%, 68% 30%, 68% 10%, 78% 10%, 78% 40%, 88% 40%, 88% 30%, 100% 30%, 100% 100%);
}
.scene-window .window-frame {
  position: absolute; inset: 20% 15%;
  border: 8px solid #001f38;
  background: linear-gradient(180deg, rgba(127,164,196,.4) 0%, rgba(57,113,156,.3) 100%);
  border-radius: 4px;
}
.scene-window .window-frame::before,
.scene-window .window-frame::after {
  content: ""; position: absolute; background: #001f38;
}
.scene-window .window-frame::before { top: 50%; left: 0; right: 0; height: 4px; transform: translateY(-50%); }
.scene-window .window-frame::after { top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); }
.scene-window .squeegee {
  position: absolute; top: 20%; bottom: 20%;
  left: 15%;
  width: 8px;
  background: linear-gradient(180deg, #003564 0%, #f7a600 20%, #f7a600 80%, #003564 100%);
  border-radius: 4px;
  animation: squeegeeSwipe 6s ease-in-out infinite;
  z-index: 2;
  box-shadow: -4px 0 8px rgba(0,0,0,.2);
}
@keyframes squeegeeSwipe {
  0%   { left: 15%; }
  45%  { left: 82%; }
  50%  { left: 82%; }
  95%  { left: 15%; }
  100% { left: 15%; }
}
.scene-window .drop {
  position: absolute;
  width: 4px; height: 6px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: rgba(255,255,255,.7);
  z-index: 2;
}
.scene-window .drop.d1 { top: 30%; left: 20%; animation: dropSlide 3s ease-in infinite; }
.scene-window .drop.d2 { top: 40%; left: 70%; animation: dropSlide 4s ease-in infinite .5s; }
.scene-window .drop.d3 { top: 50%; left: 45%; animation: dropSlide 3.5s ease-in infinite 1.2s; }
@keyframes dropSlide {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* Szene 2: Team-Illustration mit Bewegung */
.scene-team {
  background: linear-gradient(180deg, #eef3f7 0%, #d9e4ec 100%);
}
.scene-team .figure {
  position: absolute; bottom: 12%;
  width: 50px; height: 90px;
}
.scene-team .figure .head { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #f5c7a1; }
.scene-team .figure .body { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30px; height: 42px; background: #004880; border-radius: 6px 6px 4px 4px; }
.scene-team .figure .legs { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 26px; background: #003564; }
.scene-team .f1 { left: 20%; animation: teamBob 2s ease-in-out infinite; }
.scene-team .f2 { left: 42%; animation: teamBob 2s ease-in-out infinite .3s; }
.scene-team .f3 { left: 64%; animation: teamBob 2s ease-in-out infinite .6s; }
@keyframes teamBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.scene-team .badge {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(247,166,0,.4);
  animation: badgeSpin 8s linear infinite;
}
@keyframes badgeSpin { to { transform: translateX(-50%) rotate(360deg); } }
.scene-team .ground {
  position: absolute; bottom: 0; left: 0; right: 0; height: 12%;
  background: #c4d3e0;
}

/* Szene 3: Boden-Wischen mit Roboter-Look (Ansicht) */
.scene-floor {
  background: linear-gradient(180deg, #d9e4ec 0%, #7fa4c4 100%);
  perspective: 400px;
}
.scene-floor .tiles {
  position: absolute; inset: 30% 0 0;
  background:
    linear-gradient(#001f38 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, #001f38 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, #7fa4c4 0%, #4a7ea6 100%);
  transform: rotateX(55deg);
  transform-origin: top;
  animation: tilesScroll 4s linear infinite;
}
@keyframes tilesScroll { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 40px, 40px 0, 0 0; } }
.scene-floor .mop {
  position: absolute; top: 35%; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 90px; background: #f7a600;
  z-index: 2;
  animation: mopWiggle 1.2s ease-in-out infinite alternate;
}
.scene-floor .mop::after {
  content: ""; position: absolute; bottom: -14px; left: -30px;
  width: 68px; height: 22px;
  background: #fff;
  border-radius: 4px 4px 50% 50%;
  box-shadow: inset 0 -6px 0 rgba(0,72,128,.3);
}
@keyframes mopWiggle {
  from { transform: translateX(-50%) rotate(-6deg); }
  to   { transform: translateX(-50%) rotate(6deg); }
}
.scene-floor .shine {
  position: absolute; inset: 60% 20% 20%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.6) 0%, transparent 70%);
  animation: shineFade 3s ease-in-out infinite;
}
@keyframes shineFade { 0%, 100% { opacity: .3; } 50% { opacity: .8; } }

/* Szene 4: Winter / Schneefall */
.scene-winter {
  background: linear-gradient(180deg, #6a95bd 0%, #d9e4ec 100%);
  overflow: hidden;
}
.scene-winter .snow {
  position: absolute; top: -10%; left: 0; right: 0; height: 120%;
  background-image:
    radial-gradient(circle, #fff 2px, transparent 2px),
    radial-gradient(circle, #fff 1.5px, transparent 1.5px),
    radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 60px 60px;
  background-position: 0 0, 30px 40px, 15px 20px;
  animation: snowFallScene 8s linear infinite;
}
@keyframes snowFallScene {
  from { background-position: 0 -80px, 30px -80px, 15px -60px; }
  to   { background-position: 0 80px, 30px 120px, 15px 60px; }
}
.scene-winter .ground-snow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, transparent 0%, #fff 40%);
}
.scene-winter .truck {
  position: absolute; bottom: 15%; left: 10%;
  width: 100px; height: 55px;
  animation: truckDrive 6s ease-in-out infinite;
}
.scene-winter .truck::before {
  content: ""; position: absolute; inset: 0 0 20% 0;
  background: #f7a600; border-radius: 4px 12px 0 0;
  box-shadow: 0 -2px 0 #003564 inset;
}
.scene-winter .truck::after {
  content: ""; position: absolute; bottom: 0; left: 15%; right: 15%; height: 20%;
  background: #001f38;
  border-radius: 0 0 8px 8px;
}
@keyframes truckDrive {
  0%   { left: -20%; }
  50%  { left: 65%; }
  100% { left: -20%; }
}

/* Szene 5: Reinigungs-Cycle (Icons wechseln) */
.scene-cycle {
  background: linear-gradient(135deg, #003564 0%, #004880 100%);
  display: flex; align-items: center; justify-content: center;
}
.scene-cycle .cycle-icon {
  position: absolute;
  width: 90px; height: 90px;
  color: var(--white);
  opacity: 0;
  transform: scale(.6);
  animation: cycleFade 8s ease-in-out infinite;
}
.scene-cycle .cycle-icon svg { width: 100%; height: 100%; }
.scene-cycle .cycle-icon:nth-child(1) { animation-delay: 0s; }
.scene-cycle .cycle-icon:nth-child(2) { animation-delay: 2s; }
.scene-cycle .cycle-icon:nth-child(3) { animation-delay: 4s; }
.scene-cycle .cycle-icon:nth-child(4) { animation-delay: 6s; }
@keyframes cycleFade {
  0%, 22%  { opacity: 0; transform: scale(.6) rotate(-10deg); }
  6%, 20%  { opacity: 1; transform: scale(1) rotate(0deg); }
  100%     { opacity: 0; transform: scale(1.2) rotate(10deg); }
}
.scene-cycle .ring {
  position: absolute; inset: 15%;
  border: 3px dashed rgba(255,255,255,.15);
  border-radius: 50%;
  animation: spinSlow 20s linear infinite;
}

/* =====================================================
   Reels-Modus: Info-Bubbles über Video-Clips
   ===================================================== */
.reel { aspect-ratio: 9/16; max-width: 320px; margin: 0 auto; }
.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.reel-grid .video-clip { aspect-ratio: 9/16; }

/* Info-Overlays: erscheinen zeitversetzt */
.reel-info {
  position: absolute;
  left: 12px; right: 12px;
  padding: .75rem .9rem;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 5;
  opacity: 0; transform: translateY(10px);
  animation: reelInfoCycle 25s ease-in-out infinite;
  border-left: 4px solid var(--primary);
}
.reel-info strong { color: var(--primary); display: block; margin-bottom: 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.reel-info.tip { border-left-color: var(--accent); }
.reel-info.tip strong { color: var(--accent); }
.reel-info.warn { border-left-color: #d94141; }
.reel-info.warn strong { color: #d94141; }

/* jeweils 4 Slots: 0-6s, 6-12s, 12-18s, 18-25s (mit sanftem Übergang) */
.reel-info.s1 { top: 60px;  animation-delay: 0s; }
.reel-info.s2 { top: 60px;  animation-delay: 6s; }
.reel-info.s3 { top: 60px;  animation-delay: 12s; }
.reel-info.s4 { top: 60px;  animation-delay: 18s; }
@keyframes reelInfoCycle {
  0%, 1%   { opacity: 0; transform: translateY(10px) scale(.95); }
  3%, 22%  { opacity: 1; transform: translateY(0) scale(1); }
  25%, 100%{ opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; }
}

/* Reel-Chapter-Badge unten */
.reel-chapter {
  position: absolute; bottom: 60px; left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: .3rem .7rem;
  border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  z-index: 5;
  animation: chapterFade 25s ease-in-out infinite;
}
.reel-chapter.c1 { animation-delay: 0s; }
.reel-chapter.c2 { animation-delay: 6s; }
.reel-chapter.c3 { animation-delay: 12s; }
.reel-chapter.c4 { animation-delay: 18s; }
@keyframes chapterFade {
  0%, 1%, 25%, 100% { opacity: 0; }
  3%, 22%           { opacity: 1; }
}

/* Progress-Bar auf 25s Loop einstellen */
.reel .video-progress::after { animation-duration: 25s; }

/* Neue "PRO-Tip"-Farbcode-Legende (statisch links unten) */
.color-legend {
  position: absolute; bottom: 65px; right: 12px;
  background: rgba(0,31,56,.85);
  backdrop-filter: blur(6px);
  padding: .5rem .7rem;
  border-radius: 8px;
  color: var(--white);
  font-size: .68rem;
  z-index: 5;
  display: none;
}
.color-legend.active {
  display: block;
  animation: reelInfoCycle 25s ease-in-out infinite;
  animation-delay: 12s;
}
.color-legend div { display: flex; align-items: center; gap: 5px; margin: 2px 0; }
.color-legend .swatch { width: 10px; height: 10px; border-radius: 2px; }

/* Szene: Linoleum-Boden mit Beschichtungslinien */
.scene-lino {
  background: linear-gradient(180deg, #cbb494 0%, #a08867 50%, #7d6a4f 100%);
  overflow: hidden;
}
.scene-lino .lino-tile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 60px 100%,
    linear-gradient(180deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 100% 60px;
}
.scene-lino .polisher {
  position: absolute; top: 45%; left: 20%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #f7a600 0%, #d78900 100%);
  border: 6px solid #001f38;
  box-shadow: 0 6px 12px rgba(0,0,0,.4);
  animation: polisherMove 6s ease-in-out infinite;
  z-index: 2;
}
.scene-lino .polisher::before {
  content: ""; position: absolute; inset: 15px;
  border-radius: 50%; border: 3px dashed rgba(255,255,255,.4);
  animation: spinSlow 1.2s linear infinite;
}
@keyframes polisherMove {
  0%   { left: 15%; top: 30%; }
  25%  { left: 60%; top: 35%; }
  50%  { left: 65%; top: 55%; }
  75%  { left: 20%; top: 58%; }
  100% { left: 15%; top: 30%; }
}
.scene-lino .gloss {
  position: absolute; inset: 20% 15%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.5) 0%, transparent 60%);
  animation: shineFade 3s ease-in-out infinite;
}

/* Szene: Sanitärreinigung mit Wischtechnik */
.scene-sanitary {
  background: linear-gradient(180deg, #d9e4ec 0%, #a8bfd0 100%);
  overflow: hidden;
}
.scene-sanitary .basin {
  position: absolute; bottom: 20%; left: 20%; right: 20%; height: 30%;
  background: linear-gradient(180deg, #fff 0%, #d9e4ec 100%);
  border-radius: 50% 50% 8% 8% / 30% 30% 5% 5%;
  border: 4px solid #7fa4c4;
  box-shadow: inset 0 -6px 12px rgba(0,72,128,.2);
}
.scene-sanitary .tap {
  position: absolute; top: 22%; left: 50%; transform: translateX(-50%);
  width: 12px; height: 40px;
  background: #c0c8cf;
  border-radius: 4px 4px 0 0;
}
.scene-sanitary .tap::after {
  content: ""; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 30px;
  background: linear-gradient(180deg, rgba(127,164,196,.9), rgba(127,164,196,.2));
  animation: waterFlow 1.5s ease-in-out infinite;
}
@keyframes waterFlow {
  0%, 100% { opacity: .3; height: 20px; }
  50%      { opacity: .9; height: 40px; }
}
.scene-sanitary .cloth {
  position: absolute; width: 40px; height: 40px; border-radius: 6px;
  animation: clothWipe 4s ease-in-out infinite;
  z-index: 3;
}
.scene-sanitary .cloth.blue { background: #007ac2; top: 35%; left: 35%; }
@keyframes clothWipe {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(30px, 5px) rotate(15deg); }
  50%  { transform: translate(-20px, 15px) rotate(-10deg); }
  75%  { transform: translate(10px, -10px) rotate(20deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.scene-sanitary .bubble {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(127,164,196,.5));
  animation: bubbleFloat 3s ease-in-out infinite;
}
.scene-sanitary .bubble.b1 { top: 60%; left: 25%; animation-delay: 0s; }
.scene-sanitary .bubble.b2 { top: 55%; left: 65%; animation-delay: -1s; }
.scene-sanitary .bubble.b3 { top: 65%; left: 45%; animation-delay: -2s; }
@keyframes bubbleFloat {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-40px); opacity: 0; }
}

/* Szene: Chemie/Dosierung Labor-Look */
.scene-chem {
  background: linear-gradient(180deg, #001f38 0%, #003564 100%);
  overflow: hidden;
}
.scene-chem .bottle {
  position: absolute; bottom: 15%; left: 25%;
  width: 70px; height: 130px;
}
.scene-chem .bottle::before {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 85%;
  background: linear-gradient(180deg, #f7a600 0%, #d78900 100%);
  border-radius: 6px 6px 12px 12px;
}
.scene-chem .bottle::after {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 20%;
  background: #001f38;
  border-radius: 4px 4px 0 0;
}
.scene-chem .measure {
  position: absolute; bottom: 15%; right: 20%;
  width: 55px; height: 130px;
  background: linear-gradient(180deg, transparent 20%, rgba(127,164,196,.4) 20%, rgba(127,164,196,.6) 100%);
  border: 3px solid #7fa4c4;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  animation: fillMeasure 4s ease-in-out infinite;
}
@keyframes fillMeasure {
  0%   { background: linear-gradient(180deg, transparent 90%, rgba(247,166,0,.4) 90%, rgba(247,166,0,.7) 100%); }
  50%  { background: linear-gradient(180deg, transparent 30%, rgba(247,166,0,.4) 30%, rgba(247,166,0,.7) 100%); }
  100% { background: linear-gradient(180deg, transparent 90%, rgba(247,166,0,.4) 90%, rgba(247,166,0,.7) 100%); }
}
.scene-chem .drop-drip {
  position: absolute;
  top: 30%; left: 46%;
  width: 4px; height: 8px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: #f7a600;
  animation: dripDown 1.5s ease-in infinite;
}
@keyframes dripDown {
  0%   { top: 30%; opacity: 1; }
  100% { top: 65%; opacity: 0; }
}
.scene-chem .ph-strip {
  position: absolute; top: 15%; right: 12%;
  width: 24px; height: 100px;
  background: linear-gradient(180deg, #d94141, #f7a600, #f7d600, #4caf50, #007ac2, #6b3fa0);
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0,0,0,.3);
}
.scene-chem .ph-arrow {
  position: absolute; top: 15%; right: 40px;
  color: var(--white); font-size: 14px; font-weight: 700;
  animation: phArrow 8s ease-in-out infinite;
}
@keyframes phArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(40px); }
}

/* Szene: Fensterreinigung mit Squeegee (Studio-Look) */
.scene-window-pro {
  background: linear-gradient(180deg, #7fa4c4 0%, #4a7ea6 100%);
  overflow: hidden;
}
.scene-window-pro .pane {
  position: absolute; inset: 12%;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(127,164,196,.4) 100%);
  border: 10px solid #001f38;
  border-radius: 4px;
  overflow: hidden;
}
.scene-window-pro .dirt-layer {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(120,90,60,.4) 3px, transparent 3px);
  background-size: 22px 22px;
  animation: dirtRemove 6s ease-in-out infinite;
}
@keyframes dirtRemove {
  0%, 10%  { opacity: .8; }
  70%, 100%{ opacity: 0; }
}
.scene-window-pro .squeegee-pro {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%; height: 12px;
  background: linear-gradient(90deg, #f7a600, #f7a600);
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,.4);
  animation: squeegeePro 6s ease-in-out infinite;
}
@keyframes squeegeePro {
  0%   { top: 0; }
  50%  { top: calc(100% - 12px); }
  100% { top: 0; }
}
.scene-window-pro .droplet {
  position: absolute;
  width: 5px; height: 8px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: rgba(127,164,196,.8);
  animation: dropletRun 3s ease-in infinite;
}
.scene-window-pro .droplet.dp1 { top: 20%; left: 30%; animation-delay: 0s; }
.scene-window-pro .droplet.dp2 { top: 25%; left: 55%; animation-delay: -1s; }
.scene-window-pro .droplet.dp3 { top: 15%; left: 75%; animation-delay: -2s; }
@keyframes dropletRun {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* =====================================================
   News-Seite – Blog-artige Kacheln + FAQ
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.news-card.featured {
  grid-column: span 2;
  flex-direction: row;
}
.news-card.featured .news-visual { flex: 0 0 45%; }
.news-card.featured .news-body { flex: 1; padding: 2.25rem; }
@media (max-width: 720px) {
  .news-card.featured { flex-direction: column; grid-column: span 1; }
  .news-card.featured .news-visual { flex: 1 1 auto; }
  .news-card.featured .news-body { padding: 1.5rem; }
}
.news-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  display: flex; align-items: center; justify-content: center;
}
.news-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15), transparent 60%);
}
.news-visual svg { width: 40%; height: 40%; color: rgba(255,255,255,.85); position: relative; z-index: 1; transition: transform .5s var(--ease); }
.news-card:hover .news-visual svg { transform: scale(1.12) rotate(-4deg); }
.news-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  padding: .3rem .75rem;
  border-radius: 4px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}
.news-tag.hot { background: var(--accent); color: var(--primary-dark); }
.news-tag.info { background: #007ac2; color: var(--white); }
.news-tag.tip { background: #4caf50; color: var(--white); }
.news-body {
  padding: 1.5rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.news-meta {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  display: flex; gap: 1rem;
  align-items: center;
}
.news-meta svg { width: 14px; height: 14px; }
.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: .625rem;
  color: var(--primary);
  line-height: 1.35;
}
.news-card.featured h3 { font-size: 1.65rem; }
.news-card p {
  font-size: .93rem;
  flex: 1;
  line-height: 1.55;
}
.news-read {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--primary);
  font-weight: 600; font-size: .88rem;
  margin-top: 1rem;
  cursor: pointer;
  align-self: flex-start;
}
.news-read:hover { color: var(--accent); }
.news-read .arrow { transition: transform .2s; }
.news-read:hover .arrow { transform: translateX(4px); }

/* Featured-Big Visual: mehr Layers */
.news-visual .float-a, .news-visual .float-b, .news-visual .float-c {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.15);
  animation: floatY 4s ease-in-out infinite;
}
.news-visual .float-a { width: 40px; height: 40px; top: 20%; left: 15%; }
.news-visual .float-b { width: 60px; height: 60px; bottom: 20%; right: 20%; animation-delay: -1.5s; }
.news-visual .float-c { width: 25px; height: 25px; top: 60%; left: 60%; animation-delay: -3s; }

/* Kategorie-Filter-Bar */
.news-filter {
  display: flex; gap: .5rem; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.news-filter button {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem 1.1rem;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s var(--ease);
}
.news-filter button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.news-filter button.active {
  background: var(--grad-accent);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,72,128,.2);
}
.news-card.hidden { display: none; }

/* Newsletter-Box (dezente CTA) */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(127,164,196,.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(247,166,0,.15), transparent 50%);
}
.newsletter-box > * { position: relative; z-index: 1; }
.newsletter-box h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .5rem; }
.newsletter-box p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: .75rem 1rem;
  border: 0; border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
}
.newsletter-form button {
  background: var(--accent);
  color: var(--primary-dark);
  border: 0;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s;
}
.newsletter-form button:hover { transform: translateY(-2px); }

/* FAQ-Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: .75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-item:hover { border-color: var(--primary-soft); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--primary); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 400;
  transition: transform .3s var(--ease), background .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--grad-accent);
  color: var(--white);
  transform: rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: .95rem;
  animation: faqReveal .35s var(--ease);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Zugänglichkeit: Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
