/* Farben, Schrift und Linien wie im Briefpapier (briefpapier_neu.py) */
@font-face { font-family: "Plex Sans"; font-weight: 300; font-display: swap; src: url("fonts/IBMPlexSans-Light.woff2") format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2"); }

:root {
  --ink: #1b2733;
  --muted: #52606d;
  --accent: #1558d6;
  --hairline: #cbd2d9;
  --paper-alt: #f4f6f9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plex Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 0.2em; }

.column { width: min(100% - 3rem, 42rem); margin: 0 auto; }
.column-wide { width: min(100% - 3rem, 66rem); container-type: inline-size; }

/* Haarlinie mit Akzentstück, wie unter dem Briefkopf */
.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(var(--accent), var(--accent)) var(--accent-at, left) / 3.25rem 3px no-repeat, var(--hairline);
}

.label {
  font-family: "Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* Wortmarke: Cursor-Balken, Vorname fett, Nachname dünn */
.brand {
  --size: clamp(2.1rem, 1.4rem + 3.5vw, 3.25rem);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em;
  margin: 0 0 0.6rem;
  font-size: var(--size);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  /* Balken hängt links heraus, damit der Name selbst mittig steht */
  translate: -0.315em;
}
.brand::before {
  content: "";
  flex: none;
  width: 0.16em;
  height: 0.7em;
  margin-right: 0.12em;
  background: var(--accent);
}
.brand b { font-weight: 600; }
.brand span { font-weight: 300; }

.claim { margin: 0 0 2.25rem; font-size: clamp(1rem, 0.85rem + 0.8vw, 1.2rem); color: var(--muted); }
.claim em, .amp { font-style: normal; font-weight: 600; color: var(--accent); }

/* Kopf der Startseite mit dezentem Punktraster wie im Briefpapier */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 2.5rem + 5vw, 6.5rem) 1.5rem clamp(3.5rem, 2rem + 4vw, 5rem);
  text-align: center;
  background-image: radial-gradient(circle, #cbd2d9 1.25px, transparent 1.25px);
  background-size: 22px 22px;
  background-position: center top;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 85% at 50% 45%, rgba(255, 255, 255, 0.94) 35%, rgba(255, 255, 255, 0.55) 100%);
  pointer-events: none;
}
.hero .card { position: relative; width: min(100%, 40rem); }
.hero .rule { --accent-at: center; margin-bottom: 2.25rem; }

.promise {
  margin: 0 auto 2.25rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.25rem);
  font-weight: 300;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: center; align-items: center; }
.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--ink); transform: translateY(-1px); }

/* Abschnitte */
section { padding: 4.5rem 0; border-top: 1px solid var(--hairline); }
section.alt { background: var(--paper-alt); }
section h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem); font-weight: 300; line-height: 1.35; margin: 0 0 1.75rem; }
section p { margin: 0 0 1rem; }

.promise strong { font-weight: 600; }

.traits {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@container (min-width: 48rem) {
  .traits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.point {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 1.75rem 1.6rem 1.65rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(27, 39, 51, 0.04);
}
.point::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2.75rem;
  height: 3px;
  background: var(--accent);
}
.point h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.3; }
.point p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.about { margin: 2rem 0 0; color: var(--muted); font-size: 0.9rem; }

.obf { display: none; }

.contact { text-align: center; }
.contact h2 { margin-bottom: 1.5rem; }
.contact .rule { --accent-at: center; margin: 0 0 2.5rem; }

footer { padding: 2rem 0 2.5rem; font-size: 0.875rem; color: var(--muted); text-align: center; line-height: 1.7; }
footer .rule { --accent-at: center; margin-bottom: 1.5rem; }
footer p { margin: 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* Rechtliches */
.legal-head { padding: 3rem 1.5rem 0; text-align: center; }
.legal-head .brand { --size: 1.6rem; margin-bottom: 2rem; }
.legal h1 { font-size: 2rem; font-weight: 300; margin: 0 0 2rem; }
.legal h2 { font-size: 1.15rem; font-weight: 600; margin: 2.5rem 0 0.5rem; }
.legal h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
.legal p { margin: 0 0 0.75rem; }
