/* =========================================================================
   stuck-fuerl.de — Andreas Fürl Stuckateurmeisterbetrieb
   Vanilla CSS Design-System
   Gebaut von Pixelschneiderei (pixelschneiderei.de)
   ========================================================================= */

@import url('fonts.css');

/* -------------------------------------------------------------------------
   1. CI-Tokens
   ------------------------------------------------------------------------- */
:root {
  /* CI verbindlich (aus daten/farbwerte_schriftarten/VK Neu + Farbwerte/CI_Andreas Fürl.pdf) */
  --gold:        #e8b975;
  --blue:        #007aa2;
  --warm-grey:   #74736d;

  /* Abgeleitete Töne */
  --paper:       #faf7f2;
  --paper-2:     #f0ebe2;
  --ink:         #1a1a1a;
  --gold-soft:   #f3d9a8;
  --gold-pale:   #fbecd2;
  --blue-soft:   #d6e8ef;
  --blue-pale:   #ecf4f7;
  --blue-dark:   #005f80;
  --line:        #e2e0db;
  --muted:       #a7a59f;
  --whatsapp:    #25d366;
  --whatsapp-dk: #1da851;

  /* Typografie */
  --font-display:  'Aldo PC', Georgia, 'Times New Roman', serif;
  --font-sub:      'Chanticleer Roman NF', Georgia, serif;
  --font-body:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* Fluide Typo */
  --fs-xs:   clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  --fs-sm:   clamp(0.88rem, 0.84rem + 0.2vw, 0.95rem);
  --fs-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-md:   clamp(1.13rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-lg:   clamp(1.35rem, 1.2rem + 0.7vw, 1.7rem);
  --fs-xl:   clamp(1.7rem, 1.4rem + 1.5vw, 2.4rem);
  --fs-2xl:  clamp(2.1rem, 1.7rem + 2.2vw, 3.4rem);
  --fs-3xl:  clamp(2.6rem, 1.9rem + 3.5vw, 4.6rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
  --sp-16: 7rem;
  --sp-20: 9rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Schatten */
  --sh-sm: 0 1px 2px rgba(26,26,26,0.06), 0 1px 1px rgba(26,26,26,0.04);
  --sh-md: 0 6px 18px rgba(26,26,26,0.08), 0 2px 4px rgba(26,26,26,0.04);
  --sh-lg: 0 18px 40px rgba(26,26,26,0.12), 0 6px 12px rgba(26,26,26,0.06);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms;
  --dur: 220ms;
  --dur-slow: 360ms;
}

/* -------------------------------------------------------------------------
   2. Modern Reset (Andy-Bell-Style, leicht angepasst)
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--warm-grey);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Verhindert horizontales Scrollen, falls ein fixed/transformed Element (z.B. Mobile-Nav) seitlich heraussteht. */
  overflow-x: clip;
}
/* HTML bewusst NICHT auf overflow:hidden — das bricht position:fixed auf iOS Safari. */
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* Skip-Link für Tastatur-Nutzer */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--ink); color: var(--paper);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
  z-index: 100; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* -------------------------------------------------------------------------
   3. Typografie
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.h-display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--warm-grey); }
.h-sub     { font-family: var(--font-sub); color: var(--blue); letter-spacing: 0.06em; }

h1 { font-size: var(--fs-3xl); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--warm-grey); }
h2 { font-size: var(--fs-2xl); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--warm-grey); }
h3 { font-size: var(--fs-xl);  font-family: var(--font-sub); color: var(--blue); }
h4 { font-size: var(--fs-lg);  font-family: var(--font-body); font-weight: 600; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: var(--sp-2);
}

p { max-width: 70ch; }
.lede { font-size: var(--fs-md); color: var(--warm-grey); max-width: 60ch; }
.muted { color: var(--muted); }
.accent-gold { color: var(--gold); }
.accent-blue { color: var(--blue); }

ul, ol { padding-left: 1.2em; }
.list-clean { list-style: none; padding: 0; }
.list-check {
  list-style: none; padding: 0;
}
.list-check li {
  position: relative;
  padding: var(--sp-2) 0 var(--sp-2) 2.2rem;
}
.list-check li::before {
  content: '';
  position: absolute; left: 0; top: 0.7rem;
  width: 1.4rem; height: 1.4rem;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
}

/* -------------------------------------------------------------------------
   3b. Legal-Seiten (Impressum, Datenschutz, AGB) — sachlich, ohne Display-Schrift
   ------------------------------------------------------------------------- */
