/* ==========================================================================
   Smartphone Reparatur Brenner — Stylesheet
   Design: modernes, helles Layout mit kräftigen Blautönen aus dem Logo
   ========================================================================== */

/* -------------------- Lokale Schriften (optional) --------------------
   Standardmäßig werden Systemschriften verwendet, damit die Seite ohne
   externe Verbindungen (z. B. Google Fonts CDN) auskommt — siehe
   Datenschutzerklärung. Wer die Original-Typografie (Space Grotesk /
   Inter / JetBrains Mono) nutzen möchte, kann die .woff2-Dateien unter
   /assets/fonts/ ablegen (Anleitung siehe README.md) — die Regeln unten
   greifen dann automatisch, ansonsten fällt der Browser sauber auf die
   Fallback-Schriften zurück.
------------------------------------------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* -------------------- Design Tokens -------------------- */
:root {
  /* Farben — helles, modernes Layout mit Blau aus dem Firmenlogo */
  --color-bg: #f4f7fb;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-line: rgba(0, 60, 140, 0.10);
  --color-line-strong: rgba(0, 60, 140, 0.20);

  --color-blue-deep: #005ece;
  --color-blue-bright: #2488ff;
  --color-blue-glow: rgba(36, 136, 255, 0.22);
  --color-blue-tint: rgba(36, 136, 255, 0.08);

  --color-text: #111623;
  --color-text-muted: #4d5768;
  --color-text-faint: #8992a3;

  --color-success: #1a9c56;
  --color-success-tint: rgba(26, 156, 86, 0.10);
  --color-error: #d8303f;
  --color-error-tint: rgba(216, 48, 63, 0.10);

  /* Typografie */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Abstände */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 1rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1180px;
  --header-height: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(17, 22, 35, 0.06);
  --shadow-md: 0 12px 28px -12px rgba(17, 22, 35, 0.14);
  --shadow-lg: 0 24px 48px -18px rgba(17, 22, 35, 0.18);
  --review-box-height: 400px;
}

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

/* Sichtbarer Fokus-Zustand für Tastaturnutzung (Barrierefreiheit) */
:focus-visible {
  outline: 2px solid var(--color-blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-blue-bright);
  color: #ffffff;
  padding: 0.75em 1.25em;
  z-index: 200;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

/* -------------------- Layout Helpers -------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-6);
  position: relative;
}

.section-head {
  margin-bottom: var(--space-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-blue-glow);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: var(--space-2);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* Feiner Trenner zwischen Sektionen */
.circuit-divider {
  height: 40px;
  width: 100%;
  background-image:
    linear-gradient(90deg, transparent 0%, var(--color-line-strong) 20%, var(--color-line-strong) 80%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: center;
  position: relative;
}

.circuit-divider::before,
.circuit-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue-bright);
  box-shadow: 0 0 10px var(--color-blue-glow);
  transform: translateY(-50%);
}

.circuit-divider::before { left: 20%; }
.circuit-divider::after { right: 20%; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue-bright), var(--color-blue-deep));
  color: #ffffff;
  box-shadow: 0 10px 24px -10px var(--color-blue-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px var(--color-blue-glow);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--color-line-strong);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-blue-bright);
  background: var(--color-blue-tint);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2fe07a, #1fa855);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.hero-copy,
.hero-media,
.about-visual,
.about-content,
.contact-info,
.contact-form,
.service-card,
.gallery-item {
  min-width: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  min-width: 0;
  flex: 1 1 auto;
}

.brand img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  min-width: 0;
  line-height: 1.25;
}

.brand-name .brand-full {
  display: block;
  font-size: clamp(0.7rem, 3.6vw, 1.02rem);
  white-space: normal;
  overflow-wrap: break-word;
}

.brand-name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav ul {
  display: flex;
  gap: var(--space-3);
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-blue-bright);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--color-blue-deep);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Nur im aufgeklappten Mobile-Menü sichtbar (Telefon-Link, CTA-Button) */
.nav-only-mobile {
  display: none;
}

.nav-only-mobile a.btn {
  display: flex;
}

