/* =========================================================
   Cattenstedter Parforcejagd – Reitverein e.V.
   Identität: Jagdgrün + Rotrock (Scarlet) + Pergament + Messing
   Display: Fraunces · Body: Mulish · Signatur: Parforcehorn
   ========================================================= */

:root {
  --ink:        #20251f;
  --green-900:  #15301f;
  --green-800:  #1b3b27;
  --green-700:  #214a30;
  --green-500:  #356a45;
  --scarlet:    #a6342a;
  --scarlet-dk: #842318;
  --brass:      #c29a4a;
  --brass-soft: #d9be86;
  --parchment:  #f4eee2;
  --parchment-2:#ece2cf;
  --cream:      #fbf8f1;
  --line:       #d8cdb6;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(21, 48, 31, 0.55);
}

/* ---------- Reset / Basis ---------- */
*, *::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 {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; background: var(--green-900); color: var(--cream);
  padding: .6rem 1rem; border-radius: 8px; z-index: 200;
}

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

/* ---------- Typografie-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--scarlet);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--brass-soft); }
.eyebrow-horn {
  width: 26px; height: 2px; background: currentColor; position: relative;
}
.eyebrow-horn::after {
  content: ""; position: absolute; right: -2px; top: -2px;
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  color: var(--green-900);
}

.section-intro {
  max-width: 56ch;
  margin-top: 1.1rem;
  color: #4b4a40;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .85rem 1.6rem; border-radius: 100px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--scarlet); color: var(--cream); }
.btn-primary:hover { background: var(--scarlet-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(251,248,241,.55); }
.btn-ghost:hover { background: rgba(251,248,241,.12); border-color: var(--cream); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 238, 226, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); }
.brand-mark { color: var(--scarlet); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-line-1 { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: -.01em; }
.brand-line-2 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-500); font-weight: 700; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; padding: 0; }
.main-nav a {
  text-decoration: none; color: var(--green-800); font-weight: 600; font-size: .94rem;
  padding: .5rem .85rem; border-radius: 100px; transition: background-color .18s, color .18s;
}
.main-nav a:hover { background: var(--parchment-2); }
.main-nav a.is-active { color: var(--scarlet); }
.nav-cta { background: var(--green-800); color: var(--cream) !important; }
.nav-cta:hover { background: var(--green-900) !important; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--cream); border-radius: 12px; position: relative; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2.2px;
  background: var(--green-900); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bar::before { transform: translate(-50%, -8px); }
.nav-toggle-bar::after  { transform: translate(-50%, 8px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(8rem, 16vw, 12rem);
  background:
    radial-gradient(120% 90% at 80% -10%, #2a5a39 0%, rgba(42,90,57,0) 55%),
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 70%);
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 380px at 75% 12%, rgba(217,190,134,.20), transparent 70%);
}
.hero-forest {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(150px, 30vh, 280px);
  z-index: -1;
}
.hero-forest .ridge-3 { fill: #1c3f2a; }
.hero-forest .ridge-2 { fill: #173524; }
.hero-forest .ridge-1 { fill: #122a1c; }

.hero-inner { position: relative; max-width: 760px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 1.5rem + 8vw, 7rem);
  line-height: .92;
  letter-spacing: -0.02em;
  margin-top: .2rem;
}
.hero-title::after {
  content: ""; display: block; width: 84px; height: 4px; margin-top: 1.4rem;
  background: var(--scarlet); border-radius: 4px;
}
.hero-lead {
  margin-top: 1.6rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
  max-width: 52ch; color: #e8e3d4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ---------- Sections allgemein ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.section-offer { background: var(--parchment); }
.section-about { background: var(--green-900); color: var(--cream); }
.section-news  { background: var(--cream); }
.section-contact { background: var(--green-800); color: var(--cream); }

/* ---------- Angebot ---------- */
.offer-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}
.offer-card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.6rem 1.7rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brass-soft); }
.offer-num {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--brass); display: inline-block; margin-bottom: .9rem;
  border-bottom: 2px solid var(--brass-soft); padding-bottom: .15rem;
}
.offer-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  color: var(--green-900); margin-bottom: .5rem; line-height: 1.1;
}
.offer-card p { color: #514f44; font-size: .98rem; }
.offer-card-feature {
  background: linear-gradient(165deg, var(--green-800), var(--green-900));
  color: var(--cream); border-color: transparent;
}
.offer-card-feature h3 { color: var(--cream); }
.offer-card-feature p { color: #d9e0d3; }
.offer-card-feature .offer-num { color: var(--brass-soft); border-color: rgba(217,190,134,.4); }
.offer-tag {
  display: inline-block; margin-top: 1.1rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-900);
  background: var(--brass-soft); padding: .35rem .75rem; border-radius: 100px;
}

/* ---------- Über uns ---------- */
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
}
.about-text p { color: #dfe4d8; margin-top: 1.1rem; max-width: 56ch; }
.about-text em { color: var(--brass-soft); font-style: italic; }
.about-text .section-title { color: var(--cream); }
.about-values { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: .9rem; }
.about-values li {
  position: relative; padding-left: 1.6rem; color: #d4dacb;
}
.about-values li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  background: var(--scarlet); border-radius: 50%;
}
.about-values strong { color: var(--cream); }

