/* L.F.B. GmbH – Onepager (Übergangslösung), Stand 16.10.2026
   Schriften: IBM Plex, lokal eingebunden (SIL Open Font License), keine Verbindung zu Google. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-serif-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
/* Layout: ruhige Einspalten-Seite, Abschnitte als Bänder, Preise im Stil eines Kontenblatts */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #1d2638;
  --muted: #586579;
  --line: #d9e0ea;
  --brand: #48669f;
  --brand-strong: #34507f;
  --brand-soft: #e8edf6;
  --on-brand: #ffffff;
  --font-display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-figures: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 6px;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
a { color: var(--brand-strong); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.lead { color: var(--muted); }

/* Kopfzeile */
/* In Contao steckt die Kopfzeile in #header; dann klebt #header, sonst .site-header */
#header { position: sticky; top: 0; z-index: 9; }
.site-header { position: sticky; top: 0; z-index: 9; background: var(--surface); border-bottom: 1px solid var(--line); }
#header .site-header { position: static; }
a.logo-link { display: block; line-height: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; flex-wrap: wrap; }
.logo { height: 22px; width: auto; display: block; }
.nav { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: .2rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--brand); }

/* Abschnitte */
section.band { padding-block: clamp(3rem, 7vw, 5rem); }
section.band:not(.hero) { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; }

/* Willkommen */
.hero { background: var(--surface); }
.hero .wrap { display: grid; gap: 1.5rem; }
.hero h1 { max-width: 20ch; }
.hero .lead { font-size: 1.15rem; color: var(--ink); }
.hero .lead + .lead { color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn { display: inline-block; padding: .75rem 1.2rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid var(--brand); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn-ghost { color: var(--brand-strong); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.call { color: var(--muted); font-size: .95rem; }
.call strong { color: var(--ink); font-family: var(--font-figures); font-weight: 500; }

.facts { list-style: none; margin: 1rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 2fr; gap: 1.25rem 2rem; }
.facts li { display: grid; gap: .15rem; }
.facts b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--brand-strong); }
.facts span { font-size: .92rem; color: var(--muted); }
.legal-note { font-size: .88rem; color: var(--muted); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .9rem; align-content: start; }
.service ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.service li::marker { color: var(--brand); }
.digital { margin-top: 2rem; background: var(--brand-soft); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.25rem; }
.digital-head { display: grid; gap: .4rem; }
.digital-head p { color: var(--muted); }
.digital-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem 2rem; }
.digital-list li { display: grid; gap: .25rem; align-content: start; border-top: 2px solid var(--brand); padding-top: .75rem; }
.digital-list b { color: var(--brand-strong); }
.digital-list span { font-size: .95rem; }
.digital-note { font-size: .92rem; color: var(--muted); }

/* Kosten: Kontenblatt */
.ledgers { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.ledger h3 { padding: 1rem 1.25rem; border-bottom: 2px solid var(--brand); }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger td { padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td.amt { text-align: right; white-space: nowrap; font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.ledger .sub { display: block; font-size: .85rem; color: var(--muted); }
.price-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

.examples { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.example { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; background: var(--surface); display: grid; gap: .75rem; align-content: start; min-width: 0; }
.example .meta { font-size: .92rem; color: var(--muted); }
.calc { font-family: var(--font-figures); font-variant-numeric: tabular-nums; font-size: .92rem; width: 100%; border-collapse: collapse; }
.calc td { padding: .3rem 0; }
.calc td:last-child { text-align: right; white-space: nowrap; }
.calc tr.sum td { border-top: 1px solid var(--ink); font-weight: 500; padding-top: .5rem; }
.calc tr.sum td:last-child { border-bottom: 3px double var(--ink); }
.calc .strike { color: var(--muted); text-decoration: line-through; }
.example .result { font-weight: 600; }

/* Geschäftsstellen */
.hq { background: var(--brand); color: var(--on-brand); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
.hq h3 { color: var(--on-brand); }
.hq a { color: var(--on-brand); }
.hq .hq-eyebrow { color: inherit; opacity: .85; }
.hq .langs { font-size: .95rem; }
.filter { margin: 2rem 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter span { font-size: .92rem; color: var(--muted); margin-right: .25rem; }
.chip { font: inherit; font-size: .9rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: grid; gap: .35rem; align-content: start; font-size: .95rem; }
.office .city { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.office h4 { margin: 0 0 .2rem; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
.office .tel { font-family: var(--font-figures); font-size: .9rem; }
.office .langs { color: var(--muted); font-size: .88rem; }
.office a { word-break: break-word; }
.empty { color: var(--muted); }
h3.sub-head { margin: 2.5rem 0 1rem; }
.agent-note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* Impressum & Datenschutz */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
details + details { margin-top: .75rem; }
summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; font-family: var(--font-display); font-size: 1.15rem; }
details .body { padding: 0 1.25rem 1.25rem; display: grid; gap: .6rem; max-width: 70ch; }
dl { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .4rem 1.25rem; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; min-width: 0; }
@media (max-width: 520px) { dl { grid-template-columns: 1fr; } dt { margin-top: .4rem; } }
.hinweis { border-left: 3px solid var(--brand); padding-left: .75rem; color: var(--muted); }

footer { background: var(--surface); border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer .wrap { padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

[hidden] { display: none !important; }
img { max-width: 100%; }
.filter[hidden] { display: none; }
