/* loris.coach – Landingpage v4
   Gebaut mit dem Design System «Coach Loris» (Familie loris.coach, Scout, Assist, Powerplay):
   - tokens.css      Farben, Schriften, Abstände, Radien, Schatten (aus dem Design System; nur die Schriftpfade auf ../fonts/ angepasst)
   - coach-loris.css Bausteine: Knöpfe, Kopfzeile, Hero, Karten, dunkles Panel, CTA-Band, Tags, Fusszeile (unverändert aus dem Design System)
   - style.css       nur, was es auf dieser Seite allein gibt: Spielfeld, Zitat, Raster, Handy-Menü.
   Grundidee: Weiss trägt, Schwarz spricht, Rot zeigt. Barlow Condensed ruft, Barlow spricht. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h2, h3 { text-wrap: balance; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: var(--space-4); top: var(--space-3); z-index: 60; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Icons: Linien, Strich 1.8, runde Enden; der Instagram-Punkt ist gefüllt */
.icon-btn svg .fill, .btn svg .fill { fill: currentColor; stroke: none; }
.icon-btn.outline { text-decoration: none; transition: background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s, color .15s; }
.icon-btn.outline:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

/* Kopfzeile, Inhalt und Fusszeile teilen eine Kante: rechnet der Baustein (.site-header, .wrap) im Design System */

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  transition: box-shadow .15s cubic-bezier(.4, 0, .2, 1);
}
.top.is-scrolled { box-shadow: var(--shadow-1); }
.site-header { min-height: var(--size-header); padding-top: 10px; padding-bottom: 10px; }
.site-header .nav-desk, .site-header .nav-mobile { display: flex; align-items: center; gap: var(--space-1); }
.nav-desk .btn:last-child { margin-left: var(--space-2); }
.site-header .nav-mobile { display: none; gap: var(--space-2); }
.menu-btn { padding: 0 12px; }
.menu-lines, .menu-lines::before { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-lines { position: relative; transform: translateY(-3px); }
.menu-lines::before { content: ""; position: absolute; top: 6px; width: 12px; }

@media (max-width: 760px) {
  .site-header .nav-desk { display: none; }
  .site-header .nav-mobile { display: flex; }
}
@media (max-width: 370px) {
  .site-header .brand { font-size: 0; gap: 0; }
}

/* Vollbild-Menü (Handy) */
.menu {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column;
  padding: 0 var(--space-4) max(var(--space-7), env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-top {
  min-height: var(--size-header); flex: none;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-on-dark);
}
.menu .brand { color: var(--on-dark); }
.menu .mark { background-image: url("../img/cl-mark-negativ.svg"); }
.menu .btn.ghost { color: var(--on-dark); }
.menu .btn.ghost:hover { background: var(--dark-panel); }
.menu-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); padding: var(--space-8) 0; }
.menu-nav a {
  display: flex; align-items: center; gap: var(--space-4);
  font: 800 clamp(44px, 13vw, 64px)/1.05 var(--font-display);
  color: var(--on-dark); text-decoration: none;
  transition: color .15s cubic-bezier(.4, 0, .2, 1);
}
.menu-nav a::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: var(--radius-round); background: transparent; }
.menu-nav a[aria-current]::before { background: var(--red-on-dark); }
.menu-nav a:hover { color: var(--red-on-dark); }
.menu .icon-btn.outline { border-color: var(--on-dark-soft); color: var(--on-dark); }
.menu .icon-btn.outline:hover { background: var(--dark-panel); border-color: var(--on-dark); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-bottom: 0; }
.hero-copy { padding-bottom: var(--space-10); }
.hero h1 .line { display: block; }
.hero-photo { margin: 0; justify-self: center; }
.hero-photo img { width: min(78vw, 400px); }
@media (min-width: 900px) {
  .hero { align-items: end; }
  .hero-copy { align-self: center; padding-bottom: var(--space-14); }
  .hero-photo { justify-self: end; }
  .hero-photo img { height: min(74svh, 720px); width: auto; }
}

