/* tri-one-more.com, Fassung seit 21.10.26
   Layout und Schriften nach der Designvorlage „Personal Portfolio Website Design“ (NexUX Lab, Dribbble),
   Farben aus dem Brand Kit tri_one_more (Palette seit 21.10.26).
   Akzentregel: Auf navy steht der Akzent als cream auf rotem Balken (rot als Schrift auf navy ist zu schwach, Kontrast 2,2).
   Auf cream darf rot als Schrift stehen (Kontrast 5,5). Hellblau nur für Dachzeilen, Nummern und Kleingedrucktes auf navy. */
@import url("../fonts/fonts.css");

:root {
  --navy: #003049;
  --cream: #FDF0D5;
  --rot: #C1121F;
  --hellblau: #669BBC;
  --dunkelrot: #780000;
  /* abgeleitete Töne, keine neuen Farben: leichte Aufhellung von navy für Kacheln, gedämpfte Schrift */
  --panel: color-mix(in srgb, var(--navy) 88%, var(--hellblau));
  --panel-line: color-mix(in srgb, var(--navy) 72%, var(--hellblau));
  --cream-dim: color-mix(in srgb, var(--cream) 80%, var(--navy));
  --navy-dim: color-mix(in srgb, var(--navy) 80%, var(--cream));
  --line-light: color-mix(in srgb, var(--navy) 18%, var(--cream));
  --display: "Mukta", "Arial Black", system-ui, sans-serif;
  --text: "Saira Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--cream); color: var(--navy); }
body { margin: 0; font-family: var(--text); font-weight: 500; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
.dark :focus-visible, .top :focus-visible, .foot :focus-visible { outline-color: var(--cream); }
p { margin: 0 0 1em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 821px) { :root { --gutter: 40px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Flächen */
.dark { background: var(--navy); color: var(--cream); }
.light { background: var(--cream); color: var(--navy); }

/* Typografie: Titel in Mukta, alles andere in Saira, kurze Texte in Großbuchstaben wie in der Vorlage */
h1, h2, h3 { margin: 0; font-weight: 800; text-transform: uppercase; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -.015em; }
h1 { font-size: clamp(44px, 12.5vw, 128px); line-height: .92; overflow-wrap: break-word; }
@media (min-width: 821px) { h1 { font-size: clamp(56px, 9vw, 128px); } }
h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: .95; margin-bottom: 22px; }
h3 { font-family: var(--text); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: .01em; margin-bottom: 12px; }
/* Hervorhebung: auf navy cream auf rotem Balken, auf cream rote Schrift */
h1 em, h2 em { font-style: normal; }
/* Balken nur so hoch wie die Großbuchstaben: Mukta hat viel Ober- und Unterlänge, daher inline-block mit enger Zeilenhöhe */
.dark h1 em, .dark h2 em { display: inline-block; background: var(--rot); color: var(--cream); line-height: .8; padding: .1em .1em 0; }
.light h1 em, .light h2 em { color: var(--rot); }
.eyebrow, .num-label { font-family: var(--text); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.dark .eyebrow, .dark .num-label { color: var(--hellblau); }
.light .eyebrow, .light .num-label { color: var(--navy-dim); }
.caps { text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.65; }
.lead { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 52ch; margin: 22px 0 0; }
.dark .lead { color: var(--cream-dim); }
.muted { opacity: .8; }
.dark a:not(.cta):not(.brand):not(.kachel) { color: var(--cream); }

/* Knopf wie in der Vorlage: Kreis mit Pfeil plus Pille */
.cta { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--text); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
.cta .pfeil { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; flex: none; transition: transform .2s ease; }
.cta .pfeil svg { width: 18px; height: 18px; }
.cta .pille { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; margin-left: -1px; transition: background-color .2s ease, color .2s ease; }
.cta:hover .pfeil { transform: translateX(4px); }
.dark .cta, .top .cta, .foot .cta { color: var(--cream); }
.dark .cta .pille, .top .cta .pille, .foot .cta .pille { background: var(--cream); color: var(--navy); }
.dark .cta:hover .pille, .top .cta:hover .pille, .foot .cta:hover .pille { background: var(--rot); color: var(--cream); }
.light .cta { color: var(--navy); }
.light .cta .pille { background: var(--navy); color: var(--cream); }
.light .cta:hover .pille { background: var(--rot); }
.cta.klein .pfeil { width: 40px; height: 40px; }
.cta.klein .pille { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
/* Textlink mit Pfeil (zweite Wahl neben einem Knopf) */
.link-pfeil { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Kopf: liegt auf navy, auf der Startseite direkt im Hero */
.top { position: sticky; top: 0; z-index: 30; background: var(--navy); color: var(--cream); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; text-decoration: none; color: var(--cream); margin-right: 18px; white-space: nowrap; }
.brand span { color: var(--hellblau); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav > a, .has-sub > a { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.top .cta .pille { white-space: nowrap; }
.nav > a:hover, .nav > a[aria-current="page"], .has-sub > a:hover, .has-sub > a[aria-current="page"] { border-bottom-color: var(--cream); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--cream); color: var(--cream); font: 600 14px var(--text); text-transform: uppercase; letter-spacing: .06em; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; }
/* Kopfzeile: ab 1100 px enger, ab 960 px Menü-Knopf (vorher brachen Menüpunkte zwischen 860 und 1010 px um) */
@media (max-width: 1100px) { .nav { gap: 22px; } .top .cta .pfeil { display: none; } }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .top .cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav > a, .has-sub > a { padding: 14px 0; border-bottom: 1px solid var(--panel-line); font-size: 16px; }
  .nav > a:last-child { border-bottom: 0; }
  .top .wrap { min-height: 68px; }
  .brand { font-size: 24px; }
}

/* Untermenü Angebote */
.has-sub { position: relative; display: flex; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: -20px; padding-top: 12px; min-width: 300px; z-index: 40; }
.has-sub .sub::before { content: ""; position: absolute; inset: 12px 0 0; background: var(--panel); border: 1px solid var(--panel-line); box-shadow: 0 16px 32px rgb(0 0 0 / .25); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.nav .sub a { position: relative; display: block; padding: 12px 20px; text-decoration: none; }
.nav .sub a:first-child { margin-top: 8px; }
.nav .sub a:last-child { margin-bottom: 8px; }
.nav .sub a b { display: block; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.nav .sub a span { display: block; font-size: 14px; color: var(--hellblau); margin-top: 2px; }
.nav .sub a:hover b { text-decoration: underline; }
@media (max-width: 960px) {
  .has-sub { flex-direction: column; border-bottom: 1px solid var(--panel-line); }
  .has-sub > a { border-bottom: 0 !important; }
  .has-sub .sub { display: block; position: static; padding: 0 0 10px 16px; min-width: 0; }
  .has-sub .sub::before { display: none; }
  .nav .sub a { padding: 8px 0; margin: 0 !important; }
}

/* Abschnitte */
section { padding-block: 110px; }
@media (max-width: 820px) { section { padding-block: 68px; } }
/* zwei gleichfarbige Abschnitte hintereinander: kein doppelter Abstand */
.dark:not(.hero) + .dark, .light + .light { padding-top: 0; }

/* Startseite: Hero nach der Vorlage. Links Kanäle senkrecht und Plakette, Mitte freigestelltes Foto, rechts Intro und Riesentitel */
.hero { position: relative; padding: 0; overflow: hidden; }
/* Höhe kommt vom Foto: so beginnt es direkt unter der Kopfzeile, und die im Original oben abgeschnittene Faust
   wirkt, als ginge sie aus dem Bild hinaus (statt einer geraden Kante mitten im Blau) */
.hero .wrap { position: relative; display: grid; grid-template-columns: 90px minmax(0, 5fr) minmax(0, 6fr); }
.hero-kanal { grid-column: 1; grid-row: 1; align-self: center; list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; z-index: 2; }
.hero-kanal a { font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.hero-kanal a:hover { text-decoration: underline; }
.hero-bild { grid-column: 1 / 3; grid-row: 1; align-self: end; justify-self: center; margin: 0 0 0 60px; width: min(100%, 560px); }
.hero-bild picture { display: block; }
.hero-bild img { width: 100%; height: auto; }
/* Titel wächst mit der Spaltenbreite (Container-Einheit), damit die längste Zeile nie über den Rand ragt.
   Zeile 1 mit „Jeden Tag“ ist höchstens 5,6 em breit, 17 cqi lässt etwas Luft. */
.hero-text { grid-column: 3; grid-row: 1; align-self: center; text-align: right; position: relative; z-index: 2; padding-block: 60px; container-type: inline-size; }
.hero-text .lead { margin: 0 0 34px auto; max-width: 30ch; }
.hero h1 { font-size: min(132px, 17cqi); line-height: .92; color: var(--cream); }
.hero h1 .zeile { display: block; white-space: nowrap; }
/* „Jeden Tag“ als kleine Dachzeile vor dem Titel, bewusst ohne Rahmen: als Pille sah es aus wie ein Knopf (Michael, 21.10.26) */
.hero h1 .vor { display: inline-block; vertical-align: top; font-family: var(--text); font-size: .17em; font-weight: 700; line-height: 1.15; letter-spacing: .08em; text-align: left; color: var(--hellblau); margin: .5em .45em 0 0; }
.hero h1 em { padding: .1em .08em 0; margin-top: .06em; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: 12px; color: var(--hellblau); margin: 0; z-index: 2; }
/* Plakette unten links: dreht sich langsam, Text kommt aus dem Countdown */
.plakette { grid-column: 1 / 3; grid-row: 1; align-self: end; justify-self: start; width: 132px; height: 132px; margin-bottom: 36px; position: relative; z-index: 3; }
.plakette svg { width: 100%; height: 100%; display: block; }
.plakette .ring { animation: drehen 26s linear infinite; transform-origin: 50% 50%; }
.plakette text { font-family: var(--text); font-weight: 600; font-size: 10.6px; letter-spacing: .14em; fill: var(--cream); text-transform: uppercase; }
.plakette .mitte { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; fill: var(--cream); }
@keyframes drehen { to { transform: rotate(360deg); } }
/* Bis 1000 px untereinander: dazwischen (Tablet) stößt die rechte Faust sonst an den Titel.
   Foto oben direkt unter der Kopfzeile, unten läuft das Trikot ins Blau aus, darunter der Text */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-kanal { display: none; }
  .hero-bild { grid-column: 1; grid-row: 1; align-self: start; margin: 0 auto; width: min(86%, 440px); }
  .hero-bild img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
  .plakette { grid-column: 1; grid-row: 1; width: 96px; height: 96px; margin-bottom: 18px; }
  .hero-credit { position: static; grid-column: 1; grid-row: 1; align-self: end; justify-self: end; margin: 0 0 18px; }
  .hero-text { grid-column: 1; grid-row: 2; text-align: left; margin: 0; padding: 8px 0 60px; }
  .hero-text .lead { margin: 0 0 22px; font-size: 16px; }
  .hero h1 { font-size: min(96px, 15.6cqi); }
  .hero h1 .vor { font-size: 15px; margin-top: .7em; }
}

/* Über mich auf cream: links Bildkarte, rechts Titel und nummerierte Punkte als Liste mit Linien (wie die Angebote) */
.about .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.about .bildkarte { margin: 0; background: var(--navy); }
.about .bildkarte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about h2 { font-size: clamp(48px, 6.4vw, 92px); margin-bottom: 30px; }
.punkte { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.punkte li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 16px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.punkte .num-label { margin: 5px 0 0; }
.punkte h3 { margin-bottom: 8px; }
.punkte p { margin: 0; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.7; color: var(--navy-dim); max-width: 56ch; }
@media (max-width: 820px) {
  /* am Handy: Titel, Bild, Punkte, Knopf untereinander */
  .about .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about-text { display: contents; }
  .about h2 { order: 1; }
  .about .bildkarte { order: 2; margin-bottom: 28px; }
  .about .bildkarte img { aspect-ratio: 4 / 3; object-position: 50% 70%; }
  .punkte { order: 3; }
  .about .btns { order: 4; }
  .punkte li { grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; }
}

/* Liste wie „Design Prototype“ in der Vorlage: Zeilen mit Linie, Titel, Kurztext, rechts Pfeil */
.liste-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.liste-kopf h2 { margin: 0; }
.zeilen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--panel-line); }
.zeilen li { border-bottom: 1px solid var(--panel-line); }
.zeilen a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; padding: 30px 0; text-decoration: none; }
.zeilen h3 { margin: 0 0 8px; }
.zeilen p { margin: 0; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; line-height: 1.6; color: var(--cream-dim); max-width: 70ch; }
.zeilen .tag { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hellblau); margin-bottom: 6px; }
.zeilen .pfeil { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s ease, background-color .2s ease; }
.zeilen .pfeil svg { width: 20px; height: 20px; }
.zeilen a:hover .pfeil { background: var(--cream); color: var(--navy); transform: translateX(4px); }
.zeilen a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }

/* Werdegang als Kachelraster wie „Built through experience“: Kopf über die volle Breite, darunter lückenlos 2024 bis 2027 und Foto */
.werdegang { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 110px; }
.werdegang .kopf { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px 48px; align-items: end; padding-bottom: 24px; }
.werdegang .kopf h2 { margin: 0; }
.werdegang .kopf p { text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.7; color: var(--cream-dim); max-width: 60ch; margin: 0; }
.jahr { background: var(--panel); padding: 26px 26px 28px; display: flex; flex-direction: column; min-height: 300px; }
.jahr .zahl { font-family: var(--text); font-weight: 600; font-size: clamp(64px, 7vw, 104px); line-height: 1; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px var(--cream); text-align: right; margin-bottom: auto; padding-bottom: 28px; }
.jahr h3 { font-size: 21px; margin-bottom: 10px; }
.jahr p { margin: 0; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; line-height: 1.65; color: var(--cream-dim); }
.jahr.hell { background: var(--cream); color: var(--navy); }
.jahr.hell .zahl { -webkit-text-stroke-color: var(--navy); }
.jahr.hell p { color: var(--navy-dim); }
.jahr.j1 { grid-column: 1 / 3; grid-row: 2; }
.jahr.j2 { grid-column: 3 / 5; grid-row: 2; }
.jahr.j3 { grid-column: 5 / 7; grid-row: 2; }
.jahr.j4 { grid-column: 1 / 5; grid-row: 3; }
.werdegang .foto { grid-column: 5 / 7; grid-row: 3; margin: 0; position: relative; background: var(--cream); min-height: 300px; }
.werdegang .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Bildnachweis auf einem leichten Verlauf, damit er auch auf hellem Asphalt lesbar bleibt */
.werdegang .foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 12px 8px; font-size: 11px; color: var(--cream); opacity: 1; background: linear-gradient(to top, rgb(0 48 73 / .75), transparent); }
@media (max-width: 960px) {
  .werdegang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .werdegang .kopf { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
  .jahr.j1, .jahr.j2, .jahr.j3, .jahr.j4 { grid-column: auto; grid-row: auto; }
  .werdegang .foto { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .werdegang { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .jahr { min-height: 0; }
  .werdegang .foto { aspect-ratio: 4 / 3; }
}

/* Kontaktbereich wie „Let's create something“: links Titel, rechts Formular in Kachel */
.kontaktblock { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.kontaktblock .text p:not(.eyebrow) { text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.7; color: var(--cream-dim); max-width: 46ch; }
.chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 8px 22px 8px 8px; background: var(--panel); border-radius: 999px; text-decoration: none; }
.chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.chip span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.4; }
.chip:hover span:last-child { text-decoration: underline; }
@media (max-width: 860px) { .kontaktblock { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Formulare (Kontakt und Newsletter) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; background: var(--panel); padding: 30px; }
.form .feld { display: grid; gap: 8px; }
.form .breit { grid-column: 1 / -1; }
.form label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--cream); }
.form input, .form textarea { font: 500 16px var(--text); color: var(--cream); background: var(--navy); border: 1px solid var(--panel-line); padding: 14px 16px; width: 100%; border-radius: 0; }
.form input::placeholder, .form textarea::placeholder { color: var(--hellblau); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.form textarea { resize: vertical; min-height: 170px; }
.form input:focus, .form textarea:focus { border-color: var(--cream); outline: none; }
.form .senden { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1em; flex-basis: 100%; }
.form-status.ok { color: var(--cream); }
.form-status.ok::before { content: "✓ "; color: var(--hellblau); }
.form-status.err { color: var(--cream); background: var(--rot); padding: 8px 12px; }
.form-status:empty { display: none; }
.fineprint { font-size: 14px; line-height: 1.55; opacity: .85; margin: 14px 0 0; max-width: 64ch; }
.form .fineprint { grid-column: 1 / -1; margin: 0; }
button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); padding: 22px; } }

/* Unterseiten: Kopf auf navy */
.page-head { padding-block: 80px 100px; }
.page-head h1 { margin-bottom: 4px; }
.page-head .eyebrow { margin-bottom: 22px; }
.page-head.stub { padding-block: 72px 96px; }
.page-head.legal-page { padding-block: 72px 110px; }

/* Fließtext: nicht in Großbuchstaben, damit lange Texte lesbar bleiben */
.prose { max-width: 720px; font-size: 19px; font-weight: 400; line-height: 1.7; }
.prose h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 64px; margin-bottom: 18px; }
.prose > h2:first-child, .prose > h1 + h2 { margin-top: 0; }
.prose h1 + p, .prose h1 + h2 { margin-top: 28px; }
.prose figure { margin: 40px 0; }
.prose figure img { width: 100%; max-width: 560px; aspect-ratio: 4 / 5; object-fit: cover; }
/* Spalte mittig auf der Seite (Über mich); Bilder darin ebenfalls mittig, Text bleibt linksbündig zum Lesen */
.prose.mitte { margin-inline: auto; }
.prose.mitte figure { max-width: 560px; margin-inline: auto; }
.prose .klein { font-size: 14px; }
.prose figcaption, figcaption { font-size: 14px; margin-top: 10px; opacity: .8; }
.prose a { text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.dark .prose a { text-decoration-color: var(--hellblau); }
.dark .prose { color: var(--cream); }
.legal-page .prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 48px; }
.callout { border-left: 6px solid var(--rot); padding: 4px 0 4px 22px; margin: 32px 0; font-size: 24px; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .01em; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 32px 0 0; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.facts dt { font-weight: 600; color: var(--hellblau); }
.facts dd { margin: 0; font-weight: 600; }
.races { width: 100%; border-collapse: collapse; font-size: 16px; margin: 16px 0 10px; }
.races th, .races td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.races th { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-dim); }
.races td.t { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
@media (max-width: 400px) { .races { font-size: 14px; } .races th, .races td { padding-right: 8px; } .facts { column-gap: 18px; } }
.todo { background: var(--hellblau); color: var(--navy); padding: 2px 6px; font-size: .9em; }

/* Zweispalter Bild und Text */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.split.flip > figure { order: 2; }
.split figure { margin: 0; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split.flip > figure { order: 0; } .split img { aspect-ratio: 4 / 3; } }

/* Serie (300 Tage): große Tageszahl als Umriss wie die Jahreszahlen der Vorlage */
.series .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: end; }
.bigday { font-family: var(--text); font-weight: 600; font-size: clamp(120px, 22vw, 280px); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--cream); }
@media (max-width: 820px) { .series .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Kacheln auf cream: navy wie die Bildkarte der Vorlage */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--navy); color: var(--cream); padding: 32px; display: flex; flex-direction: column; }
.card .tag { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--hellblau); margin-bottom: 14px; }
.card p { text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.65; color: var(--cream-dim); }
.goal-num { font-family: var(--text); font-weight: 600; font-size: clamp(72px, 9vw, 120px); line-height: .95; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--cream); margin-bottom: 18px; }
@media (max-width: 720px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Angebote: zwei Vorschauen */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.offer { display: flex; flex-direction: column; align-items: flex-start; }
.offer .shot { display: block; width: 100%; overflow: hidden; background: var(--navy); margin-bottom: 26px; }
.offer .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .3s ease; }
.offer .shot:hover img { transform: scale(1.02); }
.offer .tag { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-dim); margin-bottom: 10px; }
.offer h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 16px; }
.offer > p { font-weight: 400; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 4px; background: var(--rot); }
@media (max-width: 820px) { .offers { grid-template-columns: minmax(0, 1fr); gap: 64px; } }

