/* ==========================================================================
   coach-hh.de — Jakob Tewes, Coaching & Entwicklungsbegleitung Hamburg
   Farben und Typografie nach der MIRA-CI.
   Keine externen Ressourcen: Schriften liegen auf diesem Server.
   ========================================================================== */

/* --- Avenir Next (selbst gehostet) ---------------------------------------- */

@font-face {
  font-family: "Avenir Next";
  src: url("../webfonts/avenirnextltpro-regular-webfont.woff2") format("woff2"),
       url("../webfonts/avenirnextltpro-regular-webfont.woff")  format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: url("../webfonts/avenirnextltpro-it-webfont.woff2") format("woff2"),
       url("../webfonts/avenirnextltpro-it-webfont.woff")  format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: url("../webfonts/avenirnextltpro-medium-webfont.woff2") format("woff2"),
       url("../webfonts/avenirnextltpro-medium-webfont.woff")  format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: url("../webfonts/avenirnextltpro-demi-webfont.woff2") format("woff2"),
       url("../webfonts/avenirnextltpro-demi-webfont.woff")  format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Bold trägt allein die Hero-Überschrift – sonst überall Demi (600). */
@font-face {
  font-family: "Avenir Next";
  src: url("../webfonts/avenirnextltpro-bold-webfont.woff2") format("woff2"),
       url("../webfonts/avenirnextltpro-bold-webfont.woff")  format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* MIRA-CI. Ockergelb ist bewusst nur Grafikfarbe – als Textfarbe
     erreicht es auf Weiß nur 2,1:1 und wäre nicht lesbar. */
  --navy:       #0f3759;   /* Überschriften, Primärfarbe   12,9:1 auf Weiß */
  --blue:       #1a6ea8;   /* Links, Akzenttext             5,4:1 auf Weiß */
  --ochre:      #eba337;   /* nur Linien, Punkte, Flächen                  */
  --cream:      #fdedd5;   /* weiche Flächen                               */
  --green:      #78a047;

  --bg:         #ffffff;
  --surface:    #ffffff;
  --surface-alt:#f7f5f2;
  --ink:        #3c3b3a;   /* Fließtext                    11,2:1 auf Weiß */
  --ink-mute:   #6b6a68;   /*                               5,6:1 auf Weiß */
  --line:       #e6e2dc;
  --line-strong:#cfc9c0;

  --radius:     10px;
  --radius-sm:  6px;

  --font: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system,
          "Helvetica Neue", Arial, sans-serif;

  --measure: 36rem;
  --wrap:    68rem;

  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.06rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.3rem, 1.18rem + 0.55vw, 1.65rem);
  --step-3: clamp(1.5rem, 1.24rem + 1.15vw, 2.3rem);
  --step-4: clamp(1.9rem, 1.2rem + 3.2vw, 3.1rem);

  --space-s:  0.75rem;
  --space-m:  1.5rem;
  --space-l:  3rem;
  --space-xl: clamp(4rem, 3rem + 5vw, 7rem);
}

/* --- Reset / Basis -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}
@media (min-width: 46rem) {
  html { scroll-padding-top: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

/* Versalien brauchen etwas Luft – daher leicht positive Laufweite statt der
   bei Kleinbuchstaben üblichen negativen. */
h1, h2 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }

h3 {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 var(--space-s);
}

p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

strong { font-weight: 600; color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Layout --------------------------------------------------------------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.section { padding-block: var(--space-xl); }
.section + .section { border-top: 1px solid var(--line); }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--line); }
.section--cream { background: var(--cream); border-top: 0; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.9rem;
}

.lead { font-size: var(--step-1); color: var(--ink); line-height: 1.6; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --- Kopfzeile ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-m); min-height: 4.25rem; flex-wrap: wrap;
}

.brand {
  color: var(--navy); text-decoration: none;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1.02rem; line-height: 1.2;
  white-space: nowrap;
}
.brand span {
  display: block;
  font-weight: 500; text-transform: none; letter-spacing: 0.01em;
  font-size: 0.78rem; color: var(--ink-mute);
}
.brand:hover { color: var(--blue); }

.nav {
  display: flex; align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  font-size: 0.92rem; font-weight: 500;
}
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 46rem) {
  .nav__item--optional { display: none; }
}

/* --- Buttons -------------------------------------------------------------- */

/* Die Beschriftungen sind lang – auf schmalen Displays darf umbrochen werden,
   dann aber mittig und mit runderem Radius statt Pillenform. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem; text-align: center;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.35;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-m); }

@media (max-width: 30rem) {
  .btn { border-radius: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* Die Buttons laufen in ihrer eigenen Breite und brechen um, wenn der Platz
   nicht reicht – bewusst nicht auf volle Breite gezogen, das wirkt drängend. */
.hero .btn-row { align-items: flex-start; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--space-xl);
  background: linear-gradient(180deg, var(--cream) 0%, rgba(253, 237, 213, 0) 78%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 54rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

/* Einzige Stelle in Bold – überall sonst trägt die Seite Demi. */
.hero h1 { font-weight: 700; }

.hero__place {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--ochre);
  border-radius: 999px; padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem; background: #fff;
}
.hero__place::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ochre);
}

.hero__lead {
  font-size: var(--step-2); font-weight: 500;
  color: var(--navy); line-height: 1.42;
  max-width: 26ch; margin-top: 1.2rem;
}

