/* Schriften lokal eingebunden (keine Verbindung zu Google) */
@font-face { font-family: "Hedvig Letters Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/hedvig-letters-serif-latin-400-normal.woff2") format("woff2"); }
@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"); }
/* Abgeleitet vom Designsystem „Achalm Treuhand“, Hausfarbe auf Smaragd umgestellt */
/* Abgeleitet vom Designsystem „Achalm Treuhand“, Hausfarbe auf Smaragd umgestellt */
/* Abgeleitet vom Designsystem „Achalm Treuhand“, Hausfarbe auf Smaragd umgestellt */
/* Abgeleitet vom Designsystem „Achalm Treuhand“, Hausfarbe auf Smaragd umgestellt */
:root {
  color-scheme: light;
  --emerald: #0d3b2e;          /* statt navy: Hausfarbe für große Flächen */
  --emerald-deep: #092a21;     /* statt navy-deep: Fußzeile */
  --on-emerald: #fcfcfc;
  --on-emerald-muted: #a8c6ba;
  --jade: #5fdca6;             /* statt gold: nur die eine Hauptaktion */
  --jade-hover: #3fc58c;
  --on-jade: #0a2a20;
  --link: #08704e;             /* statt achalm-blue: Links, Fokus, Nummern */
  --link-soft: #e8f3ee;
  --surface: #f3f5f4;
  --surface-raised: #ffffff;
  --ink: #26302c;
  --ink-soft: #4a5550;
  --ink-muted: #8a948f;
  --line: #d3dcd8;
  --serif: "Hedvig Letters Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 32px;
  --max: 1200px;
}
@media (max-width: 700px) { :root { --gutter: 16px; } }
* { box-sizing: border-box; border-radius: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--jade); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
.eyebrow { margin: 0 0 8px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--link); }
.eyebrow::before { content: "> "; }
.dark .eyebrow { color: var(--jade); }

/* Buttons: eckig, großzügig */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 48px; font: 500 16px/20px var(--sans); border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--jade); color: var(--on-jade); }
.btn-primary:hover { background: var(--jade-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--emerald); border-color: var(--emerald); color: var(--on-emerald); }
.dark .btn-secondary { color: var(--on-emerald); border-color: var(--on-emerald); }
.dark .btn-secondary:hover { background: var(--on-emerald); color: var(--emerald); }
@media (max-width: 520px) { .btn { padding-inline: 28px; } }

/* Kopfzeile */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--emerald); color: var(--on-emerald); border-bottom: 1px solid rgba(252,252,252,.12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; flex-direction: column; color: var(--on-emerald); text-decoration: none !important; }
.brand b { font: 400 22px/26px var(--serif); }
.brand span { font-size: 13px; line-height: 18px; color: var(--on-emerald-muted); }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { color: var(--on-emerald); font-weight: 500; }
.menu a.cur { color: var(--jade); }
@media (max-width: 860px) { .menu > a:not(.menu-cta) { display: none; } .menu { gap: 16px; } }
@media (max-width: 520px) { .brand span { display: none; } .brand b { font-size: 19px; white-space: nowrap; } .menu-cta { padding: 8px 14px; } .top .wrap { gap: 12px; } }
.langswitch { display: flex; align-items: center; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.langswitch a { color: var(--on-emerald-muted); padding: 6px 7px; }
.langswitch a + a { border-left: 1px solid rgba(252,252,252,.3); }
.langswitch a.cur { color: var(--jade); }
.langswitch a:hover { color: var(--on-emerald); text-decoration: none; }
.legal-note { max-width: 680px; margin: -24px 0 32px; font-size: 16px; line-height: 24px; }
.menu-cta { border: 1px solid var(--on-emerald); padding: 9px 22px; }
.menu-cta:hover { background: var(--on-emerald); color: var(--emerald) !important; text-decoration: none !important; }

/* Hero */
.hero { position: relative; background: var(--emerald); color: var(--on-emerald); overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; padding-block: clamp(72px, 10vw, 136px) clamp(160px, 20vw, 260px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.12; max-width: 13em; margin-top: 16px; }
.hero .lead { margin: 28px 0 0; max-width: 34em; font-size: 20px; line-height: 30px; color: var(--on-emerald-muted); }
@media (max-width: 700px) { .hero .wrap { padding-bottom: 210px; } }
.hero .actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Abschnitte */
section { scroll-margin-top: 80px; }
.section { padding-block: 96px; }
@media (max-width: 700px) { .section { padding-block: 64px; } }
.raised { background: rgba(255, 255, 255, .9); }
#site { position: relative; isolation: isolate; }
.bgcanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.headline { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.22; max-width: 20em; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-soft); }
.text { max-width: 680px; }
.text p { margin: 16px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.profile { align-items: center; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .portrait { max-width: 420px; } }
.quote { font: 400 26px/36px var(--serif); color: var(--ink-soft); margin: 0; }

/* Leistungen */
.services { margin-top: 48px; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: 16px 32px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.idx { font: 400 26px/32px var(--serif); color: var(--link); font-variant-numeric: tabular-nums; }
.service h3 { font-size: 26px; line-height: 32px; }
.norms { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.service .sum { margin: 0; font: 400 19px/28px var(--serif); color: var(--ink); }
.service .det { margin: 10px 0 0; color: var(--ink-soft); }
@media (max-width: 860px) { .service { grid-template-columns: 48px minmax(0, 1fr); } .service > div:last-child { grid-column: 2; } }

/* Dunkler Abschnitt */
.dark { position: relative; background: var(--emerald); color: var(--on-emerald); overflow: hidden; }
.dark canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dark .wrap { position: relative; }
.dark .headline { color: var(--on-emerald); }
.dark .lead, .dark .text { color: var(--on-emerald-muted); }
.values { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 400 26px/36px var(--serif); }
.values li { color: var(--on-emerald); }

/* Kontakt */
.contact { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact > div { background: var(--surface-raised); border: 1px solid var(--line); padding: 24px; }
.contact h3 { font-size: 26px; line-height: 34px; }
.contact p, .contact address { margin: 12px 0 0; font: 400 16px/24px var(--sans); font-style: normal; color: var(--ink-soft); }
.contact p + p { margin-top: 4px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Fußzeile */
.foot { background: var(--emerald-deep); color: var(--on-emerald-muted); font-size: 14px; line-height: 20px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 24px; }
.foot a { color: var(--on-emerald); }

/* Rechtliches */
.legal { padding-block: 64px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.2; margin: 8px 0 40px; }
.legal-body { max-width: 680px; background: var(--surface-raised); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.legal-body h2 { font-size: 26px; line-height: 36px; margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font: 500 16px/24px var(--sans); margin: 20px 0 4px; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.todo { background: #fff6cc; outline: 1px dashed #b39500; padding: 0 4px; }
.back { margin-bottom: 32px; padding: 10px 24px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
