/* ==========================================================================
   Potentialanalyse – Landingpage
   Werte 1:1 aus dem Design-Mockup (Main.dc.html) übernommen.
   ========================================================================== */

/* ---------- Schrift (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design-Tokens ---------- */
:root {
  --navy: #050E5C;
  --orange: #F1711C;
  --orange-hover: #EC650C;
  --cream: #FFFCF6;
  --sand: #FFECC5;
  --text-muted: #050E5C; /* wie coaching-kannewurf.de: Fließtext in Navy statt Grau */
  --white: #FFFFFF;
  --fs-text: 17.6px; /* Fließtext; auf dem Handy kleiner, siehe unten */

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --container-narrow: 860px;
  --gutter: 24px;

  /* Markante Ecke: oben links eckig */
  --radius-sm: 0 20px 20px 20px;
  --radius-md: 0 30px 30px 30px;
  --radius-lg: 0 40px 40px 40px;
  --radius-card: 12px;

  --shadow-bubble: 0 4px 14px rgba(5, 14, 92, 0.14);
}

/* ---------- Basis ---------- */
/* Bewusst KEIN globales box-sizing: border-box – das Mockup rechnet mit
   content-box (max-width 1160px = Inhaltsbreite, Padding kommt dazu). */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-text);
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy);
  background: var(--cream);
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; }
strong, b { font-weight: 500; }
img, video, svg { display: block; max-width: 100%; }

a { color: var(--orange); font-weight: 500; }
a:hover { color: var(--orange-hover); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
}
.skip-link:focus { top: 16px; color: var(--cream); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.stack { display: flex; flex-direction: column; }
.row   { display: flex; flex-wrap: wrap; }

.section--sand   { background: var(--sand); }
.section--navy   { background: var(--navy); color: var(--white); font-weight: 400; }
.section--orange { background: var(--orange); color: var(--white); font-weight: 400; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

/* ---------- Typografie ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
}

.h3 {
  font-size: 25.6px;
  font-weight: 500;
}

.muted { color: var(--text-muted); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Wie auf coaching-kannewurf.de: 46px hoch, Ecke oben links eckig,
   weicher Leuchtschatten, beim Hovern wächst der Button um 10 %. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  font-size: var(--fs-text);
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform .3s, background-color .3s, color .3s;
}
.btn:hover,
.btn:focus-visible,
.btn:active { transform: scale(1.1); }

.btn--primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: 0 0 30px rgba(205, 111, 33, 0.74);
}
.btn--primary:hover { background: var(--orange-hover); color: var(--cream); }

.btn--light {
  background: var(--cream);
  color: var(--orange);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.32);
}
.btn--light:hover { background: var(--cream); color: var(--orange); }

/* Zweitbuttons (gibt es auf coaching-kannewurf.de nicht): gleiche Form und
   Größe, aber nur mit Rahmen und ohne Schatten. */
.btn--outline,
.btn--outline-light { padding: 10.5px 28.5px; }

.btn--outline { border: 1.5px solid var(--orange); color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: var(--cream); }

.btn--outline-light { border: 1.5px solid var(--cream); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--sand);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: block;
  flex: 0 0 auto;
  margin: -6px 0;
}
.logo img {
  display: block;
  width: auto;
  height: 88px;
}
@media (min-width: 900px) {
  .logo img { height: 116px; }
  /* Navigation schließt unten mit „KANNEWURF“ im Logo ab */
  .site-header:not(.is-collapsed) .site-nav { position: relative; top: 38px; }
}
@media (max-width: 480px) {
  .logo img { height: 68px; }
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-text);
  font-weight: 500;
}
.site-nav a { color: var(--navy); text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.site-nav .site-nav__cta { color: var(--orange); font-weight: 500; }

/* ---------- Burger-Menü ----------
   main.js setzt .is-collapsed am Header, sobald die Navigation nicht mehr
   in eine Zeile neben das Logo passt. Ohne JavaScript bleibt die
   umbrechende Navigation sichtbar. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: -6px -10px -6px 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle:hover { color: var(--orange); }

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__icon { position: relative; background: transparent; }
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform .2s ease;
}
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after  { top: 7px; }
.nav-toggle__icon span { transition: opacity .2s ease; }

/* Geöffnet: Balken werden zum X */
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after  { transform: translateY(-7px) rotate(-45deg); }

.site-header.is-collapsed .nav-toggle { display: inline-flex; }
.site-header.is-collapsed .site-nav {
  display: none;
  flex: 1 1 100%;
}
.site-header.is-collapsed.is-open .site-nav { display: block; }
.site-header.is-collapsed .site-nav ul {
  flex-direction: column;
  gap: 0;
  padding: 4px 0 6px;
  font-size: var(--fs-text);
}
.site-header.is-collapsed .site-nav li + li { border-top: 1px solid rgba(5, 14, 92, 0.12); }
.site-header.is-collapsed .site-nav a {
  display: block;
  padding: 12px 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__icon::before,
  .nav-toggle__icon::after,
  .nav-toggle__icon span { transition: none; }
}

/* ---------- Hero ---------- */
.hero__inner {
  padding: 64px var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title {
  font-size: clamp(34px, 5.6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
}
.hero__lead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
}
.hero__text .btn-group { padding-top: 8px; }

.hero__visual { flex: 1 1 380px; min-width: 0; }
.hero__figure { position: relative; padding-bottom: 28px; }
.hero__frame {
  position: relative;
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding-top: 190px;
  overflow: hidden;
}
.hero__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bubble {
  position: absolute;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 500;
  font-size: var(--fs-text);
  box-shadow: var(--shadow-bubble);
}
.bubble--1 { top: 22px; left: 4%; }
.bubble--2 { top: 86px; left: 8%; background: var(--navy); color: var(--cream); box-shadow: 0 4px 14px rgba(5, 14, 92, 0.2); }
.bubble--3 { top: 8px; right: 4%; padding: 10px 22px; border-radius: 28px; line-height: 1.3; text-align: center; }
.bubble--4 { top: 90px; right: 10%; }

.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 2px 6px rgba(5, 14, 92, 0.14);
}
.dot--lg { width: 16px; height: 16px; }
.dot--sm { width: 10px; height: 10px; }
.dot--1 { top: 146px; left: 25%; }
.dot--2 { top: 170px; left: 28%; }
.dot--3 { top: 146px; right: 30%; }
.dot--4 { top: 168px; right: 33%; }

.hero__badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 14px 24px;
  border-radius: 24px;
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(5, 14, 92, 0.22);
}