/* ---------- Sektionsköpfe ---------- */
.section-head { max-width: 46rem; margin-bottom: var(--space-8); }
.section-head .kicker, .philo-intro .kicker { margin-bottom: var(--space-3); }
.section-head .sub { margin-top: var(--space-3); max-width: var(--container-text); font: var(--text-body); color: var(--ink-2); }

/* ---------- Coaching: das Spielfeld (40 × 20 m) ---------- */
.rink {
  --goal-off: clamp(44px, 6vw, 88px);
  --dot-in: clamp(22px, 2.4vw, 32px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--line-strong);
  border-radius: clamp(40px, 5vw, 72px);
}
.midline {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px;
  background: var(--red);
}
.spot {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: var(--radius-round);
  background: var(--red);
}
.dot {
  position: absolute;
  width: var(--size-dot); height: var(--size-dot); margin: -4px 0 0 -4px;
  border-radius: var(--radius-round);
  background: var(--line-strong);
}
.d1, .d2 { left: var(--goal-off); }
.d3, .d4 { left: 50%; }
.d5, .d6 { left: calc(100% - var(--goal-off)); }
.d1, .d3, .d5 { top: var(--dot-in); }
.d2, .d4, .d6 { top: calc(100% - var(--dot-in)); }
.goal {
  position: absolute; top: 50%;
  width: 14px; height: clamp(44px, 4.6vw, 60px);
  transform: translateY(-50%);
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface-2);
}
.goal-a { left: calc(var(--goal-off) - 14px); }
.goal-b { right: calc(var(--goal-off) - 14px); }

.half {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 56px);
}
.half:first-of-type { padding-left: calc(var(--goal-off) + clamp(32px, 3.5vw, 56px)); }
.half:last-of-type { padding-right: calc(var(--goal-off) + clamp(32px, 3.5vw, 56px)); }
.half h3 { margin-top: var(--space-2); font: var(--text-section-title); color: var(--ink); }
.half > p:not(.kicker) { margin-top: var(--space-3); max-width: 30em; font: var(--text-body); color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-6); }

