/* Schlüsseldienst Cottbus / Chóśebuz — Editorial-Landschaft
   Signature: Branitzer Seepyramide (Fürst Pückler) als Horizont-Motiv
   Palette aus Stadtwappen: roter Krebs auf Silber, Branitz-Parkgrün als Akzent */

:root {
  --krebs: #d42a1c;      /* Wappenrot — nur Notruf/Akzent */
  --krebs-dark: #a81f14;
  --sable: #1a1410;      /* Ink / Text */
  --sable-soft: #3a322c;
  --park: #2f5d3a;       /* Branitzer Parkgrün — struktureller Akzent */
  --park-dark: #224429;
  --paper: #eef0ec;      /* kühles Off-White (Silber) */
  --paper-2: #e3e6e1;
  --silt: #8a9aa0;       /* Wasser / gedämpftes Steel */
  --line: #cdd2cd;
  --white: #ffffff;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--sable);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ---------- Typo-Skala ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }
.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--park);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--park); display: inline-block; }
.sorb { font-style: italic; color: var(--silt); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,240,236,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { font-family: var(--ff-display); font-size: 1.12rem; font-weight: 600; display: block; line-height: 1.05; color: var(--sable); }
.brand span { font-size: 0.72rem; color: var(--silt); letter-spacing: 0.12em; text-transform: uppercase; }
.head-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--krebs); color: var(--white);
  padding: 0.6rem 1.05rem; border-radius: var(--r);
  text-decoration: none; font-weight: 700; font-size: 0.98rem;
  white-space: nowrap;
}
.head-call:hover { background: var(--krebs-dark); }
.head-call svg { width: 17px; height: 17px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sable); color: var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--gap); align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero .eyebrow { color: #c9b89f; }
.hero .eyebrow::before { background: #c9b89f; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); color: var(--white); margin: 1rem 0 1.1rem; }
.hero h1 em { font-style: italic; color: var(--krebs); }
.hero .lead { font-size: 1.12rem; color: #d8d3ca; max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.3rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem; border-radius: var(--r);
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--krebs); color: var(--white); }
.btn-primary:hover { background: var(--krebs-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.34); }
.btn-ghost:hover { border-color: var(--paper); }
.hero-micro { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.86rem; color: #b9b3a9; }
.hero-micro span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-micro b { color: var(--paper); font-weight: 600; }

/* Signature: Seepyramide */
.pyramid { position: relative; align-self: stretch; min-height: 320px; }
.pyramid svg { width: 100%; height: 100%; max-height: 420px; }

/* ---------- Horizont-Trenner ---------- */
.horizon { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2.4rem 0 0; }
.horizon::before, .horizon::after { content: ""; height: 1px; background: var(--line); flex: 1; max-width: 220px; }
.horizon svg { width: 26px; height: 18px; opacity: 0.8; }

/* ---------- Section-Grundlage ---------- */
.section { padding: clamp(3rem, 6vw, 4.6rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0.7rem 0 0.6rem; }
.section-head p { color: var(--sable-soft); }
.section--ink { background: var(--sable); color: var(--paper); }
.section--ink .section-head p { color: #c3bdb3; }
.section--ink h2 { color: var(--white); }
.section--paper { background: var(--paper-2); }

/* ---------- Festpreis-Band ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price-cell { background: var(--white); padding: 1.5rem 1.3rem; }
.price-cell .k { font-size: 0.82rem; color: var(--silt); text-transform: uppercase; letter-spacing: 0.08em; }
.price-cell .v { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 600; color: var(--sable); margin-top: 0.3rem; }
.price-cell .v small { font-size: 0.95rem; color: var(--park); font-family: var(--ff-body); font-weight: 600; }
.price-note { margin-top: 1rem; font-size: 0.88rem; color: var(--sable-soft); }

/* ---------- Leistungen (Editorial-Liste) ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.svc {
  padding: 1.6rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
}
.svc:nth-child(odd) { padding-right: 2.2rem; }
.svc:nth-child(even) { padding-left: 2.2rem; border-left: 1px solid var(--line); }
.svc .num { font-family: var(--ff-display); font-size: 1.05rem; color: var(--krebs); font-weight: 600; padding-top: 0.15rem; }
.svc h3 { margin-bottom: 0.35rem; }
.svc p { font-size: 0.95rem; color: var(--sable-soft); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; color: var(--park);
}
.step::after { content: ""; position: absolute; top: 0.55rem; left: 2.4rem; right: 0; height: 1px; background: rgba(255,255,255,0.18); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--white); }
.step p { font-size: 0.9rem; color: #c3bdb3; }

/* ---------- Einsatzgebiet ---------- */
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: center; }
.district-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.district-list span {
  background: var(--white); border: 1px solid var(--line);
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
}
.area-map { background: var(--sable); border-radius: var(--r); aspect-ratio: 4/3; position: relative; overflow: hidden; }
.area-map svg { width: 100%; height: 100%; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.trust-cell .v { font-family: var(--ff-display); font-size: 2.3rem; font-weight: 600; color: var(--krebs); }
.trust-cell .k { font-size: 0.92rem; color: var(--sable-soft); }
.section--ink .trust-cell .v { color: #e8a598; }
.section--ink .trust-cell .k { color: #c3bdb3; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; position: relative;
  font-family: var(--ff-display); font-size: 1.12rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 1.1rem; font-size: 1.5rem; color: var(--park); font-family: var(--ff-body); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 1.3rem; color: var(--sable-soft); max-width: 70ch; }

/* ---------- Closing / CTA ---------- */
.closing { text-align: center; }
.closing h2 { margin-bottom: 0.8rem; }
.closing .lead { max-width: 56ch; margin: 0 auto 1.8rem; color: #c3bdb3; font-size: 1.08rem; }
.closing .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-foot { background: var(--sable); color: #b9b3a9; padding: 2.4rem 0; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.foot-row a { color: var(--paper); text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 1.3rem; }

/* ---------- Sticky Mobile-Call ---------- */
.mobile-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .pyramid { order: -1; min-height: 220px; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(even) { padding-left: 0; border-left: none; }
  .svc:nth-child(odd) { padding-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .area-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .head-call span.lbl { display: none; }
  .mobile-call {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--krebs); color: var(--white); text-decoration: none;
    align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.95rem; font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  }
  .mobile-call svg { width: 19px; height: 19px; }
  body { padding-bottom: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
:focus-visible { outline: 3px solid var(--park); outline-offset: 2px; }