.nav-only-mobile .phone-link {
  display: flex;
  padding-block: 0.4em;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  padding: 0.5em 0.6em;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* -------------------- Hero -------------------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 2.5rem;
  position: relative;
  background:
    linear-gradient(to bottom, transparent 82%, var(--color-bg) 100%),
    radial-gradient(ellipse 55% 45% at 85% 15%, var(--color-blue-tint), transparent 60%),
    radial-gradient(ellipse 45% 35% at 5% 95%, rgba(0, 94, 206, 0.06), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 0%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-bottom: var(--space-3);
}

.hero-copy h1 .accent {
  background: linear-gradient(135deg, var(--color-blue-bright), var(--color-blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.hero-info-rows {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.hero-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
}

.hero-info-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-tint);
  color: var(--color-blue-deep);
}

.hero-info-icon svg {
  width: 17px;
  height: 17px;
}

.hero-info-item strong {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  font-weight: 500;
  margin-bottom: 0.15em;
}

.hero-info-item span {
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 500;
}

.hero-info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-line-strong);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-info-note svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 0.15em;
  color: var(--color-blue-bright);
}

/* Hero-Bildkachel */
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
  background: linear-gradient(160deg, #eaf1fb, #dbe7fa);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 88%;
  transition: transform 0.4s var(--ease);
}

.hero-media:hover img {
  transform: scale(1.06);
}

.hero-media .media-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  text-align: center;
  padding: var(--space-3);
  color: var(--color-text-faint);
}

.hero-media .media-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--color-blue-bright);
  opacity: 0.7;
}

.hero-media .media-placeholder small {
  max-width: 26ch;
  font-size: 0.78rem;
}

.hero-media-badge {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 0.7em 1em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  box-shadow: var(--shadow-md);
}

.hero-media-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

.hero-media-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text);
}

.hero-media-badge span {
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

/* -------------------- Leistungen -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-tint);
  color: var(--color-blue-deep);
  margin-bottom: var(--space-2);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}

.device-tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  padding: 0.3em 0.7em;
  background: var(--color-bg);
}

.services-note {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.services-note svg {
  flex-shrink: 0;
}

.services-note strong {
  color: var(--color-text);
}

/* -------------------- Bildergalerie (Werkstatt-Einblicke) -------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: linear-gradient(160deg, #eaf1fb, #dbe7fa);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .media-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  text-align: center;
  padding: var(--space-2);
  color: var(--color-text-faint);
}

.gallery-item .media-placeholder svg {
  width: 30px;
  height: 30px;
  color: var(--color-blue-bright);
  opacity: 0.7;
}

.gallery-item .media-placeholder small {
  font-size: 0.72rem;
  max-width: 22ch;
}

/* -------------------- Bewertungen -------------------- */
.reviews-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.reviews-carousel-wrap {
  width: 100%;
}

@media (min-width: 901px) {
  .reviews-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    --review-box-height: 340px;
  }

  .rating-summary {
    margin: 0;
    flex: 0 0 300px;
    justify-content: center;
    height: var(--review-box-height);
  }

  .reviews-carousel-wrap {
    flex: 1 1 auto;
    max-width: 720px;
    min-width: 0;
  }

  .reviews-track .review-card {
    height: var(--review-box-height);
  }
}

