/* baeurleengst.com – schlanke Version: eine Datei, keine Skripte, keine Cookies. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
:root {
  --bg: #f3f2f2; --surface: #eae7e7; --text: #201e1d; --muted: #605d5d;
  --accent: #2257ea; --accent-hover: #1a47c9; --on-accent: #fff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1b1a; --surface: #2d2b2b; --text: #f3f2f2; --muted: #bab6b6; --accent: #8ba7ff; --accent-hover: #bccdff; --on-accent: #101f4d; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  font: 400 16px/1.6 "Archivo", system-ui, sans-serif; color: var(--text); background: var(--bg);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }

/* Kopf und Fuß: gleiche Höhe, auf jeder Seite gleich */
header, footer { height: 80px; display: flex; align-items: center; flex: none; }
header .wrap, footer .wrap { display: flex; align-items: center; gap: 12px 24px; }
.wordmark { display: block; width: 150px; aspect-ratio: 101.36 / 14; background: currentColor;
  -webkit-mask: url(baeurleengst-wortmarke.svg) center / contain no-repeat; mask: url(baeurleengst-wortmarke.svg) center / contain no-repeat; }
.brand { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; background: var(--accent); color: var(--on-accent); transition: background .15s; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: var(--bg); color: var(--accent); }

main { flex: 1; }
main:has(.hero) { display: flex; flex-direction: column; }
main:has(.hero) > .wrap { flex: 1; display: flex; flex-direction: column; }
.hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr auto; gap: 32px;
  flex: 1; min-height: 480px; padding: clamp(24px, 5vw, 64px); border-radius: clamp(24px, 3.5vw, 44px); background: var(--surface); touch-action: pan-y; }
.hero canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-shape { display: none; }
.hero-text { grid-row: 2; }
@media (max-width: 720px) {
  .hero { min-height: 520px; }
}
h1 { margin: 0 0 32px; font-size: clamp(40px, 6.6vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -0.015em; max-width: 14ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }


/* Rechtstexte */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 24px; max-width: none; }
.legal h2 { margin: 36px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal .note { color: var(--muted); font-size: 14px; }
mark { background: #ffe58a; color: #201e1d; padding: 0 3px; border-radius: 3px; }

footer { font-size: 14px; color: var(--muted); }
footer .wrap { justify-content: flex-end; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { text-decoration: none; }


/* Geltungsbereich: Karten je Angebot */
.legal:has(.cards) { max-width: 1080px; }
.legal .cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 22px; background: var(--surface); }
.card-domain { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; text-decoration: none; overflow-wrap: anywhere; }
.card-sub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 480px) { footer nav { flex-wrap: nowrap; gap: 14px; font-size: 13px; } }
@media (max-width: 360px) { footer nav { gap: 10px; font-size: 12px; } }
@media (max-width: 340px) { footer nav { gap: 8px; font-size: 11.5px; } }
