/* HUSS Gebäudeservice – schlankes Stylesheet, keine Frameworks */
:root {
  --blue: #20429B;
  --blue-dark: #16306f;
  --navy: #000F36;
  --ink: #27314C;
  --green: #2BBE54;
  --green-dark: #1f9e43;
  --bg: #FAFAFA;
  --line: #E4E7EE;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 15, 54, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 .75rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block; padding: .7rem 1.4rem; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--blue); transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: #0a1b45; border-color: #0a1b45; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
/* Kopfzeile nur leicht breiter als der 1140er-Content, damit Navigation + 3 CTA-Buttons
   in eine Zeile passen, aber nah am Inhalt bleiben (nicht bis zum Bildschirmrand). */
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; max-width: 1240px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: 89px; height: 65px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; font-size: .82rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--blue); }
.main-nav .btn { color: #fff; white-space: nowrap; font-size: .72rem; padding: .4rem .68rem; }
.nav-toggle, .nav-toggle-label { display: none; }

/* Navigation mit Untermenü (Dropdown) */
.main-nav > a:not(.btn), .nav-parent { padding: 1.4rem 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-parent:hover, .nav-item--active > .nav-parent { color: var(--blue); }
.nav-caret { font-size: .65rem; transition: transform .15s; }
.nav-item--has-sub:hover .nav-caret, .nav-item--has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.subnav {
  list-style: none; margin: 0; padding: .4rem 0;
  position: absolute; top: 100%; left: -.6rem; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 15, 54, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.nav-item--has-sub:hover .subnav, .nav-item--has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.subnav a { display: block; padding: .55rem 1.1rem; white-space: nowrap; font-weight: 500; }
.subnav a:hover, .subnav a[aria-current] { background: #F2F5FC; color: var(--blue); }

/* Hero */
.hero { background: linear-gradient(160deg, #F2F5FC 0%, #FAFAFA 70%); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem;
  align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem;
}
.hero p.lead { font-size: 1.1rem; max-width: 56ch; }
.hero img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 440px; object-fit: cover; width: 100%; }
.hero .phone-note { margin-top: .75rem; font-size: .95rem; }
.hero .phone-note a { font-weight: 700; text-decoration: none; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 62ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { height: 200px; object-fit: cover; width: 100%; }
.card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; margin: .5rem 0 1rem; }
.card-body .btn { align-self: flex-start; padding: .45rem 1.1rem; font-size: .95rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }

/* Leistungsblöcke (H3 + Text) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}

/* Kundenstimmen */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); font-size: .95rem;
}
.quote .stars { color: #F5A623; letter-spacing: 2px; margin-bottom: .5rem; }
.quote footer { margin-top: .75rem; font-weight: 600; color: var(--navy); }
.quote footer span { display: block; font-weight: 400; font-size: .85rem; color: #6b7280; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .75rem; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 1rem 1.25rem; color: var(--navy);
  list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--blue);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.25rem 1.25rem; }
.faq .answer p { margin: 0 0 .75rem; }

/* Einsatzgebiet */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.areas h3 { font-size: 1rem; }
.areas ul { list-style: none; padding: 0; margin: 0; columns: 1; font-size: .95rem; }
.areas li { padding: .15rem 0; }
.mehr-orte summary {
  cursor: pointer; list-style: none; color: var(--blue); font-weight: 600;
  font-size: .9rem; padding: .35rem 0;
}
.mehr-orte summary::-webkit-details-marker { display: none; }
.mehr-orte summary:hover { text-decoration: underline; }
.mehr-orte .auf, .mehr-orte[open] .zu { display: none; }
.mehr-orte[open] .auf { display: inline; }
.areas-cta { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-top: 2rem; }

/* CTA-Band */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 60ch; margin: 0 auto 1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band a { color: #fff; }

/* Kontakt-Karten */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 15, 54, .12); }
.contact-text { min-width: 0; }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: #EAF0FB; color: var(--blue);
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-icon--wa { background: #E4F8E9; color: var(--green-dark); }
.contact-card h2 { font-size: 1.15rem; margin: 0 0 .35rem; }
.contact-card .big { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.contact-card p { margin: .5rem 0 0; color: #4b5563; font-size: .95rem; }

/* Über uns */
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--blue); margin: 0 0 .4rem;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
.team-member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.team-member:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0, 15, 54, .15); }
.team-member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #EAF0FB; }
.team-member .tm-body { padding: 1.2rem 1.4rem 1.5rem; }
.team-member h3 { margin: 0 0 .15rem; }
.team-member .tm-role { color: var(--blue); font-weight: 600; font-size: .95rem; }
.team-member .tm-note { color: #8a91a3; font-size: .82rem; margin: .6rem 0 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); border-top: 3px solid var(--blue);
}
.value-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.value-card p { margin: 0; color: #4b5563; font-size: .92rem; }

/* Spülwagen – technische Daten */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); text-align: center;
}
.spec-label { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: #8a91a3; }
.spec-value { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin: .35rem 0 .1rem; }
.spec-sub { font-size: .9rem; color: #4b5563; }
.check-list--2col { columns: 2; column-gap: 2.5rem; max-width: 70ch; }
.check-list--2col li { break-inside: avoid; }

/* Formular */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

/* Footer */
.site-footer { background: var(--navy); color: #cfd6e4; margin-top: 3.5rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 2.5rem; padding: 3rem 1.25rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #cfd6e4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; flex-wrap: wrap;
}
.footer-bottom a { margin-left: 1.25rem; }

/* Rechtstexte */
.legal { max-width: 75ch; }
.legal h2 { margin-top: 2rem; font-size: 1.2rem; }

/* Responsive */
/* Navigation frueher einklappen: sonst laufen die breiten Header-Buttons
   ("Angebot anfordern" + "Rohrreinigung buchen") im Zwischenbereich ueber. */
@media (max-width: 1240px) {
  .nav-toggle-label {
    display: block; margin-left: auto; cursor: pointer; font-size: 1.8rem;
    line-height: 1; padding: .25rem .5rem; color: var(--navy);
  }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 0;
  }
  .main-nav a { padding: .8rem 1.5rem; }
  .main-nav .btn { margin: .5rem 1.5rem; text-align: center; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  /* Untermenü mobil: dauerhaft sichtbar, eingerückt */
  .main-nav > a:not(.btn), .nav-parent { padding: .8rem 1.5rem; }
  .nav-item { display: block; position: static; }
  .nav-parent { justify-content: space-between; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .3rem;
    background: #F7F9FC; min-width: 0;
  }
  .subnav a { padding: .6rem 1.5rem .6rem 2.6rem; }
}
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 2rem; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards, .quotes, .areas, .contact-cards, .feature-grid, .form-grid,
  .team-grid, .value-grid, .spec-grid { grid-template-columns: 1fr; }
  .check-list--2col { columns: 1; }
  .form-grid .full { grid-column: 1; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   Landingpage „Rohrreinigung zum Festpreis" (Buchungsseite)
   ============================================================ */
.site-header--landing .wrap { justify-content: space-between; }
.site-header--landing .header-cta { margin-left: auto; }

/* Google-Bewertungs-Badge im Hero */
.review-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin: .25rem 0 1rem;
  padding: .5rem .9rem; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); text-decoration: none;
  color: var(--navy); font-weight: 600; font-size: .95rem;
}
.review-stars { color: #F5A623; letter-spacing: 2px; }
.review-text { color: var(--ink); }

/* Intent-Weiche */
.intent-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.intent-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow); border-top: 4px solid var(--blue);
}
.intent-card h2 { font-size: 1.25rem; }
.intent-card p { margin: 0 0 1rem; }
.intent-card--book { border-top-color: var(--blue); }
.intent-card--emergency { border-top-color: var(--green); }

