/* ==========================================================================
   MIELEWSKI Alten- & Pflegeheim – Design System
   Autor: Held Werbung · Stand 2026
   ========================================================================== */

/* ---------- Fonts (lokal eingebettet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-italic-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --blue: #00378a;
  --blue-deep: #00265f;
  --blue-soft: #e8edf9;
  --ink: #22283b;
  --ink-60: rgba(34, 40, 59, 0.68);
  --cream: #faf6ee;
  --sand: #f1e9d8;
  --white: #ffffff;
  --amber: #e0a53a;
  --amber-soft: #f7e8c8;
  --sage: #6f8c4f;
  --sage-deep: #476130;
  --sage-soft: #eef2e2;
  --leaf-branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cpath d='M30 200 C70 150 110 100 195 28' fill='none' stroke='%236f8c4f' stroke-width='3.5' stroke-linecap='round'/%3E%3Cg fill='%236f8c4f'%3E%3Cellipse cx='60' cy='163' rx='24' ry='9' transform='rotate(-58 60 163)'/%3E%3Cellipse cx='94' cy='150' rx='24' ry='9' transform='rotate(-12 94 150)'/%3E%3Cellipse cx='95' cy='120' rx='24' ry='9' transform='rotate(-64 95 120)'/%3E%3Cellipse cx='132' cy='104' rx='23' ry='8.5' transform='rotate(-16 132 104)'/%3E%3Cellipse cx='133' cy='75' rx='23' ry='8.5' transform='rotate(-68 133 75)'/%3E%3Cellipse cx='168' cy='58' rx='21' ry='8' transform='rotate(-20 168 58)'/%3E%3Cellipse cx='170' cy='33' rx='19' ry='7.5' transform='rotate(-70 170 33)'/%3E%3C/g%3E%3C/svg%3E");

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.6rem, 6.2vw, 5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.55rem);
  --fs-lead: clamp(1.08rem, 1.5vw, 1.3rem);

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px -22px rgba(23, 43, 97, 0.25);
  --shadow-card: 0 14px 40px -18px rgba(23, 43, 97, 0.22);
  --wrap: min(1200px, calc(100% - 3rem));
  --header-h: 84px;
}

/* ---------- Barrierefreiheit: Textgrößen-Stufen ---------- */
html { font-size: 100%; scroll-behavior: smooth; }
html[data-fontsize="2"] { font-size: 112.5%; }
html[data-fontsize="3"] { font-size: 127%; }

/* ---------- Barrierefreiheit: Kontrastmodus ---------- */
html[data-contrast="high"] {
  --cream: #ffffff;
  --sand: #f2f2f2;
  --ink: #000000;
  --ink-60: rgba(0, 0, 0, 0.85);
  --blue: #172c66;
  --amber: #8a5d00;
  --sage: #4c5a24;
}
html[data-contrast="high"] img { filter: contrast(1.08); }

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; }

.wrap { width: var(--wrap); margin-inline: auto; }

section { position: relative; }

.section-pad { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 570; line-height: 1.08; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; margin-bottom: 1.4rem; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

.italic-accent { font-style: italic; font-weight: 450; color: var(--blue); }

.lead { font-size: var(--fs-lead); color: var(--ink-60); max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
  will-change: transform;
}
.btn .btn-arrow { transition: transform 0.28s ease; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(0, 55, 138, 0.55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px rgba(0, 55, 138, 0.6); background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(34, 40, 59, 0.22); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.35); }

/* ==========================================================================
   INTRO / LOGO-ANIMATION
   ========================================================================== */
#intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none; /* wird per JS aktiviert – ohne JS bleibt die Seite frei */
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
#intro.is-active { display: flex; }
.intro-logo { width: min(480px, 78vw); }
.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid rgba(34, 40, 59, 0.25);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-60);
  transition: border-color 0.2s, color 0.2s;
}
.intro-skip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Scroll-Fortschritt ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--sage), var(--amber));
  z-index: 1500;
  pointer-events: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
}
#header.is-scrolled {
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(23, 43, 97, 0.25);
}
#header.is-hidden { transform: translateY(-110%); }

