/* =========================================================
   Graack & Muchow – Heizung · Sanitär
   Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Markenfarben (orientiert am Firmenfahrzeug) */
  --color-primary: #0a3a78;
  --color-primary-dark: #062a5a;
  --color-primary-light: #1f5aa6;
  --color-accent: #e87722;        /* Warmes Orange – Notdienst / CTA */
  --color-accent-dark: #c0631a;

  /* Neutralfarben */
  --color-text: #1a2030;
  --color-text-muted: #5a6478;
  --color-border: #e2e6ee;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6fa;
  --color-bg-dark: #0a1a36;

  --color-success: #1e8a4a;
  --color-error: #c0392b;

  /* Typografie */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Maße */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(10, 26, 54, 0.06),
               0 1px 1px rgba(10, 26, 54, 0.04);
  --shadow:    0 4px 12px rgba(10, 26, 54, 0.08),
               0 2px 4px rgba(10, 26, 54, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 26, 54, 0.12),
               0 4px 8px rgba(10, 26, 54, 0.06);

  /* Übergänge */
  --t-fast: 120ms ease;
  --t: 200ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-primary-dark); }
button { font: inherit; cursor: pointer; }

/* Fokus-Styles barrierefrei */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 0.6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.7em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.6em; }
h4 { font-size: 1.1rem; margin-bottom: 0.5em; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
section.section-alt { background: var(--color-bg-alt); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

/* Max. 3 Spalten – nie mehr, auch nicht bei sehr breiten Screens */
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
/* reverse: Text steht im HTML hinter dem Bild, soll aber visuell zuerst
   erscheinen – auf Desktop UND Mobile. */
.split.reverse > :first-child { order: 2; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: background var(--t), border-color var(--t),
              color var(--t), transform var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-on-dark {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-on-dark:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Topbar (Notdienst-Banner) ---------- */
.topbar {
  background: var(--color-bg-dark);
  color: #e7eaf2;
  font-size: 0.9rem;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}
/* Telefonnummern dürfen nicht in der Mitte umbrechen */
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }

@media (max-width: 700px) {
  .topbar { font-size: 0.82rem; }
  .topbar-inner {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0;
  }
}
.topbar .pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 119, 34, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(232, 119, 34, 0); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.05;
  flex-shrink: 0;
}
.logo:hover { color: var(--color-primary); }
.logo-mark { display: none; }
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.logo-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
}
.nav a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav a.active { color: var(--color-primary); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  color: var(--color-primary);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1240px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Header beim offenen Menü über das Overlay heben.
     Sonst sitzt das body::before-Overlay (z-index 90) ÜBER dem Header-
     Stacking-Context (z-index 50) und fängt alle Klicks ab – Nav-Links
     wären nicht mehr bedienbar. */
  body.nav-open .site-header { z-index: 110; }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(85vw, 360px);
    background: #fff;
    padding: 5.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    align-items: stretch;
    gap: 0.25rem;
    overflow-y: auto;
  }
  body.nav-open .nav a { font-size: 1.05rem; padding: 0.85rem 1rem; }
  body.nav-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(10, 26, 54, 0.55);
    z-index: 90;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; max-width: 50ch; }
.hero .eyebrow { color: var(--color-accent); }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 16px; height: 16px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, transparent 60%, rgba(10, 58, 120, 0.35));
}

