/* Thorsten S. Bauer. Leitmotiv: der Punkt. Jede Überschrift ist ein kurzer Satz mit gelbem Schlusspunkt, der Werdegang ist eine Linie aus Punkten. */
:root {
  --petrol: #103c4a;
  --tief: #0a2a35;
  --papier: #f2f5f4;
  --tinte: #14262d;
  --gelb: #f0b429;
  --linie: #c5d2d3;
  --leise: #4d646c;
  --satz: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --lauf: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--lauf); font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--papier); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--satz); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 i, h2 i { font-style: normal; color: var(--gelb); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Bühne: Kopfleiste und Auftakt auf Petrol */
.buehne { background: var(--petrol); color: #e9f0f0; }
.leiste { max-width: 68rem; margin: 0 auto; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.marke { font-family: var(--satz); font-size: 1.15rem; color: #fff; text-decoration: none; }
.leiste-tel { color: var(--gelb); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.auftakt { max-width: 68rem; margin: 0 auto; padding: 2.5rem 1.25rem 0; display: grid; gap: 2.5rem; }
.auftakt h1 { font-size: clamp(2.45rem, 10.5vw, 5rem); color: #fff; }
.rolle { margin: 1.5rem 0 0.9rem; font-family: var(--satz); font-size: 1.25rem; line-height: 1.35; color: #fff; }
.einstieg { max-width: 34rem; color: #cfdcdd; }
.wege { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.knopf { display: inline-block; padding: 0.8rem 1.5rem; border-radius: 999px; background: var(--gelb); color: var(--tief); font-weight: 600; text-decoration: none; border: 2px solid var(--gelb); }
.knopf-leise { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.knopf:hover { background: #ffc94d; border-color: #ffc94d; }
.knopf-leise:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.portraet { width: min(68vw, 19rem); justify-self: center; aspect-ratio: 875 / 1380; object-fit: cover; border-radius: 10rem 10rem 0 0; }

/* Abschnitte */
main { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.band { padding: 3.75rem 0; border-bottom: 1px solid var(--linie); }
.band:last-child { border-bottom: 0; }
.band h2, .kontakt h2 { font-size: clamp(1.95rem, 7vw, 3rem); margin-bottom: 1.5rem; }
.spalte { max-width: 38rem; }
.haltung .spalte p:first-child { font-family: var(--satz); font-size: 1.3rem; line-height: 1.45; }

.angebot { display: grid; gap: 2.25rem; }
.angebot h3 { font-size: 1.45rem; margin-bottom: 0.6rem; padding-top: 1rem; border-top: 3px solid var(--petrol); }
.angebot p { color: #2a3f47; }

/* Werdegang: Linie mit Punkten */
.weg { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; max-width: 44rem; }
.weg::before { content: ""; position: absolute; left: 0.3125rem; top: 0.8rem; bottom: 0.8rem; width: 2px; background: var(--petrol); transform-origin: top; }
.weg li { position: relative; padding-bottom: 1.6rem; display: grid; gap: 0.1rem; }
.weg li:last-child { padding-bottom: 0; }
.weg li::before { content: ""; position: absolute; left: -1.75rem; top: 0.5rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--gelb); box-shadow: 0 0 0 4px var(--papier); }
.weg li:last-child::after { content: ""; position: absolute; left: -1.75rem; top: 1.4rem; bottom: 0; width: 0.75rem; background: var(--papier); }
.weg b { font-family: var(--satz); font-size: 1.35rem; font-weight: 600; line-height: 1.3; font-variant-numeric: lining-nums; }
.nebenbei { margin-top: 2.5rem; max-width: 38rem; color: var(--leise); }

/* Kontakt */
.kontakt { background: var(--tief); color: #dbe6e7; }
.kontakt-innen { max-width: 68rem; margin: 0 auto; padding: 4rem 1.25rem; }
.kontakt h2 { color: #fff; margin-bottom: 0.75rem; }
.nummer { display: inline-block; margin: 1.25rem 0 1rem; font-family: var(--satz); font-size: clamp(2.3rem, 10.5vw, 4.25rem); font-weight: 600; line-height: 1.05; color: var(--gelb); text-decoration: none; font-variant-numeric: lining-nums; white-space: nowrap; }
.kontakt address { font-style: normal; }
.kontakt address a { color: #fff; }

/* Fußzeile: Rechtliches mittig, Urheber rechts, alles auf einer Grundlinie. */
.fuss { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 0.6rem 1.5rem; padding: 2rem 1.25rem; font-size: 0.9rem; background: var(--tief); color: #c3d2d4; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fuss a { color: #fff; }
.fuss-mitte { grid-column: 2; display: flex; gap: 1.5rem; }
.fuss .urheber { grid-column: 3; justify-self: end; color: inherit; }
@media (max-width: 52rem) {
  .fuss { grid-template-columns: 1fr; justify-items: center; }
  .fuss-mitte, .fuss .urheber { grid-column: 1; justify-self: center; }
}
.vorschau { margin: 0; padding: 0.5rem 1rem; background: #fff4c2; color: #1f2428; font-size: 0.9rem; text-align: center; }
.vorschau a { color: #1f2428; }

/* Impressum und Datenschutz */
.recht { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }
.recht h1 { font-size: clamp(2.2rem, 9vw, 3.25rem); margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.45rem; margin: 2rem 0 0.5rem; }
.recht .offen { padding: 0.9rem 1.1rem; border-left: 4px solid var(--gelb); background: #fff; }

@media (min-width: 46rem) {
  .angebot { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .band { padding: 5rem 0; }
  .weg li { grid-template-columns: 7.5rem 1fr; gap: 1.5rem; align-items: baseline; }
  .weg li::before { top: 0.55rem; }
  .kontakt-innen { padding: 5.5rem 1.25rem; }
}
@media (min-width: 58rem) {
  .auftakt { grid-template-columns: 1fr 21rem; align-items: end; gap: 3rem; padding-top: 3.5rem; }
  .auftakt-text { padding-bottom: 4.5rem; }
  .auftakt h1 { font-size: clamp(2.9rem, 5.2vw, 4.3rem); text-wrap: nowrap; }
  .portraet { width: 21rem; justify-self: end; }
  .band:not(.band-voll) { display: grid; grid-template-columns: 19rem 1fr; gap: 3rem; align-items: start; }
  .band h2 { margin-bottom: 0; }
  .band .nebenbei { grid-column: 2; margin-top: 0.5rem; }
  #angebot { display: block; }
  #angebot h2 { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Bewegung beim Scrollen: nur wo der Browser es ohne Skript kann und der Besucher Bewegung nicht abgestellt hat. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Die Linie des Werdegangs zieht sich beim Scrollen von oben nach unten durch die Punkte. */
    .weg { view-timeline: --weg block; }
    .weg::before { animation: ziehen linear both; animation-timeline: --weg; animation-range: entry 20% cover 62%; }
    @keyframes ziehen { from { transform: scaleY(0); } }
  }
}

/* His own guiding sentence, taken from his TEAM GOLD profile. */
.leitsatz { margin: 2.2rem 0 0; padding: 0 0 0 1.2rem; border-left: 3px solid currentColor; max-width: 42rem; font-size: 1.3rem; line-height: 1.45; font-style: italic; }

/* The number at the bottom, smaller on Jonathan's request (11.10.2026). */
.nummer { font-size: clamp(1.5rem, 6vw, 2.1rem); }

/* Link to his LinkedIn profile below the address. */
.linkedin { margin: 1.4rem 0 0; }
.linkedin a { display: inline-block; padding: 0.6rem 1.1rem; border: 1px solid currentColor; border-radius: 2rem; color: var(--gelb); font-weight: 600; text-decoration: none; }
.linkedin a:hover, .linkedin a:focus-visible { background: var(--gelb); color: var(--petrol); border-color: var(--gelb); }