.about-aside {
  position: relative; background: rgba(251,248,241,.06);
  border: 1px solid rgba(217,190,134,.28); border-radius: var(--radius);
  padding: 2rem 1.8rem; overflow: hidden;
}
.aside-horn {
  position: absolute; right: -18px; top: -18px; width: 130px; height: 130px;
  color: rgba(217,190,134,.22);
}
.facts { display: grid; gap: 1.4rem; position: relative; }
.facts dt {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--brass-soft); margin-bottom: .3rem;
}
.facts dd { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; color: var(--cream); }

/* ---------- News ---------- */
.news-list { display: grid; gap: 1rem; }
.news-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
  background: var(--parchment); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.news-date {
  display: grid; place-items: center; width: 74px; height: 74px; flex-shrink: 0;
  background: var(--green-800); color: var(--cream); border-radius: 12px; line-height: 1;
}
.news-date .d { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.news-date .m { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .25rem; color: var(--brass-soft); }
.news-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--green-900); margin-bottom: .25rem; }
.news-body p { color: #514f44; font-size: .96rem; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start;
}
.contact-intro .section-title { color: var(--cream); }
.contact-intro p { color: #dfe4d8; margin-top: 1rem; max-width: 46ch; }
.contact-details { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.contact-details li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; color: #e8e3d4; }
.contact-details a { color: var(--brass-soft); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.ci {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(217,190,134,.16); border-radius: 50%; color: var(--brass-soft); font-size: 1.05rem;
}

.contact-form {
  background: var(--cream); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--shadow); color: var(--ink);
}
.form-note { font-size: .85rem; color: #6a6657; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .4rem; color: var(--green-900); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--parchment); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(53,106,69,.18);
}
.field textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: .4rem; }
.form-status { margin-top: .9rem; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: var(--scarlet); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cdd4c5; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: var(--brass-soft); }
.footer-brand p { font-family: var(--font-display); color: var(--cream); font-size: 1.05rem; line-height: 1.15; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer-nav a { color: #cdd4c5; text-decoration: none; font-size: .92rem; font-weight: 600; }
.footer-nav a:hover { color: var(--brass-soft); }
.footer-legal { font-size: .82rem; color: #97a08c; border-top: 1px solid rgba(217,190,134,.18); padding-top: 1.3rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-aside { order: -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    background: var(--green-900); padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%); transition: transform .3s ease; z-index: 90;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .35rem; }
  .main-nav a { color: var(--cream); padding: .85rem 1rem; font-size: 1.05rem; }
  .main-nav a:hover { background: rgba(251,248,241,.1); }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,20,14,.5); z-index: 80;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  .brand-line-1 { font-size: .95rem; }
}

@media (max-width: 420px) {
  .news-item { grid-template-columns: 1fr; gap: 1rem; }
  .news-date { width: 64px; height: 64px; }
}
