/* =========================================================
   JP Facility Services UG — Website Stylesheet
   ========================================================= */

:root {
  /* Firmengruen des Kunden: #8D9D7A. Fuer Flaechen mit weisser Schrift wird
     eine dunklere Abstufung genutzt, sonst waere der Text nicht lesbar. */
  --green: #8D9D7A;
  --green-2: #7B8B68;
  --green-dark: #5F6D4E;
  --green-deep: #3F4A33;
  --beige: #EFE9DD;
  --beige-2: #E3DACA;
  --ink: #24261F;
  --muted: #5F6252;
  --line: #E7E2D7;
  --cream: #F8F5EF;
  --cream-2: #EFE9DD;
  --white: #ffffff;
  --gold: #e0a83b;
  --shadow-sm: 0 2px 10px rgba(40, 46, 24, .06);
  --shadow: 0 12px 40px rgba(40, 46, 24, .10);
  --shadow-lg: 0 26px 70px rgba(40, 46, 24, .16);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* muss vor allen display-Regeln greifen, sonst zeigt der Cookie-Banner
   seine Detail-Einstellungen sofort an */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto ist wichtig: die width/height-Attribute im HTML (gegen Layout-
   Sprünge beim Laden) würden sonst die Seitenverhältnisse unten überschreiben. */
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px rgba(95,109,78,.32); }
.btn--primary:hover { background: #4E5A40; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(95,109,78,.40); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn--outline:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green); color: #22251C;
  font-size: .86rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #22251C; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; }
.brand__txt strong { font-family: var(--head); font-size: 1.06rem; display: block; letter-spacing: -.01em; }
.brand__txt span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dark); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--green-dark); }
.header .btn { padding: 12px 22px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }

/* ---------- Hero: grosses Bild, Text liegt darauf ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--green-deep);
  min-height: clamp(560px, 76vh, 780px); display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(26,30,20,.90) 0%, rgba(26,30,20,.74) 38%, rgba(26,30,20,.34) 66%, rgba(26,30,20,.10) 100%),
    linear-gradient(0deg, rgba(26,30,20,.35), rgba(26,30,20,0) 45%);
}
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 84px; width: 100%; }
.hero__text { max-width: 660px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30); color: #fff;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #CFDCB8; box-shadow: 0 0 0 4px rgba(207,220,184,.25); }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); margin-bottom: 20px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero h1 .hl { color: #CFDCB8; }
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 58ch; margin-bottom: 30px; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__meta { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__meta .item { display: flex; flex-direction: column; }
.hero__meta .item b { font-family: var(--head); font-size: 1.5rem; color: #fff; }
.hero__meta .item span { font-size: .85rem; color: rgba(255,255,255,.78); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 34px 24px; }
.trust .t-item { display: flex; gap: 14px; align-items: flex-start; }
.trust .t-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--green-dark); display: grid; place-items: center; }
.trust .t-ic svg { width: 22px; height: 22px; }
.trust b { font-family: var(--head); font-size: 1rem; display: block; }
.trust p { font-size: .88rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.shead { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: block; color: var(--green-dark); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.shead .kicker { margin-bottom: 0; }
.shead h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 12px 0 14px; }
.shead p { color: var(--muted); font-size: 1.06rem; }
.shead--left { text-align: left; margin-left: 0; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__imgs { position: relative; }
.about__imgs img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.about p { color: var(--muted); margin-bottom: 18px; }
.about ul { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.about li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.about li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green); }

/* ---------- Services ---------- */
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  display: flex; flex-direction: column;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.scard__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scard:hover .scard__img img { transform: scale(1.06); }
.scard__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--green-dark); font-family: var(--head); font-weight: 700; font-size: .8rem; padding: 6px 13px; border-radius: 999px; }
.scard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.scard__body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.scard__body > p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.scard__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.scard__list li { font-size: .82rem; background: var(--cream-2); color: var(--green-dark); padding: 5px 12px; border-radius: 999px; font-weight: 500; }