/* Hero ohne Bild – Text füllt die ganze Breite, mehr Padding */
.hero--text-only { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero--text-only .hero-text {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.hero--text-only h1 { font-size: clamp(1.85rem, 5vw, 3.75rem); }
.hero--text-only .lead { max-width: 60ch; margin-inline: auto; }
.hero--text-only .hero-cta { justify-content: center; }

/* ---------- Service Cards ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .lead { margin: 0 auto; }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--color-text); }
.card p  { color: var(--color-text-muted); margin-bottom: 1rem; }
.card a.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card a.card-link::after { content: "→"; transition: transform var(--t-fast); }
.card:hover a.card-link::after { transform: translateX(3px); }

/* Highlight-Karte (z.B. Buderus / Notdienst) */
.card-highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  border-color: transparent;
}
.card-highlight h3 { color: #fff; }
.card-highlight p  { color: rgba(255, 255, 255, 0.85); }
.card-highlight .card-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.card-highlight a.card-link { color: #fff; }

/* ---------- USP-Strip ---------- */
.usp-strip {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem 1.25rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 5rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
}
.usp-item svg {
  width: 28px; height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.usp-item strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.usp-item span { color: var(--color-text-muted); font-size: 0.82rem; }

@media (max-width: 640px) {
  .usp-strip {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
}

/* ---------- Buderus-Block ---------- */
.buderus-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #0a3a78 0%, #1f5aa6 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 900px) {
  .buderus-block { grid-template-columns: 1.1fr 1fr; }
}
.buderus-block h2 { color: #fff; }
.buderus-block p  { color: rgba(255, 255, 255, 0.88); }
.buderus-block .partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.buderus-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* Variante ohne Bild – Box passt sich an den Text an */
.buderus-block--text {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
}
.buderus-block--text > div { max-width: none; }

/* ---------- Notdienst-Bar ---------- */
.emergency-bar {
  background: var(--color-accent);
  color: #fff;
  padding: 2.5rem 0;
}
.emergency-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.emergency-bar h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.emergency-bar p  { margin: 0.25rem 0 0; color: rgba(255, 255, 255, 0.9); }
.emergency-bar .btn-on-dark {
  background: #fff;
  color: var(--color-accent-dark);
}
.emergency-bar .btn-on-dark:hover { background: #fff; color: #8a4612; }

/* ---------- Page header (für Unterseiten) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.page-header .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.page-header .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .lead { color: rgba(255, 255, 255, 0.88); max-width: 65ch; }

/* Page-Header mit Partner-Logo rechts (Buderus-Detailseite) */
.page-header--with-badge .page-header-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.page-header--with-badge .partner-logo {
  justify-self: start;
  width: clamp(140px, 22vw, 200px);
  height: auto;
  border-radius: 8px;
}
@media (min-width: 800px) {
  .page-header--with-badge .page-header-inner {
    grid-template-columns: 1fr auto;
  }
  .page-header--with-badge .partner-logo { justify-self: end; }
}

/* ---------- Forms ---------- */
.form {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 700px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; }
.field label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.field .req { color: var(--color-error); margin-left: 2px; }
.field .hint {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 58, 120, 0.12);
}
.field textarea { resize: vertical; min-height: 140px; }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

/* Honeypot (versteckt für Menschen) */
.field-hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.form-status.success {
  background: #e8f5ee;
  color: var(--color-success);
  border: 1px solid #b9e0c9;
}
.form-status.error {
  background: #fdecea;
  color: var(--color-error);
  border: 1px solid #f5c2bd;
}

/* ---------- Info-Liste / Feature-Items ---------- */
.feature-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
}
.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 3px;
}

/* Helle Variante für dunkle Hintergründe (z.B. Buderus-Block) */
.buderus-block .feature-list li::before {
  background: #fff;
  color: var(--color-primary);
}

/* Leistungs-Textblock (zentriert, lesefreundlich) */
.leistung-block {
  max-width: 780px;
  margin: 0 auto;
}
.leistung-block .eyebrow { margin-bottom: 0.5rem; }
.leistung-block h2 { margin-bottom: 1rem; }
.leistung-block > p { margin-bottom: 1.25rem; }
.leistung-block .feature-list { margin-top: 1.25rem; }

/* Liste ohne Häkchen (z.B. nummerierte Schritte) */
.plain-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.plain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text);
}
.plain-list li strong {
  color: var(--color-primary);
  font-weight: 700;
  min-width: 1.4rem;
  flex-shrink: 0;
}

/* ---------- Kontakt-Block ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card h3 { color: var(--color-primary); }
.contact-card .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
}
.contact-card .contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-card .contact-row svg {
  width: 22px; height: 22px; color: var(--color-accent);
  flex-shrink: 0; margin-top: 3px;
}
.contact-card .contact-row strong { display: block; color: var(--color-text); }
.contact-card .contact-row a { color: var(--color-primary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: #c7cde0;
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-grid a { color: #c7cde0; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid .logo { color: #fff; }
.footer-grid .logo .logo-text small { color: #8b94b0; }
.footer-grid .logo-mark { background: #fff; color: var(--color-primary); }

/* ---------- Öffnungszeiten ---------- */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.hours-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
}
.hours-list li strong {
  color: var(--color-text);
  font-weight: 600;
}
.hours-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-grid .hours-list { font-size: 0.9rem; color: #c7cde0; }
.footer-grid .hours-list li { grid-template-columns: 4.5rem 1fr; }
.footer-grid .hours-list strong { color: #fff; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8b94b0;
}
.footer-bottom a { color: #c7cde0; margin-left: 1.25rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.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;
}

/* Bild mit Caption */
.figure { display: flex; flex-direction: column; gap: 0.6rem; }
.figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.figure figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Preserve aspect ratio for showroom etc. */
.img-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.img-cover-tall { aspect-ratio: 3 / 4; }
.img-cover-wide { aspect-ratio: 16 / 9; }

/* ---------- Stellenanzeigen (eingeklappt) ---------- */
.job-list {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.job-card {
  padding: 0;
  height: auto;
  overflow: hidden;
}
.job-card:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--color-primary-light);
}
.job-card[open] {
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}
.job-card > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem 1.25rem;
  align-items: center;
}
.job-card > summary::-webkit-details-marker { display: none; }
.job-card > summary .eyebrow { display: block; margin-bottom: 0.35rem; }
.job-card > summary h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--color-primary);
}
.job-card > summary h2 + h2 {
  margin-bottom: 0.4rem;
}
.job-card .job-preview {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.job-toggle-hint {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}
.job-card[open] .job-preview { display: none; }
.job-hint-open { display: none; }
.job-card[open] .job-hint-closed { display: none; }
.job-card[open] .job-hint-open { display: inline; }
.job-chevron {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.job-chevron svg { width: 22px; height: 22px; }
.job-card[open] .job-chevron {
  transform: rotate(180deg);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.job-body {
  padding: 0 1.75rem 2rem;
  border-top: 1px solid var(--color-border);
}
.job-body > p:first-child { margin-top: 1.5rem; }
.job-body h3 { margin-top: 2rem; }
.job-body .btn-group { margin-top: 2rem; }

/* ---------- Jobs-Hinweis auf der Startseite ---------- */
.jobs-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.jobs-popup.is-open { display: flex; }
.jobs-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 54, 0.35);
}
.jobs-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.5rem 1.6rem;
  margin-bottom: 0.5rem;
}
.jobs-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  display: grid;
  place-items: center;
  line-height: 1;
}
.jobs-popup-close svg { width: 26px; height: 26px; }
.jobs-popup-close:hover {
  background: var(--color-primary);
  color: #fff;
}
.jobs-popup-card .eyebrow { margin-bottom: 0.4rem; padding-right: 3.5rem; }
.jobs-popup-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  padding-right: 3.5rem;
}
.jobs-popup-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.15rem;
}
.jobs-popup-card .btn { width: 100%; justify-content: center; }

