/* ==========================================================
   SPORTVEREIN – zentrale Design-Datei
   Farben und Schriftgrößen hier zentral anpassen.
   ========================================================== */
:root {
  --farbe-primaer: #187344;
  --farbe-primaer-dunkel: #105333;
  --farbe-akzent: #c7e7d3;
  --farbe-text: #1f2c24;
  --farbe-text-hell: #5c6c61;
  --farbe-hintergrund: #ffffff;
  --farbe-flaeche: #f2f8f4;
  --farbe-linie: #dce9df;
  --radius-karten: 18px;
  --radius-button: 999px;
  --schatten: 0 12px 34px rgba(25, 44, 75, .08);
  --breite-inhalt: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--farbe-text); background: var(--farbe-hintergrund); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--farbe-primaer); text-decoration: none; }
a:hover { color: var(--farbe-primaer-dunkel); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--breite-inhalt), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 1000; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(225,231,239,.85); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--farbe-text); flex-shrink: 0; }
.brand:hover { color: var(--farbe-text); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--farbe-primaer); color: white; font-weight: 850; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 1.03rem; }
.brand small { margin-top: 4px; font-size: .68rem; color: var(--farbe-text-hell); }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.main-nav > a:not(.button) { color: #3d4858; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.main-nav > a[aria-current="page"] { color: var(--farbe-primaer); }
.menu-toggle { display: none; border: 1px solid var(--farbe-linie); border-radius: 10px; padding: 9px 13px; color: var(--farbe-text); background: white; font: inherit; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 12px 21px; border: 1px solid var(--farbe-primaer); border-radius: var(--radius-button); background: var(--farbe-primaer); color: white; font: inherit; font-size: .94rem; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--farbe-primaer-dunkel); color: white; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21,87,166,.2); }
.button-small { min-height: 40px; padding: 9px 16px; font-size: .84rem; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.65); color: white; }
.button-ghost:hover { background: white; color: var(--farbe-primaer); }
.button-light { background: white; color: var(--farbe-primaer); border-color: white; }
.button-light:hover { background: #eef4fc; color: var(--farbe-primaer-dunkel); }
.button-outline { color: var(--farbe-primaer); background: white; }
.button-outline:hover { color: white; }
.hero { min-height: 590px; display: flex; align-items: center; position: relative; isolation: isolate; color: white; background: linear-gradient(105deg, rgba(9,28,52,.88), rgba(9,28,52,.46)), url("../bilder/hero-sportplatz.jpg") center 45%/cover, #263f5b; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,20,39,.24), transparent 65%); }
.hero-content { padding-block: 90px; }
.eyebrow { margin: 0 0 12px; color: var(--farbe-primaer); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--farbe-akzent); }
h1, h2, h3 { margin-top: 0; line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.35rem); font-weight: 850; }
h1 span { color: #cbe9d5; }
h2 { margin-bottom: 17px; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 820; }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
p { margin-top: 0; }
.hero-copy { max-width: 650px; margin-bottom: 30px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero { padding: 82px 0 75px; background: radial-gradient(circle at 80% 10%, #e0f0e5 0, transparent 35%), linear-gradient(120deg, #f4f7fb, #fff); }
.page-hero h1 { font-size: clamp(2.65rem, 5.6vw, 4.6rem); color: var(--farbe-text); }
.page-hero h1 span { color: var(--farbe-primaer); }
.page-hero p:not(.eyebrow) { max-width: 740px; color: var(--farbe-text-hell); font-size: 1.08rem; }
.section { padding: 86px 0; }
.section-tint { background: var(--farbe-flaeche); }
.section-heading { max-width: 740px; margin: 0 auto 42px; text-align: center; }
.section-heading > p:last-child { color: var(--farbe-text-hell); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .content-card { overflow: hidden; border: 1px solid var(--farbe-linie); border-radius: var(--radius-karten); background: white; box-shadow: var(--schatten); }
.feature-card { display: block; padding: 27px; color: var(--farbe-text); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { color: var(--farbe-text); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,44,75,.12); }
.feature-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 25px; border-radius: 14px; background: #e7f4eb; color: var(--farbe-primaer); font-size: 1.7rem; font-weight: 700; }
.feature-card p, .content-card p { color: var(--farbe-text-hell); }
.text-link { display: inline-block; margin-top: 6px; font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 90px); }
.split > div > p:not(.eyebrow) { color: var(--farbe-text-hell); }
.split-reverse { grid-template-columns: 1.05fr .95fr; }
.sport-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sport-pills a { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--farbe-linie); border-radius: 12px; background: white; color: var(--farbe-text); font-weight: 750; }
.sport-pills a:hover { border-color: var(--farbe-primaer); color: var(--farbe-primaer); }
.image-placeholder { display: grid; place-items: center; min-height: 330px; padding: 20px; border-radius: var(--radius-karten); color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 750; letter-spacing: .03em; text-align: center; background: linear-gradient(135deg, #344e6b, #8da4bb); }
.image-events { min-height: 400px; background: linear-gradient(135deg, rgba(27,42,61,.3), rgba(27,42,61,.05)), url("../bilder/veranstaltungsraum.jpg") center/cover, #71869c; }
.image-bowling { background: linear-gradient(135deg, #24384f, #9a7d5e); }
.room-one { background: linear-gradient(135deg, #334e68, #a8b6c4), url("../bilder/raum-festsaal.jpg") center/cover; }
.room-two { background: linear-gradient(135deg, #6e5b4b, #c8b7a0), url("../bilder/raum-clubraum.jpg") center/cover; }
.room-three { background: linear-gradient(135deg, #4d4a45, #b2a28a), url("../bilder/raum-kaminzimmer.jpg") center/cover; }
.stay-single { background: linear-gradient(135deg, #435b73, #b3c3d0), url("../bilder/einzelzimmer.jpg") center/cover; }
.stay-double { background: linear-gradient(135deg, #415a4c, #b5c4b5), url("../bilder/doppelzimmer.jpg") center/cover; }
.stay-multi { background: linear-gradient(135deg, #526578, #b3c2cf), url("../bilder/mehrbettzimmer.jpg") center/cover; }
.stay-maisonette { background: linear-gradient(135deg, #685444, #c8b59e), url("../bilder/maisonette-1.jpg") center/cover; }
.stay-maisonette-two { background: linear-gradient(135deg, #5b4c43, #c4ae9c), url("../bilder/maisonette-2.jpg") center/cover; }
.cta-band { padding: 60px 0; color: white; background: var(--farbe-primaer-dunkel); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-content h2 { margin-bottom: 10px; }
.cta-content p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.78); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-body { padding: 26px; }
.card-body h2, .content-card h2 { font-size: 1.55rem; }
.card-number { display: grid; place-items: center; width: 42px; height: 42px; margin: 26px 26px 14px; border-radius: 13px; background: #e7f4eb; color: var(--farbe-primaer); font-weight: 850; }
.sport-card { padding-bottom: 26px; scroll-margin-top: 100px; }
.sport-card h2, .sport-card p, .sport-card .text-link { margin-left: 26px; margin-right: 26px; }
.sport-card p { min-height: 78px; }
.check-list { display: grid; gap: 8px; margin: 20px 0 24px; padding: 0; list-style: none; color: var(--farbe-text-hell); }
.check-list li { position: relative; padding-left: 25px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--farbe-primaer); font-weight: 900; }
.price { margin: 20px 0; color: var(--farbe-primaer) !important; font-weight: 850; }
.stay-grid { grid-template-columns: repeat(3, 1fr); }
.stay-grid .image-placeholder, .card-grid > .content-card > .image-placeholder { min-height: 220px; border-radius: 0; }
.form-card { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--farbe-linie); border-radius: var(--radius-karten); background: white; box-shadow: var(--schatten); }
.form-card h2 { margin-bottom: 0; font-size: 1.8rem; }
.form-card label { display: grid; gap: 7px; color: #354154; font-size: .9rem; font-weight: 750; }
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cfd8e4; border-radius: 10px; background: white; color: var(--farbe-text); font: inherit; font-weight: 450; }
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 3px solid rgba(21,87,166,.15); border-color: var(--farbe-primaer); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .consent { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; font-weight: 500; }
.consent input { margin-top: 5px; accent-color: var(--farbe-primaer); }
.form-status { margin: 0; color: var(--farbe-primaer); font-size: .9rem; }
.small-note { color: var(--farbe-text-hell); font-size: .84rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 45px; }
.contact-panel { padding: 20px 0; }
.contact-item { display: grid; gap: 4px; padding: 17px 0; border-bottom: 1px solid var(--farbe-linie); }
.contact-item span, .contact-item a { color: var(--farbe-text-hell); }
.map-placeholder { display: grid; place-items: center; min-height: 180px; margin-top: 22px; padding: 24px; border-radius: 14px; background: var(--farbe-flaeche); color: var(--farbe-text-hell); text-align: center; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 34px; font-size: 1.5rem; }
.notice { padding: 17px 20px; border-left: 4px solid var(--farbe-akzent); background: #fff8e9; color: #5c4824; }
.site-footer { padding-top: 55px; color: #dce5f0; background: #111f31; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 40px; }
.brand-footer { color: white; }
.brand-footer:hover { color: white; }
.brand-footer small { color: #aab8ca; }
.footer-note { max-width: 300px; margin-top: 20px; color: #aab8ca; font-size: .9rem; }
.site-footer h3 { margin-bottom: 15px; color: white; font-size: 1rem; letter-spacing: 0; }
.site-footer .footer-grid > div:not(:first-child) a { display: block; margin: 9px 0; color: #b9c7d8; font-size: .9rem; }
.site-footer a:hover { color: white !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); color: #9eafc3; font-size: .78rem; }
@media (max-width: 1050px) {
  .main-nav { gap: 12px; }
  .main-nav > a:not(.button) { font-size: .8rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 18px 20px 22px; flex-direction: column; align-items: stretch; gap: 4px; background: white; border-bottom: 1px solid var(--farbe-linie); box-shadow: 0 15px 24px rgba(25,44,75,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 10px 4px; font-size: .95rem; }
  .main-nav .button { margin-top: 8px; }
  .hero { min-height: 540px; }
  .section { padding: 64px 0; }
  .split, .split-reverse, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .card-grid, .stay-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { width: min(var(--breite-inhalt), calc(100% - 28px)); }
  .brand small { max-width: 190px; font-size: .61rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: 560px; }
  .hero-content { padding-block: 70px; }
  .button-row { align-items: stretch; flex-direction: column; max-width: 310px; }
  .page-hero { padding: 62px 0 55px; }
  .feature-grid, .card-grid, .stay-grid, .sport-pills, .form-row { grid-template-columns: 1fr; }
  .feature-card { padding: 23px; }
  .cta-content { align-items: flex-start; flex-direction: column; }
  .image-placeholder { min-height: 250px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Vereinslogo der Sportgemeinschaft Weißig */
.brand-logo {
  display: block;
  width: 46px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
@media (max-width: 560px) {
  .brand-logo {
    width: 38px;
    height: 44px;
  }
}

/* Anfahrt und ÖPNV */
.map-panel { min-height: 0; display: block; text-align: left; color: var(--farbe-text); background: linear-gradient(135deg, #e8f4eb, #f6faf7); }
.map-panel h3 { margin: 8px 0 12px; }
.map-panel p { color: var(--farbe-text-hell); }
.map-pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--farbe-primaer); color: #fff; font-size: 1.8rem; }
.map-actions { margin-top: 16px; }
.map-actions .button { font-size: .85rem; }
.transit-info { margin-top: 22px; padding: 24px; border: 1px solid var(--farbe-linie); border-radius: var(--radius-karten); background: white; }
.transit-info h3 { margin-bottom: 14px; }
.transit-info p { color: var(--farbe-text-hell); }
@media (max-width: 560px) { .map-actions { flex-direction: column; } .map-actions .button { width: 100%; } }


/* Sportarten: illustrative Beispielhintergründe für die einzelnen Abteilungen */
.sport-card-image {
  height: 175px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.sport-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 35, 24, .02), rgba(13, 35, 24, .28));
}
.bild-fussball { background-image: url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=900&q=80'); }
.bild-leichtathletik { background-image: url('https://images.unsplash.com/photo-1533561052604-c3beb6d55b8d?auto=format&fit=crop&w=900&q=80'); }
.bild-tennis { background-image: url('https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?auto=format&fit=crop&w=900&q=80'); }
.bild-fitness { background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=900&q=80'); }
.bild-fanfarenzug { background-image: url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=900&q=80'); }
.bild-gymnastik { background-image: url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=900&q=80'); }
.bild-kegeln { background-image: url('https://images.unsplash.com/photo-1511192336575-5a79af67a629?auto=format&fit=crop&w=900&q=80'); }
@media (max-width: 620px) { .sport-card-image { height: 155px; } }

/* Formular-Sicherheit: unsichtbares Honeypot-Feld */
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin-top: 1rem; }
button[disabled] { opacity: .65; cursor: wait; }