/* Schmale Displays: Sprechblasen kompakter, damit nichts überlappt */
@media (max-width: 480px) {
  .hero__frame { padding-top: 170px; }
  .bubble { font-size: 14px; padding: 9px 16px; }
  .bubble--1 { top: 18px; }
  .bubble--2 { top: 72px; left: 4%; }
  .bubble--3 { padding: 8px 16px; }
  .bubble--4 { top: 82px; right: 4%; }
  .dot--1, .dot--3 { top: 130px; }
  .dot--2, .dot--4 { top: 150px; }
  .hero__badge { font-size: var(--fs-text); padding: 12px 20px; }
}

/* ---------- Karten / Grids ---------- */
.problems { gap: 40px; }
.problems__grid { gap: 24px; }
.card {
  flex: 1 1 300px;
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card p { color: var(--text-muted); font-size: var(--fs-text); }

/* Ablauf */
.steps { gap: 48px; }
.steps__list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  font-size: 25.6px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--orange);
}
.step p { font-size: var(--fs-text); }

/* Nutzen */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.benefits__intro {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist {
  flex: 1 1 480px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: 0 0 24px; margin-top: 3px; }

/* Zielgruppen */
.audience .container { padding-top: 80px; padding-bottom: 80px; gap: 32px; }
/* Raster mit immer gleich breiten Spalten: 2 × 2 auf Desktop und Tablet, 1 Spalte auf dem Handy */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 559px) {
  .audience__grid { grid-template-columns: minmax(0, 1fr); }
}
.audience__item {
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--cream);
}
.audience__item p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-text); }

