/* Fussball Freizeiten – im Stil von lubill.de: Platzlinien, Rasen, Glas-Menü */
:root {
  --turf: #1d5a3a; --turf-d: #134029; --turf-l: #2b7a50;
  --sea: #1b5d7e; --sea-d: #123f58;
  --red: #d42027; --ball: #d6e43a;
  --line: #fff; --ln: rgba(255,255,255,.55);
  --paper: #f6f4ee; --card: #fff; --ink: #14201a; --muted: #56635b; --rule: #dfe3dc;
  --head: "Avenir Next Condensed","Bahnschrift","Roboto Condensed","Arial Narrow","Liberation Sans Narrow",system-ui,sans-serif;
  --body: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0d1f15; --card: #14291d; --ink: #e9f0ea; --muted: #a6b5ab; --rule: #284235; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--turf-l); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #8fd8a8; } }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ball); color: #101a14; padding: 8px 14px; border-radius: 8px; z-index: 70; }
.skip:focus { left: 8px; }
.nowrap { white-space: nowrap; }

/* ---------- Glas-Menü (wie lubill.de) ---------- */
.menu-btn { position: fixed; z-index: 60; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.65); background: rgba(19,64,41,.45); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6);
  cursor: pointer; padding: 0; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .2s, background .2s; }
.menu-btn:hover { transform: scale(1.06); background: rgba(29,90,58,.6); }
.menu-btn .bars { position: relative; width: 22px; height: 16px; display: block; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.menu-btn .bars i:nth-child(1) { top: 0; } .menu-btn .bars i:nth-child(2) { top: 6.75px; } .menu-btn .bars i:nth-child(3) { top: 13.5px; }
.menu-open .menu-btn .bars i:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars i:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .25s; }
.menu-open .scrim { opacity: 1; }
.drawer { position: fixed; z-index: 50; top: 12px; right: 12px; bottom: 12px; width: min(360px, 100vw - 24px); border-radius: 28px; padding: 84px 18px 18px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; color: #fff;
  background: rgba(19,64,41,.62); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  border: 1.5px solid rgba(255,255,255,.45); box-shadow: 0 18px 50px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.55);
  transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; }
