/* ============================================================
   PETER GEYER — petergeyer.at
   Selbsterfahrung in der Natur · Visionssuche · Seminare
   Statisch, kein Framework. Design über CSS-Variablen.
   Kontraste WCAG AA (≥4,5:1). Schriften lokal (DSGVO).
   ============================================================ */

/* ---------- Lokale Schriften (DSGVO — keine Google-Server) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Variablen ---------- */
:root {
  --wald:      #24301F;   /* dunkelster Ton — Hero, Kontakt, Footer */
  --wald-2:    #2F3F28;   /* Karten auf dunklem Grund */
  --wald-3:    #3E5231;   /* Buttons, Linien auf dunklem Grund */
  --paper:     #FAF8F1;   /* heller Grund */
  --surface:   #F1EDDF;   /* Sektionen/Karten auf hellem Grund */
  --line:      #E0DAC5;   /* Trennlinien */
  --ink:       #262A20;   /* Fließtext */
  --ink-m:     #575C4B;   /* gedämpfter Text (≥4,5:1 auf paper) */
  --ocker:     #C9960C;   /* Akzent — nur Deko/große Flächen */
  --ocker-dk:  #7A5311;   /* Ocker als Text (kontrastsicher) */
  --ocker-hell:#D8B45A;   /* Ocker auf dunklem Grund */
  --hell:      #EFEDE2;   /* Text auf dunklem Grund */
  --hell-m:    #C5C8B4;   /* gedämpfter Text auf dunklem Grund */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(36, 48, 31, .07);
}

/* ---------- Basis ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocker-dk); }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.06rem; }
::selection { background: var(--ocker); color: var(--wald); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--wald); color: var(--hell); }

.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ocker-dk);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--ocker-hell); }
.section-h { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 18px; }
.section-lead { max-width: 720px; color: var(--ink-m); }
.section--dark .section-lead { color: var(--hell-m); }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700; font-size: .97rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid var(--ocker); outline-offset: 2px; }
.btn--primary { background: var(--wald-3); color: #fff; box-shadow: 0 6px 18px rgba(36,48,31,.22); }
.btn--gold { background: var(--ocker-hell); color: var(--wald); }
.btn--ghost { border: 2px solid rgba(239,237,226,.55); color: var(--hell); }
.btn--ghost:hover { border-color: var(--ocker-hell); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(250,248,241,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 52px; object-fit: contain; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1.1; }
.brand__sub { display: block; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ocker-dk); }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .93rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.aktiv { border-bottom-color: var(--ocker); }

/* Hamburger (nur mobil sichtbar) */
.nav-knopf {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; margin-right: -10px;
}
.nav-knopf span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-knopf span + span { margin-top: 6px; }
body.nav-offen .nav-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-offen .nav-knopf span:nth-child(2) { opacity: 0; }
body.nav-offen .nav-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-knopf:focus-visible { outline: 3px solid var(--ocker); outline-offset: 2px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #1D2819; /* Fallback für Kontrast-Rechner (Lighthouse) */
  background-image: linear-gradient(168deg, #1D2819 0%, var(--wald) 55%, #2C3A24 100%);
  color: var(--hell);
  padding: 190px 0 110px;
  overflow: hidden;
}
.hero__ringe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px 60px;
  align-items: center;
}
.hero__bild { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.hero__bild img {
  width: 100%; max-width: 420px;
  border-radius: var(--radius);
  border: 1px solid rgba(216,180,90,.35);
  box-shadow: 16px 16px 0 -6px rgba(201,150,12,.4), 0 18px 40px rgba(0,0,0,.35);
}
.hero__gedicht { grid-column: 1; }
.hero__eyebrow {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ocker-hell); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 720px;
  margin-bottom: 12px;
}
.hero__sub { font-size: 1.25rem; color: var(--hell-m); font-family: var(--serif); font-style: italic; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* Rilke-Gedicht im Hero */
.hero__gedicht {
  margin-top: 34px;
  max-width: 560px;
  border-left: 3px solid var(--ocker);
  padding-left: 26px;
}
.hero__gedicht p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.22rem; line-height: 1.75;
  color: var(--hell);
}
.hero__gedicht cite {
  display: block; margin-top: 14px;
  font-family: var(--sans); font-style: normal;
  font-size: .82rem; letter-spacing: .08em;
  color: var(--ocker-hell);
}

