/* Digital-Hilfe
   Layout: der Merkzettel neben dem Telefon und eine klare Preisliste wie im Schaufenster.
   Bewusst nur ein helles Erscheinungsbild: hoher Kontrast, große Schrift, große Klickflächen für
   ältere Menschen. Keine externen Schriften, kein JavaScript. */
/* Atkinson Hyperlegible (Braille Institute, SIL Open Font License 1.1, Lizenz in fonts/OFL.txt).
   Selbst gehostet, damit keine Besucherdaten an Dritte gehen. Quelle: @fontsource/atkinson-hyperlegible 5.2.8 */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #ffffff;      /* Grund */
  --ink: #1b2228;        /* Text, Kontrast über 14:1 */
  --muted: #434f58;      /* Nebentext, Kontrast über 8:1 */
  --green: #1d6a43;      /* Telefongrün, Akzent */
  --green-soft: #e7f2eb; /* Hinweis bei Betrug */
.alert { border: 2px solid var(--red); padding: 22px 24px; display: grid; gap: 8px; max-width: 72ch; }
.alert h3 { color: var(--red); }
.alert p { color: var(--ink); }
.nowrap { white-space: nowrap; }

/* Band */
  --note: #fff3b0;       /* Zettelgelb */
  --note-rule: #e3cf7a;  /* Linien auf dem Zettel */
  --red: #a2311d;        /* Hinweis Notfall */
  --line: #d6dbdf;
  --font-body: "Atkinson Hyperlegible", Verdana, "DejaVu Sans", Tahoma, sans-serif;
  --font-hand: "Bradley Hand", "Segoe Print", "Comic Neue", cursive;
  --wrap: 1000px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [aria-labelledby] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 20px; line-height: 1.65; }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 64px; }
.section .wrap { display: grid; gap: 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 20; }
.skip:focus { left: 12px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Kopf */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 2px solid var(--ink); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: grid; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 1.35rem; }
.brand-sub { font-size: .88rem; color: var(--muted); }
.call { display: inline-flex; align-items: baseline; gap: 10px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; padding: 12px 20px; min-height: 52px; border-radius: 6px; }
.call:hover { background: var(--ink); }
.call-label { font-size: .85rem; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }

/* Einstieg */
.hero { padding-block: 64px 72px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero-text { display: grid; gap: 18px; min-width: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }

/* Merkzettel */
.note { background: var(--note); background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--note-rule) 43px 45px); background-position: 0 58px; padding: 22px 28px 30px; transform: rotate(-2deg); box-shadow: 0 1px 0 var(--note-rule), 0 18px 30px -18px rgba(27, 34, 40, .45); position: relative; min-width: 0; }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(27, 34, 40, .08); transform: rotate(3deg); }
.note-head { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); height: 36px; }
.note-line { font-family: var(--font-hand); font-size: 1.3rem; line-height: 45px; color: #23313b; }
.note-phone a { font-family: var(--font-body); font-weight: 700; font-size: 1.7rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }

/* Preisliste */
.pricelist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.pricelist li { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pricelist li > div { display: grid; gap: 6px; min-width: 0; max-width: 62ch; }
.pricelist p { color: var(--muted); }
.price { font-weight: 700; font-size: 1.6rem; color: var(--ink) !important; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.1; }
.price span { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }
.pl-feature { border-left: 6px solid var(--red); padding-left: 14px !important; margin-left: -20px; }
.tag { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red) !important; }
.aside { color: var(--muted); font-size: 1rem; }

/* Hinweis bei Betrug */
.alert { border: 2px solid var(--red); padding: 22px 24px; display: grid; gap: 8px; max-width: 72ch; }
.alert h3 { color: var(--red); }
.alert p { color: var(--ink); }
.nowrap { white-space: nowrap; }

/* Band */
.band { background: var(--green-soft); padding-block: 52px; }
.band-inner { display: grid; gap: 12px; }
.band p { max-width: 64ch; }
.topics { font-weight: 700; }

/* Versprechen */
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 70ch; }
.promises li { position: relative; padding-left: 46px; color: var(--muted); }
.promises li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 18px; height: 10px; border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: rotate(-45deg); }
.promises strong { display: block; color: var(--ink); }

/* Über mich */
.section-about { background: #f6f7f8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about { grid-template-columns: 1fr 2fr; column-gap: 48px; align-items: start; }
.about > div { display: grid; gap: 14px; max-width: 62ch; }
.about p { color: var(--muted); }

/* Kontakt */
.contact { justify-items: start; }
.contact-phone a { font-weight: 700; font-size: clamp(2.2rem, 7vw, 3.4rem); color: var(--green); text-decoration: none; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.contact-phone a:hover { text-decoration: underline; }

/* Fuß */
.foot { background: var(--ink); color: #d9dee2; font-size: 1rem; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 8px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #fff; }
.trademark { font-size: .85rem; color: #aab4bb; padding-block: 0 24px; }

/* Rechtstexte */
.legal { padding-block: 56px 80px; max-width: 760px; }
.legal h1 { margin-bottom: 12px; }
.legal h2 { font-size: 1.25rem; margin: 2em 0 .4em; }
.legal p { color: var(--muted); margin-bottom: .8em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .note { max-width: 420px; }
  .about { grid-template-columns: 1fr; row-gap: 14px; }
}
@media (max-width: 560px) {
  .pricelist li { grid-template-columns: 1fr; gap: 12px; }
  .price { text-align: left; }
  .pl-feature { margin-left: 0; padding-left: 16px !important; }
  .call-label { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.15rem; }
  .call { font-size: 1.05rem; padding: 10px 14px; white-space: nowrap; }
}