.header-inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; transition: opacity 0.3s ease; }
body.menu-open .brand { opacity: 0; pointer-events: none; }
body.menu-open .header-cta { opacity: 0; pointer-events: none; }
.brand img { height: 46px; width: auto; max-width: none; }

/* Bei großer Textstufe darf die Navigation umbrechen, das Logo bleibt stabil */
#header { min-height: var(--header-h); height: auto; }
.nav-desktop { flex-wrap: wrap; justify-content: center; }

.nav-desktop { display: flex; align-items: center; gap: 1.9rem; }
.nav-desktop a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

.header-cta { white-space: nowrap; padding: 0.7rem 1.3rem; font-size: 0.92rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  border: none;
  border-radius: 14px;
  align-items: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile Menü ---------- */
#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--blue-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  clip-path: circle(0% at calc(100% - 3.2rem) 2.6rem);
  visibility: hidden;
  transition: clip-path 0.65s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0.65s;
}
#mobileMenu.is-open {
  clip-path: circle(150% at calc(100% - 3.2rem) 2.6rem);
  visibility: visible;
  transition: clip-path 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}
#mobileMenu a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  padding: 0.45rem 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#mobileMenu.is-open a { opacity: 1; transform: none; }
#mobileMenu a:nth-child(1) { transition-delay: 0.15s; }
#mobileMenu a:nth-child(2) { transition-delay: 0.2s; }
#mobileMenu a:nth-child(3) { transition-delay: 0.25s; }
#mobileMenu a:nth-child(4) { transition-delay: 0.3s; }
#mobileMenu a:nth-child(5) { transition-delay: 0.35s; }
#mobileMenu a:nth-child(6) { transition-delay: 0.4s; }
#mobileMenu a:nth-child(7) { transition-delay: 0.45s; }
#mobileMenu .menu-contact { margin-top: 2.5rem; color: rgba(255,255,255,0.7); font-size: 1rem; opacity: 0; transition: opacity 0.4s ease 0.5s; }
#mobileMenu.is-open .menu-contact { opacity: 1; }
#mobileMenu .menu-contact a { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.mv-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(226, 238, 211, 0.85) 0%, rgba(226, 238, 211, 0) 70%),
    radial-gradient(50% 45% at 8% 90%, rgba(241, 233, 216, 0.9) 0%, rgba(241, 233, 216, 0) 70%),
    var(--cream);
}
/* Blattranke als ruhiges Naturdetail hinter dem Hero-Text */
.mv-hero::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: var(--leaf-branch) no-repeat center / contain;
  opacity: 0.14;
  pointer-events: none;
}
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy .lead { margin: 1.6rem 0 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-title .word { display: inline-block; }

/* Bild-Komposition */
.hero-visual { position: relative; }
.hero-photo-main {
  position: relative;
  border-radius: 46% 46% 38% 38% / 52% 52% 30% 30%;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: var(--shadow-soft);
}
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hero-card .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--blue); line-height: 1; }
.hero-card .lbl { font-size: 0.85rem; font-weight: 600; color: var(--ink-60); line-height: 1.3; }
.hero-card-1 { top: 9%; left: -9%; }
.hero-card-2 { bottom: 7%; right: -6%; }

.hero-photo-small {
  position: absolute;
  bottom: -6%;
  left: -14%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-card);
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }

/* Rotierendes Badge – weiße Scheibe, kräftige Schrift im Vordergrund */
.badge-rotate {
  position: absolute;
  top: -8%;
  right: 0;
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
  z-index: 5;
  filter: drop-shadow(0 18px 34px rgba(0, 38, 95, 0.35));
}
.badge-rotate::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 55, 138, 0.12);
}
.badge-rotate svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
  z-index: 2;
}
.badge-rotate svg text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  fill: var(--blue-deep);
  text-transform: uppercase;
}
.badge-rotate .badge-core {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: var(--amber);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-60);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(34, 40, 59, 0.35);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--blue);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   WERTE-MARQUEE
   ========================================================================== */
