/* ==========================================================================
   Die Werkstatt Ismaning – Design System
   ========================================================================== */

:root {
  /* Markenfarben – Dreiklang: Navy Blau + Grau (dominant) + Weiß nur als Akzent
     Grundflächen und Karten in Grautönen, weniger Weißdominanz. */
  --brand: #0d3568;
  --brand-dark: #082952;
  --brand-light: #1a4a85;
  --brand-soft: rgba(13, 53, 104, 0.08);
  --brand-line: rgba(13, 53, 104, 0.22);

  --bg: #d4dae2;            /* Grundseite: sichtbares Hellgrau statt Weißdominanz */
  --bg-elevated: #c4ccd6;   /* Wechselsektionen: mittleres Blaugrau */
  --bg-card: #e2e7ed;       /* Karten & Flächen: helles Grau statt Weiß */
  --bg-dark: #1b2635;       /* Akzent-Sektion: dunkles Schiefergrau */
  --line: rgba(13, 53, 104, 0.14);
  --line-strong: rgba(13, 53, 104, 0.24);
  --text: #0d3568;
  --text-body: #2c3e50;
  --text-dim: #4a5668;
  --accent: #0d3568;
  --accent-contrast: #ffffff;
  --accent-soft: rgba(13, 53, 104, 0.1);
  --accent-line: rgba(13, 53, 104, 0.35);
  --header-bg: rgba(212, 218, 226, 0.94);
  --nav-overlay: rgba(212, 218, 226, 0.98);
  --hero-photo-opacity: 0.58;
  --grain-opacity: 0;

  /* Echtes Werkstatt-Foto der Kundin als Hero-Hintergrund */
  --photo-hero: url("../assets/gallery/img_0215.jpg");

  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"] { list-style: none; }
::selection { background: var(--accent); color: var(--accent-contrast); }

/* Film-grain overlay for depth */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, -3%); }
  80% { transform: translate(4%, 2%); }
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Typography ---------- */
/* line-height 1.14: Umlaut-Punkte (Ä, Ö, Ü) brauchen bei Oswald Uppercase
   Luft nach oben, sonst kollidieren sie mit der Zeile darüber */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 em, h1 em, .footer-cta em { font-style: normal; color: var(--brand-light); }
h3 { font-size: 1.35rem; line-height: 1.25; }

.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.kicker::before { content: ""; width: 2.5rem; height: 1px; background: var(--accent-line); flex-shrink: 0; }

.section { padding-block: clamp(5rem, 11vw, 9rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-lead { margin-top: 1.5rem; color: var(--text-dim); font-size: 1.125rem; max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { transform: translateY(-3px); background: var(--brand-light); }
.btn-ghost { border: 2px solid var(--brand); color: var(--brand); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--brand-soft); color: var(--brand); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { font-size: 1.25rem; padding: 1.25rem 2.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: border-color 0.4s, transform 0.4s var(--ease);
  border-bottom: 1px solid var(--line);
}
/* Fester Grau-Hintergrund (Pseudo-Element statt backdrop-filter auf dem Header,
   damit das fixierte Mobile-Menü nicht eingesperrt wird) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  opacity: 1;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
/* Bei offenem Mobile-Menü Header nie verschieben (transform würde das
   fixierte Menü-Panel mitnehmen) */
.site-header:has(.main-nav.is-open) { transform: none; }
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; z-index: 110; flex-shrink: 0; }
.brand-logo {
  width: clamp(3.5rem, 8vw, 5rem);
  height: clamp(3.5rem, 8vw, 5rem);
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.03); }

@keyframes spin { to { transform: rotate(360deg); } }

.header-right { display: flex; align-items: center; gap: 1.1rem; }

.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.main-nav a:not(.nav-phone) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s;
}
.main-nav a:not(.nav-phone)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:not(.nav-phone):hover { color: var(--brand); }
.main-nav a:not(.nav-phone):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.3rem;
  border: 2px solid var(--brand);
  border-radius: 100px;
  color: var(--brand);
  transition: background 0.3s, color 0.3s;
}
.nav-phone svg { width: 1em; height: 1em; }
.nav-phone:hover { background: var(--brand); color: var(--accent-contrast); }