.legal-page h1 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  text-transform: none;
  letter-spacing: -0.005em;
  font-weight: 700;
  color: var(--ink);
}
.legal-page h2,
.legal-page h2.h-sub {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.legal-page h3 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.legal-page .lede {
  font-size: var(--fs-base);
  color: var(--warm-grey);
}
.legal-page p,
.legal-page li {
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.legal-page .eyebrow {
  color: var(--muted);
}

/* -------------------------------------------------------------------------
   4. Layout / Container / Section
   ------------------------------------------------------------------------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, var(--container-narrow)); margin-inline: auto; }

.section { padding-block: clamp(var(--sp-10), 8vw, var(--sp-16)); }
/* Bei Anker-Sprung (#id) Platz für den Sticky-Header lassen */
:where(section[id], [id]) { scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.section--tight { padding-block: clamp(var(--sp-8), 6vw, var(--sp-12)); }
.section--paper  { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--blue   { background: var(--blue); color: var(--paper); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--paper); }
.section--blue h3 { color: var(--gold-soft); }
.section--blue .eyebrow { color: var(--gold); }
.section--gold   { background: var(--gold-pale); }
.section--ink    { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.section-header { text-align: center; max-width: 60ch; margin: 0 auto var(--sp-10); }
.section-header p { margin-inline: auto; }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--sp-8); }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--40-60 { grid-template-columns: 2fr 3fr; }
  .split--60-40 { grid-template-columns: 3fr 2fr; }
}

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

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

/* -------------------------------------------------------------------------
   5. Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: var(--sp-4);
}
.brand {
  display: flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; color: inherit;
}
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-grey); font-size: 1.05rem; }
.brand-tag  { font-family: var(--font-sub); color: var(--blue); font-size: 0.78rem; letter-spacing: 0.1em; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }

.primary-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  z-index: 49;
  background: var(--paper);
  padding: var(--sp-6) var(--sp-5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  visibility: hidden;
}
.primary-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur) var(--ease), visibility 0s linear 0s;
}
.primary-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.primary-nav a {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-sm);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.primary-nav a[aria-current="page"] { color: var(--blue); }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; transform: none; visibility: visible;
    background: transparent; padding: 0; overflow: visible;
  }
  .primary-nav ul { flex-direction: row; align-items: center; gap: var(--sp-2); }
  .primary-nav a {
    padding: var(--sp-2) var(--sp-3);
    border-bottom: none;
    font-size: var(--fs-sm);
  }
  .primary-nav a:hover { background: var(--paper-2); }
  .primary-nav a[aria-current="page"] {
    background: var(--blue-pale);
  }
}

/* -------------------------------------------------------------------------
   6. Buttons / CTAs
   ------------------------------------------------------------------------- */
.cta {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: translateY(0); }

.cta--primary { background: var(--blue); color: var(--paper); box-shadow: var(--sh-md); }
.cta--primary:hover { background: var(--blue-dark); color: var(--paper); box-shadow: var(--sh-lg); }

.cta--gold { background: var(--gold); color: var(--ink); box-shadow: var(--sh-md); }
.cta--gold:hover { background: #d9a85f; color: var(--ink); box-shadow: var(--sh-lg); }

.cta--ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid currentColor;
}
.cta--ghost:hover { background: var(--blue-pale); color: var(--blue); }

.cta--whatsapp {
  background: var(--whatsapp); color: white;
}
.cta--whatsapp:hover { background: var(--whatsapp-dk); color: white; }
.cta--whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

.cta--lg { padding: var(--sp-4) var(--sp-6); font-size: var(--fs-base); }
.cta-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(var(--sp-10), 10vw, var(--sp-20)) 0;
  overflow: hidden;
}
.hero--ink { background: var(--ink); color: var(--paper); }
.hero--ink h1, .hero--ink h2 { color: var(--paper); }

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  /* Gold-Bogen oben rechts */
  top: -40%; right: -20%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 30% 70%, var(--gold-soft), transparent 60%);
  opacity: 0.7;
}
.hero::after {
  /* Warm-Grey-Bogen oben links */
  top: -60%; left: -25%;
  width: 80vw; height: 80vw; max-width: 950px; max-height: 950px;
  background: radial-gradient(circle at 70% 70%, rgba(116,115,109,0.18), transparent 60%);
}
.hero > * { position: relative; z-index: 1; }
.hero-inner { max-width: 60ch; }
.hero h1 { margin-bottom: var(--sp-4); }
.hero .lede { margin-bottom: var(--sp-6); }
.hero .eyebrow { color: var(--blue); }

.hero--with-image .hero-inner {
  max-width: none;
  display: grid;
  gap: var(--sp-8);
}
@media (min-width: 880px) {
  .hero--with-image .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.hero-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--gold-soft), var(--blue-soft));
  box-shadow: var(--sh-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------------------
   8. Karten / Cards
   ------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.card--elevated { box-shadow: var(--sh-sm); }
.card--elevated:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.card a { text-decoration: none; }
.card h3 { margin-bottom: var(--sp-2); }

.card--service {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.card--service .card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), var(--blue-soft));
  margin: 0;
}
.card--service .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms var(--ease);
}
.card--service:hover .card-image img {
  transform: scale(1.04);
}
.card--service .card-body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-3);
  flex: 1;
}
.card--service .card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--gold-pale);
  display: grid; place-items: center;
  margin-bottom: var(--sp-3);
}
.card--service .card-icon svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.card--service a.card-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm);
}
.card--service a.card-link::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
}
.card:hover a.card-link::after { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   7b. Hero-Quickinfo (Status + Telefonnummern direkt unter den CTAs)
   ------------------------------------------------------------------------- */
.hero-quickinfo {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero-quickinfo__phones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}
.hero-quickinfo__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--dur) var(--ease);
}
.hero-quickinfo__phone:hover { color: var(--blue); }
.hero-quickinfo__phone svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--blue);
}
.hero-quickinfo__phone strong {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-right: var(--sp-1);
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   8b. Ersatzteile-Banner (Full-Width-CTA unter den Leistungs-Karten)
   ------------------------------------------------------------------------- */
.ersatzteile-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-6);
  background: var(--blue-pale);
  border: 1px solid var(--blue);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ersatzteile-banner:hover {
  transform: translateY(-2px);
  background: #e3effc;
  box-shadow: var(--sh-md);
  color: var(--ink);
}
.ersatzteile-banner__icon {
  width: 64px; height: 64px;
  background: var(--paper);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ersatzteile-banner__icon svg { width: 32px; height: 32px; color: var(--blue); }
.ersatzteile-banner__body h3 {
  margin: var(--sp-1) 0 var(--sp-2);
  font-family: var(--font-sub);
  color: var(--blue);
  font-size: var(--fs-xl);
  font-weight: 400;
}
.ersatzteile-banner__body p {
  margin: 0;
  color: var(--warm-grey);
  max-width: 60ch;
}
.ersatzteile-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: var(--blue);
  color: var(--paper);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.ersatzteile-banner:hover .ersatzteile-banner__cta {
  background: var(--blue-dark);
}
.ersatzteile-banner__cta svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .ersatzteile-banner {
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    padding: var(--sp-5);
  }
  .ersatzteile-banner__cta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: var(--sp-2);
  }
}

/* -------------------------------------------------------------------------
   9. Pakete (Basis / Komfort / Premium)
   ------------------------------------------------------------------------- */
.package {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex; flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.package:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.package--featured { border-color: var(--blue); box-shadow: var(--sh-md); }
.package--featured::before {
  content: 'Empfehlung';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--paper);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
}
.package-name {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: var(--fs-xl); color: var(--warm-grey);
  letter-spacing: 0.05em;
}
.package-aufschlag {
  font-family: var(--font-mono); color: var(--blue); font-size: var(--fs-sm);
  letter-spacing: 0.08em;
}
.package-features { list-style: none; padding: 0; margin: var(--sp-4) 0; }
.package-features li {
  padding: var(--sp-2) 0 var(--sp-2) 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: '';
  position: absolute; left: 0; top: 0.65rem;
  width: 1.2rem; height: 1.2rem;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>") center/contain no-repeat;
}