.mv-marquee {
  background: linear-gradient(95deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: #fff;
  padding: 1.15rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 1rem 0;
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; gap: 3rem; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track .star { color: var(--amber); font-style: normal; }

/* ==========================================================================
   ÜBER UNS
   ========================================================================== */
.mv-about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-visual { position: relative; }
.about-photo-big { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3.4; }
.about-photo-big img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-overlap {
  position: absolute;
  bottom: -12%;
  right: -8%;
  width: 52%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3/2;
}
.about-photo-overlap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: -1.4rem;
  left: -1.4rem;
  background: var(--amber);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  text-align: center;
  box-shadow: 0 14px 30px -12px rgba(224, 165, 58, 0.65);
}
.about-badge .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; display: block; }
.about-badge .lbl { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.feature-list { list-style: none; margin: 1.8rem 0 2.4rem; display: grid; gap: 0.9rem; }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-weight: 500; }
.feature-list .tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: grid;
  place-items: center;
}

.counters { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; margin-top: 0.6rem; }
.counter .num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.1;
}
.counter .num sup { font-size: 0.55em; color: var(--amber); }
.counter .lbl { font-size: 0.9rem; font-weight: 600; color: var(--ink-60); }

/* ==========================================================================
   LEITSPRUCH / ZITAT
   ========================================================================== */
.mv-quote { background: var(--sage-soft); border-radius: var(--radius-lg); margin: 0 auto; width: var(--wrap); overflow: hidden; position: relative; }
.mv-quote::before,
.mv-quote::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  background: var(--leaf-branch) no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
}
.mv-quote::before { bottom: -26px; left: -20px; }
.mv-quote::after { top: -26px; right: -20px; transform: rotate(180deg); }
.mv-quote .quote-inner { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem); text-align: center; position: relative; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: 0.4; color: var(--amber); display: block; margin-bottom: 2rem; }
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-weight: 480;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  max-width: 22em;
  margin: 0 auto;
}
.quote-text .qword { display: inline-block; }
.quote-src { margin-top: 2rem; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); }

/* ==========================================================================
   LAGE / DROHNENFLUG
   ========================================================================== */
