/* Freie Fahrtenschaft Tír na nÓc e.V. – Vereinsseite
   Farben und Schriften orientieren sich an der bisherigen WordPress-Seite (Blocksy-Palette, Bellota). */

@font-face { font-family: "Bellota Text"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/bellota-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bellota Text"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bellota-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bellota"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/bellota-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bellota"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bellota-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #2c3e50;
  --ink-2: #415161;
  --ink-deep: #1d2a37;
  --green: #34c182;
  --green-d: #1a7f53;
  --green-dd: #136841;
  --moss: #5a957b;
  --paper: #ffffff;
  --paper-2: #f8f9fb;
  --paper-3: #edeff2;
  --line: #e2e7ed;
  --err: #b3261e;
  --ok: #1a7f53;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(29, 42, 55, .10);
  --font-body: "Bellota Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bellota", "Bellota Text", system-ui, sans-serif;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-underline-offset: 3px; }
a:hover { color: var(--green-dd); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: .5rem 1rem; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand img { width: 44px; height: 44px; }
.brand small { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; padding: .4rem 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--green); color: var(--ink); }
.nav .nav-cta { background: var(--green-d); color: #fff; padding: .45rem 1rem; border-radius: 999px; border-bottom: 0; }
.nav .nav-cta:hover { background: var(--green-dd); color: #fff; }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 8px; font: inherit; font-family: var(--font-head); font-weight: 700; padding: .35rem .8rem; cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink-deep) url("../img/zelte.jpg") center 60% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 42, 55, .55) 0%, rgba(29, 42, 55, .82) 100%); z-index: -1; }
.hero .wrap { padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 10vw, 120px); text-align: center; }
.hero-logo { width: clamp(150px, 21vw, 230px); height: auto; margin: 0 auto 1.4rem; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .55)); }
.hero h1 { margin: 0 auto; max-width: 760px; }
.hero h1 img { width: min(680px, 100%); margin-inline: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)); }
.hero p.lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); max-width: 640px; margin: 1.5rem auto 2rem; color: #e9eef3; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--ink-deep); }
.btn-primary:hover { background: #4ad396; color: var(--ink-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-solid { background: var(--green-d); color: #fff; }
.btn-solid:hover { background: var(--green-dd); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.alt { background: var(--paper-2); }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--green-d); margin-bottom: .6rem; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 2rem; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.facts strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; }
.band { position: relative; color: #fff; text-align: center; background: var(--ink-deep) url("../img/strand.jpg") center 72% / cover no-repeat; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(29, 42, 55, .66); z-index: -1; }
.band blockquote { margin: 0 auto; max-width: 760px; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; }
.band cite { display: block; margin-top: 1rem; font-style: normal; font-size: 1rem; color: #cfe9dd; letter-spacing: .04em; }

/* Veranstaltungen */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.event { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 2px 10px rgba(29, 42, 55, .05); }
.event.closed { border-top-color: var(--line); opacity: .75; }
.event h3 { margin-bottom: .3rem; }
.event .meta { font-size: .98rem; color: var(--ink-2); margin: 0 0 .6rem; }
.event .deadline { display: inline-block; font-size: .88rem; font-weight: 700; background: #e7f6ee; color: var(--green-dd); padding: .15rem .7rem; border-radius: 999px; }
.event.closed .deadline { background: var(--paper-3); color: var(--ink-2); }
.empty { padding: 1.4rem; background: #fff; border: 1px dashed var(--moss); border-radius: var(--radius); margin-top: 1.4rem; }

/* Formular */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: clamp(1.3rem, 3vw, 2.2rem); margin-top: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; padding: 0; }
.field .hint { font-size: .88rem; color: var(--ink-2); }
input[type=text], input[type=tel], select {
  font: inherit; font-size: 1.05rem; color: var(--ink); width: 100%;
  padding: .7rem .85rem; border: 2px solid var(--line); border-radius: 8px; background: #fff; min-height: 48px;
}
input:focus, select:focus { border-color: var(--green-d); outline: none; box-shadow: 0 0 0 3px rgba(52, 193, 130, .3); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--err); }
fieldset.field { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radios label { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 400; font-size: 1.02rem; border: 2px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; min-height: 44px; }
.radios label:has(input:checked) { border-color: var(--green-d); background: #e7f6ee; color: var(--green-dd); }
.radios input { accent-color: var(--green-d); width: 1.1rem; height: 1.1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; margin: .4rem 0 1.2rem; }
.check input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--green-d); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 8px; font-weight: 700; }
.status[hidden] { display: none; }
.status.ok { background: #e7f6ee; color: var(--green-dd); border: 1px solid #b6e3cd; }
.status.err { background: #fdecea; color: var(--err); border: 1px solid #f5c6c2; }

/* Mitmachen / Downloads / Kontakt */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.card h3 { font-size: 1.2rem; }
.dl-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: .8rem; }
.dl-list a { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.dl-list a:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(29, 42, 55, .08); }
.dl-list .ico { flex: none; width: 38px; height: 38px; border-radius: 8px; background: #e7f6ee; color: var(--green-dd); display: grid; place-items: center; font-family: var(--font-head); font-size: .8rem; }
.dl-list small { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }

/* Footer */
.site-footer { background: var(--ink); color: #d5dde5; padding: 40px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer img { width: 80px; height: auto; }
.site-footer small { display: block; margin-top: 1.6rem; color: #a9b6c3; }
.foot-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.4em; }
mark.todo { background: #fff2b3; color: #5c4600; padding: 0 .3em; border-radius: 4px; }

/* Mobil */
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1rem; display: none; box-shadow: 0 14px 24px rgba(29, 42, 55, .1); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--paper-3); }
  .nav .nav-cta { text-align: center; margin-top: .6rem; border-radius: 10px; }
  .two-col { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
