/* mind your lane – Frieda, Verkehrspsychologin & Coach
   Farben aus Friedas Logo: Lila #ddcdf2, Gelb #fbfa8e */

@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --paper: #fcfaff;
  --lilac: #ddcdf2;
  --lilac-soft: #f1eafa;
  --lilac-deep: #b9a2dc;
  --yellow: #fbfa8e;
  --ink: #2b2340;
  --ink-soft: #564d6b;
  --violet: #6a4ea3;
  --line: rgba(43, 35, 64, .12);
  --radius: 22px;
  --wrap: 1120px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --label: "Montserrat", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; }
/* Hervorhebung wie eine gelbe Fahrbahnmarkierung */
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--label); font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); margin: 0 0 1.1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.45em; border-radius: 999px; background: var(--ink); color: var(--yellow); font: 600 1rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--violet); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--yellow); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #fff; color: var(--ink); }

/* Header */
/* Dunkle Leiste: Gelb und Weiß des Logos brauchen Kontrast (auf Lila wären sie zu blass) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(43, 35, 64, .35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.logo { display: block; flex: none; }
.site-header .logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--yellow); }
.nav .btn { padding: .65em 1.2em; font-size: .95rem; background: var(--yellow); color: var(--ink); }
.nav .btn:hover { background: #fff; color: var(--ink); }

/* Fahrbahnmarkierung – das wiederkehrende Motiv */
.lane-h { height: 4px; background: repeating-linear-gradient(90deg, var(--lilac-deep) 0 28px, transparent 28px 48px); border-radius: 2px; }

/* Hero */
.hero { background: var(--lilac); padding: clamp(32px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-text { padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { margin-bottom: .4em; }
.hero .lead { color: var(--ink); opacity: .82; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-note { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.4rem; font-size: .95rem; color: var(--ink); opacity: .8; }
.hero-note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }
.hero-photo { position: relative; align-self: end; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 240px 240px 0 0; }

/* Angebotskarten */
.offers { padding: clamp(56px, 7vw, 88px) 0; }
.offers-head { margin-bottom: 32px; }
.offers-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--lilac-soft); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(43, 35, 64, .35); }
.card--dark { background: var(--ink); color: #fff; }
.card--dark .eyebrow { color: var(--yellow); }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: .01em; }
.card p { color: inherit; opacity: .85; }
.card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: .5em; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.card--dark .more { color: var(--yellow); }
.card .tags { font-size: .9rem; opacity: .7; margin: 0; }

/* Allgemeine Sektionen */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--lilac { background: var(--lilac-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--yellow); }
.section--dark h2 em { background: none; color: var(--yellow); padding: 0; }
.section--dark .lead { color: rgba(255, 255, 255, .8); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }

/* Über mich */
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.pillars { margin: 2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.pillars .eyebrow { margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .5em 1em; border-radius: 999px; background: var(--lilac); font-size: .95rem; }

/* Coaching */
.topics { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: t; }
.topics li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; display: flex; gap: 1rem; align-items: baseline; }
.topics li::before { content: counter(t, decimal-leading-zero); counter-increment: t; font: 700 .75rem var(--label); letter-spacing: .1em; color: var(--violet); }
.quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 0 0 1.4rem; }

