/* ============================================================
   sfix – Stylesheet (UI-Remake v2)
   Design: Poppins (Headings) + Open Sans (Body)
   Palette (Template bleibt): Rot #e30613 · Near-Black #0f0f10
   · Grau #f5f6f8 · #ff8a8e als Rot-Akzent auf dunklen Flächen
   Signature: Glasflächen, Pill-Buttons, weiche Karten,
   rote Kicker-Chips, abgerundete 16px-Flächen, weiche Schatten.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #e30613;
  --brand-dark: #c00511;
  --brand-deep: #8f0410;
  --brand-on-dark: #ff8a8e;
  --brand-tint: #fdecec;
  --brand-glow: rgba(227, 6, 19, 0.18);
  --ink: #0f0f10;
  --ink-soft: #55585e;
  --body: #26282c;
  --paper: #ffffff;
  --tint: #f5f6f8;
  --line: #e2e5ea;
  --line-strong: #d4d7dc;
  --on-dark: #ffffff;
  --on-dark-soft: #c9ccd2;
  --on-dark-mute: #b9bbc0;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 16, 0.05);
  --shadow: 0 2px 6px rgba(15, 15, 16, 0.05), 0 12px 32px rgba(15, 15, 16, 0.08);
  --shadow-lg: 0 6px 14px rgba(15, 15, 16, 0.07), 0 24px 56px rgba(15, 15, 16, 0.14);
  --shadow-red: 0 10px 26px rgba(227, 6, 19, 0.28);
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --container: 1180px;
  --pad-section: clamp(3.5rem, 7vw, 6rem);
  --pad-section-tight: clamp(2.2rem, 4.5vw, 3.25rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.32rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

ul, ol { padding-left: 1.2em; }

address { font-style: normal; }

strong { font-weight: 700; }

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

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.8em 1.4em;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.7em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s var(--ease),
              box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary,
.btn--brand {
  background: linear-gradient(180deg, #f0101d, var(--brand-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover,
.btn--brand:hover {
  background: linear-gradient(180deg, var(--brand-dark), var(--brand-deep));
  color: #fff;
  box-shadow: 0 14px 32px rgba(227, 6, 19, 0.38);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: rgba(227, 6, 19, 0.55);
}
.btn--ghost:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-red);
}
/* weisse Ghost-Variante auf dunklen Flaechen */
.hero .btn--ghost,
.cta-band .btn--ghost,
.page-head .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.page-head .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 2px 10px rgba(15, 15, 16, 0.16);
}
.btn--light:hover {
  background: var(--tint);
  color: var(--ink);
  border-color: var(--tint);
}

.btn--sm {
  min-height: 44px;
  padding: 0.5em 1.25em;
  font-size: 0.88rem;
}

/* ---------- 5. Topbar + Header / Navigation ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-soft);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.topbar-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.topbar-list a:hover { color: var(--brand-on-dark); text-decoration: underline; }
.topbar-note {
  margin: 0;
  color: var(--brand-on-dark);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15, 15, 16, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.logo:hover { color: var(--ink); }
.logo-i { color: var(--brand); }
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav { display: none; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 0.95em;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-tint); }
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--ink);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.nav-toggle:hover { background: var(--brand-tint); color: var(--brand); border-color: rgba(227, 6, 19, 0.35); }
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

/* Mobile-Dropdown (default) */
@media (max-width: 899px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0.75rem 1rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { min-height: 50px; border-radius: 0; padding-inline: 0.5em; }
  .main-nav a[aria-current="page"] { border-radius: 10px; }
}

.header-cta { flex-shrink: 0; }

/* ---------- 6. Page-Head (dunkles Seitenkopf-Band mit Foto) ---------- */
.page-head {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -30%, rgba(227, 6, 19, 0.34), transparent 65%),
    linear-gradient(180deg, rgba(15, 15, 16, 0.78), rgba(15, 15, 16, 0.62) 45%, rgba(15, 15, 16, 0.86)),
    url("../assets/img/hero-werkstatt.jpg") center / cover no-repeat;
  color: var(--on-dark-soft);
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  overflow: hidden;
}

