/* Richtung B aus design/richtungen/b-kanzlei.html, gewählt am 19.11.2026.
   Schriften liegen selbst gehostet, weil die CSP in vercel.json nur 'self'
   erlaubt und Google Fonts eine Übermittlung der IP an Google wäre. */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --bg-portrait: #ecebe6;
  --ink: #1f2420;
  --ink-muted: #5f665f;
  --line: #e2ddd3;
  --accent: #2f5d3a;
  --accent-hover: #244a2e;
  --accent-soft: #e7eee6;
  --placeholder: #b4541a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 244, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; height: 76px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.brand small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.site-header nav { display: flex; gap: 32px; font-size: 15px; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a.nav-cta { color: var(--accent); font-weight: 600; }

/* Einstieg */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1.1; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--ink-muted); margin-top: 24px; max-width: 36ch; }
.actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 4px; transition: background-color .15s ease; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); background: var(--bg-card); }
.btn.ghost:hover { border-color: var(--ink-muted); }

/* Das freigestellte Porträt steht unten auf der Fläche auf, wie bei den
   Apple-Vorstandsfotos; deshalb kein Innenabstand unten. */
.portrait { background: linear-gradient(180deg, var(--bg-portrait) 0%, #f3f2ee 100%); border-radius: 4px; padding: 36px 20px 0; overflow: hidden; }
.portrait img { width: 100%; }
.portrait-caption { margin-top: 12px; font-size: 13px; color: var(--ink-muted); }

/* Startseite „Visitenkarte“ (Konzept A, gewählt 19.11.2026). Vorbild ist die
   Bio-Seite der Apple-Vorstände: Name und Rolle links, Porträt auf Grauverlauf
   rechts, darunter der Lebenslauf in zwei Spalten. Der Kopf läuft nicht mit,
   weil es nur einen einzigen Sprung gibt (Kontakt). */
.card-top { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: baseline; }
.card-top .brand small { display: inline; margin-left: 10px; }
.card-top-link { font-size: 15px; font-weight: 600; text-decoration: none; }
.card-top-link:hover { text-decoration: underline; }
/* Auf einem Laptop (etwa 1470 × 830 sichtbar) sollen Gesicht, Knopf und beide Bio-Spalten ohne
   Scrollen auf einen Schirm passen (Arthur, 19.11.2026); deshalb kompakter als vorher und das
   Porträt höchstens 440 px breit. Das grüne Band bringt Farbe, das freigestellte Porträt steht darauf. */
.card-band { background: linear-gradient(180deg, var(--accent-soft) 0%, #eef2ec 75%, var(--bg) 100%); }
.card-band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; padding-top: 48px; }
/* Ohne Abstand unten steht der Knopf auf derselben Linie wie die Unterkante des Porträts (Arthur, 20.11.2026). */
.card-name { padding: 0; }
.card-name h1 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.05; letter-spacing: -.015em; }
.card-name .role { font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--ink-muted); margin-top: 12px; }
.card-name .role strong { font-weight: 400; color: var(--accent); }
/* Ein Satz in Ich-Form und der Weg zum Formular gleich oben, damit niemand bis zum Kontakt scrollen muss. */
.card-lead { font-size: 18px; margin-top: 18px; max-width: 34ch; }
.card-cta { margin-top: 24px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.card-cta .btn { font-size: 16px; box-shadow: 0 6px 16px rgba(47, 93, 58, .22); }
.card-mail { font-size: 15px; color: var(--ink-muted); text-decoration: none; }
.card-mail:hover { color: var(--accent); }
.card-band picture { justify-self: end; width: 100%; max-width: 440px; }
/* Ganz leichter Schatten am freigestellten Porträt (Runde 4, Arthur: „mit schatten ist sehr gut“).
   Nur unten abschneiden, an der geraden Bildkante stünde sonst ein Schattenstreifen; overflow hidden
   schnitt den Schatten auch seitlich senkrecht ab (Arthur: „sieht ein bisschen komisch aus“). */
.card-band picture { clip-path: inset(-80px -80px 0 -80px); }
.card-band picture img { filter: drop-shadow(-10px 10px 22px rgba(31, 36, 32, .14)); }
.card-bio { padding: 48px 0 56px; }
.card-bio p { font-family: var(--serif); font-size: 26px; line-height: 1.4; max-width: 44ch; }

/* Stationenband (Runde 4, Wahl C): unterbricht die helle Seite in der Mitte und zeigt die Laufbahn
   auf einen Blick. section-Regel unten setzt Rand und Abstand, hier überschrieben. */
.stations { background: var(--accent); color: #fff; padding: 56px 0 60px; border-top: 0; }
.stations .label { color: #a9c7ad; margin: 0; max-width: none; font-family: var(--sans); }
.stations ol { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 28px; position: relative; }
.stations ol::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(255, 255, 255, .3); }
.stations li { position: relative; padding-top: 30px; }
.stations li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--accent); }
.stations .when { font-family: var(--serif); font-size: 24px; display: block; line-height: 1.1; }
.stations b { display: block; font-weight: 600; font-size: 15px; margin-top: 8px; line-height: 1.35; }
.stations li > span:last-child { display: block; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* Schwerpunkte nur noch als Themen; die Belege trägt das Stationenband. */
.card-focus { padding: 56px 0 72px; }
.card-focus ul { list-style: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.card-focus li { font-family: var(--serif); font-size: 24px; line-height: 1.3; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-note { margin-top: 16px; color: var(--ink-muted); max-width: 34ch; }
.contact .contact-note a { font-size: inherit; font-weight: 600; }

/* Abschnitte */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.15; margin-top: 10px; max-width: 22ch; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 10px 0 8px; line-height: 1.25; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; list-style: none; }
.card { background: var(--bg-card); border: 1px solid var(--line); padding: 26px 22px; border-radius: 2px; }
.card .n { font-family: var(--serif); color: var(--accent); font-size: 15px; }
.card p { font-size: 15px; color: var(--ink-muted); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.split .intro { margin-top: 20px; color: var(--ink-muted); }
.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { padding-top: 0; }
.timeline time { color: var(--ink-muted); font-size: 14px; padding-top: 2px; }
.timeline b { font-weight: 600; display: block; }
.timeline span { color: var(--ink-muted); font-size: 15px; }

.contact { background: var(--accent-soft); border-top: 0; }
.contact .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact address { font-style: normal; margin-top: 24px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
/* Kontakt A aus Runde 2 (19.11.2026): Formular ohne Karte direkt auf dem Grün, nur Name und
   E-Mail teilen sich eine Zeile, damit das Formular kürzer wird. */
.form label:nth-of-type(n+3), .form .consent, .form button, .form .form-status { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form .optional { color: var(--ink-muted); font-weight: 400; }
.form input, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 120px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-muted); }
.form .consent input { margin-top: 4px; accent-color: var(--accent); }
.form .consent a { font-size: inherit; font-weight: 500; }
.form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form button:disabled { opacity: .6; cursor: wait; }
/* Honigtopf für Bots, für Menschen unsichtbar und nicht per Tab erreichbar. */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-size: 15px; }
.form-status.is-ok { color: var(--accent); font-weight: 500; }
.form-status.is-error { color: var(--placeholder); }
.contact a { font-weight: 600; font-size: 19px; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 42px; }
.legal h2 { font-size: 24px; margin-top: 40px; max-width: none; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 20px; }

/* Noch nicht bekannte Angaben sind sichtbar markiert, damit nichts
   Unfertiges unbemerkt live geht. */
.todo { color: var(--placeholder); font-weight: 600; }

.site-footer .wrap { padding: 24px; font-size: 13px; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 16px; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero .wrap, .split, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  h2 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .timeline li { grid-template-columns: 1fr; }
  .legal h1 { font-size: 32px; }
  .card-band .wrap { grid-template-columns: 1fr; gap: 0; }
  .card-band .wrap { padding-top: 0; }
  .card-name { padding: 40px 0 32px; }
  .card-lead { font-size: 17px; }
  .card-name h1 { font-size: 42px; }
  .card-name .role { font-size: 20px; }
  .card-band picture { justify-self: center; max-width: 360px; }
  .card-bio { padding: 32px 0 40px; }
  .card-bio p { font-size: 21px; }
  .stations ol { grid-template-columns: 1fr; gap: 18px; }
  .stations ol::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stations li { padding: 0 0 0 34px; }
  .stations .when { font-size: 20px; }
  .card-focus ul { grid-template-columns: 1fr; }
  .card-focus li { font-size: 20px; }
  /* Neben dem vollen Namen passt der Zusatz am Handy nicht in eine Zeile; die Rolle steht direkt darunter im Einstieg. */
  .card-top .brand small { display: none; }
  .form { grid-template-columns: 1fr; }
  .form label { grid-column: 1 / -1; }
  .site-footer .wrap { flex-direction: column; }
}
