/* ============================================================
   RetroHero – Website Designsystem
   Marke: Teal #14838A · Anthrazit · warmer heller Hintergrund
   Typo:  Cormorant Garamond (Titel) · Archivo (Text)
   ============================================================ */

:root {
  --teal: #14838A;
  --teal-deep: #0B5E64;
  --teal-ink: #0A4A4F;
  --teal-tint: #E7F1F0;
  --ink: #232A2C;
  --ink-soft: #51605F;
  --paper: #F7F5F0;
  --card: #FFFFFF;
  --line: #E4E1D7;
  --line-dark: #38454646;
  --gold: #DCA742;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --wrap: 1140px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(35,42,44,.05), 0 12px 32px -16px rgba(35,42,44,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(25px, 3vw, 33px); font-weight: 700; margin-top: 0; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

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

/* ---------- Eyebrow / Badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-deep);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.badge-google {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px 7px 11px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: 0 1px 2px rgba(35,42,44,.06);
}
.badge-google { text-decoration: none; transition: border-color .15s ease; }
a.badge-google:hover { border-color: var(--teal); color: var(--ink); }
.badge-google .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.badge-google small { font-weight: 500; color: var(--ink-soft); font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16.5px;
  border-radius: 10px; padding: 14px 24px; line-height: 1.25;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: var(--teal-tint); color: var(--teal-ink); border-color: #B9C9C8; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: #D8E8E7; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-on-teal { background: #fff; color: var(--teal-ink); }
.btn-on-teal:hover { background: var(--paper); color: var(--teal-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: #ffffff70; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: #ffffff14; }
.btn .ic { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  height: 74px; max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .navlink {
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 9px 13px; border-radius: 8px;
  white-space: nowrap;
}
.nav > a:hover, .nav .navlink:hover { background: var(--teal-tint); color: var(--teal-ink); }
.nav > a[aria-current="page"], .nav .has-sub.active > .navlink { color: var(--teal-deep); font-weight: 600; }

.has-sub { position: relative; }
.has-sub > .navlink { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-family: var(--font-body); cursor: pointer; }
.has-sub > .navlink::after { content: ""; width: 8px; height: 8px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column;
}
/* unsichtbare Brücke über die 8px-Lücke, damit Hover nicht abreisst */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub.open .submenu { display: flex; }
.submenu a {
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-size: 15.5px; font-weight: 500;
}
.submenu a:hover { background: var(--teal-tint); color: var(--teal-ink); }
.submenu .sub-all { border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; color: var(--teal-deep); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .btn { padding: 11px 18px; font-size: 15.5px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero .lead { font-size: 18.5px; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 15px; color: var(--ink-soft); }
.hero-meta .tick { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-meta .tick::before {
  content: ""; width: 17px; height: 17px; flex: none; border-radius: 50%;
  background: var(--teal-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" fill="none" stroke="%230B5E64" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/11px no-repeat;
}

.media-frame {
  border: 1px solid var(--line); background: var(--card);
  border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow);
}
.media-frame image-slot { width: 100%; border-radius: 8px; }
.media-frame figcaption { font-size: 13.5px; color: var(--ink-soft); padding: 10px 6px 2px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { max-width: 21em; }
.section .body { max-width: 70ch; }
.two-col { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 56px; align-items: start; }

/* checklist */
.checklist { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checklist li {
  position: relative; padding: 16px 18px 16px 50px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.checklist li::before {
  content: ""; position: absolute; left: 17px; top: 19px; width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" fill="none" stroke="%230B5E64" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/12px no-repeat;
}
.checklist li strong { color: var(--ink); }
.checklist li a { font-weight: 600; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card .glyph { width: 44px; height: 44px; border-radius: 11px; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal-deep); }
.card .glyph svg { width: 24px; height: 24px; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--teal-deep); }
.card .more::after { content: " →"; }

/* steps */
.steps { list-style: none; counter-reset: step; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800;
  color: var(--teal); margin-bottom: 8px;
}
.steps h3 { font-size: 17.5px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* dark band (Region) */
.band-dark { background: var(--ink); color: #E9EDEC; padding: 64px 0; }
.band-dark h2 { color: #fff; }
.band-dark p { color: #C4CECD; max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chips span, .chips a {
  border: 1px solid #4A5857; border-radius: 999px; padding: 7px 15px;
  font-size: 14.5px; color: #DDE5E4; text-decoration: none;
}
.chips a:hover { border-color: var(--teal); color: #fff; background: #14838A33; }

/* quote / reviews */
.stars-lg { color: var(--gold); font-size: 26px; letter-spacing: 6px; margin-bottom: 18px; }
.quote-block { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-block blockquote {
  margin: 0 0 18px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(21px, 2.6vw, 28px); line-height: 1.35; color: var(--ink);
}
.quote-block cite { font-style: normal; font-size: 15px; color: var(--ink-soft); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.review-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.review-card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.review-card footer { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.review-card footer time { color: var(--ink-soft); font-weight: 500; }
.review-card.placeholder { border-style: dashed; background: transparent; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: #fff; padding: 72px 0; }
.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { color: #D8EAEA; max-width: 62ch; }
.cta-band .hero-ctas { margin-top: 28px; }

/* ---------- Article pages (generated content) ---------- */
.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%); }
.page-hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 75ch; }
.page-hero h1 { max-width: 24em; }
.article { padding: 8px 0 24px; }
.article section { padding: 44px 0 6px; }
.article section + section { border-top: 1px solid var(--line); margin-top: 38px; }
.article h2 { max-width: 26em; }
.article p { max-width: 76ch; }
.article .inline-cta { margin: 8px 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #1C2324; color: #B9C4C3; font-size: 15px; }
.site-footer a { color: #DCE4E3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto auto; gap: 72px; padding: 56px 0 40px; }
.footer-brand img { height: 60px; }
.footer-brand p { margin: 16px 0 0; line-height: 1.6; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 15.5px; margin: 4px 0 14px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-base { border-top: 1px solid #323D3E; padding: 20px 0 88px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: #8C9897; }
@media (min-width: 1021px) { .footer-base { padding-bottom: 24px; } }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; padding: 13px 10px; font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 30px auto 0; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--teal); line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); max-width: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid #CFCBBF; border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field .hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; }
.upload-zone {
  border: 1.5px dashed #B9C9C8; border-radius: 12px; background: var(--teal-tint);
  padding: 22px; text-align: center; color: var(--teal-ink); font-size: 15px; cursor: pointer;
}
.upload-zone input { display: none; }
.upload-zone strong { display: block; margin-bottom: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Header wechselt auf Burger-Navigation + mobile Anruf-Leiste */
  .site-header .bar { height: 64px; gap: 14px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav > a, .nav .navlink { padding: 12px 10px; font-size: 16.5px; }
  .has-sub > .navlink { width: 100%; justify-content: space-between; }
  .submenu { position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px; background: transparent; }
  .callbar { display: flex; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 36px; }
  .section, .band-dark { padding: 48px 0; }
  .checklist { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