/* ---------- Bild-Stile (kleine Originalbilder würdig zeigen) ---------- */
.bild {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.bild--rahmen {
  background: #fff; padding: 10px;
}
.bild-mitte { display: flex; justify-content: center; margin: 34px 0 10px; }
.bild-unterschrift { text-align: center; font-size: .82rem; color: var(--ink-m); margin-top: 10px; }

/* ---------- Zweispalter (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 54px; align-items: center; }
.split--rev { grid-template-columns: 1fr 1.25fr; }
.split .text p + p { margin-top: 1em; }

/* ---------- Zitat-Karten ---------- */
.zitat {
  background: var(--surface);
  border-left: 4px solid var(--ocker);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  margin-top: 34px;
}
.zitat p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.7; color: var(--ink); }
.zitat cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .84rem; font-weight: 600; color: var(--ocker-dk); }
.section--surface .zitat { background: var(--paper); }
.zitat--zentral { border-left: 0; border-radius: var(--radius); text-align: center; padding: 34px 38px; }

/* Dunkles Zitat-Band (Foster) */
.zitatband { background: var(--wald); color: var(--hell); padding: 74px 0; }
.zitatband p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.8;
  max-width: 820px; margin: 0 auto; text-align: center;
}
.zitatband cite { display: block; text-align: center; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .1em; color: var(--ocker-hell); }

/* ---------- Visionssuche: Ablauf-Karten ---------- */
.phasen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.phase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.phase:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36,48,31,.11); }
.phase__num {
  font-family: var(--serif); font-style: italic;
  font-size: 2.1rem; color: var(--ocker-dk); line-height: 1;
}
.phase h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin: 10px 0 4px; }
.phase__dauer {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ocker-dk); margin-bottom: 12px;
}
.phase p { font-size: .95rem; color: var(--ink-m); }

/* ---------- Seminare: volle Breite, Bild links, Ausklapp-Details ---------- */
.seminare-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 46px; }
.sem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 280px 1fr;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sem-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36,48,31,.11); }
.sem-card__bild { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.sem-card__body { padding: 28px 34px 30px; min-width: 0; }
.sem-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; margin-bottom: 8px; }
.sem-card p { font-size: .95rem; color: var(--ink-m); }
.sem-card details { margin-top: 14px; }
.sem-card summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: .9rem; color: var(--ocker-dk);
  display: inline-flex; align-items: center; gap: 8px;
}
.sem-card summary::-webkit-details-marker { display: none; }
.sem-card summary::after { content: '+'; font-size: 1.15rem; line-height: 1; transition: transform .2s ease; }
.sem-card details[open] summary::after { transform: rotate(45deg); }
.sem-card summary:focus-visible { outline: 3px solid var(--ocker); outline-offset: 3px; border-radius: 4px; }
.sem-card details > div { margin-top: 12px; font-size: .93rem; color: var(--ink-m); }
.sem-card details > div p + p { margin-top: .8em; }
.sem-card .sem-zitat { font-family: var(--serif); font-style: italic; color: var(--ink); margin-top: .9em; }
.sem-card .sem-fakten { margin: .9em 0 0; padding: 14px 16px; background: var(--surface); border-radius: 10px; font-size: .88rem; }
.sem-card .sem-fakten strong { color: var(--ink); }

/* ---------- Termine (Termin-Modul, Peter-Palette) ---------- */
.termine__list { display: grid; gap: 14px; max-width: 760px; margin: 40px auto 0; }
.termin {
  display: flex; gap: 20px; align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.termin:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(36,48,31,.09); }
.termin__date {
  flex-shrink: 0; width: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--wald); color: #fff;
  border-radius: 10px; padding: 9px 0; line-height: 1.05;
}
.termin__wd  { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ocker-hell); }
.termin__tag { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; margin: 1px 0; }
.termin__mon { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--hell-m); }
.termin__body { min-width: 0; align-self: center; }
.termin__titel { margin: 0 0 3px; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.termin__meta  { margin: 0; font-size: .86rem; color: var(--ink-m); }
.termin__info  { margin: .45em 0 0; font-size: .93rem; color: var(--ink-m); }
.termin__link  {
  display: inline-block; margin-top: .6em;
  font-size: .9rem; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--wald-3);
  padding: 8px 18px; border-radius: 999px;
}
.termin__link:hover { filter: brightness(1.1); }
.termin__plaetze { margin: .35em 0 0; font-size: .85rem; font-weight: 700; color: var(--ocker-dk); }
.termin__badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  font-family: var(--sans);
  background: var(--ink-m); color: #fff;
  padding: 3px 10px; border-radius: 999px;
}
.termin--voll { opacity: .78; }
.termine__leer { text-align: center; color: var(--ink-m); font-size: 1rem; padding: 26px 0 0; }
.termine__hinweis { text-align: center; font-size: .88rem; color: var(--ink-m); margin-top: 26px; }