/* ---------- Sprachumschalter ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.2rem;
  background: var(--bg-card);
  position: relative;
  z-index: 110; /* über dem Mobile-Menü-Overlay, damit Sprachen immer erreichbar sind */
}
.lang-switch button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 100px;
  color: var(--text-dim);
  transition: background 0.3s, color 0.3s;
}
.lang-switch button:hover { color: var(--brand); }
.lang-switch button.is-active { background: var(--brand); color: #fff; }

.nav-toggle { display: none; z-index: 110; width: 2.6rem; height: 2.6rem; position: relative; }
.nav-toggle span {
  position: absolute;
  left: 20%; width: 60%; height: 2px;
  background: var(--brand);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:first-child { top: 42%; }
.nav-toggle span:last-child { top: 58%; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 50%; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: clamp(7rem, 14vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo {
  position: absolute;
  inset: 0;
  background: var(--photo-hero) center 65% / cover no-repeat;
  opacity: var(--hero-photo-opacity);
  filter: grayscale(0.72);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(212, 218, 226, 0.92) 42%, transparent 78%),
    linear-gradient(to top, var(--bg) 0%, transparent 42%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 32%);
  opacity: 0.88;
}
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(13, 53, 104, 0.12), transparent 65%);
  filter: blur(40px);
  animation: pulse 8s ease-in-out infinite alternate;
}
@keyframes pulse { from { opacity: 0.7; transform: scale(0.95); } to { opacity: 1; transform: scale(1.05); } }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
}
.hero-inner { width: 100%; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr min(380px, 38vw);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: clamp(14rem, 26vw, 22rem);
  height: clamp(14rem, 26vw, 22rem);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(13, 53, 104, 0.18));
}
.hero-title {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  font-weight: 700;
  margin: 0.5rem 0 2rem;
}
.hero-title .line { display: block; overflow: hidden; }
.reveal-line {
  display: inline-block;
  transform: translateY(115%);
  animation: riseUp 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) .reveal-line { animation-delay: 0.15s; }
