/* ==========================================================================
   DISCAVO — gemeinsames Stylesheet
   Eine Datei für die ganze Seite. Kein Build-Schritt, kein Framework.
   Schriften liegen auf der eigenen Domain: kein Request verlässt jemals den
   Browser der Besucher:innen in Richtung Dritter — das hält die Seite ohne
   Cookie-Banner DSGVO-sauber.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens — Palette „Golf & Gesundheit": Fairway-Grün, Salbei, warmes Papier
   -------------------------------------------------------------------------- */

:root {
  --paper:      #fbfaf6;
  --paper-warm: #f2f0e7;
  --sage:       #e4ede4;
  --ink:        #17251d;
  --ink-2:      #4c5d53;
  --ink-3:      #7e8c82;
  --green:      #23795a;
  --green-deep: #14452f;
  --green-lift: #319d75;
  --apricot:    #c9803a;
  --line:       rgba(23, 37, 29, 0.13);
  --line-soft:  rgba(23, 37, 29, 0.07);
  --card:       #ffffff;
  --shadow:     0 1px 2px rgba(23, 37, 29, .04), 0 14px 36px -14px rgba(23, 37, 29, .18);

  --sans:  'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;

  --wrap: 1100px;
  --wrap-narrow: 700px;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0f1712;
    --paper-warm: #15201a;
    --sage:       #182a20;
    --ink:        #eef3ec;
    --ink-2:      #a7b7ab;
    --ink-3:      #7c8e82;
    --green:      #55c294;
    --green-deep: #a6dfc4;
    --green-lift: #74d3aa;
    --apricot:    #e0a468;
    --line:       rgba(238, 243, 236, 0.15);
    --line-soft:  rgba(238, 243, 236, 0.08);
    --card:       #17211b;
    --shadow:     0 1px 2px rgba(0,0,0,.3), 0 14px 36px -14px rgba(0,0,0,.6);
  }
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.8vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); font-weight: 600; margin-top: 2.2rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 50;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }

.wrap        { width: 100%; max-width: var(--wrap);        margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: 1.5rem; }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */

.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand em { font-style: normal; color: var(--green); }

.header-note {
  font-size: .85rem;
  color: var(--ink-3);
  letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   Hero — der eigentliche Inhalt dieser Baustellen-Seite
   -------------------------------------------------------------------------- */

main { flex: 1 0 auto; }

.hero {
  position: relative;
  padding: clamp(3.5rem, 2rem + 9vw, 8rem) 0 clamp(3rem, 2rem + 6vw, 6rem);
  text-align: center;
  overflow: hidden;
}

/* Weicher Lichtschein im Hintergrund — reines CSS, kein Bild, kein Request. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 50% auto;
  width: min(900px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--sage) 0%, transparent 62%);
  opacity: .85;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--apricot);
  flex: none;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

.hero h1 .accent {
  color: var(--green);
  font-style: italic;
}

.lead {
  font-size: clamp(1.075rem, 1rem + .4vw, 1.3rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-inline: auto;
  text-wrap: pretty;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.chips li {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper-warm);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: .4rem 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-lift); color: #fff; }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* --------------------------------------------------------------------------
   Fließtext (Impressum, Datenschutz, 404)
   -------------------------------------------------------------------------- */

.article-header {
  padding: clamp(2.5rem, 1.5rem + 5vw, 4.5rem) 1.5rem 0;
  text-align: left;
}
.article-header h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.article-header .lead { margin-inline: 0; }

.prose {
  padding: 1.5rem 1.5rem clamp(3rem, 2rem + 4vw, 5rem);
}
.prose h2 { font-family: var(--sans); letter-spacing: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose.legal { font-size: 1rem; color: var(--ink-2); }
.prose.legal strong { color: var(--ink); }

.centered { text-align: center; }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */

.site-footer {
  flex: none;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-warm);
  padding: 2rem 0;
  font-size: .9rem;
  color: var(--ink-3);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--green); }