/* MPU */
.delicts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 72px; }
.delict { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.delict h3 { margin-bottom: .6em; }
.delict p { margin: 0; color: rgba(255, 255, 255, .82); }
.schema { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.schema-intro { position: sticky; top: 110px; }
.schema-intro h2 { margin-bottom: .4em; }

/* Ablauf als Fahrspur */
.road { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.road::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 4px; background: repeating-linear-gradient(180deg, var(--yellow) 0 22px, transparent 22px 38px); border-radius: 2px; }
.road li { position: relative; padding: 0 0 34px; }
.road li:last-child { padding-bottom: 0; }
.road .stop { position: absolute; left: -64px; top: -4px; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: 700 1rem var(--label); }
.road h3 { font-size: 1.2rem; margin: 0 0 .4em; padding-top: .5em; }
.road ul { margin: 0; padding-left: 1.1em; color: rgba(255, 255, 255, .82); }
.road ul li { padding: 0 0 .2em; }
.after { margin-top: 64px; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius); background: var(--lilac); color: var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: start; }
.after .eyebrow { margin: .35rem 0 0; color: var(--violet); }
.after p { margin: 0; }
.after strong { background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.mpu-cta { margin: 40px 0 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; position: relative; font-size: 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px; margin-top: -10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--violet); }
.faq .answer { padding: 0 3rem 1.4rem 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); }
.contact-info p { color: var(--ink-soft); }
.contact-info ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.contact-info li { display: flex; gap: .8rem; align-items: baseline; }
.contact-info li::before { content: ""; flex: none; width: 18px; height: 4px; background: var(--violet); transform: translateY(-4px); border-radius: 2px; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice label { position: relative; font-weight: 500; font-size: .95rem; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.choice input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.is-ok { color: #1c7a46; }
.form-status.is-error { color: #c0392b; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 40px; }
.site-footer .logo img { width: 200px; height: auto; }
.footer-claim { margin: 18px 0 0; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-label { margin: 0; font: 700 .72rem var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }
.footer-mail { font-size: 1.05rem; }
.site-footer .footer-btn { margin-top: 6px; padding: .7em 1.3em; font-size: .95rem; color: var(--ink); }
.site-footer .footer-btn:hover { color: var(--ink); }
/* Fahrbahnmarkierung als Trenner */
.footer-bottom { display: flex; justify-content: center; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem;
  background: repeating-linear-gradient(90deg, rgba(251, 250, 142, .55) 0 22px, transparent 22px 38px) top left / 100% 3px no-repeat; }
.footer-bottom nav { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom nav a { line-height: 1.1; }
.footer-bottom nav a + a { border-left: 1px solid rgba(255, 255, 255, .35); padding-left: 24px; }
/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 96px) 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.todo { background: var(--yellow); padding: 0 .3em; border-radius: 4px; color: var(--ink); }

/* Sanftes Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* Tablet & Mobil */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero-grid, .split, .schema, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 0; }
  .hero-photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .schema-intro { position: static; }
  .about-photo { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .delicts, .form { grid-template-columns: 1fr; }
  .after { grid-template-columns: 1fr; gap: 8px; }
  .road { padding-left: 56px; }
  .road .stop { left: -56px; width: 42px; height: 42px; }
  .road::before { left: 19px; }
  .faq summary { font-size: 1.05rem; padding-right: 2.4rem; }
  .faq .answer { padding-right: 0; }
  .site-header .wrap { height: 76px; }
  .site-header .logo img { height: 46px; }
  .site-footer { padding: 48px 0 28px; text-align: center; }
  .footer-main { flex-direction: column; align-items: center; gap: 28px; padding-bottom: 32px; }
  .site-footer .logo { display: inline-block; }
  .site-footer .logo img { width: 170px; }
  .footer-contact { align-items: center; }
  .footer-bottom nav { gap: 16px; }
  .footer-bottom nav a + a { padding-left: 16px; }
}

/* Mobiler Seitenanfang (nur Handy, Desktop bleibt unverändert).
   Zurück zum vorherigen Stand: diesen Block löschen. */
@media (max-width: 640px) {
  .hero { padding: 32px 0 52px; }
  .hero-grid { display: flex; flex-direction: column; gap: 30px; }
  .hero-photo { order: -1; width: 72%; max-width: 270px; margin: 0 auto; }
  .hero-photo img { aspect-ratio: 5 / 6; border-radius: 200px 200px 22px 22px; box-shadow: 0 18px 40px -22px rgba(43, 35, 64, .55); }
  .hero-text { text-align: center; }
  .hero .eyebrow { margin-bottom: .9rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero .lead { font-size: 1.05rem; margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin: 1.6rem auto 0; }
  .hero-actions .btn { justify-content: center; }
  .hero-note { display: block; font-size: .9rem; }
  .hero-note::before { display: inline-block; margin-right: .5em; vertical-align: 1px; }
}
