/* HBauer Consulting – Stylesheet
   Schrift: Poppins (SIL Open Font License 1.1), lokal unter fonts/, Lizenz: fonts/OFL.txt
   Keine externen Ressourcen. */

@font-face { font-family: "HB Poppins"; src: url("fonts/poppins-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "HB Poppins"; src: url("fonts/poppins-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "HB Poppins"; src: url("fonts/poppins-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #141618;
  --bg-2: #1a1d20;
  --surface: #212529;
  --line: #343a40;
  --text: #f3f2ee;
  --muted: #b9bdb9;
  --accent: #90c8b0;
  --accent-hi: #b4dcc9;
  --deep: #1c3630;
  --deep-line: #2d5148;
  --warn-bg: #4a1d1d;
  --warn-text: #ffd9d9;
  --font: "HB Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --r-s: .5rem;
  --r-l: 1rem;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
}
strong, b { font-weight: 600; }

h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 1.25rem; }
p, ul, address { margin: 0 0 1.25rem; }
address { font-style: normal; }

a { color: var(--accent-hi); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--text); }

/* Fokus: kräftiger Ring wie im Vorbild, hier in Akzentfarbe */
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--accent); color: var(--bg); font-weight: 600;
  padding: .6rem 1rem; border-radius: var(--r-s); text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Kopfzeile */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; }
.brand-mark { display: block; flex: none; }
.brand-text { font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; line-height: 1.1; }
.brand-text span { font-weight: 300; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a {
  display: block; color: var(--text); text-decoration: none; font-weight: 400; font-size: .95rem;
  padding: .45rem .8rem; border-radius: var(--r-s);
}
.site-nav a:hover { background: var(--surface); color: var(--accent-hi); }

/* Rechtstexte */
.legal { padding: 3.5rem 0 4rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.legal ul { padding-left: 1.25rem; }
.legal .wrap > * { max-width: 46rem; }

/* Fußzeile */
.site-footer { background: #0f1113; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer-grid p { margin: 0 0 .5rem; }
.footer-name { color: var(--text); font-weight: 600; font-size: 1.05rem; }
.footer-head { color: var(--text); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .75rem !important; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent-hi); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1.4fr 1fr; } }

/* Breite Bildschirme (Rechtstexte) */
@media (min-width: 64rem) {
  .wrap { padding: 0 2.5rem; }
  .site-footer .footer-grid { padding: 3.5rem 2.5rem 2.25rem; }
  .site-footer .footer-bottom { padding: 1.25rem 2.5rem 1.75rem; }
}

/* Mobil (Rechtstexte) */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .site-header .wrap { padding-top: .75rem; padding-bottom: .75rem; }
  .site-nav a { padding: .4rem .6rem; }
  .site-nav ul { margin-left: -.6rem; }
}

body { font-weight: 400; }
.site-footer { font-weight: 300; }
.site-footer .footer-bottom { border-top: 0; }
.footer-bottom p { border-top: 1px solid var(--line); padding-top: 1.25rem; }

.button {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--accent); color: #10201b; font-weight: 600; text-decoration: none;
  padding: .85rem 1.4rem; border-radius: var(--r-s); border: 1px solid var(--accent);
}
.button:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #10201b; }

/* Startseite (reduziert, eine Bildschirmseite) */
.home { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: linear-gradient(180deg, #171a1d 0%, var(--bg) 100%); overflow-x: hidden; }
.home-lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; pointer-events: none; z-index: 0; }
.home-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 3rem 0 2rem; }
.home-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.home-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.home-hero h1 .line { display: block; }
.home-hero h1 .line + .line { font-weight: 300; color: var(--accent-hi); }
.subline { font-size: .8rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.home-blocks { background: var(--deep); border: 1px solid var(--deep-line); border-radius: var(--r-l); padding: 1.75rem 1.5rem; display: grid; gap: 1.4rem; }
.blk p { margin: 0; font-size: 1rem; line-height: 1.6; }
.label { font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); margin: 0 0 .4rem; }
.blk + .blk { border-top: 1px solid var(--deep-line); padding-top: 1.4rem; }
.blk a { overflow-wrap: anywhere; }
.home-footer { position: relative; z-index: 1; color: var(--muted); font-size: .85rem; font-weight: 300; }
.home-footer p { margin: 0; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--line); }
.home-footer a { color: var(--muted); }
.home-footer a:hover { color: var(--accent-hi); }
@media (min-width: 64rem) {
  .home-main { padding: 2.5rem 0 1.5rem; }
  .home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; align-items: center; }
  .home-blocks { padding: 2rem 2.25rem; gap: 1.1rem; }
  .blk + .blk { padding-top: 1.1rem; }
  .blk p { font-size: .97rem; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header nav, .home-lines, .skip-link { display: none; }
  .home-blocks { background: none; border-color: #999; }
  a { color: #000; }
}
