
/* ===== style.css – volles Design (kopiere komplett in style.css) ===== */

body { font-family: 'Inter', system-ui, Arial; margin:0; color:#222; background:#fff; }

/* Header */
.header {
  background: #0b5a2b;
  color: #fff;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .brand { display:flex; align-items:center; gap:12px; }
.header img.logo { height:80px; width:auto; }
.header h1 { font-size:20px; margin:0; font-weight:700; color:#fff; }

/* Hamburger für Mobile */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.hamburger span { width:25px; height:3px; background:#fff; border-radius:2px; }

/* Navigation */
.nav ul { list-style:none; margin:0; padding:0; display:flex; gap:24px; }
.nav li { position:relative; }
.nav > ul > li > a {
  color:#fff; text-decoration:none; font-weight:600; padding:8px 12px; border-radius:8px;
  transition: all 0.3s ease;
}
.nav > ul > li > a:hover { background:#126030; color:#FFCC00; }

/* Dropdown */
.nav li ul {
  display:none;
  position:absolute;
  top:100%; left:0;
  background:#126030;
  padding:12px 0;
  border-radius:8px;
  min-width:180px;
  box-shadow:0 8px 20px rgba(0,0,0,0.2);
}
.nav li:hover ul { display:block; }
.nav li ul li a {
  display:block; padding:10px 18px;
  color:#fff; text-decoration:none; font-weight:500;
  transition:all 0.3s ease;
}
.nav li ul li a:hover { background:#FFCC00; color:#111; }

/* Hero */
.hero { 
  background-image:url('bilder/background.jpg');
  background-size:cover;
  background-position:center 60%;
  background-repeat:no-repeat;
  color:#fff;
  text-align:center;
  padding:64px 20px;
}
.hero h2 { font-size:36px; margin:0 0 10px; }
.hero p { font-size:16px; margin:0 0 18px; opacity:0.95; }
.hero .btn {
  display:inline-block;
  background:#FFCC00;
  color:#111;
  padding:12px 22px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
}

/* Königspaare */
.koenigspaare-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.koenigspaar-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 900px;
}

.koenigspaar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.koenigspaar-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-right: 1px solid #ddd;
}
.koenigspaar-card div {
  padding: 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.koenigspaar-card h4 {
  margin: 0 0 8px;
  color: #126030;
  font-size: 22px;
}
.koenigspaar-card p {
  margin: 0;
  color: #FFCC00;
  font-size: 18px;
  font-weight: 700;
}

/* Kinderkönigspaare */
.kinderkinderkoenigspaare-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.kinderkoenigspaar-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 900px;
}

.kinderkoenigspaar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.kinderkoenigspaar-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-right: 1px solid #ddd;
}

.kinderkoenigspaar-card div {
  padding: 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.kinderkoenigspaar-card h4 {
  margin: 0 0 8px;
  color: #126030;
  font-size: 22px;
}

.kinderkoenigspaar-card p {
  margin: 0;
  color: #FFCC00;
  font-size: 18px;
  font-weight: 700;
}

/* Responsive für Kinderkönigspaare */
@media (max-width: 720px){
  .kinderkoenigspaar-card {
    flex-direction: column;
  }
  .kinderkoenigspaar-card img {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .kinderkoenigspaar-card div {
    padding: 15px;
  }
}

/* Königspaare mobile Ansicht wie Kinderkönigspaare */
@media (max-width: 720px){
  .koenigspaar-card {
    flex-direction: column;
  }
  .koenigspaar-card img {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .koenigspaar-card div {
    padding: 15px;
    text-align: center;
  }
}

/* Vorstand Begrüßung */
.vorstand-begruessung {
  max-width:1060px; 
  margin:30px auto; 
  padding:20px;
  background:#f3f4f6; 
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vorstand-begruessung:hover {
  transform: translateY(-5px);
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.vorstand-begruessung h3 { 
  text-align:center; 
  margin-bottom:12px; 
  color:#126030; 
}

.vorstand-begruessung p { 
  text-align:center; 
  font-size:16px; 
  line-height:1.6; 
  color:#222; 
}

/* Infos – angepasst wie Kontakt-Card Styling */
.container {
  max-width: 1100px;
  margin: 28px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  justify-items: center;
  align-items: stretch; /* gleiche Höhe aller Cards */
}

.container .card {
  background-color: #f9f9f9; /* wie Kontakt-Card */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.container .card img {
  width: 100%;
  max-width: 250px;
  display: block;
  margin: 0 auto;
}

.container .card h4 {
  margin: 18.72px 0 15px;
  color: #0b5a2b;
  font-size: 18.72px;
  font-weight: 700;
}
.container .card p {
  margin: 8px 0;
  color: #333;
}

.container .card a.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0b5a2b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.container .card a.btn:hover {
  background-color: #094022;
}

/* ===== Kontaktformular Card ===== */
.card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.card form label {
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}

.card form input,
.card form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

.card form textarea {
  resize: vertical;
}

.card form button {
  padding: 12px;
  background-color: #0b5a2b;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.card form a.btn:hover {
  background-color: #094022;
}

.card form button:hover {
  background-color: #094422;
}

/* Kontakt Card Styling */
.kontakt-card {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 25px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.kontakt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.kontakt-card h3 {
  color: #0b5a2b;
  margin-bottom: 15px;
}

.kontakt-card p {
  margin: 8px 0;
  color: #333;
}

.kontakt-card a.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0b5a2b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.kontakt-card a.btn:hover {
  background-color: #094022;
}

/* Coverflow Slider responsive – noch kleiner */
.slider {
  max-width: 80%;
  margin: 30px auto;
  position: relative;
  perspective: 1200px;
  overflow: hidden;
}

.slides {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 0;
  padding-top: 50%;
}

.slide {
  max-width: 50%;
  width: auto;
  height: auto;
  max-height: 60vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) scale(0.7) rotateY(0deg);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide.active { opacity:1; transform: translate(-50%, -50%) scale(1) rotateY(0deg); z-index:3; box-shadow:0 15px 40px rgba(0,0,0,0.5); }
.slide.prev { opacity:0.5; transform: translate(calc(-50% - 340px), -50%) scale(0.8) rotateY(30deg); z-index:2; filter: brightness(0.6); }
.slide.next { opacity:0.5; transform: translate(calc(-50% + 340px), -50%) scale(0.8) rotateY(-30deg); z-index:2; filter: brightness(0.6); }

/* Navigation Pfeile */
.slider button.prev,
.slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width:50px; height:50px;
  border-radius:50%;
  background: rgba(0,0,0,0.4);
  color:#fff;
  border:none;
  font-size:28px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  transition: background 0.3s ease;
}
.slider button.prev:hover,
.slider button.next:hover { background: rgba(0,0,0,0.7); }
.slider button.prev { left:10px; }
.slider button.next { right:10px; }

/* Termine & Countdown */
.termin-card { text-align:center; padding:200px; border-radius:16px; box-shadow:0 6px 18px rgba(0,0,0,0.1); background:#f5f5f5; max-width:500px; margin:0 auto; }
.termin-card ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.termin-card ul li { background:#fff; padding:12px 16px; border-radius:10px; transition:all 0.3s; cursor:pointer; }
.termin-card ul li:hover { background:#FFCC00; color:#111; transform:translateY(-2px); }

/* Countdown */
.countdown {
  margin-top:20px;
  background:#126030;
  color:#fff;
  padding:20px;
  border-radius:12px;
  text-align:center;
}
.countdown h5 {
  margin:0 0 15px;
  font-weight:600;
  font-size:18px;
}

#countdown {
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

#countdown .time {
  background: #fff;
  color: #126030;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  padding: 0;
}

#countdown .time span {
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
}

#countdown .time small {
  font-size: 12px;
  margin-top: 2px;
  line-height: 1;
  opacity: 0.7;
}

/* Mitglied werden */
.beitritt { background:#f3f4f6; padding:36px 18px; text-align:center; border-radius:12px; margin:30px 18px; }
.download-btn {
  display:inline-block; background:#FFCC00; color:#111;
  padding:10px 20px; border-radius:6px;
  font-weight:600; text-decoration:none;
  transition:background 0.3s ease;
}
.download-btn:hover { background:#0b5a2b; color:#fff; }

/* Footer */
.footer { background:#0b5a2b; color:#fff; padding:24px 18px; margin-top:30px; }
.footer .cols { display:flex; gap:18px; flex-wrap:wrap; max-width:1100px; margin:0 auto; }
.footer .col { flex:1 1 220px; }
.footer .social a { color:#fff; margin:0 10px; font-size:24px; transition:color 0.3s; }
.footer .social a:hover { color:#FFCC00; }

/* Responsive – Header/Hero */
@media (max-width: 720px){
  .hero h2 { font-size:26px; }
  .header { padding:12px; }
  .header h1 { font-size:16px; }
  .header img.logo { height:44px; max-height:44px; }
  .hamburger { display:flex; }
}

/* ===== Mobile Footer genau wie im Screenshot ===== */
@media (max-width: 720px){
  .footer { padding: 24px 0; margin-top: 20px; }
  .footer .cols {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-inline: 18px;
  }
  .footer .col { flex: none; }
  .footer h4 { margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
  .footer p { margin: 0; line-height: 1.55; font-size: 0.95rem; }
  .footer .social { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
  .footer .social i { font-size: 20px; }
  .footer .col a {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 6px;
    color: #fff;
    text-decoration: underline;
    font-size: 0.95rem;
  }
}

/* Hauptmenü mobile Ansicht / weitere mobile Regeln */

@media (max-width: 720px){
  /* Die originale .nav komplett verstecken, da wir sie ins Offcanvas klonen */
  .nav { display: none !important; }
  }

  .slide { max-width:90%; max-height:50vh; width:auto; height:auto; }
  #pdf-container { height: 90vh; }

  /* Countdown Anpassung für Handys */
  #countdown { gap:8px; flex-wrap:wrap; }
  #countdown .time { width:60px; height:60px; }
  #countdown .time span { font-size:16px; }
  #countdown .time small { font-size:10px; }
}

/* Wrapper für 2-spaltiges Layout */
.termine-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 28px auto;
  padding: 0 18px;
}

/* Card-Styling */
.termine-wrapper .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.termine-wrapper .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Titelfarbe modernisieren */
.termine-wrapper .card h4 {
  color: #0b5a2b;
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #0b5a2b;
  display: inline-block;
  padding-bottom: 5px;
}

/* Listen im Card-Stil */
.termine-wrapper .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.termine-wrapper .card ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: #333;
  transition: background 0.2s ease;
}

/* Hover auf Listeneinträgen */
.termine-wrapper .card ul li:hover {
  background: rgba(11, 90, 43, 0.05);
  border-radius: 8px;
  padding-left: 10px;
}

/* Letztes Listenelement ohne Border */
.termine-wrapper .card ul li:last-child {
  border-bottom: none;
}

/* Responsive: unter 720px einspaltig */
@media (max-width: 720px) {
  .termine-wrapper { grid-template-columns: 1fr; }
}

/* Schützenpost */
.container-schützenpost {
  display: flex;
  gap: 28px;
  max-width: 1100px;
  margin: 28px auto;
  padding: 0 18px;
  flex-wrap: wrap;
}

.aktuelle-schützenpost {
  flex: 2;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 25px;
}

.aktuelle-schützenpost h4,
.archiv-schützenpost h4 {
  color: #0b5a2b;
}

.archiv-schützenpost {
  flex: 1;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 25px;
}

.archiv-liste {
  max-height: 800px;
  overflow-y: auto;
}

.archiv-liste ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archiv-liste li {
  margin-bottom: 12px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s;
}

.archiv-liste li:hover {
  background: #FFCC00;
}

.archiv-liste a {
  text-decoration: none;
  color: #0b5a2b;
  font-weight: 500;
}

/* Accordion Container (für :focus-within) */
.archiv-accordion { outline: none; }

/* Jahr-Sektion (Kartenstil) */
.archiv-jahr {
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  overflow: hidden;
  position: relative;
}

/* Radio unauffällig */
.jahr-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Jahr-Zeile */
.archiv-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  color: #0b5a2b;
  user-select: none;
  background: #fff;
  transition: background .2s ease;
}

/* Fokus-Stil */
.archiv-summary:focus {
  outline: 2px solid #0b5a2b33;
  outline-offset: 2px;
}

/* Chevron */
.jahr-chevron::before {
  content: "\f078";
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free",sans-serif;
  font-weight: 900;
  display: inline-block;
  transition: transform .25s ease;
  color: #0b5a2b;
}

/* Panel nur per Klick (Radio-Check) öffnen */
.archiv-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  background: #fff;
  border-top: 1px solid #eee;
}

/* Panel sichtbar wenn gecheckt */
.jahr-toggle:checked ~ .archiv-panel {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
}

/* Chevron drehen nur wenn offen */
.jahr-toggle:checked + .archiv-summary .jahr-chevron::before {
  transform: rotate(180deg);
}

/* Automatisch einklappen beim Verlassen via Fokus */
.archiv-accordion:not(:focus-within) .archiv-panel {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-6px) !important;
}
.archiv-accordion:not(:focus-within) .jahr-toggle:checked + .archiv-summary .jahr-chevron::before {
  transform: rotate(0deg) !important;
}

/* Monatskarten */
.archiv-monate {
  list-style: none;
  padding: 12px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) {
  .archiv-monate { grid-template-columns: 1fr 1fr; }
}

.archiv-monat-item { margin: 0; }

.archiv-monat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8faf8;
  border: 1px solid #e6eee6;
  border-radius: 8px;
  text-decoration: none;
  color: #0b5a2b;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .15s ease, transform .15s ease;
}

.archiv-monat-link:focus {
  border-color: #0b5a2b66;
  box-shadow: 0 0 0 3px rgba(11,90,43,0.2);
  transform: translateY(-1px);
  outline: none;
}

.monat-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0b5a2b;
  flex: 0 0 10px;
  box-shadow: 0 0 0 2px rgba(11,90,43,0.15);
}

.jahr-text { line-height: 1.2; }

/* Responsive für Handys */
@media (max-width: 720px) {
  .container-schützenpost { flex-direction: column; }
  .aktuelle-schützenpost,
  .archiv-schützenpost { flex: 1 1 100%; }
  .archiv-liste { max-height: 300px; }
}

/* Fixes für responsives PDF im Flex-Layout */
.container-schützenpost {
  overflow-x: hidden;
  align-items: stretch;
}
.aktuelle-schützenpost,
.archiv-schützenpost { min-width: 0; }

.aktuelle-schützenpost iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  max-width: 100vw;
  border: none;
  height: 80vh;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .archiv-liste { max-height: none; }
  .aktuelle-schützenpost iframe { height: 60vh; }
}

/* Global: robuste Breitenberechnung */
html, body { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Kalender-Section */
.calendar-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.calendar-section h3 {
  margin-bottom: 20px;
  color: #0b5a2b;
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 2px solid #0b5a2b;
  display: inline-block;
  padding-bottom: 5px;
}

.calendar-wrapper { overflow-x: auto; }

.calendar {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}

.calendar th, .calendar td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-radius: 8px;
}

.calendar th {
  background-color: #0b5a2b;
  color: #fff;
  font-weight: 600;
}

.calendar td {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.calendar td:hover {
  background: #FFCC00;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.calendar td.inactive {
  background-color: #f3f4f6;
  color: #aaa;
  cursor: default;
  box-shadow: none;
}

.calendar caption {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0b5a2b;
}

/* Kalender Navigation */
.calendar-nav {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  z-index: 10;
}

.calendar-nav button {
  pointer-events: all;
  background: #0b5a2b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.calendar-nav button:hover {
  background: #094022;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

@media (max-width: 720px){
  .calendar-nav button {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

/* ===== Datenschutz Vorstand Tabelle ===== */
.datenschutz-vorstand-table {
  margin: 0.5em auto 1em auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.datenschutz-vorstand-table td {
  padding: 6px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
}

.datenschutz-vorstand-table td:first-child {
  font-weight: bold;
  color: #0b5a2b;
  text-align: center;
}

.datenschutz-vorstand-table td:last-child {
  text-align: center;
}

@media (max-width: 768px) {
  .datenschutz-vorstand-table { width: 100%; max-width: 100%; }
  .datenschutz-vorstand-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: none;
  }
  .datenschutz-vorstand-table tr { border-bottom: 1px solid #ddd; }
  .datenschutz-vorstand-table td:last-child { text-align: left; }
}

/* ===== Rechte Tabelle ===== */
.rechte-table {
  margin: 30px auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
}

.rechte-table td {
  padding: 6px 12px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.rechte-table td:first-child {
  font-weight: bold;
  color: #0b5a2b;
  text-align: right;
  white-space: normal;
  position: relative;
  padding-left: 20px;
}

.rechte-table td:first-child::before {
  content: "–";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #0b5a2b;
}

.rechte-table td:last-child { text-align: left; }

@media (max-width: 768px) {
  .rechte-table { width: 100%; max-width: 100%; font-size: 14px; }
  .rechte-table td { display: table-cell; width: auto; padding: 8px 10px; }
  .rechte-table tr { border-bottom: 1px solid #ddd; }
  .rechte-table td:first-child {
    text-align: left;
    padding-left: 28px;
  }
  .rechte-table td:first-child::before {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Vorstand – klassische Tabellen (optional) */
.vorstand-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.vorstand-table th, .vorstand-table td {
  border: 1px solid #ddd; padding: 10px; text-align: left; vertical-align: middle;
}
.vorstand-table th { background-color: #0b5a2b; color: #fff; }
.vorstand-table .vorstand-bild {
  width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
}

/* Breiter Container nur für die Vorstand-Seite */
.container.vorstand-container,
.vorstand-seiteninhalt {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container.vorstand-container { max-width: 1280px !important; }

/* Kategorien & Überschriften */
.vorstand-sektion { margin: 34px 0; }
.sektion-titel {
  font-size: 1.9rem;
  color: #0b5a2b;
  margin: 0 0 14px;
  position: relative;
  display: inline-block;
}
.sektion-titel::after {
  content: "";
  display: block;
  height: 3px;
  width: 60%;
  background: #0b5a2b;
  border-radius: 2px;
  opacity: 0.25;
  margin-top: 6px;
}

/* GRID: Kartenraster */
.vorstand-grid {
  display: grid !important;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
@media (min-width: 900px) {
  .vorstand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .vorstand-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Einzelkarte */
.vorstand-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
  overflow: hidden;
  height: 100%;
}
.vorstand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }

.vorstand-bild {
  width: 96px; height: 96px; object-fit: cover; border-radius: 50%;
  border: 3px solid #0b5a2b; flex-shrink: 0; margin-bottom: 6px;
}

.vorstand-card-body {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 22rem; min-width: 0;
}

.vorstand-card h3, .vorstand-card h4, .vorstand-card p { margin: 0; line-height: 1.45; }

.vorstand-amt, .vorstand-name, .vorstand-kontakt {
  overflow-wrap: anywhere; word-break: break-word; hyphens: auto;
}
.vorstand-amt { font-size: 1.06rem; font-weight: 700; color: #0b5a2b; margin-bottom: 6px; }
.vorstand-name { font-size: 1rem; color: #222; margin-top: 2px; }
.vorstand-kontakt { font-size: .95rem; color: #555; margin-top: 8px; }
.vorstand-kontakt a { color: #0b5a2b; text-decoration: underline; word-break: break-all; }

@media (max-width: 560px) {
  .vorstand-bild { width: 88px; height: 88px; }
  .vorstand-card { padding: 16px; }
  .vorstand-card-body { max-width: 24rem; }
}

/* Variante sehr breite Screens */
@media (min-width: 1400px) {
  .vorstand-card.v-horizontal {
    flex-direction: row; align-items: center; text-align: left; gap: 16px;
  }
  .vorstand-card.v-horizontal .vorstand-bild {
    margin: 0 12px 0 0; width: 88px; height: 88px;
  }
  .vorstand-card.v-horizontal .vorstand-card-body {
    align-items: flex-start; max-width: 28rem;
  }
}

/* Flex-Fallback */
@supports not (display: grid) {
  .vorstand-grid { display: flex !important; flex-wrap: wrap; gap: 18px; }
  .vorstand-card { flex: 1 1 220px; }
}

/* Archiv Accordion (weitere Variante) */
.year-list { list-style: none; padding: 0; margin: 0; }
.year-list li { 
  background: #f5f5f5;
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.year-list li:hover { background: #FFCC00; color: #111; }

.year-content {
  display: none;
  margin-top: 10px;
  padding-left: 15px;
}
.year-content ul { list-style: none; padding: 0; }
.year-content ul li {
  background: #fff;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: default;
  font-weight: 400;
}

.back-btn {
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #0b5a2b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-btn:hover { color: #FFCC00; }

.schuetzenchor-card {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 10px 30px 30px 30px; 
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.schuetzenchor-card h4 {
  color: #0b5a2b; font-size: 22px; margin-bottom: 12px;
}
.schuetzenchor-card p {
  color: #333; line-height: 1.5; font-size: 16px; margin-bottom: 1px;
}
.schuetzenchor-card img {
  width: 100%; max-width: 700px; height: auto; display: block;
  margin: 10px auto 0 auto; border-radius: 12px;
}
.schuetzenchor-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

@media (max-width: 768px) {
  .schuetzenchor-card { padding: 15px 20px 25px 20px; max-width: 95%; }
  .schuetzenchor-card h4 { font-size: 20px; }
  .schuetzenchor-card p { font-size: 15px; line-height: 1.4; }
  .schuetzenchor-card img { max-width: 100%; height: auto; }
}

.fletschengilde-card {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 20px 30px 30px 30px;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fletschengilde-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.fletschengilde-card h4 { color: #0b5a2b; font-size: 22px; margin-bottom: 12px; }
.fletschengilde-card p { color: #333; line-height: 1.5; font-size: 16px; margin-bottom: 8px; }
.fletschengilde-card img {
  width: 100%; max-width: 700px; height: auto; display: block;
  margin: 10px auto 0 auto; border-radius: 12px;
}

@media (max-width: 768px) {
  .fletschengilde-card { padding: 15px 20px 25px 20px; max-width: 95%; }
  .fletschengilde-card h4 { font-size: 20px; }
  .fletschengilde-card p { font-size: 15px; line-height: 1.4; }
  .fletschengilde-card img { max-width: 100%; height: auto; }
}

/* Chronik */
.chronik-container {
  display: flex; flex-direction: column; align-items: center;
  gap: 30px; max-width: 1200px; margin: 40px auto; padding: 0 20px;
}
.chronik-card {
  background-color: #f9f9f9; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 20px 30px 30px 30px; text-align: center; width: 100%; max-width: 900px;
  display: flex; flex-direction: column; gap: 12px; transition: transform 0.3s, box-shadow 0.3s;
}
.chronik-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.chronik-card h4 { color: #0b5a2b; font-size: 22px; margin-bottom: 12px; }
.chronik-card p { color: #333; line-height: 1.5; font-size: 16px; margin-bottom: 8px; }
.chronik-card img, .chronik-image {
  width: 100%; max-width: 700px; height: auto; display: block; margin: 10px auto 0 auto; border-radius: 12px;
}
@media (max-width: 768px) {
  .chronik-container { padding: 0 10px; }
  .chronik-card { padding: 15px 10px 20px 10px; max-width: 100%; }
  .chronik-card h4 { font-size: 20px; }
  .chronik-card p { font-size: 15px; line-height: 1.4; }
  .chronik-card img, .chronik-image { max-width: 100%; height: auto; }
}

/* Kompanie1 */
.kompanie-container {
  display: flex; justify-content: center; align-items: stretch; gap: 40px;
  max-width: 1200px; margin: 40px auto; padding: 30px;
  background: #f9f9f9; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.kompanie-container .kompanie-image { flex: 0 0 65%; }
.kompanie-container .kompanie-image img {
  width: 100%; height: 500px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.kompanie-container .kompanie-text {
  flex: 0 0 35%; display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.kompanie-container:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.kompanie-container .kompanie-text h2 { color: #0b5a2b; margin-bottom: 20px; text-align: center; }
.kompanie-container .kompanie-text p { margin: 12px 0; font-size: 1.05rem; line-height: 1.5; }
.kompanie-info { background: #eef7ef; border-left: 4px solid #0b5a2b; padding: 10px 15px; margin-top: 10px; color: #0b5a2b; }

@media (max-width: 900px) {
  .kompanie-container { flex-direction: column; padding: 20px; }
  .kompanie-container .kompanie-image img { height: auto; }
  .kompanie-container .kompanie-text { text-align: center; }
}

/* Kompanie2 */
.kompanie2-container {
  display: flex; justify-content: center; align-items: stretch; gap: 40px;
  max-width: 1200px; margin: 40px auto; padding: 30px;
  background: #f9f9f9; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.kompanie2-container .kompanie2-image { flex: 0 0 65%; }
.kompanie2-container .kompanie2-image img {
  width: 100%; height: 500px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.kompanie2-container .kompanie2-text {
  flex: 0 0 35%; display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.kompanie2-container:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.kompanie2-container .kompanie2-text h2 { color: #0b5a2b; margin-bottom: 20px; text-align: center; }
.kompanie2-container .kompanie2-text p { margin: 12px 0; font-size: 1.05rem; line-height: 1.5; }

@media (max-width: 900px) {
  .kompanie2-container { flex-direction: column; padding: 20px; }
  .kompanie2-container .kompanie2-image img { height: auto; }
  .kompanie2-container .kompanie2-text { text-align: center; }
}

.kompanie-text-extended {
  background: #f9f9f9; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 30px 40px; margin: 40px auto; max-width: 1200px; line-height: 1.7; font-size: 1.05rem; color: #222;
  transition: transform 0.3s ease;
}
.kompanie-text-extended:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.kompanie-text-extended h2 { text-align: center; color: #0b5a2b; margin-bottom: 20px; font-size: 1.6rem; }
.kompanie-text-extended .highlight {
  text-align: center; font-weight: bold; color: #0b5a2b; font-size: 1.2rem; margin-top: 20px;
}

.kompanie2-text-extended {
  background: #f9f9f9; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 30px 40px; margin: 40px auto; max-width: 1200px; line-height: 1.7; font-size: 1.05rem; color: #222;
  transition: transform 0.3s ease;
}
.kompanie2-text-extended:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.kompanie2-text-extended h2 { text-align: center; color: #0b5a2b; margin-bottom: 20px; font-size: 1.6rem; }
.kompanie2-text-extended .highlight {
  text-align: center; font-weight: bold; color: #0b5a2b; font-size: 1.2rem; margin-top: 20px;
}

.oberst-major-container {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  max-width: 1200px; margin: 1px auto; padding: 20px;
}
.oberst-card, .major-card {
  background: #f9f9f9; border-radius: 16px; padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  width: 300px; text-align: center; transition: transform 0.3s ease;
}
.oberst-card:hover, .major-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.card-img {
  width: 100%; height: 350px; object-fit: cover; border-radius: 12px; margin-bottom: 15px;
}
.oberst-major-info {
  background: #eef7ef; border-left: 4px solid #0b5a2b; padding: 10px 15px; margin-top: 10px; color: #0b5a2b;
}

@media (max-width: 900px) {
  .oberst-major-container { flex-direction: column; align-items: center; }
  .oberst-card, .major-card { width: 90%; }
}

/* Kalender-Markierungen */
td.calendar-day.event-day {
  background-color: #5cb85c; color: #fff; font-weight: 700; position: relative;
  border-radius: 8px; cursor: pointer;
}
td.calendar-day.event-day:hover { background-color: #4aa64a; }

.event-tooltip {
  display: none; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 110%; background: rgba(0,0,0,0.85); color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.9rem; white-space: nowrap; z-index: 40; box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.event-tooltip::after {
  content: "";
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border-width: 6px; border-style: solid; border-color: rgba(0,0,0,0.85) transparent transparent transparent;
}
td.calendar-day.event-day:hover .event-tooltip { display: block; }
td.calendar-day.inactive { cursor: default; }
.today { border: 2px solid #000; border-radius: 6px; box-sizing: border-box; }

/* Mehr anzeigen */
#kommende-termine-list li.hidden { display: none; }
#show-more-btn {
  cursor: pointer; color: #0b5a2b; text-align: center; margin-top: 8px; font-weight: bold;
}

/* Vorstand Container/Grid (weitere Definition) */
.vorstand-container { margin-top: 40px; }
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px; width: 100%; padding: 20px 0;
}
.vorstand-card {
  background: #fff; border-radius: 10px; padding: 25px; text-align: center; border: 1px solid #dcdcdc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s;
}
.vorstand-card:hover { transform: translateY(-5px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.vorstand-card img {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin-bottom: 15px; border: 3px solid #eee;
}
.vorstand-card h3 { font-size: 1.1rem; margin-bottom: 5px; color: #222; font-weight: 600; }
.vorstand-card h4 { font-size: 1rem; margin-bottom: 12px; color: #555; }
.vorstand-card .kontakt { font-size: 0.9rem; color: #444; }

/* Beitritt – Design-Variablen */
:root{
  --green:#0b5a2b;
  --green-ghost:#e8f3ec;
  --card:#ffffff;
  --muted:#64748b;
  --border:#d7dee8;
  --radius:16px;
  --shadow:0 12px 28px rgba(0,0,0,.10);
}

/* Container */
.container{ max-width:1100px; margin:0 auto; padding:24px 16px; }

/* Info-Strip unter Hero */
.info-strip{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 14px; background:#f7fbf7; border:1px solid var(--border);
  border-radius:12px;
}
.info-strip__list{ display:flex; gap:10px; flex-wrap:wrap; margin:0; padding:0; list-style:none; }
.badge{
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:#e8f3ec; color:#0b5a2b; border:1px solid #0b5a2b;
}
.info-strip a{
  display:inline-flex; align-items:center; gap:8px; background:var(--green);
  color:#fff; padding:8px 12px; border-radius:10px; text-decoration:none; font-weight:600;
}

/* Haupt-Card */
.card--main{
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  overflow:hidden; display:flex; flex-direction:column;
}

/* Buttons */
.btn{
  background:var(--green); color:#fff;
  padding:10px 16px; border:none; border-radius:10px;
  font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px;
  text-decoration:none;
}
.btn:hover{ opacity:.94; }
.btn--ghost{ background:var(--green-ghost); color:var(--green); border:1px solid var(--green); }
.btn--solid{ background:var(--green); color:#fff; }
.btn--disabled{ opacity:.55; cursor:not-allowed; }
.btn--full{ width:100%; justify-content:center; }

/* Wizard/Stepper */
.wizard__state{ display:none; }
.steps-wrap{ order:1; padding:16px 22px 10px; border-bottom:1px solid var(--border); }
.steps{ list-style:none; margin:0; padding:0; display:flex; gap:8px; flex-wrap:wrap; }
.step label{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px;
  background:#f3f7f4; color:#0f172a;
  font-weight:700; cursor:pointer; user-select:none;
}
.step__index{
  width:30px; height:30px; border-radius:50%;
  display:inline-grid; place-items:center;
  background:#dbe7df; color:#0b5a2b; font-weight:800;
}
.step__title{ font-size:0.98rem; line-height:1; white-space:nowrap; letter-spacing:0.2px; }

.progress{ position:relative; height:6px; border-radius:999px; background:#e6efe9; margin-top:12px; }
.progress__bar{ position:absolute; left:0; top:0; height:100%; width:33.33%; background:var(--green); border-radius:999px; }

#step1:checked ~ .steps-wrap .steps li:nth-child(1) label,
#step2:checked ~ .steps-wrap .steps li:nth-child(2) label,
#step3:checked ~ .steps-wrap .steps li:nth-child(3) label{ background:var(--green-ghost); }
#step1:checked ~ .steps-wrap .steps li:nth-child(1) .step__index,
#step2:checked ~ .steps-wrap .steps li:nth-child(2) .step__index,
#step3:checked ~ .steps-wrap .steps li:nth-child(3) .step__index{ background:#0b5a2b; color:#fff; }
#step1:checked ~ .steps-wrap .progress .progress__bar{ width:33.33%; }
#step2:checked ~ .steps-wrap .progress .progress__bar{ width:66.66%; }
#step3:checked ~ .steps-wrap .progress .progress__bar{ width:100%; }

.wizard__panels{ order:2; padding:18px 22px 24px; }
.panel{ display:none; }
#step1:checked ~ .wizard__panels .panel--1{ display:block; }
#step2:checked ~ .wizard__panels .panel--2{ display:block; }
#step3:checked ~ .wizard__panels .panel--3{ display:block; }

/* Formular */
.clean-form{ display:flex; flex-direction:column; gap:18px; }
.row{ display:grid; gap:12px; }
.row--2{ grid-template-columns:1fr 1fr; }
@media (max-width:740px){ .row--2{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-weight:600; color:#0f172a; }
input, select, textarea{
  width:100%; border:1px solid var(--border); padding:10px 12px; border-radius:8px; background:#fff;
}
textarea{ min-height:100px; }
.nav{ display:flex; gap:10px; justify-content:space-between; margin-top:6px; }

.msg{ display:none; color:#b91c1c; font-size:.88rem; }
input:required:invalid ~ .msg,
input[type="email"]:invalid ~ .msg,
input[pattern]:invalid ~ .msg{ display:inline; }

.panel-error{
  display:none; color:#b91c1c; background:#fee2e2;
  border:1px solid #fca5a5; padding:8px 12px; border-radius:8px;
}
.panel:has(:invalid) .panel-error{ display:block; }
.panel:has(:invalid) .next{ pointer-events:none; opacity:.55; }

/* Section-Karten */
.sect-card{
  border:2px solid #0b5a2b33; border-radius:12px; background:#fff; margin:14px 0; overflow:hidden;
}
.sect-card__head{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px;
  padding:16px 18px; border-bottom:1px solid var(--border);
}
.sect-card__head h3{ margin:0; color:#0b5a2b; font-weight:700; font-size:1.25rem; }
.sect-card__head .hint{ margin:0; color:#6b7280; font-size:.95rem; line-height:1.4; max-width:70ch; }
.sect-card__body{ padding:16px 18px; }

/* Step 2 – Optionen & SEPA */
.panel--2 .sect-card__body{
  padding:20px 18px 24px; display:flex; flex-direction:column; align-items:center; gap:14px;
}
.panel--2 .sect-card__body .checklist{
  width:100%; max-width:900px; display:flex; flex-direction:column; gap:14px; margin:0; padding:0; list-style:none;
}
.panel--2 .checkitem{
  display:grid; grid-template-columns:26px 1fr; align-items:flex-start; gap:12px;
  padding:14px 18px; background:#ffffff; border:1px solid #d3dfd7; border-radius:12px; box-shadow:0 2px 4px rgba(0,0,0,0.04);
}
.panel--2 .checkitem input[type="checkbox"]{ width:20px; height:20px; accent-color:var(--green); margin-top:2px; }
.panel--2 .checkitem label{ font-size:1rem; font-weight:600; color:#0f172a; cursor:pointer; }

.sepa-grid{
  width:100%; max-width:900px; display:grid; gap:12px; grid-template-columns:1fr 1fr;
  border:1px dashed #94a3b8; border-radius:10px; background:#fff; padding:14px;
}
.sepa-grid .field{ display:flex; flex-direction:column; gap:6px; }
.sepa-grid .field--full{ grid-column:1 / -1; }
@media (max-width:740px){ .sepa-grid{ grid-template-columns:1fr; } }

.checkitem--inline{ all:unset; }

/* Step 3 */
.panel--3 .sect-card__body{
  padding:20px 18px 24px; display:flex; flex-direction:column; align-items:center; gap:14px; box-sizing:border-box; overflow:visible;
}
.panel--3 .sect-card__body .checklist{
  width:100%; max-width:900px; display:flex; flex-direction:column; gap:14px; margin:0; padding:0; list-style:none;
}
.panel--3 .checkitem{
  display:grid; grid-template-columns:26px minmax(0,1fr); align-items:flex-start; gap:12px;
  padding:14px 18px; background:#ffffff; border:1px solid #d3dfd7; border-radius:12px; box-shadow:0 2px 4px rgba(0,0,0,0.04);
  box-sizing:border-box;
}
.panel--3 .checkitem input[type="checkbox"]{ width:20px; height:20px; accent-color:var(--green); margin-top:2px; }
.panel--3 .checkitem label{
  display:block; font-size:1rem; font-weight:600; color:#0f172a; cursor:pointer; line-height:1.45; overflow-wrap: anywhere;
}
.panel--3 .checkitem:focus-within{
  outline:2px solid #94d3a2; outline-offset:2px; border-color:#94d3a2;
}
.panel--3 .sect-card__body + .sect-card{ margin-top:12px; }

@media (max-width:740px){
  .panel--3, .panel--3 .sect-card, .panel--3 .sect-card__head, .panel--3 .sect-card__body{
    width:100%; max-width:100%; box-sizing:border-box; overflow:visible;
  }
  .panel--3 .sect-card__body{ align-items:stretch; padding-inline:12px; }
  .panel--3 .grid-2{
    width:100%; max-width:100%; display:grid; grid-template-columns:minmax(0,1fr); gap:12px;
  }
  .panel--3 .grid-2 .col{ grid-column:1 / -1; min-width:0; }
  .panel--3 .sect-card__body .checklist{ width:100%; max-width:100%; }
  .panel--3 .checkitem{ width:100%; grid-template-columns:26px minmax(0,1fr); }
}

/* Stepper–Mobile Optimiert */
@media (max-width: 640px){
  .steps-wrap{
    padding:12px 14px 8px;
    position: sticky;
    top: 56px;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .steps{ gap:6px; }
  .step label{
    padding:8px 10px;
    border-radius:999px;
    background:#f5f8f6;
    font-weight:700;
  }
}

/* Mindestalter-Bubble */
.field--dob { position: relative; }
.hint-bubble {
  display: none;
  position: absolute;
  top: -36px; left: 0;
  background: #f1f5f9; color: #0b5a2b; font-size: 0.82rem; border: 1px solid #0b5a2b55;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap; z-index: 20;
}
.field--dob:hover .hint-bubble,
.field--dob input:focus + .hint-bubble { display: block; }
.hint-bubble::after {
  content: ""; position: absolute; bottom: -6px; left: 10px; width: 10px; height: 10px;
  background: #f1f5f9; border-left: 1px solid #0b5a2b55; border-bottom: 1px solid #0b5a2b55; transform: rotate(45deg);
}

/* Seitenlayout: Footer an den Rand */
.footer{ margin-top:auto; }

/* Startseite – zwei Cards */
.cards-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:900px){ .cards-grid{ grid-template-columns:1fr; } }

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card--promo .card__head{
  padding:18px 20px;
  border-bottom:1px solid var(--border);
  text-align:center;
  background:#f8fbf9;
}
.card--promo h3{ margin:0; color:var(--green); font-size:1.22rem; font-weight:800; }
.card--promo .card__sub{ margin:8px 0 0; color:var(--muted); font-size:.95rem; line-height:1.45; }
.card--promo .card__body{ padding:18px 20px 20px; }
.card__divider{ border:0; height:1px; margin:16px 0 12px; background:linear-gradient(to right, transparent, #d7dee8, transparent); }
.card__list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; color:#0f172a; font-weight:600; }
.card__list--checks li{ position:relative; padding-left:22px; line-height:1.5; }
.card__list--checks li::before{ content:"✓"; position:absolute; left:0; top:0; color:var(--green); font-weight:800; line-height:1; }
.card--promo{ transition:box-shadow .18s ease, transform .18s ease; }
.card--promo:hover{ box-shadow:0 18px 38px rgba(0,0,0,.12); transform:translateY(-1px); }

/* CTA-Buttons – gelb */
:root{
  --accent-yellow:#f9c606;
  --accent-yellow-hover:#eab308;
  --accent-yellow-shadow:rgba(0,0,0,.12);
}
.cta-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 16px; font-weight:800; font-size:1rem; line-height:1;
  color:#111827; background:var(--accent-yellow); text-decoration:none;
  border-radius:10px; box-shadow:0 4px 10px var(--accent-yellow-shadow);
  transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  margin:0 auto; min-width:240px;
}
.cta-btn:hover{ background:var(--accent-yellow-hover); box-shadow:0 6px 14px rgba(0,0,0,.16); transform:translateY(-1px); }
.cta-btn:active{ transform:translateY(0); box-shadow:0 3px 8px rgba(0,0,0,.12); }
.cta-btn:focus-visible{ outline:3px solid #facc15; outline-offset:2px; }
@media print{ .cta-btn{ display:none; } }

/* Klick-Cursor für das Bild */
.gallery__thumb {
  cursor: zoom-in;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Lightbox / Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 2rem;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.lightbox.is-open { display: flex; }

.lightbox__image {
  max-width: min(96vw, 1600px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: zoom-out;
}

.lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  color: #e6e6e6;
  font-size: .9rem;
  text-align: center;
  max-width: 90vw;
  background: rgba(0,0,0,.35);
  padding: .4rem .8rem;
  border-radius: 6px;
}

/* Close-Button */
.lightbox__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: .25rem .5rem;
}

/* Pfeil-Navigation */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 0;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (hover:hover) {
  .lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.2); }
}


/* ===== Offcanvas-Container ===== */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.offcanvas.is-open {
  pointer-events: auto;
}

/* ===== Backdrop ===== */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
}

/* =========================
   NAVIGATION (DESKTOP)
   ========================= */

/* Hover nur auf die Desktop-Navigation anwenden */
.header > nav.nav li:hover > ul {
  display: block;
}

/* =========================
   OFFCANVAS (MOBILE)
   ========================= */

/* Container und Backdrop */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;            /* über Header */
  pointer-events: none;     /* bis geöffnet deaktiviert */
}
.offcanvas.is-open { pointer-events: auto; }

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;             /* unter Panel */
}

/* Panel (rechts) */
.offcanvas__panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80vw;
  max-width: 360px;
  background: #0b5a2b;      /* Vereinsgrün */
  color: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1001;            /* über Backdrop */
  pointer-events: auto;
}
.offcanvas.is-open .offcanvas__panel { transform: translateX(0); }

/* Close-Button */
.offcanvas__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background .2s ease, transform .12s ease;
  z-index: 2;
}
@media (hover: hover) {
  .offcanvas__close:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.04);
  }
}

/* =========================
   NAVIGATION IM OFFCANVAS
   ========================= */

/* Nur die Root-UL im Offcanvas sichtbar machen */
.offcanvas .nav--offcanvas > ul {
  display: block !important;
  list-style: none;
  margin: 0;
  padding: 20px 16px 40px;
}

/* UL-Reset */
.offcanvas .nav--offcanvas ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Top-Level Items */
.offcanvas .nav--offcanvas > ul > li {
  display: block;
  position: static;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Links */
.offcanvas .nav--offcanvas a {
  display: block;
  padding: 12px 8px;
  color: #fff;
  text-decoration: none;
}
.offcanvas .nav--offcanvas a:hover {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
}

/* Dropdowns im Offcanvas standardmäßig zu */
.offcanvas .nav--offcanvas .dropdown {
  display: none !important;
  position: static !important;
  top: auto; left: auto;
  min-width: unset;
  padding: 6px 0 8px 12px;
  background: rgba(255,255,255,0.06);
  box-shadow: none;
  border-radius: 6px;
  border-left: 2px solid rgba(255,255,255,0.14);
}

/* Aufklappen nur per .expanded – muss gewinnen */
.offcanvas .nav--offcanvas li.expanded > .dropdown,
.offcanvas .nav--offcanvas li.expanded:hover > .dropdown {
  display: block !important;
}

/* Hover-„Neutralisierung“ nur wenn NICHT expanded */
.offcanvas .nav--offcanvas li:not(.expanded):hover > .dropdown {
  display: none !important;
}

/* Trigger-Optik + großer Tap-Bereich + Chevron */
.offcanvas .nav--offcanvas .has-dropdown {
  position: relative;
  cursor: pointer;
  display: block;          /* größerer Tap-Bereich */
  padding: 12px 8px;       /* wie Link */
}
.offcanvas .nav--offcanvas li.expanded > .has-dropdown {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  outline: 1px solid rgba(255,255,255,0.15);
  outline-offset: 0;
}

/* Chevron */
.offcanvas .nav--offcanvas .has-dropdown::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  position: absolute; right: 12px; top: 50%;
  margin-top: -4px;
}
.offcanvas .nav--offcanvas li.expanded > .has-dropdown::after {
  transform: rotate(45deg);
}

/* Unterpunkte */
.offcanvas .nav--offcanvas li.expanded > .dropdown > li {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.offcanvas .nav--offcanvas li.expanded > .dropdown > li:last-child {
  border-bottom: none;
}

/* =========================
   MEDIA QUERIES
   ========================= */

/* Mobile: NUR die Desktop-Nav verstecken */
@media (max-width: 720px){
  .header > nav.nav { display: none !important; }
}

/* Desktop: Offcanvas ausblenden */
@media (min-width: 721px){
  .offcanvas,
  .offcanvas-backdrop { display: none !important; }
}
