/* ==========================================================================
   Roman Entrümpelung – Stylesheet
   Aufbau: Schriften · Variablen · Basis · Layout · Header · Abschnitte
           · Formular · Footer · Rechtstexte · Mobile-Leiste · Druck
   ========================================================================== */

/* Schriften – lokal eingebunden, kein Abruf bei Google (DSGVO) */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #14284b;
  --navy-deep: #0e1d38;
  --navy-soft: #2a416b;
  --yellow: #f2c230;
  --yellow-deep: #b58a00;
  --ink: #1c2431;
  --muted: #586274;
  --line: #d8dde5;
  --line-strong: #b9c1cd;
  --paper: #ffffff;
  --sand: #f4f2ec;
  --sand-dark: #e9e5da;
  --focus: #1f6feb;

  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
}

/* Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; margin-bottom: 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 14px; font-weight: 600; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Platzhalter: gut sichtbar, damit nichts vergessen wird. Vor dem Livegang ersetzen. */
.ph { background: #fff1b8; color: #3d3000; box-shadow: 0 0 0 1px #e6c44d inset; padding: 0 .25em; border-radius: 2px; }

/* Kleine Überzeile über Abschnittstiteln */
.kicker {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: .5rem;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--yellow { background: var(--yellow); color: var(--navy-deep); }
.btn--yellow:hover { background: #ffd24d; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
.btn--line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand svg { width: 40px; height: 36px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: .005em; }
.brand-name span { font-family: var(--font-head); font-size: .98rem; font-weight: 600; margin-top: 2px; }

.main-nav ul { list-style: none; display: flex; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--navy); }

.header-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; padding-left: 24px; border-left: 1px solid var(--line); }
.header-call small { font-size: .82rem; color: var(--muted); }
.header-call strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); white-space: nowrap; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-call { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
    font: 600 1rem var(--font-body); color: var(--navy); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 0; font-size: 1.1rem; }
  .main-nav a[aria-current="page"] { color: var(--yellow-deep); }
}

/* Hero ------------------------------------------------------------------- */
.hero { background: var(--navy); color: #dfe5ef; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding-top: 64px; padding-bottom: 56px; align-items: end; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: 1.2rem; max-width: 34em; color: #dfe5ef; }
.hero-services { list-style: none; display: flex; flex-wrap: wrap; margin-top: 28px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.hero-services li { padding: 2px 0; }
.hero-services li:not(:last-child)::after { content: "/"; color: var(--yellow); padding: 0 .7em; font-weight: 400; }

.hero-contact { border-top: 4px solid var(--yellow); background: var(--navy-deep); padding: 26px 28px 28px; }
.hero-contact p { margin: 0; }
.hero-contact .label { font-size: .95rem; color: #b8c3d6; }
.hero-contact .phone { display: inline-block; margin: 4px 0 6px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.4rem); line-height: 1.1; color: #fff; text-decoration: none; letter-spacing: .01em; }
.hero-contact .phone:hover { color: var(--yellow); }
.hero-contact .hours { font-size: .95rem; color: #b8c3d6; margin-bottom: 20px; }
.hero-contact .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-contact .actions .btn { flex: 1 1 160px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
}

/* Foto-Platzhalter ------------------------------------------------------- */
.photo {
  position: relative; margin: 0; background-color: var(--sand-dark);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(20,40,75,.05) 14px 15px);
  display: flex; align-items: flex-end;
}
.photo figcaption {
  position: relative; margin: 14px; padding: 6px 10px; max-width: 40ch;
  background: rgba(255,255,255,.92); font-size: .86rem; line-height: 1.4; color: var(--muted);
}
.photo figcaption b { color: var(--ink); font-weight: 600; }
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.photo--wide { aspect-ratio: 21 / 7; }
@media (max-width: 700px) { .photo--wide { aspect-ratio: 4 / 3; } }

/* Abschnitte allgemein --------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sand { background: var(--sand); }
.section--tight-top { padding-top: clamp(40px, 5vw, 64px); }

/* Einleitung */
.intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.intro-text p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.facts { border-top: 2px solid var(--navy); margin: 6px 0 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Leistungen: Zeilen statt Karten */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.services-head h2 { margin: 0; }
.services-head p { margin: 0; max-width: 36em; color: var(--muted); }
.service-list { list-style: none; border-top: 1px solid var(--line-strong); }
.service {
  display: grid; grid-template-columns: 3.2rem minmax(0, 15rem) minmax(0, 1fr) minmax(0, 15rem);
  gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.service-no { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--yellow-deep); padding-top: 3px; }
.service h3 { margin: 0; font-size: 1.4rem; }
.service p { margin: 0; }
.service .examples { font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) {
  .service { grid-template-columns: 2.6rem 1fr; }
  .service p, .service .examples { grid-column: 2; }
}

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px; counter-reset: step; }
.step { position: relative; padding: 26px 26px 0 0; border-top: 3px solid var(--line-strong); counter-increment: step; }
.step:first-child { border-top-color: var(--yellow); }
.step::before {
  content: counter(step); position: absolute; top: -17px; left: 0;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; border-radius: 50%;
}
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 3px solid var(--line-strong); margin-left: 15px; }
  .step { border-top: 0; padding: 0 0 30px 34px; }
  .step:first-child { border-top: 0; }
  .step::before { top: 0; left: -18px; }
  .step:last-child { padding-bottom: 0; }
}

/* Preise */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.price-factors { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 8px 26px; }
.price-factors div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-factors div:last-child { border-bottom: 0; }
.price-factors dt { font-weight: 600; color: var(--navy); }
.price-factors dd { margin: 2px 0 0; color: var(--muted); font-size: .98rem; }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--yellow); padding-left: 14px; margin-top: 24px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Vorher / Nachher */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 28px; }
.compare .photo { aspect-ratio: 4 / 3; }
.compare .tag { position: absolute; top: 0; left: 0; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 4px 12px; font-size: .95rem; letter-spacing: .03em; }
.compare .photo:last-child .tag { background: var(--yellow); color: var(--navy-deep); }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } }

/* Einsatzgebiet */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.area-map { background: var(--sand); border: 1px solid var(--line); padding: 10px; }
.area-map svg { width: 100%; height: auto; }
.town-list { list-style: none; columns: 2; column-gap: 32px; margin: 20px 0 28px; }
.town-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.town-list span { color: var(--muted); font-size: .92rem; white-space: nowrap; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } .area-map { order: 2; } }
@media (max-width: 420px) { .town-list { columns: 1; } }

/* Map-Elemente (SVG) */
.map-ring { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.map-ring--inner { stroke-dasharray: 5 5; stroke: var(--navy-soft); opacity: .6; }
.map-fill { fill: #fff; }
.map-town { fill: var(--navy); }
.map-label { font-family: var(--font-body); font-size: 15px; fill: var(--ink); }
.map-label--small { font-size: 12px; fill: var(--muted); }
.map-home { fill: var(--yellow); stroke: var(--navy); stroke-width: 2.5; }
.map-home-label { font-family: var(--font-head); font-weight: 700; font-size: 18px; fill: var(--navy); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 6px; color: var(--muted); max-width: 64ch; }

/* Kontakt + Formular ----------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); }
.contact-aside { border-top: 4px solid var(--yellow); background: var(--navy); color: #dfe5ef; padding: 28px; align-self: start; }
.contact-aside h3 { color: #fff; }
.contact-aside a { color: #fff; }
.contact-aside .phone { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; text-decoration: none; display: inline-block; margin-bottom: 4px; }
.contact-aside dl { margin: 22px 0 0; }
.contact-aside dl div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-aside dt { font-size: .88rem; color: #9fb0c9; }
.contact-aside dd { margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .98rem; color: var(--ink); }
.field .hint { font-size: .88rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field input[type="file"] { padding: 9px; background: var(--sand); }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 400; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.form .btn { justify-self: start; }
.honeypot { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #aebbd0; font-size: .96rem; padding: 56px 0 28px; }
.site-footer a { color: #e4e9f1; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.05rem; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9em; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 3px 0; }
.footer-brand { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Unterseiten ------------------------------------------------------------ */
.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--muted); max-width: 52em; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

.legal { max-width: 780px; padding: 48px 0 80px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; margin-bottom: .4em; }
.legal ul, .legal ol { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .box { background: var(--sand); border-left: 3px solid var(--navy); padding: 16px 20px; margin: 1.2em 0; }
.legal .draft { background: #fff7d6; border: 1px solid #e6c44d; padding: 14px 18px; font-size: .95rem; margin-bottom: 28px; }
.legal-toc { list-style: none; padding: 0 !important; columns: 2; column-gap: 32px; font-size: .96rem; }
.legal-toc li { break-inside: avoid; }
@media (max-width: 560px) { .legal-toc { columns: 1; } }

/* Mobile Kontaktleiste --------------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-strong);
  }
  .mobile-bar .btn { min-height: 52px; font-size: 1.05rem; }
}

/* Druck */
@media print {
  .site-header, .mobile-bar, .site-footer, .nav-toggle { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .ph { background: none; box-shadow: none; }
}

/* Buttons nebeneinander */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }
