:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5b6575;
  --soft: #f6f8f4;
  --paper: #ffffff;
  --line: #dfe5dc;
  --green: #0f8a5f;
  --green-dark: #0a6044;
  --coral: #ef6a4d;
  --yellow: #f4c84a;
  --blue: #2767ad;
  --shadow: 0 20px 60px rgba(24, 33, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(24, 33, 47, 0.09);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 24px rgba(15, 138, 95, 0.22);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #2f3b4c;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #edf3ea;
  outline: none;
}

.site-nav .nav-cta {
  background: var(--ink);
  color: white;
  padding-inline: 18px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  background: #223a32;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 24, 22, 0.82) 0%, rgba(12, 24, 22, 0.55) 47%, rgba(12, 24, 22, 0.18) 100%);
  z-index: 1;
}

.hero--home {
  background-image: url("/images/jugendweihe/68454b1ae8169_1749371674.jpg");
  background-size: cover;
  background-position: center 36%;
}

.hero--compact {
  min-height: 360px;
  background: linear-gradient(135deg, #123d32, #2a6f88);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #f9e28c;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 138, 95, 0.18);
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.button.light {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.coral {
  background: var(--coral);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section .eyebrow {
  color: var(--green-dark);
}

.section.alt {
  background: white;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head h2,
.content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid rgba(24, 33, 47, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 33, 47, 0.07);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card-media {
  aspect-ratio: 16 / 10;
  background: #dfe8dd;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.2;
}

.card p,
.content p,
.content li {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf3ea;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe8dd;
}

.image-frame img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: 0 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: white;
  padding: 22px;
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  color: var(--green-dark);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  border-left: 5px solid var(--coral);
  background: white;
  padding: 20px 22px;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 33, 47, 0.07);
}

.notice.green {
  border-color: var(--green);
}

.calendar-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calendar-panel header {
  background: var(--ink);
  color: white;
  padding: 18px;
  text-align: center;
  font-weight: 900;
}

.calendar-panel .day {
  padding: 30px 24px 18px;
  text-align: center;
}

.calendar-panel .weekday {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-panel .number {
  display: block;
  font-size: clamp(5rem, 13vw, 8rem);
  line-height: 0.95;
  color: var(--green-dark);
  font-weight: 900;
}

.calendar-panel .month {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
}

.capacity-ticker {
  margin-top: 22px;
}

.capacity-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
}

.capacity-bar {
  position: relative;
  height: 12px;
  margin: 14px 0 10px;
  background: #e7ece6;
  border-radius: 999px;
  overflow: hidden;
}

.capacity-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  border-radius: 999px;
}

.capacity-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ced7cc;
  border-radius: var(--radius);
  background: white;
  padding: 13px 14px;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.checkbox input {
  margin-top: 5px;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-message.success {
  display: block;
  background: #e8f6ee;
  color: var(--green-dark);
}

.form-message.error {
  display: block;
  background: #fdecea;
  color: #9f321f;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  background: var(--ink);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe8dd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
  font-weight: 900;
}

.content {
  max-width: 900px;
}

.content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  margin: 0 0 18px;
}

.content h2 {
  margin-top: 42px;
}

.content h3 {
  margin: 28px 0 8px;
  font-size: 1.3rem;
}

.content ul {
  padding-left: 22px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  background: white;
  border: 1px solid rgba(24, 33, 47, 0.09);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 12px 36px rgba(24, 33, 47, 0.06);
}

.legal-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-card h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: #152019;
  color: white;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .split,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 190px;
  }

  .hero {
    min-height: 600px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(12, 24, 22, 0.34) 0%, rgba(12, 24, 22, 0.88) 100%);
  }

  .hero .container {
    padding-bottom: 48px;
  }

  .form-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-body,
  .stat {
    padding: 20px;
  }
}