/* Fuß wie in der Vorlage: navy Kachel in cream Rahmen, Titel mittig, drei Spalten, Rechtliches unten */
.foot { background: var(--cream); padding: 24px; }
.foot-karte { background: var(--navy); color: var(--cream); padding: 80px clamp(24px, 4vw, 56px) 30px; max-width: 1400px; margin: 0 auto; }
.foot-titel { text-align: center; }
.foot-titel h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 26px; }
.foot-titel .cta { justify-content: center; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 90px; }
.foot-cols > div:nth-child(2) { text-align: center; }
.foot-cols > div:nth-child(3) { text-align: right; }
.foot h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--hellblau); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--cream); }
.foot ul a:hover { text-decoration: underline; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; border-top: 1px solid var(--panel-line); margin-top: 56px; padding-top: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--hellblau); }
.foot .legal a { color: var(--hellblau); text-decoration: none; }
.foot .legal a:hover { text-decoration: underline; }
.foot .legal .rechts { display: flex; gap: 10px 22px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .foot { padding: 12px; }
  .foot-karte { padding-top: 56px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 56px; }
  .foot-cols > div:nth-child(2), .foot-cols > div:nth-child(3) { text-align: left; }
  /* Kanäle über die volle Breite, damit die Mailadresse nicht am Bindestrich umbricht */
  .foot-cols > div:nth-child(3) { grid-column: 1 / -1; }
  .foot .legal { justify-content: flex-start; }
}