.menu-open .drawer { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.mainnav { display: grid; gap: 10px; }
.mainnav a { display: block; padding: 16px 20px; border-radius: 18px; font: 800 28px/1.05 var(--head); letter-spacing: .02em; text-decoration: none; color: #fff;
  background: rgba(29,110,66,.5); border: 1.5px solid rgba(160,255,200,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); transition: background .2s, transform .2s; }
.mainnav a:hover { background: rgba(40,150,90,.65); transform: translateX(-3px); }
.mainnav a[aria-current] { background: rgba(70,190,120,.7); border-color: rgba(214,228,58,.9); }
.subnav { display: flex; gap: 20px; font-size: 14px; padding: 16px 8px 0; }
.subnav a { color: #fff; opacity: .9; }
.menu-open { overflow: hidden; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .drawer { background: rgba(16,26,20,.94); } .menu-btn { background: rgba(16,26,20,.75); } }

/* ---------- Hero (Startseite): Spielfeld ---------- */
.hero { position: relative; background: var(--turf); color: #fff; overflow: hidden; isolation: isolate;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 80px, transparent 80px 160px); }
.pitch { position: absolute; inset: 26px; border: 3px solid var(--ln); z-index: -1; pointer-events: none; }
.pitch i { position: absolute; display: block; border: 3px solid var(--ln); }
.pitch .half { left: 50%; top: -3px; bottom: -3px; width: 0; border-width: 0 0 0 3px; }
.pitch .circle { left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; }
.pitch .spot { left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ln); border: 0; }
.pitch .box { top: 26%; bottom: 26%; width: 12%; }
.pitch .box.l { left: -3px; border-left: 0; } .pitch .box.r { right: -3px; border-right: 0; }
.hero-in { max-width: 1160px; margin: 0 auto; padding: clamp(116px, 15vh, 140px) clamp(40px, 6vw, 80px) clamp(64px, 10vh, 100px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.org { margin: 0 0 6px; font: 700 clamp(16px, 1.6vw, 20px)/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.hero h1 { margin: 0; font: 800 clamp(48px, 7.4vw, 104px)/.92 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.hero h1 .yr { color: var(--ball); }
.hero-sub { margin: 18px 0 26px; font-size: clamp(16px, 1.4vw, 19px); max-width: 34ch; opacity: .95; }
.go { display: inline-flex; align-items: center; gap: 10px; border: 3px solid #fff; padding: 10px 20px; font: 700 17px/1 var(--body); border-radius: 999px; color: #fff; text-decoration: none; transition: background .15s, color .15s; }
.go::after { content: "→"; }
.hero .go:hover { background: #fff; color: var(--turf-d); }
.hero-photo { margin: 0; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.logo-plate { position: absolute; left: clamp(40px, 6vw, 80px); top: 40px; background: #fff; border-radius: 12px; padding: 6px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.logo-plate img { height: 38px; width: auto; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.band { position: relative; background: var(--turf); color: #fff; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 22px 22px -3px; border: 3px solid var(--ln); border-bottom: 0; z-index: -1; }
.band::after { content: ""; position: absolute; left: 50%; bottom: -90px; width: 180px; height: 180px; margin-left: -90px; border: 3px solid var(--ln); border-radius: 50%; z-index: -1; }
.band-in { max-width: 860px; margin: 0 auto; padding: 72px 28px 56px; }
.band-home { color: #fff; opacity: .85; font: 700 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.band-home:hover { opacity: 1; text-decoration: underline; }
.band h1 { margin: 10px 0 0; font: 800 clamp(34px, 5.5vw, 62px)/1 var(--head); letter-spacing: .01em; }

/* ---------- Inhalt ---------- */
main { max-width: 860px; margin: 0 auto; padding: 0 16px 64px; }
.hero + main { max-width: 1160px; }
.hinweis { margin: 24px auto 0; max-width: 860px; background: #fff4d6; color: #5a3b00; border: 2px solid #e8b93a; border-radius: 16px; padding: 14px 18px; font-weight: 600; }
.card { background: var(--card); border-radius: 22px; padding: clamp(22px, 4vw, 44px); margin-top: -28px; position: relative; box-shadow: 0 1px 0 var(--rule), 0 12px 32px rgba(10,30,20,.08); }
.hero + main .card { max-width: 860px; margin: 32px auto 0; }
.hinweis + .card { margin-top: 24px; }
.prose h2, .prose h3, .prose h4 { font-family: var(--head); line-height: 1.1; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 30px; font-weight: 800; }
.prose h3 { font-size: 26px; font-weight: 800; padding-top: 10px; border-top: 3px solid var(--turf); display: inline-block; }
.prose h4 { font-size: 21px; font-weight: 700; color: var(--turf); }
@media (prefers-color-scheme: dark) { .prose h4 { color: #8fd8a8; } .prose h3 { border-color: #8fd8a8; } }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose .lead { font-size: 20px; }
.toc { background: var(--paper); border-radius: 16px; padding: 16px 22px; margin: 0 0 28px; }
.toc h4 { margin: 0 0 6px !important; color: var(--ink) !important; }
.toc ul { margin: 0; padding-left: 20px; columns: 2 260px; font-size: 15.5px; }
.btn, .prose a.btn { display: inline-block; background: var(--turf); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 17px; }
.btn:hover { background: var(--turf-l); }
.btn.big { font-size: 19px; padding: 15px 30px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.person { margin: 20px 0 0; display: inline-block; text-align: center; }
.person img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 4px solid var(--turf); }
.person figcaption { margin-top: 8px; font: 700 18px var(--head); }
.entwurf { background: #fff4d6; color: #5a3b00; padding: 10px 14px; border-radius: 12px; }

/* ---------- Angebots-Kacheln (wie die zwei Platzhälften auf lubill.de) ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; margin-top: -40px; position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px rgba(10,30,20,.18); }
.offer { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px clamp(26px, 4vw, 48px) 36px; color: #fff; text-decoration: none; isolation: isolate; min-height: 290px; justify-content: flex-end; transition: filter .25s; }
.offer.sea { background: var(--sea); }
.offer.turf { background: var(--turf-d); }
.offer::before { content: ""; position: absolute; inset: 18px; border: 3px solid var(--ln); z-index: -1; border-radius: 4px; }
.offer.sea::before { border-right: 0; inset: 18px 0 18px 18px; }
.offer.turf::before { border-left: 0; inset: 18px 18px 18px 0; }
.offers::after { content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; border-left: 4px dotted #fff; margin-left: -2px; }
.offer-kicker { font: 700 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.offer h2 { margin: 0; font: 800 clamp(30px, 3.6vw, 46px)/.95 var(--head); }
.offer p { margin: 0; max-width: 36ch; font-size: 15.5px; line-height: 1.45; opacity: .95; }
.offer .go { align-self: flex-start; margin-top: 8px; font-size: 15px; padding: 8px 16px; }
.offer.sea:hover .go { background: #fff; color: var(--sea-d); }
.offer.turf:hover .go { background: #fff; color: var(--turf-d); }
.offers:has(.sea:hover) .turf, .offers:has(.turf:hover) .sea { filter: brightness(.82); }

/* ---------- Galerie ---------- */
.gallery { margin: 40px auto 0; max-width: 1160px; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; margin: 0 4px 12px; }
.gallery h2 { margin: 0; font: 800 34px/1 var(--head); }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav button, .lightbox button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--turf); background: var(--card); color: var(--turf); font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-nav button:hover { background: var(--turf); color: #fff; }
.track { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 520px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.slide { scroll-snap-align: start; }
.slide-btn { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.slide-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.slide-btn:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5,15,10,.9); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 88vh; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }

/* ---------- Formular ---------- */
.form fieldset { border: 0; padding: 0; margin: 30px 0 0; }
.form legend { font: 800 24px/1 var(--head); padding: 0 0 12px; width: 100%; border-bottom: 3px solid var(--turf); margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); width: 100%; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--turf-l); outline: 3px solid rgba(43,122,80,.25); outline-offset: 0; }
.field.bad input, .field.bad select, .check.bad { border-color: var(--red) !important; }
.check.bad { outline: 2px solid var(--red); border-radius: 10px; }
.angebote { display: grid; gap: 10px; }
.angebot { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--rule); border-radius: 16px; cursor: pointer; background: var(--paper); }
.angebot:has(input:checked) { border-color: var(--turf-l); background: color-mix(in srgb, var(--turf-l) 10%, var(--paper)); }
.angebot.voll { opacity: .6; cursor: not-allowed; }
.angebot input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--turf); }
.a-body { display: flex; flex-direction: column; gap: 6px; }
.a-body b { font: 800 22px/1.1 var(--head); }
.a-body small { color: var(--muted); font-size: 14px; }
.plaetze { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.plaetze .bar { width: 120px; height: 8px; border-radius: 4px; background: var(--rule); overflow: hidden; }
.plaetze .bar i { display: block; height: 100%; background: var(--turf-l); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; font-size: 15.5px; line-height: 1.5; cursor: pointer; padding: 4px; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--turf); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.msg { margin: 0; font-weight: 600; }
.msg.err { color: var(--red); }
.leer { color: var(--muted); }
.ok-box { text-align: center; padding: 20px 0; }
.ok-box .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--turf); color: #fff; display: grid; place-items: center; font-size: 40px; margin: 0 auto 16px; }
.ok-box h2 { font: 800 34px/1 var(--head); margin: 0 0 12px; }

/* ---------- Fuß ---------- */
.foot { background: var(--turf-d); color: #fff; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #fff; opacity: .85; } .foot a:hover { opacity: 1; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .pitch { inset: 14px; } .pitch .box { display: none; } .pitch .circle { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .hero-in { grid-template-columns: 1fr; padding: 96px 30px 72px; }
  .hero-photo { transform: none; }
  .logo-plate { left: 30px; top: 28px; } .logo-plate img { height: 30px; }
  .offers { grid-template-columns: 1fr; border-radius: 22px; }
  .offers::after { left: 18px; right: 18px; top: 50%; bottom: auto; border-left: 0; border-top: 4px dotted #fff; margin: -2px 0 0; }
  .offer.sea::before { inset: 18px 18px 0 18px; border-right: 3px solid var(--ln); border-bottom: 0; }
  .offer.turf::before { inset: 0 18px 18px 18px; border-left: 3px solid var(--ln); border-top: 0; }
  .offer { min-height: 250px; }
  .band::before { inset: 14px 14px -3px; }
  .band-in { padding: 70px 22px 44px; }
  .grid { grid-template-columns: 1fr; }
  .grid > span:empty { display: none; }
  .card { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .menu-btn, .drawer, .scrim, .gallery, .foot { display: none; } .band, .hero { background: none; color: #000; } }
