/* Schadenservice Liebscher – hell, blau, kartenbasiert */

:root {
  --bg: #f3f6f9;
  --surface: #ffffff;
  --surface-2: #e9eff6;
  --ink: #0f1d2b;
  --muted: #5d6d7e;
  --line: #dde5ee;

  --blue: #1668b8;
  --blue-deep: #0d4d8c;
  --blue-dark: #0a3762;
  --blue-tint: #e6f0fa;
  --blue-lit: #7ab6ef;

  --fire: #c42d09;
  --water: #1668b8;
  --leak: #0d7a8c;
  --mold: #4f7a46;
  --build: #6a5b8f;

  --r: 16px;
  --r-sm: 10px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --rhythm: clamp(4.5rem, 9vw, 8.5rem);
  --shadow: 0 1px 2px rgba(15, 29, 43, .04), 0 12px 28px -14px rgba(15, 29, 43, .18);
  --shadow-lg: 0 2px 4px rgba(15, 29, 43, .05), 0 32px 64px -28px rgba(15, 29, 43, .3);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }


.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 0 0 1rem; }

/* ───── Buttons ───── */
.btn, .btn-ghost {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .6rem;
  font: inherit; font-size: .9375rem; font-weight: 600;
  padding: .85rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn { background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn svg, .btn-ghost svg { width: 18px; height: 18px; }

/* ───── Kopf ───── */
.topbar { background: var(--blue-dark); color: #dbe8f5; font-size: .8125rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; min-height: 2.5rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5ddc9a; margin-right: .5rem; vertical-align: middle; }

.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 249, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.head img { width: 11.5rem; height: auto; }
.head nav { margin-left: auto; }
.head ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.head nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.head nav a:hover { background: var(--surface); color: var(--ink); }
.head .btn { margin-left: auto; }
.head nav + .btn { margin-left: 0; }

.cta-mini, .menu { display: none; }

/* Mobil-Menue: native <details>-Disclosure, kein JS */
.menu > summary {
  list-style: none; cursor: pointer;
  width: 2.75rem; height: 2.75rem; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 22px; }
.menu[open] > summary { background: var(--blue-tint); border-color: var(--blue-lit); }
.menu:not([open]) > ul { display: none; }
.menu > ul {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .5rem);
  display: grid; gap: .125rem; list-style: none; margin: 0; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 40px -20px rgba(10, 55, 98, .35);
}
.menu > ul a {
  display: block; padding: .8rem .9rem; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.menu > ul a:hover, .menu > ul a:focus-visible { background: var(--blue-tint); color: var(--blue-deep); }
.menu > ul li:last-child a { background: var(--blue); color: #fff; margin-top: .25rem; text-align: center; }

@media (max-width: 62rem) {
  .head nav { display: none; }
  .head .wrap { justify-content: space-between; gap: .75rem; position: relative; }
  .head .btn { margin-left: auto; }
  .menu { display: block; }
  .head .cta-full + .cta-mini + .menu { margin-left: 0; }
}

/* Schmale Telefone: Logo kleiner, Text-CTA weicht dem Notruf-Knopf */
@media (max-width: 34rem) {
  .topbar-where { display: none; }
  .topbar .wrap { justify-content: center; min-height: 2.25rem; }
  .head .wrap { min-height: 3.75rem; }
  .head img { width: 8.75rem; }
  .cta-full { display: none; }
  .cta-mini { display: inline-flex; justify-content: center; margin-left: auto; width: 2.75rem; height: 2.75rem; padding: 0; }
  .cta-mini svg { width: 20px; height: 20px; }
}

/* ───── Hero ───── */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin-top: 1.5rem; font-size: 1.1875rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); }
.hero-trust svg { width: 17px; height: 17px; color: var(--blue); flex: none; }

.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(22rem, 48vw, 34rem); object-fit: cover; border-radius: var(--r); }
.badge {
  position: absolute; left: -1.25rem; bottom: -1.5rem;
  background: var(--surface); border-radius: var(--r); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: baseline; gap: .9rem;
}
.badge b { font-family: var(--display); font-size: 2.75rem; line-height: 1; color: var(--blue); letter-spacing: -.03em; }
.badge span { font-size: .8125rem; line-height: 1.35; color: var(--muted); max-width: 15ch; }

@media (max-width: 56rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .badge { left: auto; right: 1rem; bottom: -1.25rem; }
}

/* ───── Kennzahlen ───── */
.stats { padding-bottom: var(--rhythm); }
.stats ul { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.stats li { background: var(--surface); padding: 1.75rem 1.5rem; }
.stats b { display: block; font-family: var(--display); font-size: 2.25rem; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stats span { display: block; margin-top: .6rem; font-size: .9375rem; color: var(--muted); }

/* ───── Leistungen ───── */
.services { padding-block: var(--rhythm); background: var(--surface); border-block: 1px solid var(--line); }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--c); }
.card h3 { font-size: 1.4rem; display: flex; align-items: center; gap: .7rem; }
.card .mark { color: var(--c); display: inline-flex; }
.card .mark svg { width: 24px; height: 24px; }
.card > p { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
.card ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.card li { position: relative; font-size: .875rem; padding: .45rem 0 .45rem 1.4rem; border-top: 1px solid var(--line); }
.card li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.card--fire { --c: var(--fire); }
.card--water { --c: var(--water); }
.card--leak { --c: var(--leak); }
.card--mold { --c: var(--mold); }
.card--build { --c: var(--build); }

/* ───── Ablauf ───── */
.flow { padding-block: var(--rhythm); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.step-rail { position: relative; }
.step-rail::after { content: ""; position: absolute; left: 50%; translate: -50% 0; top: 2.75rem; bottom: -.25rem; width: 2px; background: linear-gradient(var(--blue-lit), var(--line)); }
.step:last-child .step-rail::after { display: none; }
.step-dot {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--bg);
}
.step-body { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.step-time { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }
.step-time b { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.step-time span { font-size: .8125rem; color: var(--muted); }
.step-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.step-body p:not(.step-time) { margin-top: .75rem; color: var(--muted); max-width: 62ch; }
.step-body figure { margin: 1.5rem 0 0; }
.step-body img { width: 100%; height: clamp(12rem, 26vw, 20rem); object-fit: cover; object-position: center 20%; border-radius: var(--r); background: var(--surface-2); }
.step-body figcaption { font-size: .8125rem; color: var(--muted); margin-top: .65rem; }

/* ───── Arbeiten ───── */

/* ───── Standorte ───── */
.area { padding-block: var(--rhythm); }
.area .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); align-items: start; }
.map { width: 100%; max-width: 24rem; margin-top: 2rem; }
.map text { font-size: 13px; font-weight: 500; fill: var(--muted); font-family: var(--text); }
.map .here { font-weight: 600; fill: var(--ink); }

.sites { list-style: none; display: grid; gap: 1rem; margin: 2.5rem 0 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.sites li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; }
.sites span { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); font-weight: 600; }
.sites strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; margin-top: .35rem; }
.sites address { font-style: normal; font-size: .875rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }
.sites a { display: inline-block; margin-top: .7rem; font-size: .875rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.sites a:hover { text-decoration: underline; }

.facts { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--surface); display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0 1.25rem; padding: 1rem 1.4rem; align-items: baseline; }
.facts dt { font-weight: 600; font-size: .9375rem; }
.facts dd { margin: 0; font-size: .9375rem; color: var(--muted); }
.seals { display: flex; align-items: center; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.seals img { height: 4rem; width: auto; max-width: 10rem; object-fit: contain; }

@media (max-width: 34rem) { .facts div { grid-template-columns: 1fr; } }

/* ───── Karriere ───── */
.career { padding-block: var(--rhythm); background: var(--surface); border-block: 1px solid var(--line); }
.career .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); align-items: center; }
.career img { width: 100%; height: clamp(16rem, 32vw, 24rem); object-fit: cover; border-radius: var(--r); }
.jobs { list-style: none; margin: 2rem 0 0; padding: 0; }
.jobs li { position: relative; font-size: .9375rem; padding: .6rem 0 .6rem 1.6rem; border-top: 1px solid var(--line); }
.jobs li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 8px; height: 2px; background: var(--blue); }
.career .hero-cta { margin-top: 2rem; }
.career figure { position: relative; }