/* sfix.ch-Tagline ueber der Seitenueberschrift */
.tagline {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.42em 1em;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.page-head h1 { color: #fff; margin-bottom: 0.35em; }
.page-head p {
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--on-dark-soft);
}
.page-head .eyebrow { color: var(--brand-on-dark); }
.page-head a { color: var(--brand-on-dark); }

/* ---------- 7. Eyebrow (Kicker-Chip) & Section-Head ---------- */
.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 0.42em 1em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.eyebrow--red { color: var(--brand-dark); }
.hero .eyebrow,
.cta-band .eyebrow,
.usp-strip .eyebrow,
.page-head .eyebrow {
  color: var(--brand-on-dark);
  background: rgba(227, 6, 19, 0.22);
}
.hero .eyebrow::before,
.cta-band .eyebrow::before,
.usp-strip .eyebrow::before,
.page-head .eyebrow::before { background: var(--brand-on-dark); }

.section {
  padding: var(--pad-section) 0;
}
.section--tight {
  padding: var(--pad-section-tight) 0;
}
.section--tint {
  background: linear-gradient(180deg, var(--tint), #fbfcfd);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.25rem);
  text-align: center;
}
.section-head h2 { margin-bottom: 0.5em; }
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-inline: auto;
}
.section-head .eyebrow { margin-inline: auto; }

/* ---------- 8. Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  background:
    radial-gradient(1000px 520px at 88% -20%, rgba(227, 6, 19, 0.32), transparent 62%),
    linear-gradient(180deg, rgba(15, 15, 16, 0.72), rgba(15, 15, 16, 0.6) 45%, rgba(15, 15, 16, 0.84)),
    url("../assets/img/hero-werkstatt.jpg") center / cover no-repeat;
  color: var(--on-dark-soft);
  /* Erster Bildschirm = Topbar (40px) + Sticky-Header (69px) + Hero.
     Zuerst vh (Fallback), dann svh (mobile Browser-UI). */
  min-height: calc(100vh - 109px);
  min-height: calc(100svh - 109px);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  overflow: hidden;
}
.hero > .container { width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-grid > div { max-width: 820px; }

.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--brand-on-dark);
  display: block;
}

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--on-dark-soft);
  max-width: 52ch;
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.4em 1em 0.4em 0.45em;
}
.hero-badges .badge-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(227, 6, 19, 0.4);
}
.hero-badges .badge-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero-Info-Karte (rechts, ab 900px) */
.hero-card {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 380px;
}
.hero-card h2 {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 0.9em;
}
.hero-card-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--on-dark-soft);
}
.hero-card-list .badge-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: 0.1em;
  background: rgba(227, 6, 19, 0.35);
  border-radius: 9px;
}
.hero-card-list .badge-ico svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--brand-on-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-card-list strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-card .btn { width: 100%; }

/* ---------- 9. USP-Leiste ---------- */
.usp-strip {
  background: var(--ink);
  border-top: 3px solid var(--brand);
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.usp-item {
  text-align: center;
  padding: 0 0.5rem;
}
.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 0.85rem;
  font-size: 1.5rem;
  background: rgba(227, 6, 19, 0.2);
  border: 1px solid rgba(255, 138, 142, 0.35);
  border-radius: 18px;
}
.usp-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--brand-on-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.usp-item h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2em;
}
.usp-item p {
  font-size: 0.88rem;
  color: var(--on-dark-mute);
  margin: 0;
}

/* ---------- 10. Karten & Grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
}
.card-grid--4 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(227, 6, 19, 0.25);
}
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--ink-soft); }

.card--svc {
  border-top: 4px solid var(--brand);
}
.card--svc:hover {
  box-shadow: var(--shadow-lg);
  border-top-color: var(--brand);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 1.65rem;
  background: var(--brand-tint);
  border-radius: 16px;
  margin-bottom: 1.15rem;
}
.card-icon-img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 3px 8px rgba(227, 6, 19, 0.18));
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s var(--ease);
}
.card-link:hover { color: var(--brand); text-decoration: underline; transform: translateX(4px); }

/* kleine Meta-Zeile in Service-Karten (Dauer / Preis) */
.card-meta {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Button-Zeile am Abschluss eines Inhaltsblocks */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 26px;
}

