:root {
  --green: #1c6f47;
  --green-dark: #10482d;
  --green-soft: #edf6f0;
  --gold: #d7b15b;
  --cream: #f7f3e8;
  --white: #fff;
  --ink: #18231d;
  --muted: #647267;
  --shadow: 0 24px 70px rgba(23, 33, 27, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(215, 177, 91, 0.2),
      transparent 28rem
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(247, 243, 232, 0.95)
    ),
    url("bilder/site-bg.jpg");
  background-size: auto, auto, cover;
  background-attachment: fixed;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
a:focus-visible,
label:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  background: var(--green);
  color: #fff;
}
.topbar {
  width: min(100% - 32px, var(--content));
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 18px;
  position: relative;
  isolation: isolate;
}
.topbar::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -65px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: url("bilder/SG_Wappen.jpg") center/cover no-repeat;
  opacity: 0.07;
  z-index: -1;
}


.hero {
  min-height: clamp(360px, 48vh, 520px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(28, 111, 71, 0.12),
      rgba(10, 22, 15, 0.74)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}
.hero-content {
  position: relative;
  width: min(100% - 32px, 940px);
  text-align: center;
  padding: 40px 20px;
}
.eyebrow,
.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 900;
}
.hero h1 {
  margin-top: 8px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}
.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff2c9;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--gold);
  color: #2c2208;
  box-shadow: 0 14px 34px rgba(215, 177, 91, 0.28);
}
.button.whatsapp {
  background: #1f8f54;
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 143, 84, 0.25);
}
.button.ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

main {
  padding: 56px 0 80px;
}
.section {
  width: min(100% - 32px, var(--content));
  margin: 56px auto 0;
}
.intro-grid {
  margin-top: -90px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 20px;
}
.info-card,
.contact-card,
.rule-card,
.regulation-panel,
details,
.route-content {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 111, 71, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.info-card,
.contact-card {
  padding: clamp(24px, 4vw, 42px);
}
.info-card h2,
.section-heading h2,
.route-content h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.info-card p:last-child,
.section-text,
.route-content p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
}
.contact-card h2 {
  font-size: 1.6rem;
}
.contact-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.contact-list a {
  padding: 16px;
  border-radius: 18px;
  background: var(--green-soft);
  border: 1px solid rgba(28, 111, 71, 0.1);
  display: grid;
  gap: 2px;
}
.contact-list span {
  color: var(--muted);
  font-weight: 800;
}
.contact-list strong {
  color: var(--green);
  font-size: 1.25rem;
}
.section-heading {
  margin-bottom: 22px;
  max-width: 900px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rule-card {
  padding: 24px;
  border-radius: var(--radius-md);
}
.rule-card span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.rule-card h3 {
  margin-top: 10px;
  font-size: 1.35rem;
}
.rule-card p {
  margin-top: 8px;
  color: var(--muted);
}
.regulations {
  position: relative;
  isolation: isolate;
}
.regulations::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("bilder/SG_Wappen.jpg") center 70px/650px no-repeat;
  opacity: 0.035;
  z-index: -1;
  pointer-events: none;
}
.regulation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.regulation-panel {
  padding: 26px;
  border-radius: var(--radius-md);
}
.regulation-panel h3 {
  font-size: 1.55rem;
  color: var(--green);
  margin-bottom: 14px;
}
.regulation-panel ul {
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
  color: #39443d;
}
.route-content {
  padding: clamp(22px, 4vw, 38px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
}
.route-facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.route-facts div {
  background: var(--green-soft);
  border: 1px solid rgba(28, 111, 71, 0.1);
  border-radius: 18px;
  padding: 14px;
}
.route-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}
.route-facts strong {
  display: block;
  color: var(--green);
  margin-top: 2px;
}
.route-button {
  margin-top: 22px;
}
.map-card {
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(23, 33, 27, 0.16);
  border: 1px solid rgba(28, 111, 71, 0.12);
}
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
details {
  padding: 20px 22px;
  border-radius: var(--radius-md);
}
summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--green);
}
details p {
  margin-top: 12px;
  color: var(--muted);
}
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 42px 0;
  margin-top: 70px;
}
.footer-inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner p {
  color: rgba(255, 255, 255, 0.76);
}
.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 800;
}

@media (max-width: 940px) {
  .topbar {
    min-height: 88px;
    grid-template-columns: 88px 1fr 56px;
  }
  .crest-link {
    width: 72px;
    height: 72px;
  }
  .header-social {
    display: none;
  }
  .nav-toggle-label {
    justify-self: end;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
  }
  .nav-toggle-label span {
    width: 22px;
    height: 2px;
    display: block;
    background: #fff;
    border-radius: 2px;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    color: var(--green);
    padding: 14px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 10;
  }
  .nav-links a {
    color: var(--green);
    padding: 13px 14px;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  .intro-grid,
  .card-grid,
  .regulation-grid,
  .route-content,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .map-card {
    height: 380px;
  }
}
@media (max-width: 560px) {
  body {
    background-attachment: scroll;
  }
  .hero {
    min-height: 470px;
  }
  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .route-facts {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

.mail-fallback {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.mail-fallback a {
  color: #fff2c9;
  text-decoration: underline;
}

/* Finaler Festumzug-Hero */
.festumzug-hero {
  position: relative;
  min-height: clamp(430px, 62vh, 680px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.5)),
    url("bilder/festumzug-hero.jpg") center / cover no-repeat;
}

.festumzug-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(28, 111, 71, 0.05),
      rgba(9, 20, 14, 0.38)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.festumzug-hero__content {
  position: relative;
  width: min(100% - 32px, 900px);
  padding: 60px 20px;
}

.festumzug-kicker {
  color: #d7b15b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.festumzug-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0;
}

.festumzug-lead {
  max-width: 780px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.festumzug-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.festumzug-actions .button,
.festumzug-actions a.button {
  min-height: 50px;
  padding: 0 23px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
  transition: 0.18s ease;
}

.festumzug-actions .button:hover {
  transform: translateY(-2px);
}

.festumzug-actions .button-primary {
  background: #1c6f47;
  color: #fff;
  box-shadow: 0 14px 34px rgba(28, 111, 71, 0.24);
}

.festumzug-actions .button-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

@media (max-width: 540px) {
  .festumzug-hero {
    min-height: 500px;
  }

  .festumzug-actions {
    flex-direction: column;
  }

  .festumzug-actions .button,
  .festumzug-actions a.button {
    width: 100%;
  }
}