/* ---------- Über mich / Weggefährten ---------- */
.ueber { display: grid; grid-template-columns: 300px 1fr; gap: 54px; align-items: start; }
.ueber__foto { position: relative; }
.ueber__foto img { border-radius: var(--radius); box-shadow: 16px 16px 0 -6px rgba(201,150,12,.55); width: 100%; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.partner-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.partner-card img { width: 92px; border-radius: 10px; flex-shrink: 0; }
.partner-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.partner-card p { font-size: .92rem; color: var(--ink-m); }
.partner-card a { color: var(--ocker-dk); font-weight: 600; }

/* ---------- Literatur ---------- */
.literatur { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.lit-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow);
}
.lit-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.lit-card ul { list-style: none; }
.lit-card li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-m); }
.lit-card li:last-child { border-bottom: 0; }
.lit-card li strong { color: var(--ink); font-weight: 600; }

/* ---------- Kontakt ---------- */
.kontakt-karten { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.kontakt-karte {
  background: var(--wald-2);
  border: 1px solid var(--wald-3);
  border-radius: var(--radius);
  padding: 30px 40px;
  text-align: center;
  min-width: 260px;
}
.kontakt-karte .label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocker-hell); margin-bottom: 8px; }
.kontakt-karte a { color: var(--hell); font-weight: 700; font-size: 1.12rem; text-decoration: none; }
.kontakt-karte a:hover { color: var(--ocker-hell); }

/* ---------- Footer ---------- */
.footer { background: #1B2417; color: var(--hell-m); padding: 34px 0; font-size: .88rem; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--hell-m); text-decoration: none; margin-left: 20px; }
.footer a:hover { color: var(--ocker-hell); }
.footer a:first-child { margin-left: 0; }

/* ---------- Einblendungen ---------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.sichtbar { opacity: 1; transform: none; }
.phasen > .fade-up:nth-child(2), .seminare-grid > .fade-up:nth-child(2) { transition-delay: .12s; }
.phasen > .fade-up:nth-child(3), .seminare-grid > .fade-up:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal-Seiten ---------- */
.legal { padding: 150px 0 80px; max-width: 780px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 26px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.legal p + p { margin-top: .9em; }
.legal .zurueck { display: inline-block; margin-top: 40px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; gap: 34px; }
  .phasen { grid-template-columns: 1fr; }
  .sem-card { grid-template-columns: 1fr; }
  .sem-card__bild { height: 190px; min-height: 0; }
  .ueber { grid-template-columns: 1fr; }
  .ueber__foto { max-width: 300px; }
  .partner-grid, .literatur { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 150px 0 80px; }
  html { scroll-padding-top: 76px; }
  .header .wrap { min-height: 64px; }
  .brand img { width: 26px; height: 40px; }
  .brand__name { font-size: 1.1rem; }
  .brand__sub { font-size: .55rem; }
  .nav-knopf { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(36,48,31,.14);
    padding: 6px 22px 12px;
  }
  body.nav-offen .nav { display: flex; }
  .nav a { font-size: 1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.aktiv { border-bottom-color: var(--line); color: var(--ocker-dk); }
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__bild { grid-column: 1; grid-row: auto; }
  .hero__bild img { max-width: 400px; box-shadow: 10px 10px 0 -5px rgba(201,150,12,.4), 0 14px 30px rgba(0,0,0,.3); }
  .hero__gedicht { grid-column: 1; margin-top: 10px; }
  .hero__gedicht p { font-size: 1.08rem; }
  .termin { gap: 14px; padding: 14px 16px; }
  .termin__date { width: 54px; }
  .termin__tag { font-size: 1.5rem; }
  .partner-card { flex-direction: column; }
  .kontakt-karte { width: 100%; }
}
@media (max-width: 420px) {
  .split, .phasen, .seminare-grid, .partner-grid, .literatur, .ueber { min-width: 0; }
  .wrap { padding: 0 16px; }
}