/* -------------------------------------------------------------------------
   10. FAQ-Akkordeon
   ------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  font-family: var(--font-sub);
  color: var(--blue);
  font-size: var(--fs-md);
  font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '–'; }
.faq-body {
  padding-top: var(--sp-3);
  max-width: 70ch;
}

/* -------------------------------------------------------------------------
   11. Bewertungen (Google-Reviews 1:1)
   ------------------------------------------------------------------------- */
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.review-stars {
  display: inline-flex; gap: 2px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.review-text {
  font-style: italic;
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.review-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex; justify-content: space-between; gap: var(--sp-3);
}

/* -------------------------------------------------------------------------
   11b. Reviews-Slider (durchlaufend, 3 nebeneinander, auto-advance)
   ------------------------------------------------------------------------- */
.reviews-slider {
  position: relative;
  outline: none;
}
.reviews-viewport {
  overflow: hidden;
  margin-inline: calc(-1 * var(--sp-2));
  padding: var(--sp-2);
}
.reviews-track {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 700ms var(--ease);
  will-change: transform;
  align-items: stretch;
}
.reviews-track .review {
  flex: 0 0 calc(100% - var(--sp-4));
  margin: 0;
}
@media (min-width: 640px) {
  .reviews-track .review { flex: 0 0 calc((100% - var(--sp-5)) / 2); }
}
@media (min-width: 960px) {
  .reviews-track .review { flex: 0 0 calc((100% - 2 * var(--sp-5)) / 3); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { transition: none; }
}

.reviews-controls {
  margin-top: var(--sp-6);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
}
.reviews-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: pointer;
}
.reviews-arrow:hover { background: var(--blue-pale); border-color: var(--blue); }
.reviews-arrow:active { transform: scale(0.94); }
.reviews-arrow svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reviews-dots {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}
.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reviews-dot:hover { background: var(--muted); }
.reviews-dot[aria-current="true"] {
  background: var(--blue);
  transform: scale(1.3);
}

/* -------------------------------------------------------------------------
   11c. Map Consent (Click-to-Load für OSM-Iframe)
   ------------------------------------------------------------------------- */
.map-consent {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: linear-gradient(135deg, var(--gold-pale), var(--blue-pale));
}
.map-placeholder {
  padding: clamp(var(--sp-6), 6vw, var(--sp-10));
  text-align: center;
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-3);
}
.map-placeholder svg.map-pin {
  width: 56px; height: 56px;
  fill: var(--blue);
  margin: 0 auto var(--sp-2);
}
.map-placeholder h3 {
  font-family: var(--font-sub);
  color: var(--blue);
  font-size: var(--fs-lg);
  margin: 0;
}
.map-placeholder .map-address {
  font-weight: 500;
  color: var(--ink);
}
.map-placeholder .map-note {
  color: var(--warm-grey);
  max-width: 50ch;
  margin: 0 auto;
  font-size: var(--fs-sm);
}
.map-placeholder .cta { margin: var(--sp-2) auto 0; }
.map-placeholder .map-fallback {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.map-consent.is-loaded {
  background: transparent;
}
.map-consent.is-loaded .map-placeholder { display: none; }
.map-consent iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Reviews-Karte Erweiterung (Source-Link auf Google) */
.review-source {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
}
.review-source:hover { color: var(--blue); }
.review-source svg { width: 12px; height: 12px; fill: currentColor; }

/* -------------------------------------------------------------------------
   12. Formulare
   ------------------------------------------------------------------------- */
form { display: flex; flex-direction: column; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-grey);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  color: var(--ink);
  /* Inputs füllen ihr Grid-/Flex-Eltern voll aus und überlaufen NIE die Karten-Breite. */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-pale);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--check {
  flex-direction: row; align-items: flex-start;
  gap: var(--sp-3);
}
.field--check input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem;
  accent-color: var(--blue);
  margin-top: 0.25rem;
}
.field--check label { text-transform: none; letter-spacing: normal; font-family: inherit; font-size: var(--fs-sm); color: var(--warm-grey); }
.field-row { display: grid; gap: var(--sp-4); }
/* Grid-Items dürfen schmaler werden als ihr intrinsisch berechneter Mindestinhalt — verhindert Overflow bei langen Eingaben. */
.field-row > .field { min-width: 0; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
/* Auch im Split sollten Karten/Spalten in schmalen Containern schrumpfen können. */
.split > * { min-width: 0; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-success, .form-error {
  padding: var(--sp-4); border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.form-success { background: #e8f5ed; color: #1a6b3a; border: 1px solid #b8e0c9; }
.form-error   { background: #fbe9e9; color: #8a1f1f; border: 1px solid #f0c1c1; }

/* -------------------------------------------------------------------------
   12b. Modal (native <dialog>) — Datenschutz-Kurzinfo (cleaner, zentriert)
   ------------------------------------------------------------------------- */
.modal {
  /* Reset Browser-Default — zentriert horizontal & vertikal */
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: none;
  background: var(--paper);
  border-radius: 20px;
  max-width: min(640px, calc(100% - 2rem));
  max-height: min(82vh, 800px);
  width: 100%;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(26,26,26,0.25), 0 8px 20px rgba(26,26,26,0.08);
  overflow: hidden;
}
.modal:not([open]) { display: none; }
.modal::backdrop {
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  font-family: var(--font-body);
}
.modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6) var(--sp-4);
  gap: var(--sp-4);
}
.modal__header h2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  text-transform: none;
}
.modal__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--paper-2);
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.modal__close:hover { background: var(--line); transform: scale(1.08); }
.modal__close:active { transform: scale(0.94); }
.modal__close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; fill: none; }
.modal__body {
  padding: 0 var(--sp-6) var(--sp-5);
  overflow-y: auto;
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--warm-grey);
}
.modal__body .lede {
  font-size: var(--fs-sm);
  color: var(--warm-grey);
  margin-bottom: var(--sp-5);
}
.modal__body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-base);
  text-transform: none;
  letter-spacing: 0;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}