/* Inklusive / Nicht inklusive */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.incl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow);
}
.incl-card--yes { border-top: 4px solid var(--green); }
.incl-card--no { border-top: 4px solid #cbd2e0; }
.cross-list { list-style: none; padding: 0; margin: 1rem 0; }
.cross-list li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; color: #4b5563; }
.cross-list li::before { content: "\2715"; position: absolute; left: 0; color: #b0b7c5; font-weight: 700; }
.note { margin-top: 1.5rem; font-size: .92rem; color: #4b5563; max-width: 72ch; }

/* PLZ-Vorabpruefung */
.plz-check {
  background: #F2F5FC; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; max-width: 560px;
}
.plz-row { display: flex; gap: .6rem; margin-top: .5rem; }
.plz-row input { flex: 1; }
.plz-row .btn { flex-shrink: 0; }
.plz-result { margin: .75rem 0 0; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.plz-result--ok { color: var(--green-dark); }
.plz-result--no { color: #c0392b; }
.plz-note { margin: .75rem 0 0; font-size: .85rem; color: #6b7280; }

/* Cal.com-Buchungswidget */
.cal-wrap { position: relative; margin: 1.5rem 0; min-height: 620px; }
.cal-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; text-align: center;
  background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius);
  color: #4b5563; padding: 1.5rem;
}
#cal-inline { width: 100%; min-height: 620px; overflow: auto; }
.legal-hint { font-size: .85rem; color: #6b7280; max-width: 72ch; margin-top: 1rem; }

/* Ablauf in 3 Schritten */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}

/* Sticky-Bottom-Bar (nur mobil) */
.sticky-bar { display: none; }
@media (max-width: 768px) {
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    gap: .5rem; padding: .5rem; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(0, 15, 54, .1);
  }
  .sticky-btn {
    flex: 1; text-align: center; padding: .85rem .5rem; border-radius: 10px;
    font-weight: 700; text-decoration: none; min-height: 44px;
    display: flex; align-items: center; justify-content: center; gap: .4rem;
  }
  .sticky-btn--call { background: #EAF0FB; color: var(--blue); }
  .sticky-btn--book { background: var(--green); color: #fff; }
  body { padding-bottom: 68px; }
}
@media (max-width: 900px) {
  .intent-split, .incl-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
