/* ============================================================
   seuring.de – Variante B „Profil“

   Zweispaltig: links die stehende Visitenkarte, rechts der Inhalt.

   EINE Schriftfamilie (06.09.2026). Vorher lief eine Serifenschrift
   für Name, Leitabsatz und Titel gegen die System-Sans im Fließtext
   – vier Wechsel auf einer kurzen Seite, das wirkte unruhig. Die
   Hierarchie trägt jetzt allein über Größe, Gewicht und Farbe; den
   Abstand zur Konzernanmutung trägt die Farbwelt (Papierweiß,
   Tiefblau, Kupfer).

   Ohne externe Schriften, ohne Framework, ohne CDN. Alles, was der
   Browser lädt, liegt auf dem eigenen Server – deshalb kommt die
   Seite ohne Cookie-Banner aus.
   ============================================================ */

:root {
  --fg:        #14303d;   /* tiefes, entsättigtes Blau statt Schwarz */
  --fg-muted:  #756d63;   /* warmes Grau, kein Blaugrau */
  --bg:        #fbfaf8;   /* Papierweiß, nicht Konzernweiß */
  --bg-soft:   #f2eee8;
  --border:    #e2dcd3;
  --copper:    #a8551f;   /* zweiter Akzent, in Konzernpaletten unüblich */
  --copper-hi: #8a4720;

  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;

  /* Eine einzige kleine Schriftgröße für alles Sekundäre:
     Rolle, Organisation/Ort und Profil-Links. Vorher standen dort
     .95rem und .92rem nebeneinander – ein Unterschied, den man nicht
     sieht, aber als Unruhe merkt.                                  */
  --ui: .95rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg:        #ece7df;
    --fg-muted:  #a09689;
    --bg:        #14181b;
    --bg-soft:   #1d2226;
    --border:    #2e353d;
    --copper:    #d98c56;
    --copper-hi: #eaa876;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Raster ----------
   Auf breiten Bildschirmen zwei Spalten; die linke bleibt beim
   Scrollen stehen. Darunter gestapelt – keine Sonderregeln nötig,
   weil beide Spalten für sich lesbar sind.                     */

.layout {
  max-width: 60rem;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 15rem) minmax(0, 34rem);
  align-items: start;
}

@media (max-width: 54rem) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding: 3rem 1.5rem;
    max-width: 36rem;
  }
}

@media (min-width: 54.01rem) {
  .identity { position: sticky; top: 5rem; }
}

/* ---------- Linke Spalte ---------- */

/* Foto liegt als CSS-Hintergrund, nicht als <img>: Fehlt die Datei
   einmal, bleibt der Kreis leer statt ein kaputtes Bildsymbol zu
   zeigen. Semantik über role="img" im HTML.                      */
.portrait {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background-color: var(--bg-soft);
  background-image: url("portrait.jpg");
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.6rem;
}

/* Drei Ebenen in der linken Spalte – mehr nicht:
     1. Name           groß, dunkel        → wer
     2. Rolle          .95rem, dunkel      → was
     3. alles Übrige   .95rem, grau        → wo, Label, Links
   Größe sagt Wichtigkeit, Farbe sagt primär/sekundär. Deshalb gibt
   es genau EINE kleine Schriftgröße (--ui: .95rem) für Rolle, Meta
   und Links – frühere .92/.95-Mischung war ein unsichtbarer, aber
   spürbarer Bruch. Das Label oben ist die einzige Ausnahme: Es ist
   kleiner UND gesperrt UND kupfern, damit man es als Kategorie liest
   und nicht als Zeile des Profils.                                */

/* „Berufliches Profil“ – ordnet ein, ohne mit dem Namen zu konkurrieren.
   Privates liegt auf seuring.net (siehe Fuß der Seite).             */
.kicker {
  margin: 0 0 .5rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--copper);
}

.identity h1 {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .8rem;
}

.identity .role,
.identity .meta {
  margin: 0;
  font-size: var(--ui);
  line-height: 1.45;
}

/* Organisation und Ort: eine Zeile, eine Farbe, kein Extra-Abstand.
   Vorher standen sie als zwei gleich aussehende Absätze mit einer
   Lücke dazwischen – die Lücke suggerierte eine Gliederung, die es
   inhaltlich nicht gibt.                                           */