.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4em;
  max-width: 420px;
  margin: 0 auto;
  padding: var(--space-4);
  background: linear-gradient(160deg, #fffbea, #fff);
  border: 1px solid rgba(245, 179, 25, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rating-stars {
  display: flex;
  gap: 0.25em;
}

.rating-stars svg {
  width: 26px;
  height: 26px;
  fill: #f5b319;
}

.rating-figure {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text);
}

.rating-figure strong {
  font-size: 2.4rem;
}

.rating-caption {
  color: var(--color-text-muted);
  margin-bottom: 0.6em;
}

/* Karussell-Rahmen */
.reviews-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-inline: 56px;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.reviews-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.reviews-track .review-card {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  height: var(--review-box-height, 380px);
}

.review-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* Pfeil-Buttons links/rechts der Karte */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
  z-index: 2;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.carousel-arrow:hover {
  background: var(--color-blue-tint);
  border-color: var(--color-blue-bright);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-prev {
  left: 0;
}

.carousel-arrow-next {
  right: 0;
}

/* Punkte-Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-top: var(--space-3);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--color-line-strong);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel-dot:hover {
  background: var(--color-blue-bright);
}

.carousel-dot[aria-selected="true"] {
  background: var(--color-blue-deep);
  transform: scale(1.25);
}

.quote-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: var(--color-blue-tint);
  stroke: var(--color-blue-bright);
  margin-bottom: 0.6em;
}

.review-stars {
  display: flex;
  gap: 0.2em;
  margin-bottom: 0.6em;
  flex-shrink: 0;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #f5b319;
}

.review-stars svg.star-off {
  fill: #e2e6ee;
}

.review-title {
  font-weight: 600;
  margin-bottom: 0.4em;
  color: var(--color-text);
  flex-shrink: 0;
}

.review-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

.review-text p {
  margin-bottom: 0.8em;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.review-toggle {
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 0.8em;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-blue-deep);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}

.review-toggle:hover {
  color: var(--color-blue-bright);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: auto;
  padding-top: 1em;
  flex-shrink: 0;
}

.review-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-source::before {
  content: "·";
  margin-right: 0.6em;
  color: var(--color-line-strong);
}

/* -------------------- Bewertungs-Popup -------------------- */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.review-modal[hidden] {
  display: none;
}

.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 22, 35, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade-in 0.25s var(--ease);
}

.review-modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-pop-in 0.28s var(--ease);
}

.review-modal-close {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s var(--ease);
}

.review-modal-close:hover {
  background: var(--color-blue-tint);
}

.review-modal-close svg {
  width: 18px;
  height: 18px;
}

.review-modal-text {
  overflow: visible;
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
  flex: none;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .review-modal-overlay,
  .review-modal-dialog {
    animation: none;
  }
}

/* -------------------- Über uns -------------------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
}

.about-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #eaf1fb, #dbe7fa);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.about-visual:hover img {
  transform: scale(1.06);
}

.about-visual .media-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  text-align: center;
  padding: var(--space-3);
  color: var(--color-text-faint);
}

.about-visual .media-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--color-blue-bright);
  opacity: 0.7;
}

.about-visual .media-placeholder small {
  max-width: 26ch;
  font-size: 0.78rem;
}

.about-list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.about-list li {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
  color: var(--color-text-muted);
}

.about-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-success);
  margin-top: 0.15em;
}

.about-list strong {
  color: var(--color-text);
  display: block;
}

/* -------------------- Kontakt -------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  gap: 0.9em;
  align-items: flex-start;
  padding-block: 0.6em;
  border-bottom: 1px solid var(--color-line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row-featured {
  margin: -0.4em -0.6em 0.2em;
  padding: 0.75em 0.6em;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-sm);
}

.info-row-featured svg {
  color: #1fa855;
}

.featured-badge {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.55em;
  background: #1fa855;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  vertical-align: middle;
}

.info-row svg {
  width: 20px;
  height: 20px;
  color: var(--color-blue-deep);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.info-row .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.15em;
}

.info-row a,
.info-row span.value {
  color: var(--color-text);
  font-weight: 500;
}

.map-frame-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 16 / 10;
  position: relative;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  text-align: center;
  padding: var(--space-3);
  background: linear-gradient(160deg, #eef3fb, #ffffff);
}

.map-consent p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  max-width: 32ch;
  margin: 0;
}

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

/* Formular */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.field {
  margin-bottom: var(--space-2);
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--color-text-muted);
}

.field label .req {
  color: var(--color-blue-deep);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-blue-bright);
  box-shadow: 0 0 0 3px var(--color-blue-glow);
  outline: none;
  background: #ffffff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-error {
  display: none;
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 0.4em;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--color-error);
}

.field.has-error .field-error {
  display: block;
}