/* Kundenstimmen */
.testimonials { gap: 40px; }
.testimonials__grid { gap: 24px; }
.testimonial {
  flex: 1 1 320px;
  min-width: 0;
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial blockquote { font-size: var(--fs-text); font-weight: 300; line-height: 1.6; color: var(--text-muted); }
.testimonial figcaption { font-weight: 500; font-size: var(--fs-text); }

/* ---------- Gutschein ---------- */
.voucher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
/* Spalte genau so breit wie das Video, damit es bündig mit den Bereichen darüber abschließt */
.voucher__media {
  flex: 0 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
/* Desktop (ab 1001 px): Video und Text nebeneinander, 76 px Abstand */
@media (min-width: 1001px) {
  .voucher { flex-wrap: nowrap; column-gap: 76px; }
}
/* Darunter: Video mittig über dem Text */
@media (max-width: 1000px) {
  .voucher__media { flex-basis: 100%; }
}
.voucher__media video {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--sand);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(5, 14, 92, 0.18);
}
.voucher__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price {
  font-size: 25.6px;
  font-weight: 500;
}
.price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
/* Preis links, Link zu den Bestellinformationen rechtsbündig auf gleicher Höhe */
.price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
/* Passen Preis und Link nicht mehr nebeneinander (unter 626 px Spaltenbreite),
   rutscht der Link ganz nach unten unter „Jetzt anfragen“ */
.voucher__text { container-type: inline-size; }
@container (max-width: 629px) {
  .price-row { display: contents; }
  .voucher__legal { order: 1; }
}
.voucher__legal { color: var(--navy); text-decoration: none; }
.voucher__legal:hover { color: var(--orange); }

/* ---------- Über mich ---------- */
.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__text p:not(.eyebrow) { color: var(--text-muted); }
.download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

/* ---------- FAQ ---------- */
.faq { gap: 28px; }
.faq__list { border-top: 1px solid var(--sand); }
.faq details {
  border-bottom: 1px solid var(--sand);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
}
.faq summary h3 { display: inline; font-size: inherit; }

/* Eigener Pfeil statt Browser-Pfeil, damit der Abstand zum Text einstellbar ist */
.faq summary { list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.55em;
  margin-right: calc(0.35em + 6px);
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform .2s ease;
}
.faq details[open] > summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .faq summary::before { transition: none; }
}
.faq details p { margin-top: 12px; color: var(--text-muted); }

/* ---------- Rechtliche Unterseiten (Impressum, Datenschutz, Widerruf) ---------- */
.legal { background: var(--sand); }
.legal .container {
  padding-top: 64px;
  padding-bottom: 80px;
  gap: 32px;
  font-size: var(--fs-text);
  line-height: 1.6;
  color: var(--text-muted);
}
.legal h1, .legal h2, .legal h3, .legal strong { color: var(--navy); }
.legal h2 { font-size: 20px; }
.legal h3 { font-size: var(--fs-text); }
.legal strong { font-weight: 500; }
.legal a { color: var(--navy); font-weight: 500; }
.legal__block { display: flex; flex-direction: column; gap: 12px; }
.legal__box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 28px;
}
.legal__box .gap-top { margin-top: 8px; }
.legal address { font-style: normal; }
.pre-line { white-space: pre-line; }
.back-link { font-size: var(--fs-text); margin-bottom: -16px; }
.back-link a { text-decoration: none; }
.back-link a:hover { text-decoration: underline; }
.site-footer a[aria-current="page"] { text-decoration: none; font-weight: 500; }

/* ---------- Kontakt ---------- */
/* Etwas breiter als die übrigen schmalen Spalten, damit die Überschrift auf Desktop in eine Zeile passt */
.contact .container--narrow { max-width: 940px; }
.contact .container {
  padding-top: 88px;
  padding-bottom: 88px;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.contact .btn-group { justify-content: center; padding-top: 8px; }
/* Gleiche Formatierung wie der Einleitungstext im Hero, nur in Weiß */
.contact p { font-size: 20px; font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }

/* ---------- Mobile Abstände ---------- */
@media (max-width: 640px) {
  :root { --fs-text: 16px; }
  .hero__lead, .contact p { font-size: var(--fs-text); }
  .container { padding-top: 64px; padding-bottom: 64px; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .card, .testimonial { padding: 26px; }
}
