/* David Melvin Coaching – Stylesheet, Version 2 (Aufbau nach Hintsa-Prinzip)
   Farben und Schrift aus dem Brand-Minimum. Farben nur hier oben ändern. */

:root {
  --hell: #F2F3F3;        /* Betongrau hell */
  --dunkel: #1D2023;      /* Graphit, Text und dunkle Abschnitte */
  --akzent: #7A2E22;      /* Ziegel, Buttons und Wortmarke */
  --akzent-hover: #5E231A;
  --leise-hell: #4A4F53;  /* Nebentext auf hellem Grund, 7,4 : 1 */
  --leise-dunkel: #AEB3B7;/* Nebentext auf dunklem Grund, 7,7 : 1 */
  --linie-hell: #C9CCCD;
  --linie-dunkel: #3A3F43;
  --rand: 1.5rem;
  --max: 72rem;
}

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--hell); color: var(--dunkel);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 1.125rem; line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; max-width: 34em; }  /* etwa 60–75 Zeichen pro Zeile */
/* Keine einzelnen Wörter in der letzten Zeile: Überschriften gleichmäßig umbrechen, Fließtext sanft */
p, li, dd { text-wrap: pretty; }

a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; line-height: 1.05; margin: 0 0 1.25rem; letter-spacing: -0.01em;
  overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.3rem; line-height: 1.25; margin-top: 2rem; margin-bottom: 0.5rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--hell); color: var(--dunkel);
  padding: 0.5rem 1rem; z-index: 20; }
.skip-link:focus { top: 1rem; }

.rahmen { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }

/* Abschnitte: hell und dunkel im Wechsel */
.abschnitt { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.dunkel { background: var(--dunkel); color: var(--hell); }
.dunkel .leise { color: var(--leise-dunkel); }
.leise { color: var(--leise-hell); }

/* Kopfbereich */
.kopf { background: var(--dunkel); color: var(--hell); border-top: 4px solid var(--akzent); } /* Ziegel-Linie, gleiche Farbe wie die Buttons */
.kopf-innen { max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--rand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.wortmarke { font-weight: 700; font-size: 1.45rem; line-height: 1.2; text-decoration: underline;
  text-decoration-color: var(--akzent); text-decoration-thickness: 3px; text-underline-offset: 0.28em; }
/* Wortmarke auf dunklem Grund: gleiches Ziegel wie Linie oben und Buttons (Zierlinie, Text bleibt hell) */
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; align-items: center; }
.navigation a { display: inline-block; padding: 0.4rem 0; text-decoration: none; }
.navigation a:hover { text-decoration: underline; }
.navigation .button { padding: 0.8rem 1.2rem 0.62rem; min-height: 0; }
.navigation .button:hover { text-decoration: none; }

/* Menü zum Aufklappen auf dem Handy (ohne JavaScript) */
.kopf { position: relative; }
.nur-screenreader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.navigation-breit { display: none; }
.menue summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -0.5rem; }
.menue summary::-webkit-details-marker { display: none; }
.menue .icon-zu, .menue[open] .icon-auf { display: none; }
.menue[open] .icon-zu { display: block; }
.menue-inhalt { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--dunkel);
  border-top: 1px solid var(--linie-dunkel); border-bottom: 1px solid var(--linie-dunkel); padding: 0.5rem var(--rand) 1.5rem; }
.menue-inhalt ul { list-style: none; margin: 0; padding: 0; }
.menue-inhalt li a:not(.button) { display: block; padding: 0.85rem 0; font-size: 1.2rem; text-decoration: none;
  border-bottom: 1px solid var(--linie-dunkel); }
.menue-inhalt li:last-child { margin-top: 1.25rem; }
@media (min-width: 56rem) {
  .navigation-breit { display: block; }
  .menue { display: none; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; background: var(--akzent); color: #FFFFFF; font-weight: 700;
  text-decoration: none; padding: 0.98rem 1.5rem 0.82rem; border-radius: 3px; min-height: 44px; line-height: 1.3; }
.button:hover { background: var(--akzent-hover); }
.button-umriss { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.button-umriss:hover { background: rgba(242, 243, 243, 0.1); }
.button-klein { padding: 0.5rem 1rem; font-size: 1rem; }
.button-zusatz { font-size: 0.95rem; margin: 0.75rem 0 0; color: var(--leise-hell); }
.einstieg .button-zusatz, .dunkel .button-zusatz { color: var(--leise-dunkel); }
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* 1 Einstieg: Foto rechts über die volle Höhe, Überschrift groß links */
.einstieg { background: var(--dunkel); color: var(--hell); position: relative; overflow: hidden; }
.einstieg-raster { max-width: var(--max); margin: 0 auto; display: grid; }
.einstieg-text { padding: 3rem var(--rand) 4rem; position: relative; z-index: 2; }
.einstieg h1 { font-size: clamp(3rem, 10vw, 6.75rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
.einstieg .unterzeile { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--leise-dunkel); max-width: 30em; }
.einstieg-foto { position: relative; }
.einstieg-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; max-height: 70vh; }
.einstieg-foto::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(29,32,35,0) 55%, rgba(29,32,35,1) 100%); }
.platzhalter-hinweis { position: absolute; right: var(--rand); bottom: 1rem; z-index: 3; font-size: 0.85rem; color: var(--leise-dunkel); margin: 0; }