@keyframes riseUp { to { transform: translateY(0); } }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-dim); max-width: 34rem; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-badges { display: flex; gap: 0.75rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1rem, 2.5vw, 1.75rem); }
.hero-badges li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-badges li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.hero-scroll {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  right: clamp(1.5rem, 5vw, 4rem);
}
.hero-scroll-badge { position: relative; display: grid; place-items: center; width: 7.5rem; height: 7.5rem; }
.hero-scroll-badge > svg:first-child { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero-scroll-badge text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--text-dim);
}
.hero-scroll-arrow { width: 1.4rem; height: 1.4rem; color: var(--brand); }
.hero-scroll:hover .hero-scroll-arrow { animation: bounce 1s infinite; }
@keyframes bounce { 50% { transform: translateY(5px); } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--bg-elevated);
}
.marquee-viewport {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-viewport { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  padding-right: 2.5rem;
}
.marquee-group span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  color: var(--text-dim);
}
.marquee-group i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.trust-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background 0.4s;
}
.trust-item:hover { background: var(--bg-elevated); }
.trust-item:hover .trust-num { color: var(--accent); }
.trust-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2.5rem;
  transition: color 0.3s;
}
.trust-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.trust-item p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- About ---------- */
.about { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-visual { position: relative; }
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.4rem);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.about-card:hover { transform: translateY(-6px) rotate(-0.5deg); border-color: var(--accent-line); }
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}
.about-card-meta { margin-top: 1.25rem; padding: 0 0.5rem 0.4rem; color: var(--text-dim); }
.about-stamp {
  position: absolute;
  top: -1.1rem; right: -0.5rem;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  transform: rotate(3deg);
  font-weight: 500;
}
.about-content h2 { margin-bottom: 1.75rem; }
.about-content > p { color: var(--text-dim); margin-bottom: 1.25rem; }
.about-content > p strong { color: var(--text); }
.about-quote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}
.about-quote p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; margin-bottom: 1rem; }
.about-quote footer { display: flex; flex-direction: column; gap: 0.15rem; }
.about-quote footer span { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Sprachen (DE/EN/RU/UK) ---------- */
.languages { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.lang-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.lang-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.lang-card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.lang-greet {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.lang-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.lang-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.service-card:hover::before { opacity: 1; }
.service-num { position: absolute; top: 1.5rem; right: 1.75rem; color: var(--text-dim); opacity: 0.6; }
.service-icon { width: 2.5rem; height: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--text-dim); font-size: 0.95rem; }

.specials {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.special-card {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.4s, background 0.4s;
}
.special-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.special-tag { display: inline-block; color: var(--accent); margin-bottom: 1rem; }
.special-card h3 { margin-bottom: 0.7rem; }
.special-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Deep Dive ---------- */
.deepdive { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.deepdive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .deepdive-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .deep-panel:nth-child(-n+2) { grid-column: span 3; }
  .deep-panel:nth-child(n+3) { grid-column: span 2; }
}
.deep-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  transition: border-color 0.4s;
}
.deep-panel:hover { border-color: var(--accent-line); }
.deep-photo {
  width: calc(100% + 2 * clamp(1.75rem, 3.5vw, 2.75rem));
  max-width: none;
  height: auto;
  margin: calc(-1 * clamp(1.75rem, 3.5vw, 2.75rem)) calc(-1 * clamp(1.75rem, 3.5vw, 2.75rem)) 1.75rem;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: filter 0.4s;
}
.deep-panel:hover .deep-photo { filter: saturate(1.15); }
.deep-label { color: var(--accent); }
.deep-panel header h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.75rem 0 0.5rem;
  hyphens: auto; /* lange Wörter wie "Unfallinstandsetzung" umbrechen statt überlaufen */
  overflow-wrap: break-word;
}
.deep-panel header p { color: var(--text-dim); margin-bottom: 1.75rem; }
.deep-panel ul { display: flex; flex-direction: column; }
.deep-panel ul li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.85rem;
  font-size: 0.98rem;
}
.deep-panel ul li::before { content: "→"; color: var(--accent); flex-shrink: 0; }
.deep-more { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.deep-more summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.deep-more summary::-webkit-details-marker { display: none; }
.deep-more summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; transition: transform 0.3s var(--ease); }
.deep-more[open] summary::after { transform: rotate(45deg); }
.deep-more p { margin-top: 1rem; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Stats (dunkle Akzent-Sektion in Schiefergrau) ---------- */
.stats {
  text-align: left;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
}
.stats .kicker { color: #9db6d9; }
.stats .kicker::before { background: rgba(157, 182, 217, 0.5); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 3rem;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  color: #ffffff;
}
.stat p { color: rgba(255, 255, 255, 0.65); max-width: 22rem; }

/* ---------- Galerie ---------- */
.gallery-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.gallery-filter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--text-dim);
  background: var(--bg-card);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.gallery-filter:hover { border-color: var(--brand); color: var(--brand); }
.gallery-filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery-grid {
  columns: 3;
  column-gap: 1.1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: block;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1); /* S/W-Standard – Farbe bei Hover bzw. Scroll-Fokus */
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
@media (hover: hover) {
  .gallery-item:hover img { filter: grayscale(0); }
}
@media (hover: none) {
  /* Touch-Geräte: Farbe, wenn das Bild in der Bildschirmmitte steht (js/gallery.js) */
  .gallery-item.in-color img { filter: grayscale(0); }
}
.gallery-item.is-hidden { display: none; }
.gallery-actions { text-align: center; margin-top: 2rem; }
.gallery-actions .btn[hidden] { display: none; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-elevated); border-block: 1px solid var(--line); overflow: hidden; }
.reviews-nav { display: flex; gap: 0.75rem; }
.reviews-btn {
  width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s, color 0.3s, opacity 0.3s;
}
.reviews-btn svg { width: 1.25rem; height: 1.25rem; }
.reviews-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.reviews-btn:disabled { opacity: 0.3; cursor: default; }
.reviews-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.reviews-tags li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--text-dim);
}
.reviews-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(420px, 82vw);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.4s, transform 0.45s var(--ease);
}
.review-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.review-stars { color: var(--brand); letter-spacing: 0.2em; font-size: 1.05rem; }
.review-card blockquote { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.55; flex: 1; }
.review-card figcaption { color: var(--text-dim); font-size: 0.92rem; }
.review-card figcaption::before { content: "— "; }
.reviews-more { margin-top: 2.5rem; color: var(--text-dim); }
.reviews-more a { color: var(--accent); font-weight: 500; }
.reviews-more a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: 7rem; }
.faq-intro h2 { margin-bottom: 1.25rem; }
.faq-intro p { color: var(--text-dim); margin-bottom: 1.75rem; max-width: 24rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.4s;
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 1.1rem; height: 1.1rem; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-answer { padding: 0 1.75rem 1.6rem; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-photo {
  margin: 0 0 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(0.8rem, 1.6vw, 1.1rem);
}
.contact-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 28%;
  border-radius: calc(var(--radius) - 8px);
}
.contact-photo figcaption {
  margin-top: 0.9rem;
  padding-inline: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  transition: transform 0.4s var(--ease);
}
.contact-phone:hover { transform: translateY(-4px) rotate(-0.5deg); }
.contact-phone .mono { opacity: 0.75; }
.contact-phone strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1; }
.contact-facts { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-facts dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.contact-facts dd { color: var(--text-dim); }
.contact-facts dd a:hover { color: var(--accent); }
.hours-row { display: flex; justify-content: space-between; gap: 2rem; max-width: 20rem; padding-block: 0.15rem; }
.hours-row span:first-child { color: var(--text); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) contrast(1.05); }
.map-consent {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  transition: background 0.3s;
}
.map-consent:hover { background: var(--bg-elevated); }
.map-consent svg { width: 2.25rem; height: 2.25rem; color: var(--accent); }
.map-consent strong { color: var(--text); font-family: var(--font-display); }
.map-consent small { font-size: 0.8rem; line-height: 1.5; display: inline-block; max-width: 26rem; }
.map-consent small a { text-decoration: underline; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.hidden-field { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-field input, .form-field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  color: var(--text);
  font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(163, 162, 158, 0.5); }
.form-consent { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.85rem; color: var(--text-dim); cursor: pointer; }
.form-consent input { margin-top: 0.25rem; accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.form-consent a { text-decoration: underline; }
.form-consent a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(4rem, 8vw, 7rem);
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  overflow: visible;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}
.footer-cta h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); color: #fff; }
.footer-cta h2 em { color: rgba(255, 255, 255, 0.75); }
.site-footer .btn-primary { background: #fff; color: var(--brand-dark); }
.site-footer .btn-primary:hover { background: rgba(255, 255, 255, 0.92); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 5vw, 4.5rem);
  position: relative;
  z-index: 2;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo-wrap {
  margin-top: -4.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 3;
  line-height: 0;
}
.footer-logo {
  width: 9.5rem;
  height: 9.5rem;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8%;
  border-radius: var(--radius);
  background: var(--bg-card); /* transparentes Logo braucht auf dunklem Footer Kontrast */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.footer-brand p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; margin-top: 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-grid nav h3 { font-size: 0.75rem; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.55); margin-bottom: 0.5rem; }
.footer-grid nav a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; transition: color 0.3s, transform 0.3s var(--ease); }
.footer-grid nav a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}
.to-top { color: rgba(255, 255, 255, 0.55); transition: color 0.3s; }
.to-top:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: clamp(9rem, 16vw, 12rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal-page .container { max-width: 52rem; }
.legal-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 2.5rem; letter-spacing: -0.02em; }
.legal-page h1 em { font-style: normal; color: var(--accent); }
.legal-page h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.legal-page h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--text-dim); margin-bottom: 0.9rem; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }
.legal-page strong { color: var(--text); }
.legal-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.legal-block p:last-child { margin-bottom: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim) !important;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--brand) !important; text-decoration: none !important; }