/* Startseite am Handy wie ein Linktree (Michael, 22.10.26): Wer über den Link in der Instagram-Bio kommt, sieht zuerst
   Profilbild, Name, Kanäle und die wichtigsten Links als Kacheln, darunter den Rest der Website als Kacheln.
   Bis 820 px ersetzt der Block .hub Kopf, Hero, Über mich und Angebote (.nur-desktop); Newsletter und Rechtliches bleiben. */
.nur-handy { display: none; }
@media (max-width: 820px) {
  .start .nur-desktop { display: none; }
  .start .nur-handy { display: block; }
}
.hub { padding: 14px 0 0; text-align: center; }
.hub .wrap { position: relative; max-width: 520px; }
/* Teilen-Knopf oben rechts wie im Linktree */
.hub-teilen { position: absolute; top: 0; right: var(--gutter); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--panel-line); border-radius: 50%; background: none; color: var(--cream); cursor: pointer; transition: background-color .2s ease; }
.hub-teilen:hover { background: var(--panel); }
.hub-teilen svg { width: 20px; height: 20px; }
.hub-hinweis { position: absolute; top: 52px; right: var(--gutter); margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--hellblau); }
.hub-hinweis:empty { display: none; }
/* Profilbild, darum der Countdown als drehender Ring wie die Plakette im Hero am Desktop */
.hub-bild { position: relative; width: 160px; height: 160px; margin: 22px auto 14px; }
.hub-bild img { position: absolute; inset: 20px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.hub-bild svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-bild .ring { animation: drehen 40s linear infinite; transform-origin: 50% 50%; }
.hub-bild text { font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .14em; fill: var(--cream); }
.hub h1 { font-size: 32px; line-height: 1; letter-spacing: -.01em; margin: 0; }
.hub h1 span { color: var(--hellblau); }
.hub-claim { margin: 10px auto 0; font-size: 14px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .05em; color: var(--cream-dim); }
.hub-kanaele { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 14px 0 24px; padding: 0; }
.hub-kanaele a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--cream); transition: background-color .2s ease; }
.hub-kanaele a:hover { background: var(--panel); }
.hub-kanaele svg { width: 24px; height: 24px; fill: currentColor; }
/* Kacheln: Bild links, Titel mittig, Pfeil rechts (gleich breit wie das Bild, damit der Titel optisch mittig steht).
   Die drei wichtigsten Links in cream, der Rest der Website darunter in navy-Kacheln */