@media (min-width: 56rem) {
  .einstieg-raster { min-height: 84vh; align-items: center; }
  .einstieg-text { padding: 6rem var(--rand) 7rem; max-width: 62%; }
  .einstieg-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 46vw; }
  .einstieg-foto img { max-height: none; position: absolute; inset: 0; }
  .einstieg-foto::after { background: linear-gradient(to right, rgba(29,32,35,1) 0%, rgba(29,32,35,0) 40%); }
}

/* 2 Das Zitat: der eine große Moment der Seite */
.zitat-satz { font-size: clamp(2.4rem, 6.5vw, 4.75rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 3rem; text-align: center; }
.zitat-text { max-width: 34rem; margin: 0 auto; }
@media (min-width: 56rem) { .zitat-schluss { margin-left: -4rem; margin-right: -4rem; } }
.zitat-text p { max-width: none; }
.zitat-schluss { font-weight: 700; font-size: 1.3rem; text-align: center; }

/* Zweispaltige Abschnitte: Überschrift links, Text rechts */
.zweispaltig { display: grid; gap: 1rem 4rem; }
@media (min-width: 56rem) { .zweispaltig { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

/* 4 Fragen als Methode */
.fragen { list-style: none; margin: 2.5rem 0; padding: 0; max-width: 60rem; border-top: 1px solid var(--linie-hell); }
.fragen li { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; line-height: 1.35;
  padding: 1.1rem 0; border-bottom: 1px solid var(--linie-hell); }
.ziel { font-size: 1.15rem; font-weight: 700; }
.arbeitsweise-kopf p, .arbeitsweise-fuss { max-width: 40rem; }
.arbeitsweise-fuss { margin-top: 2.5rem; }

/* 5 Weg als Zeitstrahl (echte Abfolge) */
.weg { list-style: none; margin: 0; padding: 0; }
.weg li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--linie-dunkel); }
.weg li:first-child { border-top: 0; }
/* Ziegel-Akzent nur über „Heute“: markiert das Ziel des Wegs */
.weg li:last-child { border-top: 3px solid var(--akzent); }
.weg .alter { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.weg .station { padding-top: 0.35rem; }
.zusammen { white-space: nowrap; }

.foto-ueber-mich { width: 100%; max-width: 22rem; margin-top: 2rem; border-radius: 3px;
  aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 15%; }
@media (min-width: 56rem) { .ueber-mich-raster { align-items: start; } }

/* 6 Angebot */
.angebote { display: grid; margin: 2.5rem 0 0; border: 1px solid var(--linie-hell); }
.angebot { padding: 2.25rem; }
.angebot + .angebot { border-top: 1px solid var(--linie-hell); }
@media (min-width: 56rem) {
  .angebote { grid-template-columns: 1fr 1fr; }
  .angebot { padding: 2.75rem 3rem; }
  .angebot + .angebot { border-top: 0; border-left: 1px solid var(--linie-hell); }
}
.angebot h3 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.preis { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 700; line-height: 1; margin: 0 0 0.5rem; }
.preis-zusatz { color: var(--leise-hell); font-size: 1rem; margin-bottom: 1.5rem; }
.angebot p:last-child { margin-bottom: 0; }
.angebot-hervor { background: var(--dunkel); color: var(--hell); }
.angebot-hervor .preis-zusatz { color: var(--leise-dunkel); }
.preis-hinweis { color: var(--leise-hell); font-size: 0.95rem; margin: 1rem 0 0; max-width: 36em; }
/* Ablauf in vier Schritten (Icons: Lucide, ISC-Lizenz)
   Handy: untereinander, kleine Ziegel-Nummer vor dem Titel. Desktop: vier Karten, große Nummer oben rechts. */
.ablauf-titel { font-size: 1.4rem; margin: 3.5rem 0 1.5rem; }
.ablauf { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.75rem; }
.ablauf li { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.schritt-icon { width: 48px; height: 48px; color: var(--dunkel); }
.ablauf h4 { font-size: 1.1rem; margin: 0.25rem 0 0; }
.schritt-nr { color: var(--akzent); font-weight: 700; margin-right: 0.35rem; }
.ablauf p { margin: 0; font-size: 1rem; }
@media (min-width: 56rem) {
  .ablauf { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .ablauf li { border: 1px solid var(--linie-hell); padding: 1.5rem 1.5rem 1.75rem; }
  .schritt-nr { position: absolute; top: 1.1rem; right: 1.4rem; font-size: 2rem; margin: 0; }
}

/* 7 Fragen und Antworten */
.faq h3:first-of-type { margin-top: 0; }

/* 8 Kontakt */
.formular { max-width: 36rem; }
.formular label { display: block; font-weight: 700; margin: 1rem 0 0.35rem; }
.formular label:first-child { margin-top: 0; }
.feld-hinweis { color: var(--leise-hell); font-size: 0.95rem; margin: -0.1rem 0 0.5rem; }
.formular input, .formular textarea { width: 100%; font: inherit; color: var(--dunkel); background: #FFFFFF;
  border: 1px solid #8A8F93; border-radius: 3px; padding: 0.7rem 0.8rem; }
.formular textarea { min-height: 9rem; resize: vertical; }
.nur-bots { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-feld { margin-top: 1.25rem; min-height: 0; }
.formular button:disabled { opacity: 0.6; cursor: wait; }
.formular-status { margin-top: 1rem; padding: 0.85rem 1rem; border-left: 4px solid var(--linie-hell); background: #FFFFFF; }
.formular-status.erfolg { border-left-color: #2F6B3A; }
.formular-status.fehler { border-left-color: var(--akzent); }
.formular .klein { font-size: 0.9rem; margin-top: 1rem; }
.formular button { margin-top: 1.25rem; border: 0; font: inherit; font-weight: 700; }
.hinweis-box { border-left: 4px solid var(--akzent); padding: 0.4rem 0 0.4rem 1rem; margin: 1.5rem 0; }

/* Rechtsseiten */
.rechtsseite { padding: 4rem 0 5rem; }
.rechtsseite h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
.rechtsseite h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.rechtsseite h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.rechtsseite h4 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin: 1.25rem 0 0.25rem; }
.rechtsseite ul { max-width: 36em; padding-left: 1.25rem; margin: 0 0 1rem; }
.rechtsseite li { margin-bottom: 0.4rem; }
.rechtsseite a { overflow-wrap: anywhere; }
.rechtsseite .widerspruch p { max-width: 36em; }
.rechtsseite .stand { margin-top: 3rem; }
.entwurf { border: 2px dashed var(--akzent); padding: 1rem; margin: 1.5rem 0; max-width: 40rem; }

/* Fußbereich */
.fuss { background: var(--dunkel); color: var(--hell); padding: 3.5rem 0; font-size: 1rem; }
.fuss-innen { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.fuss-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.fuss .fuss-social { gap: 0.25rem; }
@media (max-width: 55.99rem) {
  .fuss-innen { flex-direction: column; align-items: flex-start; }
  .fuss-rechts { flex-direction: column; align-items: flex-start; }
  .fuss-social { order: -1; }
  .fuss-social li:first-child .icon-link { margin-left: -10px; }
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.fuss a { display: inline-block; padding: 0.3rem 0; }
/* Instagram/YouTube: offizielle einfarbige Glyphen (über Simple Icons, CC0), Klickfläche mind. 44 px */
.fuss .icon-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; }
.fuss .icon { width: 24px; height: 24px; display: block; }
.fuss .icon-link:hover .icon { opacity: 0.75; }

/* Bewegung: drei ruhige Momente. Ohne Unterstützung oder bei „Bewegung reduzieren“ ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes auftauchen { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

  /* 1 Einstieg beim Laden */
  .einstieg-foto img { animation: einblenden 1.8s ease-out both; }
  .einstieg-text > * { animation: auftauchen 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .einstieg-text > :nth-child(1) { animation-delay: 0.2s; }
  .einstieg-text > :nth-child(2) { animation-delay: 0.55s; }
  .einstieg-text > :nth-child(3) { animation-delay: 0.9s; }
  .einstieg-text > :nth-child(4) { animation-delay: 1.05s; }

  /* 2 und 3 beim Hinscrollen: die vier Fragen und der Weg */
  @supports (animation-timeline: view()) {
    .fragen li, .weg li {
      animation: auftauchen linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}