/* ---------- Danke page ---------- */
.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--gutter) 4rem;
}
.thanks-page h1 { font-size: clamp(2.75rem, 7vw, 5rem); margin-bottom: 1.5rem; }
.thanks-page h1 em { font-style: normal; color: var(--accent); }
.thanks-page p { color: var(--text-dim); max-width: 30rem; margin: 0 auto 2.5rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--stagger, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .specials { grid-template-columns: repeat(2, 1fr); }
  .lang-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
}

/* Hamburger-Menü: schmale Viewports UND flache Viewports (Smartphone quer),
   sonst ragen Sprachumschalter & Navigation aus dem sichtbaren Bereich */
@media (max-width: 860px), (max-height: 540px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--nav-overlay);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 105;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a:not(.nav-phone) { font-size: 1.6rem; font-family: var(--font-display); font-weight: 600; color: var(--text); }
  .nav-toggle { display: block; }
}

/* Flaches Landscape: kompaktere Menüpunkte, damit alles auf den Schirm passt */
@media (max-height: 540px) {
  .main-nav { gap: 1rem; }
  .main-nav a:not(.nav-phone) { font-size: 1.2rem; }
}

@media (max-width: 860px) {
  .about-grid, .deepdive-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-scroll { display: none; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-logo-wrap { order: -1; margin-inline: auto; }
  .hero-logo { width: clamp(11rem, 52vw, 16rem); height: clamp(11rem, 52vw, 16rem); }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
  /* Bei zentriertem Layout bricht der lange Sprachen-Badge um; ohne text-align:left
     rutscht der Text vom vorangestellten Häkchen weg */
  .hero-badges li { text-align: left; }
  .kicker { justify-content: center; }
}

@media (max-width: 640px) {
  .trust-grid, .services-grid, .specials, .lang-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { align-items: center; text-align: center; width: 100%; }
  .footer-logo-wrap { margin-top: -3.5rem; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .gallery-grid { columns: 1; }
  .lang-switch button { padding: 0.3rem 0.45rem; font-size: 0.68rem; }
}

@media (max-width: 860px) and (min-width: 641px) {
  .gallery-grid { columns: 2; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-line { opacity: 1; transform: none; }
  body::after { animation: none; }
}