@media (min-width: 1100px) {
  .rink { aspect-ratio: 2 / 1; }
  .half { padding-top: 12.5%; }
  .tags { margin-top: 0; }
}
/* Spielfeld hochkant */
@media (max-width: 900px) {
  .rink { --goal-off: 52px; --dot-in: 22px; grid-template-columns: 1fr; grid-auto-rows: 1fr; border-radius: 44px; }
  .midline { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .d1, .d2, .d3, .d4, .d5, .d6 { left: auto; }
  .d1, .d3, .d5 { left: var(--dot-in); }
  .d2, .d4, .d6 { left: calc(100% - var(--dot-in)); }
  .d1, .d2 { top: var(--goal-off); }
  .d3, .d4 { top: 50%; }
  .d5, .d6 { top: calc(100% - var(--goal-off)); }
  .goal { top: auto; left: 50%; width: 52px; height: 14px; transform: translateX(-50%); }
  .goal-a { top: calc(var(--goal-off) - 14px); right: auto; }
  .goal-b { bottom: calc(var(--goal-off) - 14px); right: auto; }
  .half, .half:first-of-type, .half:last-of-type { padding: 44px 28px; }
  .half:first-of-type { padding-top: calc(var(--goal-off) + 32px); }
  .half:last-of-type { padding-bottom: calc(var(--goal-off) + 32px); }
}

/* ---------- Zitat im dunklen Panel ---------- */
.quote-section { padding-bottom: 0; }
.quote { margin: 0; padding: clamp(28px, 5vw, 56px); }
.quote blockquote p {
  margin: 0; max-width: 24em;
  font: var(--text-card-title); color: var(--on-dark);
  text-wrap: balance;
}
.quote .q { color: var(--red-on-dark); }
.quote figcaption {
  display: flex; align-items: center; gap: var(--space-3);
  margin-top: var(--space-6);
  font: var(--text-label); color: var(--on-dark-soft);
}
.quote figcaption img { width: 48px; height: 48px; border-radius: var(--radius-round); box-shadow: 0 0 0 2px var(--on-dark); }
@media (min-width: 900px) {
  .quote blockquote p { font: var(--text-page-title); line-height: 1.1; }
}

/* ---------- Über mich ---------- */
/* Handy: Titel, Foto mit Zahlen, Text. Ab 900px: Text links, Foto mit Zahlen rechts. */
.about-grid { display: grid; grid-template-areas: "head" "side" "body"; gap: var(--space-8); }
.about-head { grid-area: head; }
.about-side { grid-area: side; }
.about-body { grid-area: body; }
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    grid-template-areas: "head side" "body side";
    grid-template-rows: auto 1fr;
    column-gap: var(--space-14); row-gap: var(--space-6);
  }
  .about-side { align-self: start; position: sticky; top: calc(var(--size-header) + var(--space-6)); }
}
.about-head .kicker { margin-bottom: var(--space-3); }
.about-text { max-width: var(--container-text); }
.about-text p { font: var(--text-body); color: var(--ink-2); }
.about-text p + p { margin-top: var(--space-4); }
.about-label { margin-top: var(--space-8); font: var(--text-label); color: var(--ink); }
.about-body .tags { margin-top: var(--space-3); padding-top: 0; }
.about-photo {
  margin: 0; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-end;
  padding-top: var(--space-8);
  border-radius: var(--radius-l);
  background: var(--surface-2);
}
.about-photo img { width: min(100%, 420px); }
@media (max-width: 899px) { .about-photo img { width: min(78%, 360px); } }
.about .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-3); }
.about .stat { min-width: 0; box-shadow: none; }
.about .stat .k { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 480px) { .about .stat { padding: 12px; } }
.about .stat .v { font-size: clamp(36px, 4vw, 48px); }
@media (max-width: 380px) { .about .stats { grid-template-columns: 1fr; } }

/* ---------- Philosophie ----------
   Kopf: Titel links, psychologische Sicherheit rechts. Motto als Band mit zwei Hälften und roter Mittellinie
   (wie das Spielfeld oben). Die drei Prinzipien kompakt darunter, als Fundament. */
.philo-head { display: grid; gap: var(--space-5); align-items: end; }
.philo-head .kicker { margin-bottom: var(--space-3); }
.philo-head .lead { margin: 0; }
.philo-head .lead strong { font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .philo-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-14); }
  .philo-head .section-title { font-size: 44px; line-height: 1.05; }
}

.motto-band {
  margin-top: var(--space-10);
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.motto-band > .kicker { margin-bottom: var(--space-5); }
.motto-halves { position: relative; display: grid; gap: var(--space-8); }
.motto-line { font: 800 clamp(40px, 5.4vw, 72px)/0.98 var(--font-display); color: var(--ink); text-wrap: balance; }
.motto-half.warm .motto-line { color: var(--red-text); }
.motto-note { margin-top: var(--space-3); font: var(--text-body); color: var(--ink-2); }
.motto-mid { position: absolute; background: var(--red); }
.motto-mid::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: var(--radius-round); background: var(--red);
}
/* Handy: Hälften untereinander, rote Linie quer dazwischen */
.motto-mid { display: none; }
.motto-half.warm { padding-top: var(--space-8); border-top: 2px solid var(--red); }
@media (min-width: 760px) {
  .motto-halves { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); }
  .motto-mid { display: block; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
  .motto-half.warm { padding-top: 0; border-top: 0; }
}
.motto-foot {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font: var(--text-small); color: var(--muted);
}