.identity .meta { color: var(--fg-muted); }

/* ---------- Profil-Links ----------
   Bewusst normale Links, kein LinkedIn-Badge: Ein Badge lädt ein
   Skript von LinkedIn nach und hätte dasselbe Einwilligungsproblem
   wie ein Video – für den Gegenwert von Name und Position, also
   dem, was ohnehin auf der Seite steht.                        */

.links {
  margin: 1.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: var(--ui);
}

.links a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease;
}

.links a:hover { color: var(--copper); border-color: var(--copper); }
.links a:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Rechte Spalte ---------- */

.content > section + section { margin-top: 3.5rem; }

h2 {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg-muted);
  margin: 0 0 1.4rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border);
}

.about p { margin: 0 0 1.1rem; }
.about p:last-child { margin-bottom: 0; }

/* Leitabsatz: hebt sich allein über Größe und Zeilenhöhe ab,
   nicht mehr über eine zweite Schriftfamilie.                */
.lead {
  font-size: 1.14rem;
  line-height: 1.6;
  letter-spacing: -.005em;
}

a { color: var(--copper); text-underline-offset: 2px; }
a:hover { color: var(--copper-hi); }

/* ---------- Beiträge ---------- */

.post {
  padding: 0 0 .5rem;
  border-left: 2px solid var(--border);
  padding-left: 1.4rem;
}

.post + .post { margin-top: 2.5rem; }

.post-meta {
  margin: 0 0 .35rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--fg-muted);
}

.post-title {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -.012em;
  margin: 0 0 .6rem;
}

.post-desc {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

.post-actions {
  margin: 1.1rem 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Beiträge ohne Video: schlichte Linkzeile statt Abspielknopf.
   Kein Einwilligungshinweis nötig – ein Link lädt nichts nach. */
.post-links {
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .88rem;
}

.post-links a::after {
  content: " ↗";
  font-size: .85em;
  color: var(--fg-muted);
}

.play {
  font: inherit;
  font-size: .88rem;
  padding: .42rem 1.05rem .42rem 1rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.play::before {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

.play:hover { background: var(--fg); color: var(--bg); }
.play:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.hint {
  margin: 0;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--fg-muted);
  flex: 1 1 13rem;
}

/* Rahmen für das eingesetzte Video */
.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.1rem 0 0;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Fuß ---------- */

.content footer {
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

/* Abgrenzung beruflich/privat. seuring.net steht als Adresse da,
   nicht als Link – die Domain liefert bis zum Transfer nichts aus. */
.family {
  margin: 0 0 1rem;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 30rem;
}

.content footer nav { display: flex; gap: 1.5rem; font-size: .85rem; }
.content footer a { color: var(--fg-muted); text-decoration: none; }
.content footer a:hover { color: var(--copper); }

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
}

.legal h1 {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -.025em;
  margin: 0 0 1.75rem;
}

.legal h2 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.005em;
  color: var(--fg);
  margin: 2.5rem 0 .7rem;
  padding: 0;
  border: 0;
}

.legal p, .legal ul { font-size: .95rem; }

.legal address {
  font-style: normal;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: .95rem;
}

.legal code {
  font-size: .88em;
  background: var(--bg-soft);
  padding: .1em .35em;
  border-radius: 4px;
}

.legal footer {
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  font-size: .85rem;
}

.legal footer a { color: var(--fg-muted); text-decoration: none; }
.legal footer a:hover { color: var(--copper); }

@media (max-width: 54rem) {
  .legal { padding: 3rem 1.5rem; }
}

/* Offene Stellen – absichtlich auffällig, sollen nicht übersehen werden. */
.todo {
  background: #f7e3a8;
  color: #5c4400;
  padding: .1em .45em;
  border-radius: 4px;
  font-weight: 500;
}

@media (prefers-color-scheme: dark) {
  .todo { background: #6b5500; color: #ffeeb5; }
}

@media (max-width: 30rem) {
  body { font-size: 16px; }
  .identity h1 { font-size: 1.7rem; }
  .lead { font-size: 1.13rem; }
  .post { padding-left: 1.1rem; }
}