@media (min-width: 768px) {
  .jobs-popup {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem 1.75rem 1.75rem;
  }
  .jobs-popup-backdrop { background: transparent; }
  .jobs-popup-card { margin: 0; }
  .jobs-popup-close {
    width: 56px;
    height: 56px;
  }
}

/* ===== Blog ===== */
.blog-list {
  display: grid;
  gap: 1.25rem;
  max-width: 780px;
  margin-inline: auto;
}
.blog-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
  box-shadow: var(--shadow);
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.blog-preview-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.blog-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
}
.blog-preview-card time {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}
.blog-preview-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}
.blog-preview-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-preview-card h3 a:hover {
  color: var(--color-primary);
}
.blog-preview-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
  flex: 1;
}
.blog-preview-card .card-link {
  font-weight: 700;
  color: var(--color-primary);
}
.blog-preview-card .card-link::after {
  content: " →";
}
.blog-preview-more {
  margin: 1.75rem 0 0;
  text-align: center;
}
@media (max-width: 900px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}
.blog-card-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}
.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card h3 a:hover { color: var(--color-primary); }
.blog-card p {
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}
.blog-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--color-primary);
}
.blog-card .card-link::after { content: "→"; transition: transform var(--t-fast); }
.blog-card:hover .card-link::after { transform: translateX(3px); }
.blog-empty {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: 1px dashed color-mix(in srgb, var(--color-primary) 28%, var(--color-border));
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-primary) 4%, var(--color-bg));
}
.blog-empty h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.blog-empty p {
  color: var(--color-text-muted);
  margin: 0;
}
.blog-meta {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.blog-layout {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
}
.page-header .blog-meta {
  color: rgba(255, 255, 255, 0.75);
}
.blog-content > .lead {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
}
.blog-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 6rem;
}
.blog-content p,
.blog-content ul,
.blog-content ol {
  margin-bottom: 1rem;
}
.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
}
.blog-figure {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.blog-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.blog-toc {
  margin: 1.5rem 0 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.blog-toc strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.blog-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}
.blog-toc a {
  color: var(--color-text);
  text-decoration: none;
}
.blog-toc a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.blog-callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
}
.blog-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
}
.blog-callout p { margin: 0; }
.blog-cta {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
}
.blog-cta h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.blog-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.15rem;
}
.blog-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.blog-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.blog-author,
.blog-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.blog-author h3,
.blog-related h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.blog-author p {
  color: var(--color-text-muted);
  margin: 0;
}
.blog-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-related li { margin-bottom: 0.4rem; }
.blog-related a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.blog-related a:hover { text-decoration: underline; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary-dark);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 768px) {
  .back-to-top {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 52px;
    height: 52px;
  }
}

/* ---------- FAQ (Leistungen) ---------- */
.faq-section {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.faq-section > .faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-disclose {
  max-width: 820px;
  margin: 1.25rem auto 0;
  text-align: center;
}
.faq-disclose > summary.faq-disclose-btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
}
.faq-disclose > summary.faq-disclose-btn::-webkit-details-marker { display: none; }
.faq-disclose > summary.faq-disclose-btn::after {
  content: " ↓";
  font-weight: 700;
}
.faq-disclose[open] > summary.faq-disclose-btn::after {
  content: " ↑";
}
.faq-disclose > .faq-list {
  margin-top: 1.25rem;
  text-align: left;
}
.faq-list {
  display: grid;
  gap: 0.65rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.faq-item[open] > summary::after {
  content: "–";
}
.faq-item > p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item a {
  font-weight: 600;
}
.section-alt .faq-item {
  background: var(--color-bg);
}