/* ---------- Why us ---------- */
.why { background: var(--beige); color: var(--ink); position: relative; overflow: hidden; }
.why::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 100% 0%, rgba(141,157,122,.30), transparent 60%); }
.why .wrap { position: relative; }
.why .shead h2 { color: var(--ink); }
.why .shead .kicker { color: var(--green-dark); }
.why .shead p { color: var(--muted); }
/* Vorteile: links Text + Buerofoto, rechts die Karten */
.why__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: stretch; }
.why__intro { display: flex; flex-direction: column; }
.why__intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 6px 0 12px; }
.why__intro > p { color: var(--muted); font-size: 1.04rem; }
/* Foto fuellt die Restfläche, damit es unten buendig mit der letzten Kartenreihe abschliesst */
.why__foto { margin-top: 24px; width: 100%; flex: 1 1 auto; min-height: 220px; object-fit: cover; object-position: center 58%; border-radius: 14px; box-shadow: var(--shadow-sm); }
.why .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.wcard { background: #fff; border: 1px solid var(--beige-2); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wcard .n { font-family: var(--head); font-size: .9rem; color: var(--green-dark); font-weight: 700; }
.wcard h3 { font-size: 1.2rem; margin: 8px 0 10px; color: var(--ink); }
.wcard p { color: var(--muted); font-size: .93rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.rating-hero { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 0 auto 46px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 34px; box-shadow: var(--shadow-sm); max-width: 640px; }
.rating-hero .score { font-family: var(--head); font-size: 3rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.rating-hero .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; }
.rating-hero .meta small { color: var(--muted); display: block; font-size: .9rem; margin-top: 4px; }
.rating-hero .gm { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--muted); margin-top: 6px; }
.rating-hero .gm svg { width: 18px; height: 18px; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.rcard p { color: var(--ink); font-size: .98rem; margin-bottom: 22px; flex: 1; }
.rcard .who { display: flex; align-items: center; gap: 13px; }
.rcard .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green-dark); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.rcard .who b { display: block; font-size: .98rem; }
.rcard .who small { color: var(--muted); font-size: .82rem; }

/* ---------- Contact / Hours ---------- */
.contact .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card > p { color: var(--muted); margin-bottom: 26px; }
.cinfo { display: grid; gap: 16px; }
.cinfo a, .cinfo div { display: flex; gap: 15px; align-items: flex-start; }
.cinfo .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--green-dark); display: grid; place-items: center; }
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo b { font-family: var(--head); font-size: 1rem; display: block; }
.cinfo span { color: var(--muted); font-size: .92rem; }
.cinfo .row-cta { margin-top: 8px; }