.consent-field {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  padding: 0.6em 0.8em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.consent-field input {
  margin-top: 0.3em;
  width: auto;
  accent-color: var(--color-blue-bright);
}

.consent-field label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.consent-field a {
  color: var(--color-blue-deep);
  text-decoration: underline;
}

.consent-field .field-error {
  display: none;
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 0.4em;
}

.consent-field.has-error {
  background: var(--color-error-tint);
  border-color: rgba(216, 48, 63, 0.4);
}

.consent-field.has-error label {
  color: var(--color-error);
}

.consent-field.has-error input {
  outline: 2px solid var(--color-error);
  outline-offset: 2px;
  accent-color: var(--color-error);
}

.consent-field.has-error .field-error {
  display: block;
}

/* Honeypot-Feld für Spam-Schutz — für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  align-items: center;
  gap: 0.7em;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}

.form-status.is-visible {
  display: flex;
}

.form-status.success {
  background: var(--color-success-tint);
  color: var(--color-success);
  border: 1px solid rgba(26, 156, 86, 0.3);
}

.form-status.error {
  background: var(--color-error-tint);
  color: var(--color-error);
  border: 1px solid rgba(216, 48, 63, 0.3);
}

.form-status svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* -------------------- Footer -------------------- */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: 1.25rem;
  background: var(--color-bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.footer-brand img {
  height: 22px;
  width: 22px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-blue-deep);
}

/* -------------------- Scroll-Reveal (dezente Einblend-Animation) -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------- WhatsApp Floating Button -------------------- */
.whatsapp-float {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.6), 0 2px 8px rgba(0, 0, 0, 0.18);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.whatsapp-float .wa-tooltip {
  position: absolute;
  right: calc(100% + 0.8em);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-text);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5em 0.9em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: var(--space-2);
    bottom: var(--space-2);
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  /* Tooltip auf Touch-Geräten ausblenden, da kein Hover existiert */
  .whatsapp-float .wa-tooltip {
    display: none;
  }
}

/* -------------------- Legal pages (Impressum/Datenschutz) -------------------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-5));
  padding-bottom: var(--space-6);
  min-height: 60vh;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--space-4);
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: var(--space-4);
  margin-bottom: 0.6em;
  color: var(--color-blue-deep);
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: var(--space-3);
  margin-bottom: 0.5em;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.legal-page ul {
  padding-left: 1.3em;
  list-style: disc;
  margin-bottom: 1em;
}

.legal-page a {
  color: var(--color-blue-deep);
  text-decoration: underline;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1em;
}

.legal-page td {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-muted);
  vertical-align: top;
}

.legal-page td:first-child {
  width: 180px;
  color: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--space-4);
  color: var(--color-blue-deep);
  font-size: 0.9rem;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero .container,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-media {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 16 / 11;
    min-height: 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav ul {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    padding: var(--space-3);
    gap: var(--space-2);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .main-nav.is-open ul {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-only-mobile {
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-carousel {
    max-width: 100%;
    padding-inline: 38px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .carousel-arrow-prev {
    left: 0;
  }

  .carousel-arrow-next {
    right: 0;
  }

  .review-card {
    padding: var(--space-3);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-info-rows {
    flex-direction: column;
    gap: var(--space-2);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
    padding-block: 0.55rem;
  }

  .brand-name span {
    display: none;
  }

  .brand-name .brand-full {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-page table,
  .legal-page tbody,
  .legal-page tr,
  .legal-page td {
    display: block;
    width: auto;
  }

  .legal-page td:first-child {
    padding-bottom: 0.1em;
    border-bottom: none;
  }

  .legal-page td:last-child {
    padding-top: 0;
    padding-bottom: 0.9em;
  }
}

/* -------------------- Utility-Klassen (ersetzen Inline-Styles) -------------------- */
.u-hidden {
  display: none;
}

.u-text-center {
  text-align: center;
}

.u-lead {
  font-size: 1.1rem;
}

.u-mt-lg {
  margin-top: 1.5rem;
}

.u-hint {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--color-text-faint);
}

.u-logo-sm {
  height: 64px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.u-icon-blue {
  color: var(--color-blue-bright);
}

.u-icon-blue-deep {
  color: var(--color-blue-deep);
}

.hero-phone-note {
  display: inline-flex;
  margin-bottom: var(--space-4);
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  list-style: none;
  padding: var(--space-3) 0 0;
  margin: 0;
  border-top: 1px solid var(--color-line);
  max-width: 420px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hero-highlights svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-blue-bright);
  background: var(--color-blue-tint);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.opening-hours-note {
  color: var(--color-text-faint);
  font-weight: 400;
}

.opening-hours-note a {
  color: var(--color-blue-deep);
}

.route-btn {
  gap: 0.6em;
}