.mv-nature {
  background:
    radial-gradient(55% 60% at 92% 8%, rgba(226, 238, 211, 0.9) 0%, rgba(226, 238, 211, 0) 70%),
    var(--cream);
}
.nature-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.nature-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 80px -30px rgba(71, 97, 48, 0.5);
  aspect-ratio: 16 / 9;
  background: #1d2a14;
}
.nature-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nature-play {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}
.nature-play:hover { transform: scale(1.1); background: #fff; }
.nature-play .ic-pause { display: none; }
.nature-play[aria-pressed="true"] .ic-play { display: none; }
.nature-play[aria-pressed="true"] .ic-pause { display: block; }
.nature-tag {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(71, 97, 48, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   LEISTUNGEN
   ========================================================================== */
.mv-services { background: var(--cream); }
.services-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.7rem;
  box-shadow: 0 10px 34px -20px rgba(23, 43, 97, 0.18);
  border: 1px solid rgba(23, 43, 97, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s;
}
.service-card:nth-child(2) .service-icon { background: var(--amber-soft); color: #b07d1e; }
.service-card:nth-child(3) .service-icon { background: var(--sage-soft); color: var(--sage); }
.service-card:nth-child(4) .service-icon { background: #fdeaea; color: #c25b5b; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.12); }
.service-card ul { list-style: none; display: grid; gap: 0.45rem; color: var(--ink-60); font-size: 0.95rem; }
.service-card ul li { padding-left: 1.1rem; position: relative; }
.service-card ul li::before { content: "·"; position: absolute; left: 0; color: var(--amber); font-weight: 900; font-size: 1.3em; line-height: 1.1; }

/* ==========================================================================
   RUNDGANG / GALERIE (horizontales Scrollen)
   ========================================================================== */
.mv-gallery { background: var(--blue-deep); color: #fff; overflow: hidden; }
.mv-gallery .eyebrow { color: var(--amber); }
.mv-gallery .eyebrow::before { background: var(--amber); }
.mv-gallery h2 { color: #fff; }
.mv-gallery .italic-accent { color: var(--amber); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.gallery-head-right { display: flex; align-items: center; gap: 1.4rem; }
.gallery-hint { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.gallery-nav { display: flex; gap: 0.5rem; }
.gallery-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.gallery-arrow:hover { background: var(--amber); border-color: var(--amber); color: #05112b; transform: translateY(-2px); }

.gallery-track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  will-change: transform;
  padding-bottom: 1rem;
}
.gallery-item {
  flex: 0 0 auto;
  width: clamp(280px, 38vw, 520px);
}
.gallery-item figure { margin: 0; }
.gallery-item .ph {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.35, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.8rem; }
.gallery-item .gi-num { font-family: var(--font-display); font-style: italic; color: var(--amber); }
.gallery-item .gi-cap { font-weight: 600; color: rgba(255,255,255,0.9); }

.gallery-progress { height: 3px; background: rgba(255,255,255,0.18); border-radius: 3px; margin-top: 2.4rem; overflow: hidden; }
.gallery-progress .bar { height: 100%; width: 0%; background: var(--amber); border-radius: 3px; }

/* Mobile: natives Snap-Scrolling */
@media (max-width: 899px) {
  .gallery-scroller { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gallery-scroller::-webkit-scrollbar { display: none; }
  .gallery-item { scroll-snap-align: center; width: 78vw; }
}

/* Fallback ohne GSAP / bei reduzierter Bewegung: immer nativ scrollbar */
.gallery-fallback .gallery-scroller { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.gallery-fallback .gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-fallback .gallery-item { scroll-snap-align: center; }

/* ==========================================================================
   360°-RUNDGANG (interaktiver Viewer)
   ========================================================================== */
.mv-tour { background: var(--cream); color: var(--ink); overflow: hidden; }
.tour-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.tour-head .lead { max-width: 30em; }

.tour-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #05112b;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.7);
  cursor: grab;
  touch-action: none;
  isolation: isolate;
}
.tour-stage.is-dragging { cursor: grabbing; }
.tour-stage canvas { display: block; width: 100%; height: 100%; }
.tour-stage:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

/* Poster-Fallback (ohne JS/WebGL sichtbar) */
.tour-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tour-stage.is-live .tour-fallback { display: none; }

/* Verlauf oben/unten für Lesbarkeit der Overlays */
.tour-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 20, 55, 0.5) 0%, rgba(0, 20, 55, 0) 22%),
    linear-gradient(to top, rgba(0, 20, 55, 0.6) 0%, rgba(0, 20, 55, 0) 30%);
}

/* Raumname oben links */
.tour-label {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 38, 95, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  font-size: 0.98rem;
}
.tour-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(224, 165, 58, 0.25); }
.tour-label .tour-count { color: rgba(255, 255, 255, 0.6); font-weight: 600; font-size: 0.86rem; }

/* Zieh-Hinweis (Mitte, verschwindet nach Interaktion) */
.tour-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  justify-items: center;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.tour-stage.touched .tour-hint { opacity: 0; }
.tour-hint .ring {
  width: 66px; height: 66px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: grid; place-items: center;
  animation: tourpulse 2.4s ease-in-out infinite;
}
.tour-hint span { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
@keyframes tourpulse { 0%,100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }

/* Ladеindikator */
.tour-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #05112b;
  transition: opacity 0.5s ease;
}
.tour-loader.is-hidden { opacity: 0; visibility: hidden; }
.tour-loader .spin {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: var(--amber);
  animation: tourspin 0.9s linear infinite;
}
@keyframes tourspin { to { transform: rotate(360deg); } }

/* Steuerung unten rechts */
.tour-tools {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}
.tour-tool {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 38, 95, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.tour-tool:hover { background: var(--amber); border-color: var(--amber); color: #05112b; transform: translateY(-2px); }
.tour-tool[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #05112b; }

/* Pfeile vor/zurück */
.tour-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 38, 95, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.tour-nav:hover { background: var(--amber); color: #05112b; }
.tour-nav.prev { left: 1rem; }
.tour-nav.next { right: 1rem; }
.tour-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }
.tour-nav.next:hover { transform: translateY(-50%) translateX(3px); }

/* Raum-Auswahl (Thumbnails) */
.tour-rooms {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,55,138,0.3) transparent;
}
.tour-rooms::-webkit-scrollbar { height: 6px; }
.tour-rooms::-webkit-scrollbar-thumb { background: rgba(0,55,138,0.25); border-radius: 6px; }
.tour-room {
  flex: 0 0 auto;
  position: relative;
  width: 132px;
  border: none;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #05112b;
  outline-offset: 3px;
}
.tour-room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.62; transition: opacity 0.3s ease, transform 0.5s ease; }
.tour-room:hover img { opacity: 0.9; transform: scale(1.06); }
.tour-room .rname {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.5rem 0.6rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  color: #fff;
  background: linear-gradient(to top, rgba(0,17,43,0.92), rgba(0,17,43,0));
}
.tour-room::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease;
}
.tour-room[aria-current="true"] img { opacity: 1; }
.tour-room[aria-current="true"]::after { border-color: var(--amber); }

@media (max-width: 640px) {
  .tour-stage { aspect-ratio: 4 / 3; }
  .tour-nav { width: 42px; height: 42px; }
  .tour-room { width: 110px; }
}

/* ==========================================================================
   LEITBILD / WERTE
   ========================================================================== */
.mv-values { background: linear-gradient(180deg, var(--cream) 0%, #f3f6ea 60%, var(--cream) 100%); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.value-card {
  border-top: 1px solid rgba(34, 40, 59, 0.14);
  padding-top: 1.6rem;
  transition: transform 0.3s ease;
}
.value-card .v-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.8rem;
}
.value-card h3 { margin-bottom: 0.7rem; }
.value-card p { color: var(--ink-60); }

/* ==========================================================================
   KARRIERE-BAND
   ========================================================================== */
.mv-career { width: var(--wrap); margin-inline: auto; }
.career-inner {
  position: relative;
  background: linear-gradient(120deg, var(--sage) 0%, var(--sage-deep) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.career-inner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,165,58,0.35), transparent 70%);
}
.career-inner h2 { color: #fff; }
.career-inner p { color: rgba(255,255,255,0.82); max-width: 32em; }
.career-jobs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.career-jobs a {
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.career-jobs a:hover {
  background: #fff;
  color: var(--sage-deep);
  border-color: #fff;
  transform: translateY(-2px);
}
.career-cta { justify-self: end; text-align: right; display: grid; gap: 1rem; justify-items: end; }

/* ==========================================================================
   STELLENANGEBOTE (Unterseite)
   ========================================================================== */
.jobs-main { padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 8vw, 6rem); }
.jobs-intro { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.jobs-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--sage-deep);
  background: var(--sage-soft);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  display: inline-block;
  margin-top: 1.2rem;
}
.job-card {
  background: #fff;
  border: 1px solid rgba(0, 55, 138, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 1.6rem;
  box-shadow: 0 14px 40px -28px rgba(0, 38, 95, 0.35);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.job-head h2 { margin-bottom: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.job-tag {
  display: inline-block;
  background: var(--amber-soft);
  color: #8a5d13;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2.5rem; }
.job-cols h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 0.7rem;
}
.job-list { list-style: none; display: grid; gap: 0.5rem; color: var(--ink-60); }
.job-list li { padding-left: 1.4rem; position: relative; }
.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}
.job-list.amber li::before { background: var(--amber); }
.job-foot { margin-top: 1.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.jobs-apply {
  background: linear-gradient(120deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.jobs-apply h2 { color: #fff; margin-bottom: 0.6rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.jobs-apply p { color: rgba(255, 255, 255, 0.85); }
.jobs-apply a { color: #fff; font-weight: 700; }
.jobs-apply .btn-light { justify-self: end; }
@media (max-width: 760px) {
  .job-cols { grid-template-columns: 1fr; }
  .jobs-apply { grid-template-columns: 1fr; }
  .jobs-apply .btn-light { justify-self: start; }
}

/* ==========================================================================
   INFORMATIONEN / DOWNLOADS
   ========================================================================== */
.mv-info { background: var(--cream); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
  max-width: 900px;
}
.info-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 55, 138, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease, border-color 0.2s;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--sage);
}
.info-card .info-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.info-card:hover .info-icon { background: var(--sage); color: #fff; }
.info-card strong { display: block; line-height: 1.3; margin-bottom: 0.15rem; }
.info-card .small { font-size: 0.82rem; color: var(--ink-60); display: block; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.mv-contact { background: var(--sand); border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: clamp(4rem, 8vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 10px 30px -22px rgba(23, 43, 97, 0.3);
  transition: transform 0.3s ease;
}
.contact-card:hover { transform: translateX(6px); }
.contact-card .ci {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.contact-card strong { display: block; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 0.15rem; }
.contact-card a { font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.4rem; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 2px solid rgba(34, 40, 59, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 55, 138, 0.12);
}
.form-note { font-size: 0.82rem; color: var(--ink-60); margin-top: 0.9rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand-row { display: flex; align-items: center; gap: 1rem; }
.footer-mark { width: 54px; height: auto; flex: 0 0 auto; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.footer-brand small { display: block; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-top: 0.3rem; }
footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; display: grid; gap: 0.5rem; }
footer a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom .heart { color: #e07070; }

/* ==========================================================================
   BARRIEREFREIHEITS-TOOLBAR
   ========================================================================== */
#a11yBtn {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 1600;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(23, 43, 97, 0.55);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}
#a11yBtn:hover { transform: scale(1.1) rotate(-6deg); background: var(--blue-deep); }

#a11yPanel {
  position: fixed;
  bottom: 5.8rem;
  right: 1.4rem;
  z-index: 1600;
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px -20px rgba(23, 43, 97, 0.45);
  padding: 1.5rem;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transform-origin: 100% 100%;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.25s ease, visibility 0s linear 0.3s;
}
#a11yPanel.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
#a11yPanel h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 800; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.a11y-group { margin-bottom: 1.1rem; }
.a11y-group:last-child { margin-bottom: 0; }
.a11y-group > span { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 0.5rem; }
.a11y-row { display: flex; gap: 0.5rem; }
.a11y-opt {
  flex: 1;
  border: 2px solid rgba(34, 40, 59, 0.15);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.4rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.a11y-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.a11y-opt:hover:not([aria-pressed="true"]) { border-color: var(--blue); }
.fs-1 { font-size: 0.9rem; }
.fs-2 { font-size: 1.05rem; }
.fs-3 { font-size: 1.2rem; }
.a11y-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 2px solid rgba(34, 40, 59, 0.15);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.a11y-toggle .state { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink-60); }
.a11y-toggle[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.a11y-toggle[aria-pressed="true"] .state { color: var(--amber); }
.a11y-hint { font-size: 0.78rem; color: var(--ink-60); margin-top: 0.4rem; line-height: 1.45; }

/* Vorlese-Hervorhebung */
.tts-reading { outline: 4px solid var(--amber); outline-offset: 6px; border-radius: 8px; }
body.tts-active main section:hover { outline: 3px dashed rgba(224, 165, 58, 0.75); outline-offset: 4px; cursor: pointer; }

/* ---------- Lupe ---------- */
#magnifier {
  position: fixed;
  z-index: 1900;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  box-shadow: 0 20px 50px -14px rgba(23, 43, 97, 0.55), inset 0 0 0 2px #fff;
  overflow: hidden;
  pointer-events: none;
  display: none;
  background: var(--cream);
}
#magnifier.is-on { display: block; }
#magnifier iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  transform-origin: 0 0;
  pointer-events: none;
  background: var(--cream);
}

/* ==========================================================================
   RECHTSSEITEN (Impressum, Datenschutz, Haftungsausschluss)
   ========================================================================== */
.legal-main {
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal-prose { max-width: 70ch; }
.legal-prose h1 { margin-bottom: 2rem; }
.legal-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2.6rem 0 0.9rem; }
.legal-prose h3 { font-size: 1.1rem; margin: 1.8rem 0 0.5rem; }
.legal-prose p, .legal-prose ul { margin-bottom: 1rem; color: var(--ink-60); }
.legal-prose ul { padding-left: 1.3rem; }
.legal-prose strong { color: var(--ink); }
.legal-prose address { font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.7; margin-bottom: 1rem; }
.legal-updated { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); margin-top: 3rem; }
.legal-note {
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.3rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   VIDEO-LIGHTBOX
   ========================================================================== */
.video-cta .video-cta-len { font-weight: 500; color: var(--ink-60); }

#videoLightbox {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
#videoLightbox[hidden] { display: none; }
.vl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 43, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vl-inner {
  position: relative;
  width: min(1500px, 100%);
  animation: vlIn 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes vlIn { from { transform: translateY(26px) scale(0.97); opacity: 0; } }
.vl-inner video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  background: #05112b;
}
.vl-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: #05112b;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}
.vl-close:hover { transform: scale(1.12) rotate(90deg); background: #fff; }
@media (max-width: 640px) {
  .vl-close { top: -14px; right: 6px; }
}

/* ---------- Nach-oben-Button ---------- */
#toTop {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 1600;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(0, 55, 138, 0.2);
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(0, 38, 95, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), visibility 0s linear 0.3s, background 0.2s, color 0.2s;
}
#toTop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#toTop:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
@media (max-width: 640px) {
  #toTop { width: 46px; height: 46px; bottom: 1.2rem; left: 1rem; }
}

/* ---------- Custom Cursor ---------- */
#cursorDot {
  position: fixed;
  z-index: 2100;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}
#cursorRing {
  position: fixed;
  z-index: 2100;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 55, 138, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}
#cursorRing.is-hover { width: 58px; height: 58px; background: rgba(224, 165, 58, 0.16); border-color: var(--amber); }
@media (pointer: fine) {
  #cursorDot, #cursorRing { display: block; }
}
html[data-contrast="high"] #cursorDot, html[data-contrast="high"] #cursorRing { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card-1 { left: -2%; }
  .hero-card-2 { right: -2%; }
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .brand img { height: 38px; }

  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-photo-small { left: -4%; }
  .hero-card-1 { left: 0; }
  .hero-card-2 { right: 0; }
  .badge-rotate { width: 104px; height: 104px; top: -8%; right: -2%; }
  .scroll-cue { display: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 540px; margin-inline: auto; margin-bottom: 2.5rem; }
  .career-inner { grid-template-columns: 1fr; }
  .career-cta { justify-self: start; text-align: left; justify-items: start; }
  .values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  #a11yBtn { width: 54px; height: 54px; }
}

/* ==========================================================================
   REDUZIERTE BEWEGUNG
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  #cursorDot, #cursorRing { display: none !important; }
}