.hero__note {
  margin-top: var(--space-m);
  font-size: 0.97rem; color: var(--ink-mute); max-width: 42ch;
}

.hero__portrait {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  box-shadow: 0 18px 40px -24px rgba(15, 55, 89, 0.45);
}
@media (max-width: 53.99rem) {
  .hero__portrait { max-width: 22rem; }
}

/* --- Karten / Raster ------------------------------------------------------ */

.grid { display: grid; gap: var(--space-m); margin-top: var(--space-l); }

.grid--pair { grid-template-columns: 1fr; }
@media (min-width: 52rem) {
  .grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.grid--mini { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 30rem) {
  .grid--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.grid--mini .card { padding: 1.25rem 1.35rem; }
.grid--mini .card p { font-size: 0.93rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
}
.card p { color: var(--ink); font-size: 0.97rem; }

.card__tag {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.65rem;
}

.card__list { margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--ink-mute); }
.card__list li { padding-left: 1.15rem; position: relative; margin-bottom: 0.3rem; }
.card__list li::before {
  content: ""; position: absolute; left: 1px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ochre);
}

/* --- Zwei-Spalten-Block --------------------------------------------------- */

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .split--narrow-right { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.portrait {
  border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
}

/* --- Schritte ------------------------------------------------------------- */

.steps { counter-reset: step; margin: var(--space-l) 0 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative;
  padding-left: 3.25rem; padding-bottom: 1.75rem;
  border-left: 1px solid var(--line); margin-left: 1rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: -1rem; top: -0.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 0.85rem; font-weight: 600;
  display: grid; place-items: center;
}
.steps p { color: var(--ink); font-size: 0.97rem; }

/* --- Zitat ---------------------------------------------------------------- */

.quote {
  margin: 0; padding: clamp(1.4rem, 1rem + 2vw, 2.2rem) 0 0;
  border-top: 3px solid var(--ochre); max-width: 42rem;
}
.quote p {
  font-size: var(--step-2); font-weight: 500;
  line-height: 1.45; color: var(--navy); max-width: none;
}
.quote footer {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 1rem;
}

/* --- Qualifikationen ------------------------------------------------------ */

.creds { list-style: none; margin: var(--space-l) 0 0; padding: 0; }
/* Nur die direkten Kinder – der Trigon-Eintrag enthält eine eigene Liste. */
.creds > li { display: grid; gap: 0.15rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 44rem) {
  .creds > li { grid-template-columns: 8rem 1fr; align-items: baseline; }
}
.creds > li:first-child { border-top: 1px solid var(--line); }
.creds__year {
  color: var(--blue); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
}
.creds__what { color: var(--navy); font-weight: 500; }
.creds__what small { display: block; color: var(--ink-mute); font-size: 0.88rem; font-weight: 400; margin-top: 0.15rem; }

/* Zertifikate: gleiche Pillen-Sprache wie .hero__place, eine Nummer kleiner.
   Ocker trägt nur Rand und Fläche – die Schrift bleibt Navy (12,9:1). */
.certs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.cert {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); background: var(--cream);
  border: 1px solid var(--ochre); border-radius: 999px;
  padding: 0.25rem 0.7rem; white-space: nowrap;
}

/* Die drei Urkunden ausgeschrieben – Aussteller und Nummer statt Abbildung. */
.cert-list {
  list-style: none; margin: 0.7rem 0 0; padding: 0;
  font-size: 0.88rem; font-weight: 400; color: var(--ink-mute);
  line-height: 1.5;
}
.cert-list li { position: relative; padding-left: 0.95rem; margin-top: 0.5rem; }
.cert-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ochre);
}
.cert-list strong { display: block; font-weight: 600; }

/* --- Kontakt / Raum ------------------------------------------------------- */

.contact-list { list-style: none; margin: var(--space-m) 0 0; padding: 0; }
.contact-list li { margin-bottom: 1.2rem; }
.contact-list .label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.2rem;
}
.contact-list a, .contact-list .value {
  font-size: var(--step-1); font-weight: 500; color: var(--navy);
  text-decoration: none; border-bottom: 2px solid var(--ochre);
}
.contact-list a:hover { color: var(--blue); border-color: var(--blue); }

address { font-style: normal; }

.map-note { margin-top: var(--space-m); font-size: 0.92rem; color: var(--ink-mute); }

/* --- MIRA-Partnerblock ---------------------------------------------------- */

.partner {
  margin-top: var(--space-l);
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: center;
}
@media (min-width: 52rem) {
  .partner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}

.partner__logo { width: 158px; height: auto; margin-bottom: 1.35rem; }
.partner p { color: var(--ink); }
.partner__photo { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Fließtext-Seiten (Impressum, Datenschutz) ---------------------------- */

.prose { max-width: 42rem; padding-block: var(--space-l) var(--space-xl); }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink); max-width: none; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--ochre); }
.prose__meta { font-size: 0.9rem; color: var(--ink-mute); }

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

.site-footer {
  background: var(--navy); color: rgba(255, 255, 255, 0.78);
  padding-block: var(--space-l); font-size: 0.9rem;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: var(--space-m);
  justify-content: space-between; align-items: center;
}
.site-footer p { color: rgba(255, 255, 255, 0.78); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); text-decoration: underline; text-underline-offset: 4px; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.site-footer__mark { width: 34px; height: 34px; filter: brightness(0) invert(1); opacity: 0.85; }
.site-footer__partner { display: inline-flex; align-items: center; gap: 0.6rem; }