.hub-links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hub-links .kachel { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 10px; min-height: 72px; padding: 8px; text-decoration: none; background: var(--cream); color: var(--navy); transition: transform .15s ease; }
.hub-links .kachel:active { transform: scale(.98); }
.kachel .bild { width: 56px; height: 56px; object-fit: cover; }
.kachel .symbol { display: grid; place-items: center; background: var(--navy); color: var(--cream); }
.kachel .symbol.rot { background: var(--rot); }
.kachel .symbol svg { width: 30px; height: 30px; }
.kachel b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.kachel .symbol b { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.kachel small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .07em; color: var(--navy-dim); }
.kachel .pfeil { justify-self: center; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.kachel .pfeil svg { width: 16px; height: 16px; }
.kachel:hover .pfeil { transform: translateX(3px); background: var(--navy); color: var(--cream); }
.hub-zwischen { margin: 32px 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--hellblau); }
.hub-links.mehr .kachel { background: var(--panel); color: var(--cream); }
.hub-links.mehr small { color: var(--cream-dim); }
.hub-links.mehr .kachel:hover .pfeil { background: var(--cream); color: var(--navy); }
/* sehr kleine Handys (320 px): kleinere Bilder und Schrift, damit Titel und Zusatz nicht dreizeilig werden */
@media (max-width: 374px) {
  .hub-links .kachel { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; min-height: 64px; }
  .kachel .bild { width: 48px; height: 48px; }
  .kachel .symbol svg { width: 26px; height: 26px; }
  .kachel .symbol b { font-size: 19px; }
  .kachel .pfeil { width: 32px; height: 32px; }
  .kachel b { font-size: 15px; }
  .kachel small { font-size: 11px; letter-spacing: .05em; }
}
/* Newsletter und Fuß am Handy kompakt und mittig wie der Rest; Seiten und Kanäle stehen schon oben in den Kacheln */
@media (max-width: 820px) {
  .start #newsletter { padding-block: 40px 0; }
  .start #newsletter .kontaktblock { max-width: 520px; gap: 18px; }
  .start #newsletter .text { text-align: center; }
  .start #newsletter .eyebrow { margin-bottom: 10px; }
  .start #newsletter h2 { font-size: 34px; margin-bottom: 12px; }
  .start #newsletter .text p:not(.eyebrow) { max-width: 38ch; margin: 0 auto; font-size: 13px; line-height: 1.6; }
  .start #newsletter .chip { display: none; }
  .start #newsletter .form { padding: 18px; }
  /* Abstand als Innenabstand des Fußes: ein Außenabstand an .legal fiele durch und zeigte einen cream Streifen */
  .start .foot { background: var(--navy); padding: 32px var(--gutter) 28px; }
  .start .foot-karte { max-width: 520px; padding: 0; background: none; }
  .start .foot-titel, .start .foot-cols { display: none; }
  .start .foot .legal { flex-direction: column; align-items: center; gap: 8px; margin-top: 0; text-align: center; }
  .start .foot .legal .rechts { justify-content: center; }
}

/* Gardasee-Grafik (22.10.26): Karte und Höhenprofil nebeneinander, am Handy untereinander. Schrift kommt von der Seite (Saira). */
.gd { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 32px; align-items: center; margin-top: 36px; }
.gd svg { display: block; width: 100%; height: auto; font-family: var(--text); }
.gd-karte { max-width: 300px; }
@media (max-width: 820px) { .gd { grid-template-columns: minmax(0, 1fr); gap: 28px; } .gd-karte { max-width: 230px; margin-inline: auto; } }
.gd-sektion .facts dd { text-transform: none; letter-spacing: 0; font-size: 18px; }
@media (max-width: 480px) { .gd-sektion .facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .gd-sektion .facts dd { margin-bottom: 12px; } }