/* schmale Inhaltscontainer (Story-Text) */
.container--narrow { max-width: 780px; }

/* kurze Hinweiszeilen (Kontakt, Footer) */
.hint {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hint--fine {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 7b. Entrance-Reveals (CSS-only, gestaffelt) ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow, .page-head .eyebrow,
.hero .tagline, .page-head .tagline { animation: rise-in 0.55s var(--ease) both; }
.hero h1, .page-head h1 { animation: rise-in 0.55s var(--ease) 0.08s both; }
.hero-sub, .page-head p { animation: rise-in 0.55s var(--ease) 0.16s both; }
.hero-actions { animation: rise-in 0.55s var(--ease) 0.24s both; }
.hero-badges { animation: rise-in 0.55s var(--ease) 0.32s both; }
.hero-card { animation: rise-in 0.55s var(--ease) 0.4s both; }

/* ---------- 11. Split (Originalteile) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split h2 { margin-bottom: 0.5em; }
.split-lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.split-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.split-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 0.45em 0 0.45em 2.1em;
  font-weight: 600;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.42em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  background: var(--brand);
  color: #fff;
  font-size: 0.78em;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(227, 6, 19, 0.3);
}

/* ---------- 12. Service Levels ---------- */
.levels {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
}
.level-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}
.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(227, 6, 19, 0.25);
}
.level-photo {
  background: var(--tint);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.35rem;
}
.level-photo img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
}
.level-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin-bottom: 0.55rem;
}
.level-card h3 { margin-bottom: 0.7em; }
.level-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
}
.level-card li { margin-bottom: 0.4em; }
.level-card li::marker { color: var(--brand); }