.contact .side { display: grid; gap: 24px; align-content: start; }
.hours-card { background: var(--beige); color: var(--ink); border: 1px solid var(--beige-2); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.hours-card h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 6px; }
.hours-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.hrow { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--beige-2); font-size: .98rem; }
.hrow:last-child { border-bottom: 0; }
.hrow.today { color: var(--ink); font-weight: 700; }
.hrow.today .day::after { content: "Heute"; margin-left: 10px; background: var(--green-dark); color: #fff; font-size: .68rem; padding: 2px 9px; border-radius: 999px; font-family: var(--head); vertical-align: middle; }
.hrow .closed { color: #8C8E7C; }
.hrow .time { font-variant-numeric: tabular-nums; }
.hours-card .addr { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--beige-2); display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.hours-card .addr svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(120deg, #5F6D4E, #4E5A40); color: #fff; text-align: center; border-radius: 0; }
.ctaband .wrap { padding: 74px 24px; }
.ctaband h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; color: #fff; }
.ctaband p { color: #E8EEDC; font-size: 1.1rem; max-width: 56ch; margin: 0 auto 28px; }
.ctaband .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: #C3C8B7; padding: 66px 0 30px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand__mark { width: 44px; height: 44px; }
.footer .brand__txt strong { color: #fff; }
.footer .f-about { margin-top: 18px; font-size: .92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .f-contact li { font-size: .92rem; }
.footer .f-social a { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; }
.footer .f-social svg { width: 1em; height: 1em; stroke-width: 1.7; flex: 0 0 auto; opacity: .75; }
.footer .fbottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer .fbottom a { color: #cfd4c4; }
.footer .credit a { color: #cdd8ad; font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; background: #fff; }
.legal .wrap { max-width: 860px; }
.legal a.back { color: var(--green-dark); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 10px; }
.legal .lead { color: var(--muted); margin-bottom: 34px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; color: var(--green-dark); }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #3c4133; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal .note { background: var(--cream); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 10px; font-size: .92rem; color: #4a4f3e; margin: 18px 0; }
.legal .box { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 20px; }

/* ---------- Width safety: allow long tokens (e-mail) to wrap ---------- */
.cinfo, .cinfo a, .cinfo > div { min-width: 0; }
.cinfo a > div, .cinfo > div > div { min-width: 0; }
/* Beschriftung über den Wert stellen; nur lange Werte (E-Mail) dürfen
   umbrechen – Beschriftungen wie „Einsatzgebiet" nie mitten im Wort. */
.cinfo a > div:not(.ic), .cinfo > div > div:not(.ic) { display: block; }
.cinfo span { overflow-wrap: anywhere; }
.cinfo b { overflow-wrap: normal; word-break: normal; hyphens: none; }
.footer .f-contact a, .footer .f-contact li, .footer .f-about { overflow-wrap: anywhere; }
.footer ul, .footer li, .footer .cols > div { min-width: 0; }
.hero__lead, .shead p, .scard__body p, .wcard p, .rcard p { overflow-wrap: break-word; }

/* ---------- Über uns: Inhaber-Karte ---------- */
/* Inhaber-Foto: unbeschnitten zeigen (Seitenverhältnis wie die Datei),
   damit die Person nicht "herangezoomt" wirkt. */
.about__imgs.owner { max-width: 430px; }
.about__imgs.owner img { aspect-ratio: 900/1006; object-fit: contain; background: #1f1f21; }
.owner__plate {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -26px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 22px; box-shadow: var(--shadow);
  text-align: center; width: max-content; max-width: 92%;
}
.owner__plate b { font-family: var(--head); font-size: 1.05rem; display: block; }
.owner__plate span { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.owner__quote {
  margin: 26px 0 0; padding: 18px 22px; background: #fff;
  border-left: 4px solid var(--green); border-radius: 12px;
  font-size: .98rem; color: #3c4133; box-shadow: var(--shadow-sm);
}
.owner__quote b { display: block; font-family: var(--head); font-size: .85rem; color: var(--green-dark); margin-top: 8px; }

/* ---------- Service-Karten: Link-Variante ---------- */
.scard__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: .92rem;
  color: var(--green-dark); margin-top: 18px;
}
.scard__more svg { width: 17px; height: 17px; transition: transform .25s ease; }
.scard:hover .scard__more svg { transform: translateX(4px); }
a.scard { color: inherit; }

/* ---------- Sub-Hero (Leistungsseiten) ---------- */
.subhero { background: var(--cream); position: relative; overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 85% -10%, rgba(124,140,90,.20), transparent 62%);
}
.subhero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 54px 24px 66px; }
.subhero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 14px 0 18px; }
.subhero h1 .hl { color: var(--green-dark); }
.subhero__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; max-width: 48ch; }
.subhero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.subhero .btns { display: flex; gap: 13px; flex-wrap: wrap; }
.crumbs { font-size: .84rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--green-2); font-weight: 600; }
.crumbs a:hover { color: var(--green-dark); }

/* ---------- Detail-Inhalte ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.rtxt h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.rtxt h3 { font-size: 1.18rem; margin: 26px 0 10px; }
.rtxt p { color: var(--muted); margin-bottom: 14px; }
.checks { list-style: none; display: grid; gap: 11px; margin: 18px 0 6px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--green); margin-top: 3px; }
.sidebox { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: sticky; top: 100px; }
.sidebox h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sidebox p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.sidebox .btn { width: 100%; justify-content: center; }
.sidebox .tel { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sidebox .tel svg { width: 20px; height: 20px; color: var(--green-dark); flex: 0 0 auto; }
.sidebox .tel b { font-family: var(--head); display: block; font-size: 1rem; }
.sidebox .tel span { font-size: .82rem; color: var(--muted); }

/* Ablauf-Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--cream-2); color: var(--green-dark); font-family: var(--head); font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: .9rem; }

/* Preis-/Info-Karten */
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.infocard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.infocard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 14px; }
.infocard .ic svg { width: 23px; height: 23px; }
.infocard h3 { font-size: 1.08rem; margin-bottom: 8px; }
.infocard p { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: #d9ddc9; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px;
  border-right: 2.4px solid var(--green-dark); border-bottom: 2.4px solid var(--green-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); font-size: .97rem; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Verwandte Leistungen ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rel img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.rel > span { display: flex; flex-direction: column; min-width: 0; }
.rel b { font-family: var(--head); font-size: 1rem; display: block; color: var(--ink); }
.rel span span, .rel > span > span { font-size: .84rem; color: var(--muted); }

/* ---------- Formular ---------- */
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.formcard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.formcard > p { color: var(--muted); margin-bottom: 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: #3c4133; }
.field label .req { color: #b4603c; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: .98rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  background: #fdfdfb; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(124,140,90,.15); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #a3a894; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / -1; margin-top: 4px; }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); }
.consent label { font-size: .86rem; color: var(--muted); font-weight: 400; line-height: 1.55; }
.consent a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.form-submit { grid-column: 1 / -1; margin-top: 6px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .84rem; color: var(--muted); }

/* ---------- Danke-Seite ---------- */
.thanks { padding: 90px 0 100px; text-align: center; background: var(--cream); }
.thanks .icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 14px 34px rgba(124,140,90,.4);
}
.thanks .icon svg { width: 42px; height: 42px; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.thanks p { color: var(--muted); font-size: 1.08rem; max-width: 58ch; margin: 0 auto 12px; }
.thanks .btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Mobile Call-Bar ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(40,46,24,.10);
  }
  .callbar .btn { width: 100%; justify-content: center; padding: 13px 14px; font-size: .95rem; }
  body { padding-bottom: 74px; }
}

/* ---------- Cookie-Banner ---------- */
.cc-backdrop { position: fixed; inset: 0; background: rgba(20,24,14,.55); z-index: 200; display: none; }
.cc-backdrop.show { display: block; }
.cc {
  position: fixed; z-index: 210; left: 50%; transform: translateX(-50%);
  bottom: 18px; width: min(660px, calc(100vw - 28px));
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 26px 70px rgba(20,24,14,.28); padding: 26px 28px;
  display: none; max-height: calc(100vh - 36px); overflow-y: auto;
}
.cc.show { display: block; }
.cc h2 { font-size: 1.22rem; margin-bottom: 9px; }
.cc p { font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.cc p a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.cc__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cc__actions .btn { flex: 1 1 auto; justify-content: center; padding: 13px 20px; font-size: .95rem; }
.cc__link { background: none; border: 0; cursor: pointer; font-family: var(--font); font-size: .86rem; color: var(--muted); text-decoration: underline; padding: 6px 2px; margin-top: 12px; }
.cc__opts { display: grid; gap: 12px; margin-top: 18px; }
.cc__opt { border: 1px solid var(--line); border-radius: 13px; padding: 15px 17px; background: var(--cream); }
.cc__opt .top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cc__opt b { font-family: var(--head); font-size: .99rem; }
.cc__opt p { font-size: .85rem; margin: 6px 0 0; }
.cc__opt .fixed { font-size: .8rem; color: var(--green-dark); font-weight: 600; white-space: nowrap; }
.sw { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
.sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.sw span { position: absolute; inset: 0; background: #c8ccbc; border-radius: 999px; transition: background .2s; }
.sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sw input:checked + span { background: var(--green-dark); }
.sw input:checked + span::after { transform: translateX(20px); }
@media (max-width: 720px) {
  .cc { bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
  .cc__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 68px; }
  .hero__text { max-width: 100%; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .about .grid, .contact .grid { grid-template-columns: 1fr; }
  .services .grid, .why .grid, .rgrid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 30px; }
  .why__intro { display: block; }
  .why__foto { max-width: 100%; aspect-ratio: 16/10; height: auto; margin-top: 20px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  /* Leistungsseiten */
  .subhero .wrap { grid-template-columns: 1fr; gap: 34px; padding: 40px 24px 52px; }
  .subhero__media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .sidebox { position: static; }
  .infogrid, .related { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about__imgs.owner { max-width: 380px; margin: 0 auto 34px; }
}
@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .nav { display: none; }
  .header .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; 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: 8px 24px 20px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  /* Topbar: keep only phone + rating, centered, no wrapping/overflow */
  .topbar { font-size: .75rem; }
  .topbar .wrap { justify-content: center; gap: 14px; min-height: 40px; padding: 0 14px; }
  .topbar .tb-left { gap: 14px; }
  .topbar .tb-right { white-space: nowrap; }
  .topbar .tb-left span { white-space: nowrap; }
  .topbar .tb-left span:nth-child(2),
  .topbar .tb-left span:nth-child(3) { display: none; }
  .topbar .tb-right { gap: 6px; }
  .services .grid, .why .grid, .rgrid, .trust .wrap, .footer .cols { grid-template-columns: 1fr; }
  /* Hero mobil: Verlauf von unten, damit der Text auf dem Bild lesbar bleibt */
  .hero { min-height: 78vh; }
  .hero .wrap { padding-top: 52px; padding-bottom: 56px; }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(26,30,20,.62) 0%, rgba(26,30,20,.55) 35%, rgba(26,30,20,.88) 100%);
  }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__lead { font-size: 1.02rem; margin-bottom: 24px; }
  /* Kennzahlen als ruhige Dreier-Reihe auf dem Bild */
  .hero__meta {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px; padding: 14px 6px; backdrop-filter: blur(6px);
  }
  .hero__meta .item { align-items: center; text-align: center; padding: 0 6px; min-width: 0; }
  .hero__meta .item + .item { border-left: 1px solid rgba(255,255,255,.22); }
  .hero__meta .item b { font-size: 1.15rem; line-height: 1.2; }
  .hero__meta .item span { font-size: .72rem; line-height: 1.35; }
  /* Tighter padding so content breathes on narrow phones */
  .wrap { padding: 0 18px; }
  .contact-card, .hours-card { padding: 26px 20px; }
  .rcard, .wcard, .scard__body { padding: 24px 20px; }
  .rating-hero { padding: 20px 18px; gap: 14px; }
  .hero__meta { gap: 20px; }
  /* Buttons wrap + go full width so long labels never force overflow */
  .btn { white-space: normal; text-align: center; }
  .hero__cta { width: 100%; gap: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ctaband .btns .btn { flex: 1 1 100%; }
  /* Leistungsseiten mobil */
  .infogrid, .related, .steps { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .formcard { padding: 26px 20px; }
  .sidebox { padding: 24px 20px; }
  .subhero .wrap { padding: 30px 18px 44px; }
  .subhero .btns .btn { flex: 1 1 100%; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: .99rem; padding: 18px 30px 18px 0; }
  .thanks { padding: 60px 0 70px; }
  .about__imgs.owner { max-width: 100%; }
  .owner__quote { padding: 16px 18px; }
}

/* Sehr schmale Geräte: Kopfzeile kompakt halten, damit der Zusatz
   „Sauber · Zuverlässig · Gründlich" nicht umbricht */
@media (max-width: 560px) {
  .brand__txt span { display: none; }
  .brand__mark { width: 42px; height: 42px; }
  .header .wrap { min-height: 64px; }
  .brand__txt strong { font-size: 1rem; }
}