/* ───── Fragen ───── */
.faq { padding-block: var(--rhythm); }
.faq .wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qa details + details { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; gap: 1rem; align-items: flex-start;
  justify-content: space-between; padding: 1.15rem 1.4rem;
  font-weight: 600; font-size: .9875rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--blue); flex: none; }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: 0; padding: 0 1.4rem 1.3rem; font-size: .9375rem; color: var(--muted); max-width: 60ch; }

/* ───── Kontakt ───── */
.contact { background: var(--blue-dark); color: #e3edf8; padding-block: var(--rhythm); }
.contact .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: #fff; margin: 0 0 1rem; }
.contact .lede { color: #b7cde4; }
.tel {
  display: inline-block; margin-top: 1.75rem; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -.04em; line-height: 1;
  color: #fff; text-decoration: none;
}
.tel:hover { color: var(--blue-lit); }
.tel small { display: block; font-family: var(--text); font-size: .875rem; font-weight: 400; letter-spacing: 0; color: #b7cde4; margin-top: .75rem; }

.contact-info { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-info li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; font-size: .9375rem; }
.contact-info b { font-weight: 600; color: #fff; }
.contact-info a { color: #cfe3f7; }

.form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2rem); }
.form h3 { font-size: 1.35rem; color: #fff; }
.form > p { margin-top: .6rem; font-size: .875rem; color: #b7cde4; }
.form label { display: block; margin-top: 1.1rem; font-size: .8125rem; font-weight: 600; color: #cfe3f7; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: .4rem; font: inherit; font-size: .9375rem;
  color: #fff; background: rgba(7, 32, 58, .55);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-sm);
  padding: .7rem .85rem;
}
.form select { appearance: none; background-color: #0a3762; }
.form textarea { resize: vertical; }
.form :is(input, select, textarea):focus-visible { outline: 2px solid var(--blue-lit); outline-offset: 1px; }
.form .btn { margin-top: 1.5rem; background: #fff; color: var(--blue-dark); }
.form .btn:hover { background: var(--blue-lit); color: var(--blue-dark); }
.form .hint { margin-top: 1rem; font-size: .8125rem; color: #9fb9d4; }

/* ───── Fuß ───── */
footer { background: var(--ink); color: #9aaabb; font-size: .875rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 2rem; }
footer ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

/* ───── Impressum ───── */
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal .wrap { max-width: 40rem; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.2rem; margin: 2.5rem 0 .6rem; }
.legal p, .legal address { color: var(--muted); max-width: 68ch; }
.legal address { font-style: normal; line-height: 1.8; }
.legal .fineprint { font-size: .9375rem; }
.legal .fineprint p + p { margin-top: 1rem; }