/* ---------- 13. Richtpreis-Tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.2vw, 1.45rem);
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(227, 6, 19, 0.25);
}
.tile h3 {
  font-size: 1rem;
  margin-bottom: 0.45em;
}
.tile-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.tile-price {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  color: var(--brand-dark);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 0.22em 0.85em;
}
.tiles-note {
  margin-top: 1.65rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- 14. Ablauf / Process ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.process-item {
  position: relative;
  text-align: left;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(180deg, #f0101d, var(--brand-dark));
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.32);
}
.process-item h3 { margin-bottom: 0.4em; }
.process-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- 15. B2B-Banner ---------- */
.b2b-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deep) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.9rem, 4vw, 3rem);
}
.b2b-banner h2 { color: #fff; margin-bottom: 0.45em; }
.b2b-banner p { color: rgba(255, 255, 255, 0.94); max-width: 70ch; }

/* ---------- 16. CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 15% 120%, rgba(227, 6, 19, 0.28), transparent 65%),
    var(--ink);
  color: var(--on-dark-soft);
  padding: var(--pad-section) 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.cta-inner h2 { color: #fff; margin-bottom: 0.4em; }
.cta-inner p { color: var(--on-dark-soft); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--tint);
  color: var(--ink-soft);
  padding: var(--pad-section) 0 1.5rem;
  border-top: 3px solid var(--brand);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line-strong);
}
.site-footer .logo { color: var(--ink); margin-bottom: 0.9rem; }
.site-footer .logo:hover { color: var(--ink); }
.site-footer .logo-img { height: 52px; }
.footer-brand p { font-size: 0.94rem; max-width: 34ch; color: var(--ink-soft); }

.footer-col h3 {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  font-size: 0.94rem;
  margin-bottom: 0.5em;
}
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-col a:hover { color: var(--brand); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer-bottom a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- 18. Preisrechner (Finder) ---------- */
.finder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.finder-head { margin-bottom: 1.5rem; }
.finder-head h2 { margin-bottom: 0.3em; }
.finder-head p { color: var(--ink-soft); margin: 0; }

.finder-body { display: grid; gap: 0; }

.finder-step {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 1.5rem 0 1.6rem;
  min-width: 0;
}
.finder-step:first-child { border-top: 0; padding-top: 0; }
.finder-step legend {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #f0101d, var(--brand-dark));
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.finder-select {
  width: 100%;
  min-height: 48px;
  padding: 0.6em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.finder-select:hover:not(:disabled) { border-color: var(--brand); }
.finder-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--tint);
}

.finder-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Chips: label > input(visually-hidden) + span */
.chips,
.chips--devices,
.part-grid,
.mode-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip { display: inline-flex; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5em 1.15em;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.chip span:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* Teil-Auswahl */
.part-option { display: flex; }
.part-option input { position: absolute; opacity: 0; pointer-events: none; }
.part-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  min-height: 44px;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.part-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.part-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.part-price {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.part-option input:checked + .part-card {
  background: var(--brand-tint);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 8px 20px rgba(227, 6, 19, 0.15);
}
.part-option input:focus-visible + .part-card {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.part-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* Reparatur vs. Austausch */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mode-option { display: flex; }
.mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  min-height: 44px;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.mode-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mode-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.mode-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
  white-space: nowrap;
}
.mode-desc {
  font-size: 0.87rem;
  color: var(--ink-soft);
}
.mode-option input:checked + .mode-card {
  background: var(--brand-tint);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 8px 20px rgba(227, 6, 19, 0.15);
}
.mode-option input:focus-visible + .mode-card {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* Ergebnis */
.finder-result { margin-top: 0.4rem; }
.result-empty {
  margin: 0;
  padding: 1.15rem 1.3rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  background: var(--tint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.result-panel {
  background:
    radial-gradient(500px 240px at 90% -30%, rgba(227, 6, 19, 0.35), transparent 65%),
    var(--ink);
  color: var(--on-dark-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.result-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-on-dark);
  margin-bottom: 0.5em;
}
.result-main {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: #fff;
  margin-bottom: 0.4em;
}
.result-meta {
  font-size: 0.88rem;
  color: var(--on-dark-mute);
  margin-bottom: 1.1em;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.result-actions .btn--light { border-color: #fff; }

/* ---------- 19. Tabellen ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  padding: 0.95rem 1.15rem;
}
.price-table td {
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.price-table tbody tr:nth-child(even) { background: #fafbfc; }
.price-table tbody tr:hover { background: var(--brand-tint); }

/* ---------- 20. FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] {
  border-color: rgba(227, 6, 19, 0.3);
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.05rem 1.35rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 10px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}
.faq-item summary:hover { color: var(--brand); }
.faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.faq-body a { font-weight: 600; }

/* ---------- 21. Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.contact-grid h2 { font-size: 1.3rem; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.contact-form .form-row .field { margin-bottom: 0; }
.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: #a9adb5; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 12b. Native Controls → sfix.ch-Branding ---------- */
/* Selects: OS-Pfeil entfernen, eigenen Chevron einblenden */
.field select,
.finder-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6em;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230f0f10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field select:hover,
.field select:focus,
.finder-select:hover:not(:disabled),
.finder-select:focus:not(:disabled) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Options-Liste: kein Dark-Mode-/OS-Fallback */
.field select option,
.finder-select option {
  background: var(--paper);
  color: var(--body);
}
/* Platzhalter im Marken-Look */
.field input::placeholder,
.field textarea::placeholder,
.chat-input-row input::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}
/* Browser-Autofill: gelber Kasten weg, Formularfarben behalten */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--body);
  box-shadow: 0 0 0 1000px var(--paper) inset;
  border-color: var(--line-strong);
}
/* Scrollbars: schmal, markenkonform */
.chat-log,
.table-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 15, 16, 0.28) transparent;
}
.chat-log::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.chat-log::-webkit-scrollbar-track,
.table-scroll::-webkit-scrollbar-track { background: transparent; }
.chat-log::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 15, 16, 0.28);
  border-radius: 999px;
}
.chat-log::-webkit-scrollbar-thumb:hover,
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- 12c. Custom-Dropdown (ui-select.js) ---------- */
.ui-select { position: relative; width: 100%; }
.ui-select-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ui-select-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.7em 2.6em 0.7em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  text-align: left;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230f0f10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px 8px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ui-select-btn:hover {
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ui-select-btn[aria-expanded="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ui-select-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ui-select-btn.is-placeholder { color: var(--ink-soft); }
.ui-select-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background-color: var(--tint);
}
.ui-select-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0; right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 15, 16, 0.16);
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 15, 16, 0.28) transparent;
}
.ui-select-list::-webkit-scrollbar { width: 8px; }
.ui-select-list::-webkit-scrollbar-thumb {
  background: rgba(15, 15, 16, 0.28);
  border-radius: 999px;
}
.ui-select-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0.65em 0.85em;
  border-radius: 8px;
  cursor: pointer;
  color: var(--body);
}
.ui-select-opt:hover,
.ui-select-opt.is-active { background: var(--tint); }
.ui-select-opt.is-selected {
  color: var(--brand-dark);
  font-weight: 600;
}
.ui-select-opt.is-selected::after { content: "✓"; color: var(--brand); }

.form-status { display: none; }
.form-status.is-visible {
  display: block;
  margin-bottom: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
}
.form-status--ok {
  background: #e7f6ec;
  border: 1px solid #9ed9b2;
  color: #0f5a2c;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: grid;
  gap: 1.45rem;
}
.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  background: var(--brand-tint);
  border-radius: 14px;
}
.info-row h3 {
  font-size: 1rem;
  margin-bottom: 0.25em;
}
.info-row p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.info-row a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--tint);
}
.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
}
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* ---------- 22. Legal (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin-top: 1.9rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p,
.legal li { color: var(--body); }
.legal address {
  padding: 1.15rem 1.35rem;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.75;
}
.legal ul { padding-left: 1.15em; }
.legal li { margin-bottom: 0.4em; }
.legal li::marker { color: var(--brand); }

/* ---------- 23. Floating-Dock ---------- */
.dock {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 15, 16, 0.28);
  transition: transform 0.15s var(--ease), box-shadow 0.15s ease;
}
.dock-btn:hover { transform: translateY(-3px) scale(1.05); }
.dock-btn:active { transform: scale(0.97); }
.dock-btn svg { width: 26px; height: 26px; fill: #fff; }
.dock-btn--chat { background: var(--brand); }
.dock-btn--chat:hover { background: var(--brand-dark); }
.dock-btn--wa { background: #1f9e56; }
.dock-btn--wa:hover { background: #17854a; }
.dock-btn--tg { background: #2299d6; }
.dock-btn--tg:hover { background: #1b80b6; }

/* ---------- 24. Chat-Dialog ---------- */
.chat-dialog {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: calc(clamp(0.75rem, 2vw, 1.25rem) + 56px + 0.75rem);
  z-index: 160;
  display: none;
  flex-direction: column;
  width: min(370px, calc(100vw - 1.5rem));
  max-height: min(560px, calc(100dvh - 7rem));
  background: var(--paper);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(15, 15, 16, 0.32);
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat-dialog.is-open { display: flex; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background:
    radial-gradient(340px 120px at 90% -20%, rgba(227, 6, 19, 0.4), transparent 70%),
    var(--ink);
  color: #fff;
  padding: 0.95rem 1.15rem;
}
.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  background: var(--brand);
  border-radius: 14px;
  flex-shrink: 0;
}
.chat-head h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0;
}
.chat-head p {
  font-size: 0.78rem;
  color: var(--on-dark-mute);
  margin: 0;
}
.chat-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.14); }

.chat-log {
  flex: 1 1 auto;
  min-height: 180px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--tint);
}
.chat-msg {
  max-width: 85%;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.chat-msg a { color: inherit; }
.chat-msg--bot {
  align-self: flex-start;
  background: var(--paper);
  color: var(--body);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.25);
}
.chat-msg--user a { color: #fff; }

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 1rem 0;
  background: var(--paper);
}
.chat-chip {
  min-height: 44px;
  padding: 0.45em 0.9em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border: 1px solid rgba(227, 6, 19, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chat-chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1rem 0.35rem;
  background: var(--paper);
}
.chat-input-row input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.55em 0.9em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
}
.chat-input-row input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
}
.chat-send {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.chat-send:hover { background: var(--brand-dark); }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }

.chat-demo-note {
  margin: 0;
  padding: 0.35rem 1rem 0.85rem;
  font-size: 0.74rem;
  color: var(--ink-soft);
  background: var(--paper);
}

/* ============================================================
   25. Responsive – Breakpoints 1100 / 900 / 760 / 560
   ============================================================ */

/* --- ≥560px --- */
@media (min-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- ≥760px --- */
@media (min-width: 760px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .b2b-banner .btn { flex-shrink: 0; }
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cta-actions { flex-shrink: 0; }
}

/* --- ≥900px: Nav sichtbar horizontal, Karten dreispaltig, Hero-Split --- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; margin-left: 0.5rem; }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .main-nav li + li { border-top: 0; }

  .hero-grid { grid-template-columns: 1.35fr 0.9fr; }
  .hero-card { display: block; justify-self: end; }

  .usp-grid { grid-template-columns: repeat(4, 1fr); }
  .usp-item + .usp-item { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split-photo { justify-self: end; max-width: 560px; }
  .process { grid-template-columns: repeat(4, 1fr); }
  .process-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 72px;
    right: -1.15rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(227, 6, 19, 0.45) 0 8px, transparent 8px 16px);
  }
  .contact-grid { grid-template-columns: 1.25fr 0.95fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- ≥1100px: volle Ausbaustufe --- */
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- CTA im Header nur ab 760px; Topbar-Hinweis erst ab 760px --- */
@media (max-width: 759px) {
  .header-cta { display: none; }
  .topbar-note { display: none; }
  .topbar-list li:nth-child(2) { display: none; } /* Zeilen zu lang: Adresse + Kanäle genügen */
}

@media (max-width: 559px) {
  .topbar-inner { justify-content: center; }
  .topbar-list { justify-content: center; gap: 0.35rem 0.9rem; font-size: 0.78rem; }
  .topbar-list li:nth-child(1) { display: none; } /* nur Telefon + WhatsApp: einzeilig */
}

/* ============================================================
   26. Barrierefreiheit / 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;
  }
}

@media print {
  .site-header, .topbar, .dock, .chat-dialog, .nav-toggle, .split-photo { display: none !important; }
  body { color: #000; }
}

/* SFIX buttons: flat surfaces, color inversion on hover, no lift or glow. */
.btn{filter:none!important;box-shadow:none!important;transition:background-color .18s ease,color .18s ease,border-color .18s ease!important}
.btn:hover,.btn:active{transform:none!important;filter:none!important;opacity:1!important;box-shadow:none!important}
.btn--primary,.btn--brand{background:#c92332!important;color:#fff!important;border-color:#c92332!important}
.btn--ghost,.btn--light{background:transparent!important;color:#c92332!important;border-color:#c92332!important}
.btn--primary:hover,.btn--brand:hover{background:#cf2939!important;color:#fff!important;border-color:#cf2939!important}
.btn--ghost:hover,.btn--light:hover{background:#c92332!important;color:#fff!important;border-color:#c92332!important}
.dock-btn:hover{transform:none!important;filter:none!important;box-shadow:none!important}
.dock-btn--chat:hover{background:#fff;color:#c92332}
.dock-btn--wa:hover{background:#fff;color:#1f9e56}
.dock-btn--tg:hover{background:#fff;color:#2299d6}
.chat-send:hover{background:#fff;color:var(--brand);border:1px solid var(--brand)}
@media(prefers-reduced-motion:reduce){.btn{transition:none!important}}