.philo-label { margin-top: var(--space-10); font: var(--text-label); color: var(--ink); }
.principles { display: grid; gap: var(--space-5); margin-top: var(--space-3); }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); } }
.philo-note { margin-top: var(--space-5); font: var(--text-small); font-style: italic; color: var(--muted); }
.principles li { padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.principles h3 { font: var(--text-name); color: var(--ink); }
.principles p { margin-top: var(--space-1); font: var(--text-small); color: var(--ink-2); }

/* ---------- Projekte ---------- */
.projects { background: var(--surface-2); }
.project-list { display: grid; gap: var(--space-4); align-items: stretch; }
@media (min-width: 720px) { .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1);
}
.project:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.project img { width: 56px; height: 56px; border-radius: 22%; margin-bottom: var(--space-5); }
.project h3 { margin-top: var(--space-1); }
.project > p:not(.kicker) { margin-top: var(--space-2); font: var(--text-body-sm); }
.project-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--space-5); border-radius: var(--radius-xs); }
.project-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); }
.project-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kontakt (CTA-Band) ---------- */
.cta-band .actions { margin-top: var(--space-6); }
.cta-band .actions .btn { margin-top: 0; }
.cta-band .icon-btn.outline { border-color: var(--on-red); color: var(--on-red); }
.cta-band .icon-btn.outline:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
@media (max-width: 520px) {
  .cta-band { padding: var(--space-7); }
  .cta-band .actions .btn { flex: 1 1 100%; }
}


/* ---------- Rechtliche Seiten (Datenschutz, Impressum) ---------- */
.legal-page { padding: var(--space-10) 0 var(--space-14); }
.legal-page .wrap > * { max-width: 46rem; }
.legal-page h1 { margin: var(--space-3) 0 0; font: var(--text-page-title); color: var(--ink); }
.legal-page .stand { margin-top: var(--space-3); font: var(--text-small); color: var(--muted); }
.legal-page .lead { margin-top: var(--space-6); }
.legal-page h2 { margin: var(--space-8) 0 0; font: var(--text-item-title); color: var(--ink); }
.legal-page p:not(.kicker):not(.lead):not(.stand) { margin: var(--space-2) 0 0; font: var(--text-body); color: var(--ink-2); }
.legal-page address { font-style: normal; }
.legal-page p a { font-weight: 600; color: var(--red-text); text-decoration: none; }
.legal-page p a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Projekte in Entwicklung: Etikett oben rechts, Karte nicht verlinkt */
.project-wip .tag { position: absolute; top: var(--space-6); right: var(--space-6); }
.project-wip:hover { border-color: var(--line); box-shadow: var(--shadow-1); }

/* ---------- Cookie-Abfrage (assets/js/consent.js) ----------
   Karte unten links, «Akzeptieren» als roter Hauptknopf, «Nur notwendige» gut sichtbar daneben. */
.consent {
  position: fixed; z-index: 70;
  left: var(--space-4); right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  max-width: 440px;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2), 0 12px 40px #15151524;
}
@media (min-width: 640px) { .consent { left: var(--space-8); bottom: var(--space-8); } }
.consent .consent-title { font: var(--text-item-title); color: var(--ink); }
.consent p:not(.consent-title) { margin-top: var(--space-2); font: var(--text-small); color: var(--ink-2); }
.consent a { color: var(--red-text); font-weight: 600; text-decoration: none; }
.consent a:hover { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.consent-actions .btn { flex: 1 1 auto; }
.consent-actions .btn.accent { flex-grow: 2; }
.consent-actions .btn.ghost { box-shadow: inset 0 0 0 1px var(--line); }
/* Fusszeile: «Cookie-Einstellungen» sieht aus wie die Links daneben */
.site-footer nav button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.site-footer nav button:hover { color: var(--ink); }

/* ---------- 404-Seite ---------- */
.notfound .lead + .lead { margin-top: var(--space-3); }
.notfound .actions { margin-top: var(--space-8); }
