/*
 * createyourownway.de — CREATE Landingpage
 * Carsten Wehrle · CI-Master 2026
 * Design-System identisch zu quiz.createyourownway.de (Tokens, Fonts, Buttons, Footer)
 * Navy #1A2537 · Sand #D9CFC3 · Off-White #F5F5F5 · Slate #5C5E60 · Orange #C7742B (nur CTA)
 */

/* ---------- Fonts (selbst gehostet, DSGVO) ---------------------------------- */
@font-face { font-family:'Lato'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/lato-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:italic; font-weight:400; font-display:swap;
  src:url('../fonts/lato-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../fonts/lato-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:600 700; font-display:swap;
  src:url('../fonts/montserrat.woff2') format('woff2'); }
@font-face { font-family:'Playfair Display'; font-style:italic; font-weight:500 600; font-display:swap;
  src:url('../fonts/playfair-italic.woff2') format('woff2'); }

/* ---------- Tokens --------------------------------------------------------- */
:root {
  --radius: 0.5rem;
  --navy: oklch(0.27 0.03 252);
  --sand: oklch(0.85 0.02 70);
  --offwhite: oklch(0.97 0 0);
  --slate-brand: oklch(0.46 0.005 250);
  --orange-brand: oklch(0.62 0.13 50);
  --orange-brand-hover: oklch(0.56 0.13 50);
  --gray-mid: oklch(0.58 0.005 250);
  --card: oklch(1 0 0);
  --border: oklch(0.88 0.01 250);
  /* Nur im Navy-Hero: hellere Abstufungen auf dunklem Grund */
  --on-navy: oklch(0.97 0 0);
  --on-navy-muted: oklch(0.85 0.01 250);
  --on-navy-border: oklch(0.4 0.025 252);

  --font-sans: 'Lato', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-statement: 'Playfair Display', Georgia, serif;
  --shadow-card: 0 1px 2px oklch(0.2 0.02 250 / 0.04), 0 4px 16px oklch(0.2 0.02 250 / 0.04);
}

/* ---------- Reset / Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background-color: var(--offwhite);
  color: var(--slate-brand);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange-brand); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout-Helfer -------------------------------------------------- */
.section { padding: 5rem 1.5rem; }
@media (min-width:768px){ .section{ padding:6rem 2rem; } }
@media (min-width:1024px){ .section{ padding:7rem 2rem; } }
.container-prose { max-width: 600px; margin-inline: auto; }
.container-wide  { max-width: 980px; margin-inline: auto; }
.text-center { text-align: center; }
.bg-offwhite { background-color: var(--offwhite); }
.bg-sand { background-color: var(--sand); }

/* Signatur-Element: 8px oranger Punkt */
.orange-dot { display:inline-block; width:8px; height:8px; border-radius:9999px;
  background-color: var(--orange-brand); flex-shrink:0; }

.statement { font-family: var(--font-statement); font-style: italic; color: var(--navy); }

.section-h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.lead { font-size: 1.125rem; color: var(--slate-brand); line-height: 1.7; }
.hint { color: var(--gray-mid); font-size: .875rem; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 2rem; border-radius: var(--radius); border: 0; cursor: pointer;
  text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--orange-brand); color: #fff; }
.btn-primary:hover { background: var(--orange-brand-hover); }
.btn-secondary { background: var(--navy); color: var(--on-navy); }
.btn-secondary:hover { background: oklch(0.22 0.03 252); }

/* Textlinks: Navy statt Orange. Orange bleibt den beiden Quiz-Buttons vorbehalten
   und erreicht auf Sand ohnehin nur ~2,4:1 Kontrast. */
.link-navy { color: var(--navy); text-decoration: underline; text-underline-offset: 3px;
  font-weight: 700; }
.link-navy:hover { text-decoration-thickness: 2px; }

.cta-block { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
@media (min-width:768px){ .cta-block.cta-left { align-items: flex-start; } }

/* ---------- Sektion 1: Hero (Navy-Fläche) ---------------------------------- */
.hero { background: var(--navy); color: var(--on-navy-muted); }
.hero h1, .hero .hero-eyebrow { color: var(--on-navy); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-text { text-align: center; }
.hero-eyebrow { font-family: var(--font-heading); font-weight: 600; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: .6rem; }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; }
.hero-sub { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; max-width: 34rem; }
.hero-cred { margin-top: 1.75rem; font-size: .875rem; color: oklch(0.75 0.015 250); line-height: 1.6; }
.hero-cta { margin-top: 2.5rem; }
.hero .hint { color: oklch(0.75 0.015 250); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { height: 200px; width: auto; }
@media (min-width:768px){
  .hero-grid { grid-template-columns: 3fr 2fr; gap: 3rem; }
  .hero-text { text-align: left; }
  .hero-sub { margin-inline: 0; }
  .hero-visual img { height: 300px; }
}
@media (min-width:1024px){ .hero-visual img { height: 340px; } }

/* ---------- Sektion 2: Warum ------------------------------------------------ */
.why-p + .why-p { margin-top: 1.5rem; }
.why-statement { margin-top: 3rem; font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  line-height: 1.35; text-wrap: balance; }
.why-statement::before { content: ""; display: block; width: 8px; height: 8px;
  border-radius: 9999px; background: var(--orange-brand); margin-bottom: 1.25rem; }

/* ---------- Sektion 3: Die Landkarte --------------------------------------- */
.map-section { position: relative; overflow: hidden; }
/* Kompass als dezentes Leitmotiv, rein dekorativ */
.map-compass { position: absolute; right: -70px; bottom: -70px; width: 260px;
  opacity: .12; pointer-events: none; }
@media (max-width: 767px){ .map-compass { width: 180px; right: -50px; bottom: -50px; } }
.map-inner { position: relative; }
.chips { list-style: none; padding: 0; margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem; }
.chip { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .7rem 1.1rem; transition: border-color .15s ease, transform .15s ease; }
.chip:hover { border-color: var(--navy); transform: translateY(-1px); }
.chip .chip-letter { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
  color: var(--navy); line-height: 1; }
.chip .chip-name { font-size: .9375rem; color: var(--slate-brand); }

/* ---------- Sektion 4: Die sechs Schritte ---------------------------------- */
.steps { display: flex; flex-direction: column; gap: 4rem; margin-top: 1rem; }
@media (min-width:768px){ .steps { gap: 5rem; } }
.step { scroll-margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width:768px){ .step { grid-template-columns: 5rem 1fr; gap: 2.5rem; } }
.step-letter { position: relative; display: inline-block; padding-right: .5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 3.25rem; line-height: 1;
  color: var(--navy); }
.step-letter::after { content: ""; position: absolute; right: 0; bottom: .18em;
  width: 8px; height: 8px; border-radius: 9999px; background: var(--orange-brand); }
.step h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.step-kicker { font-family: var(--font-heading); font-weight: 600; color: var(--slate-brand);
  font-size: 1rem; line-height: 1.5; margin-bottom: 1.25rem; }
.step-text { font-size: 1.0625rem; line-height: 1.7; }
/* Kein Bullet: Der Orange Dot sitzt schon am Buchstaben-Marker, zwei Punkte pro Block
   waren zu viel. Die Sand-Flaeche setzt die Zeile ausreichend ab. */
.step-here { margin-top: 1.5rem; background: var(--sand); border-radius: var(--radius);
  padding: 1rem 1.25rem; color: var(--navy); font-size: 1rem; line-height: 1.6; }

/* ---------- Sektion 5: Zwei Wege ------------------------------------------- */
.ways { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width:900px){ .ways { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.way { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 2rem; }
@media (min-width:768px){ .way-primary { padding: 2.5rem; } }
.way h3 { font-size: 1.375rem; margin-bottom: 1rem; }
.way-secondary { background: transparent; box-shadow: none; }
.way-secondary h3 { font-size: 1.125rem; }
.way p + p { margin-top: 1rem; }
.way-cta { margin-top: 1.75rem; }

/* ---------- Sektion 6: Wer dahinter steht ---------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width:768px){ .about-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.about-portrait { aspect-ratio: 4/5; width: 100%; max-width: 24rem; margin-inline: auto;
  overflow: hidden; border-radius: var(--radius); background: var(--offwhite); }
@media (min-width:768px){ .about-portrait { margin-inline: 0; } }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-more { margin-top: 2rem; font-size: .9375rem; }

/* ---------- Sektion 7: Abschluss-CTA --------------------------------------- */
.final { text-align: center; }
.final .lead { max-width: 40rem; margin-inline: auto; }
.final .cta-block { margin-top: 2.5rem; }
.final-alt { margin-top: 2rem; font-size: .9375rem; }

/* ---------- Footer --------------------------------------------------------- */
.site-footer { background: var(--offwhite); border-top: 1px solid var(--border); padding: 3rem 1.5rem; }
.footer-inner { text-align: center; }
.footer-tag { font-size: .875rem; color: var(--gray-mid); margin-bottom: 1.5rem; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem;
  font-size: .875rem; margin-bottom: 1.5rem; }
.footer-nav a { color: var(--slate-brand); text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: var(--orange-brand); }
.footer-copy { font-size: .75rem; color: var(--gray-mid); }
@media (min-width:768px){
  .footer-inner { text-align: left; }
  .footer-nav { justify-content: flex-start; }
}
