/* Landfrauen Bezirksverein Herborn/Dill – statische Website
   Gestaltung angelehnt an die bisherige YOOtheme-Seite (Schrift Asap, Gelb #E0B500). */

@font-face { font-family: "Asap"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/asap-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/asap-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/asap-latin-400-italic.woff2") format("woff2"); }

:root {
  --yellow: #e0b500;
  --yellow-strong: #ebbd00;
  --yellow-dark: #8a6d00;   /* Text auf hellem Grund, ausreichend Kontrast */
  --ink: #292c3d;
  --ink-soft: #4f5260;
  --muted: #6b6e7b;
  --line: #e4e4e8;
  --bg: #ffffff;
  --bg-soft: #f4f4f6;
  --radius: 6px;
  --wrap: 1140px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-soft);
  font-family: "Asap", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kopfbereich ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 24px; }
.brand { grid-column: 2; display: block; }
.brand img { width: 150px; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-left { grid-column: 1; grid-row: 1; justify-content: flex-end; }
.nav-right { grid-column: 3; grid-row: 1; justify-content: flex-start; }
.nav > li { position: relative; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .02em; border-bottom: 2px solid transparent; }
.nav > li > a:hover, .nav > li > a[aria-current="page"], .nav > li.active > a { border-bottom-color: var(--yellow); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: #fff; box-shadow: 0 12px 30px rgba(41,44,61,.14); border-radius: var(--radius); }
.nav .sub a { font-weight: 400; border: 0; padding: 8px 18px; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { color: var(--yellow-dark); }
.nav > li:hover > .sub, .nav > li:focus-within > .sub { display: block; }

.menu-mobile { display: none; }

@media (max-width: 960px) {
  .site-header .wrap { grid-template-columns: 1fr auto; min-height: 76px; }
  .brand { grid-column: 1; }
  .brand img { width: 120px; }
  .nav-left, .nav-right { display: none; }
  .menu-mobile { display: block; grid-column: 2; }
  .menu-mobile summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); padding: 10px 14px; border: 2px solid var(--yellow); border-radius: 999px; }
  .menu-mobile summary::-webkit-details-marker { display: none; }
  .menu-mobile[open] summary { background: var(--yellow); color: #fff; }
  .menu-mobile nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(41,44,61,.12); padding: 8px var(--gutter) 20px; }
  .menu-mobile ul { list-style: none; margin: 0; padding: 0; }
  .menu-mobile a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
  .menu-mobile ul ul a { font-weight: 400; padding-left: 18px; }
  .menu-mobile a[aria-current="page"] { color: var(--yellow-dark); }
}

/* ---------- Kopfbild mit gelber Karte ---------- */
.hero { position: relative; background: var(--bg-soft) center/cover no-repeat; min-height: 440px; display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,44,61,.28), rgba(41,44,61,0) 60%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-card { display: inline-block; max-width: 520px; background: var(--yellow-strong); color: #fff; border-radius: var(--radius); padding: 30px 34px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); }
.hero-card h1 { color: #fff; margin: 0; }
.hero-card p { color: #fff; font-weight: 700; margin: .5em 0 0; }
.hero--small { min-height: 320px; }
.hero--plain { background: #fff; min-height: 300px; }
.hero--plain::after { display: none; }
@media (max-width: 640px) { .hero { min-height: 300px; } .hero-card { padding: 22px 24px; } }

/* ---------- Inhaltsbereiche ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section + .section--soft, .section--soft + .section { border-top: 0; }
.eyebrow { display: block; color: var(--yellow-dark); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose h3 { margin-top: 1.6em; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; } }

.media img { border-radius: var(--radius); width: 100%; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.card { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 2px 10px rgba(41,44,61,.06); }
.card .btn { margin-top: 6px; }
.card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.section--soft .card { background: #fff; }

.caps { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink); }

/* Aufzählung "Ziele" mit gelben Punkten */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { padding-left: 26px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.points h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: .3em; }

/* ---------- Termine ---------- */
.events { width: 100%; border-collapse: collapse; }
.events th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 400; padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.events td { padding: 18px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.events .date { white-space: nowrap; color: var(--muted); width: 1%; }
.events .title { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink); line-height: 1.45; }
.events .place { color: var(--muted); font-size: 15px; max-width: 260px; }
.events .more { width: 1%; text-align: right; }
.events--past td { opacity: .75; }
.btn { display: inline-block; background: var(--yellow); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--yellow); }
.btn--ghost:hover { background: var(--yellow); color: #fff; }
.empty { color: var(--muted); font-style: italic; }
@media (max-width: 760px) {
  .events thead { display: none; }
  .events, .events tbody, .events tr, .events td { display: block; width: 100%; }
  .events tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .events td { border: 0; padding: 2px 0; }
  .events .more { text-align: left; padding-top: 10px; }
}

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0 0 28px; }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

/* ---------- Kontakte / Ortsvereine ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.contacts .card p { margin: 0; }
.contacts .role { display: block; color: var(--yellow-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.contacts .name { font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
.contacts a { overflow-wrap: anywhere; word-break: normal; }

.downloads { list-style: none; padding: 0; margin: 0 0 32px; }
.downloads li { border-bottom: 1px solid var(--line); }
.downloads a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.downloads a span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.downloads a:hover { color: var(--yellow-dark); }

/* ---------- Hinweisband & Fußbereich ---------- */
.notice { background: #fff4d6; border-bottom: 1px solid #f0dca0; color: var(--ink); font-size: 15px; }
.notice .wrap { padding-top: 10px; padding-bottom: 10px; }
.cta { background: var(--yellow-strong); color: #fff; text-align: center; padding: 56px 0; }
.cta h2 { color: #fff; font-weight: 700; margin-bottom: .3em; }
.cta p { margin: 0 auto; max-width: 640px; font-weight: 700; }
.cta .btn { background: #fff; color: var(--ink); margin-top: 20px; }
.cta .btn:hover { background: var(--ink); color: #fff; }
.site-footer { background: var(--ink); color: #c9cad2; padding: 48px 0 28px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 130px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow-strong); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: .06em; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Fokus sichtbar für Tastatur */
a:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Info-Fenster (ohne JavaScript, per Sprungmarke #warnung) ---------- */
.notice a { color: var(--ink); font-weight: 700; }
.modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 16px; }
.modal:target { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(41,44,61,.6); }
.modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 640px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 34px; box-shadow: 0 30px 60px rgba(0,0,0,.35); border-top: 6px solid var(--yellow-strong); }
.modal-box h2 { font-weight: 700; font-size: 1.6rem; }
.modal-box h3 { font-size: 1.05rem; font-weight: 700; margin: 1.2em 0 .4em; }
.modal-box ul { padding-left: 1.2em; margin: 0 0 .8em; }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 30px; line-height: 1; text-decoration: none; color: var(--muted); }
.modal-close:hover { color: var(--ink); }
@media (max-width: 560px) { .modal-box { padding: 24px 22px; } }