.modal__body h3:first-of-type { margin-top: 0; }
.modal__body p { margin-bottom: var(--sp-3); }
.modal__body ul {
  padding-left: 1.1em;
  margin: 0 0 var(--sp-3);
}
.modal__body ul li { margin-bottom: var(--sp-2); }
.modal__body em { font-style: normal; color: var(--blue); font-weight: 500; }
.modal__footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--line);
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  background: var(--paper-2);
}
.modal__footer .muted { font-size: var(--fs-xs); color: var(--muted); }
.modal__footer .cta { font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-4); }

@media (max-width: 540px) {
  .modal { border-radius: 16px 16px 0 0; max-height: 90vh; align-self: end; margin-bottom: 0; }
  .modal__footer { flex-direction: column; align-items: stretch; }
  .modal__footer .cta { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------------------
   13. „Heute geöffnet" Status-Badge
   ------------------------------------------------------------------------- */
.status-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.status-badge::before {
  content: '';
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  display: inline-block;
}
.status-badge--open    { background: #e8f5ed; color: #1a6b3a; }
.status-badge--open::before    { background: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,0.18); }
.status-badge--closed  { background: var(--paper-2); color: var(--warm-grey); }
.status-badge--closed::before  { background: var(--muted); }
.status-badge--holiday { background: var(--blue-pale); color: var(--blue-dark); }
.status-badge--holiday::before { background: var(--blue); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.hours-table td {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
}
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); color: var(--ink); }
.hours-table tr.today td { color: var(--blue); font-weight: 600; }

/* -------------------------------------------------------------------------
   13b. Schritt-Karten (Ersatzteile-Workflow) — Headlines auf einheitlicher Höhe
   ------------------------------------------------------------------------- */
.step-title {
  font-size: var(--fs-lg) !important;
  margin-bottom: var(--sp-2) !important;
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

/* -------------------------------------------------------------------------
   14. Prozess / Schritte
   ------------------------------------------------------------------------- */
.process {
  counter-reset: step;
  display: grid;
  gap: var(--sp-6);
}
.process-step {
  position: relative;
  padding-left: 4.5rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-base);
}
.process-step h4 { margin-bottom: var(--sp-2); }

/* -------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: var(--paper-2);
  padding: var(--sp-12) 0 var(--sp-6);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  gap: var(--sp-8);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--sp-4);
  font-weight: 400;
}
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center;
}
.foot-signature {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.foot-signature svg { width: 14px; height: 14px; stroke: currentColor; }
.foot-signature a { color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; }
.foot-signature a:hover { color: var(--gold-soft); }

/* -------------------------------------------------------------------------
   16. Sticky WhatsApp Floating Button (Mobile)
   ------------------------------------------------------------------------- */
.fab-whatsapp {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid; place-items: center;
  box-shadow: var(--sh-lg);
  color: white;
  transition: transform var(--dur) var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.05); color: white; }
.fab-whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
@media (min-width: 920px) { .fab-whatsapp { display: none; } }

/* -------------------------------------------------------------------------
   17. Galerien / Bilder
   ------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
}

.image-placeholder {
  background: linear-gradient(135deg, var(--gold-soft), var(--blue-soft));
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-4);
  text-align: center;
}

/* -------------------------------------------------------------------------
   18. Reveal-Animationen (auf prefers-reduced-motion respektieren)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------------
   19. Utility / Helper
   ------------------------------------------------------------------------- */
.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;
}
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

/* -------------------------------------------------------------------------
   20. Pull Quote / Auszug
   ------------------------------------------------------------------------- */
.pull-quote {
  font-family: var(--font-sub);
  font-size: var(--fs-xl);
  color: var(--blue);
  line-height: 1.4;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: var(--sp-6) 0;
}
.pull-quote::before, .pull-quote::after {
  content: '';
  display: block;
  width: 60px; height: 1px;
  background: var(--gold);
  margin: var(--sp-3) auto;
}

/* -------------------------------------------------------------------------
   21. Print
   ------------------------------------------------------------------------- */
@media print {
  .site-header, .primary-nav, .nav-toggle, .fab-whatsapp, .cta-group, .site-footer { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
