/* ==========================================================================
   NOTFALLUMZUG.CH — Globales Stylesheet
   Marke: Schnelligkeit, Verlässlichkeit, 24/7-Erreichbarkeit
   ========================================================================== */

:root {
  /* Farben — Notfall/Rettung-Inspiriert, aber seriös */
  --ink:        #14181d;   /* fast-schwarzes Anthrazit für Text */
  --ink-soft:   #414852;   /* sekundärer Text */
  --paper:      #ffffff;
  --mist:       #f4f6f8;   /* helle Sektionsflächen */
  --line:       #dfe4e9;   /* Hairlines */
  --signal:     #e8442a;   /* Signal-Rot (Notfall-Akzent) */
  --signal-dk:  #c1341e;
  --deep:       #0d2540;   /* tiefes Marineblau = Vertrauen */
  --deep-soft:  #17395f;
  --gold:       #f2b134;   /* warmer Sekundärakzent */
  --ok:         #1f9d5c;

  /* Typografie */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:    "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(13, 37, 64, .35);
  --shadow-sm: 0 8px 24px -14px rgba(13, 37, 64, .30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--signal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .3px;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p  { margin: 0 0 1.1em; }
.lead { font-size: 1.22rem; color: var(--ink-soft); }

/* ---------- Top-Notfallbalken ---------- */
.emergency-bar {
  background: var(--signal);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .3px;
}
.emergency-bar a { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); display: inline-flex; align-items: center; }
.logo b { color: var(--signal); }
.logo img { height: 58px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .96rem; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--signal); }
.nav-cta {
  background: var(--signal); color: #fff; padding: 11px 20px;
  border-radius: 999px; font-weight: 700; font-size: .95rem;
  white-space: nowrap; transition: background .2s;
}
.nav-cta:hover { background: var(--signal-dk); color: #fff; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(13,37,64,.94) 0%, rgba(13,37,64,.80) 55%, rgba(13,37,64,.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(232,68,42,.35), transparent 45%);
  background-color: var(--deep);
  color: #fff;
  padding: 88px 0 76px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(242,177,52,.06) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 2px;
  font-size: 1rem; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(242,177,52,.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(232,68,42,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,68,42,.6)} 70%{box-shadow:0 0 0 12px rgba(232,68,42,0)} 100%{box-shadow:0 0 0 0 rgba(232,68,42,0)} }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.86); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.02rem; padding: 15px 28px;
  border-radius: 999px; transition: transform .15s, background .2s; cursor: pointer; border: 0;
}
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: var(--signal-dk); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; font-size: .95rem; color: rgba(255,255,255,.82); }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust b { color: var(--gold); }

/* ---------- Sektionen ---------- */
section { padding: 68px 0; }
section.alt { background: var(--mist); }
.eyebrow-dark {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 2px;
  font-size: .95rem; font-weight: 600; color: var(--signal); margin-bottom: 10px; display: block;
}
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Fließtext-Block */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; color: var(--deep); }
.prose ul { padding-left: 0; list-style: none; margin: 1.2em 0; }
.prose ul li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.prose ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--signal); color: #fff;
  border-radius: 50%; font-size: .8rem; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.prose strong { color: var(--ink); }

/* Feature-Grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(232,68,42,.1);
  color: var(--signal); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px; font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* Stat-Zeile */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat b { font-family: var(--display); font-size: 3rem; color: var(--signal); display: block; line-height: 1; }
.stat span { font-size: .95rem; color: var(--ink-soft); font-weight: 600; }

/* Preis-Box */
.pricebox {
  background: var(--deep); color: #fff; border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.pricebox .from { font-size: .95rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.pricebox .amt { font-family: var(--display); font-size: 3.4rem; line-height: 1; margin: 6px 0 4px; }
.pricebox .amt small { font-size: 1.1rem; color: rgba(255,255,255,.7); }
.pricebox p { color: rgba(255,255,255,.82); font-size: .96rem; }

/* Verwandte Leistungen / interne Links */
.related { background: var(--mist); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: .95rem; color: var(--deep);
  transition: all .18s;
}
.chip:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.chip::before { content: "→"; color: var(--signal); font-weight: 700; }
.chip:hover::before { color: var(--gold); }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary {
  font-family: var(--display); font-size: 1.3rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--signal); font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--ink-soft); }

/* CTA-Band */
.cta-band {
  background: linear-gradient(120deg, var(--signal) 0%, var(--signal-dk) 100%);
  color: #fff; text-align: center; padding: 62px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 auto 26px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); }
.cta-phone { font-family: var(--display); font-size: 2.4rem; color: #fff; display: inline-block; margin-top: 6px; }
.cta-phone:hover { color: var(--gold); }

/* Breadcrumb */
.crumb { font-size: .9rem; color: var(--ink-soft); padding: 16px 0; }
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--signal); }
.crumb span { color: var(--line); margin: 0 8px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 26px; font-size: .93rem;
}
footer.site h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: rgba(255,255,255,.7); }
footer.site a:hover { color: var(--gold); }
.foot-logo { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot-logo b { color: var(--signal); }
.foot-logo img { height: 76px; width: auto; display: block; margin-bottom: 4px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 60px 0 52px; }
}

/* Split-Layout (Text + Box) */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: start; }
.sticky { position: sticky; top: 96px; }

/* ---------- Offerte-Formular ---------- */
.offer-form { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); }
.offer-form label { display:block; font-weight:600; font-size:.92rem; color:var(--ink); margin-bottom:16px; }
.offer-form input, .offer-form select, .offer-form textarea {
  width:100%; margin-top:6px; padding:12px 14px; border:1px solid var(--line);
  border-radius:10px; font-family:var(--body); font-size:1rem; color:var(--ink);
  background:var(--mist); transition:border-color .15s, box-shadow .15s;
}
.offer-form input:focus, .offer-form select:focus, .offer-form textarea:focus {
  outline:none; border-color:var(--signal); box-shadow:0 0 0 3px rgba(232,68,42,.12); background:#fff;
}
.offer-form .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.offer-form .check { display:flex; align-items:flex-start; gap:10px; font-weight:500; font-size:.9rem; color:var(--ink-soft); }
.offer-form .check input { width:auto; margin-top:3px; }
.offer-form textarea { resize:vertical; }
.form-hint { font-size:.85rem; color:var(--ink-soft); margin-top:14px; }
@media (max-width:600px){ .offer-form .form-grid { grid-template-columns:1fr; } }

/* ---------- Kreis-Tabelle (Pillar-Seite) ---------- */
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.kreis-table { width:100%; border-collapse:collapse; font-size:.96rem; background:#fff; min-width:640px; }
.kreis-table thead th {
  background:var(--deep); color:#fff; text-align:left; padding:14px 16px;
  font-family:var(--display); font-weight:600; font-size:1rem; letter-spacing:.3px;
}
.kreis-table td { padding:14px 16px; border-top:1px solid var(--line); vertical-align:top; color:var(--ink-soft); }
.kreis-table tbody tr:nth-child(even) { background:var(--mist); }
.miet-badge { display:inline-block; padding:3px 10px; border-radius:999px; font-size:.8rem; font-weight:700; white-space:nowrap; }
.miet-günstig { background:#e3f6ec; color:#1f9d5c; }
.miet-moderat { background:#e6f0fb; color:#2166b5; }
.miet-gehoben { background:#fdf0e0; color:#c07a1a; }
.miet-hoch { background:#fde6e0; color:#c1341e; }
.miet-sehr { background:#f8dcd6; color:#a11f0e; }
