/* =========================================
   FÖRDERVEREIN MARTIN-SCHULE LAICHINGEN
   Design: Warm Editorial — Playfair + Source Sans
   ========================================= */

:root {
  --primary:    #1A4FA0;
  --primary-dk: #0F3272;
  --primary-lt: #4A7FD4;
  --accent:     #FFCC00;
  --accent-dk:  #E0A800;
  --accent-lt:  #FFF3B0;
  --warm:       #3A6BC8;
  --bg:         #F8F9FC;
  --bg-light:   #EEF2FA;
  --text:       #18202E;
  --text-muted: #5A6478;
  --border:     #D4DBE8;
  --white:      #FFFFFF;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(26,79,160,0.10);
  --shadow-lg:  0 12px 48px rgba(26,79,160,0.15);
  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w:      1180px;
  --nav-h:      72px;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dk); text-decoration: underline; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 600; }

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: .9rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.section-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dk);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--bg-light); color: var(--primary-dk); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: .9rem 2rem; font-size: 1.1rem; }
.btn-nav { display: none; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 16px rgba(26,79,160,0.10);
  height: var(--nav-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.logo-emblem { width: 40px; height: 40px; color: var(--primary); }
.logo-emblem svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.logo-sub  { font-size: .72rem; color: var(--text-muted); font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav ul { display: flex; gap: .1rem; }
.main-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--bg-light);
  color: var(--primary);
  text-decoration: none;
}
.main-nav a.active {
  color: var(--primary);
  background: var(--bg-light);
  text-decoration: none;
  position: relative;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: .75rem;
  right: .75rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.btn-nav { display: inline-flex; margin-left: 1rem; font-size: .85rem; padding: .5rem 1.1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 202;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 65%, #2A5FBB 100%);
  color: var(--white);
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(255,204,0,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(74,127,212,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.hero-text { flex: 1; max-width: 620px; }
.hero-logo-wrap {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.btn-accent { background: var(--accent); color: var(--primary-dk); border-color: var(--accent); font-weight: 700; }
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: var(--primary-dk); }
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; padding: 1rem; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ACTIONS */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.action-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}
.action-date {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-dk);
  margin-bottom: .75rem;
}
.action-card h3 { margin-bottom: .75rem; }
.action-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.action-link { font-weight: 700; color: var(--primary); font-size: .95rem; }
.action-link:hover { text-decoration: underline; }

/* CTA SECTION */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--accent);
}
.cta-content h2 { color: var(--white); margin-bottom: 1rem; font-size: 2rem; }
.cta-content p { color: rgba(255,255,255,.8); max-width: 480px; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-deco { flex-shrink: 0; opacity: .4; width: 150px; }
.cta-deco svg { width: 100%; }

/* PAGE HERO */
.page-hero {
  background: var(--primary-dk);
  color: var(--white);
  padding: 4rem 0 3rem;
}
.page-hero .section-tag { background: var(--accent); color: var(--primary-dk); }
.page-hero h1 { color: var(--white); margin: .5rem 0 .75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 600px; margin: 0; }
.page-hero--green { background: linear-gradient(135deg, var(--primary-dk), var(--primary)); }
.page-hero--warm  { background: linear-gradient(135deg, #0C1E42, var(--primary)); }
.page-hero--sm { padding: 2.5rem 0; }

/* 2 COL LAYOUT */
.content-2col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.content-narrow { max-width: 740px; margin: 0 auto; }
.content-text h2 { margin-bottom: 1rem; }
.content-text h3 { margin: 1.5rem 0 .5rem; }

/* INFO CARD */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.info-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.info-card dl dt { font-weight: 700; font-size: .85rem; color: var(--text-muted); margin-top: .75rem; }
.info-card dl dd { margin: 0; }

/* STYLED LIST */
.styled-list { margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.styled-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
}
.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* TAX INFO */
.tax-info {
  background: #EBF1FB;
  border: 1px solid var(--primary-lt);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .95rem;
  color: var(--primary-dk);
  margin: 1.5rem 0;
}

/* DONATE CARD */
.donate-card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.donate-card h3 { margin-bottom: .5rem; }
.bank-details { margin-top: 1rem; }
.bank-details dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; margin-top: .75rem; }
.bank-details dd { margin: 0; }
.iban { font-family: monospace; font-size: 1.1rem; font-weight: 700; letter-spacing: .05em; }
.iban-note { font-family: var(--font-body); font-size: .8rem; color: var(--text-muted); font-weight: 400; }

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow .2s;
}
.project-card:hover { box-shadow: var(--shadow); }
.project-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.project-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.project-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: .75rem; }
.project-goal { font-weight: 700; color: var(--primary); font-size: .9rem; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.15), var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dk);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .8rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.pricing-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: .5rem; }
.pricing-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.pricing-amount span { font-size: 1rem; font-family: var(--font-body); color: var(--text-muted); font-weight: 400; }
.pricing-note { font-size: .85rem; color: var(--text-muted); margin: .25rem 0 1rem; }
.pricing-card ul { display: flex; flex-direction: column; gap: .5rem; }
.pricing-card li { padding-left: 1.3rem; position: relative; font-size: .95rem; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.benefit-item {
  display: flex;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.benefit-icon { font-size: 1.75rem; flex-shrink: 0; }
.benefit-item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.benefit-item p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.team-avatar {
  width: 64px;
  height: 64px;
  background: var(--accent-lt);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.team-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* PROGRESS */
.progress-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  margin-bottom: .6rem;
}
.progress-bar {
  background: var(--border);
  border-radius: 100px;
  height: 12px;
  overflow: hidden;
}
.progress-fill {
  background: linear-gradient(to right, var(--accent-dk), var(--accent));
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}
.progress-note { font-size: .85rem; color: var(--text-muted); margin: .6rem 0 0; }

/* AKTIONEN PAGE */
.aktion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.aktion-meta { display: flex; flex-direction: column; gap: .75rem; }
.aktion-status {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: 100px;
}
.status-aktiv  { background: #DBEAFE; color: #1E3A8A; }
.status-planung { background: #FEF9C3; color: #854D0E; }
.aktion-date { font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.aktion-content h2 { margin-bottom: .75rem; font-size: 1.6rem; }
.aktion-content p { color: var(--text-muted); margin-bottom: .75rem; }

/* FORMS */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.15);
}
.form-group textarea { resize: vertical; }
.checkbox-group { flex-direction: row; align-items: flex-start; gap: .75rem; }
.checkbox-group input[type="checkbox"] { width: auto; margin-top: .2rem; }
.checkbox-group label { font-size: .9rem; font-weight: 400; }

.form-area {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.form-download {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.download-icon { font-size: 2.5rem; flex-shrink: 0; }
.form-download strong { display: block; margin-bottom: .3rem; }
.form-download p { font-size: .9rem; color: var(--text-muted); margin-bottom: .75rem; }
.form-divider {
  text-align: center;
  position: relative;
  font-size: .85rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}
.form-divider::before, .form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }

/* ALERTS */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* FOOTER */
.site-footer {
  background: #0C1E42;
  color: rgba(255,255,255,.7);
  padding-top: 4rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; line-height: 1.6; }
.footer-logo { display: flex; align-items: center; gap: .75rem; color: var(--white); }
.footer-logo img { width: 48px; height: 48px; object-fit: contain; }
.footer-logo span { font-family: var(--font-display); font-size: 1rem; color: var(--white); font-weight: 700; }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .15s; }
.footer-nav a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: .85rem; line-height: 1.7; margin-bottom: .5rem; }
.footer-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.footer-contact a { color: var(--accent); }
.footer-contact strong { color: rgba(255,255,255,.8); }
.footer-cta p { font-size: .9rem; margin-bottom: 1rem; }
.footer-cta .btn { display: block; text-align: center; margin-bottom: .5rem; }
.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 1rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .15s; }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-2col { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-aside { max-width: 540px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: flex; }

  /* Mobile Nav Overlay */
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dk);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow-y: auto;
    z-index: 200;
  }
  .main-nav.open { display: flex; }

  /* Close button area at top */
  .main-nav::before {
    content: '';
    display: block;
    height: var(--nav-h);
    flex-shrink: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
  }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a {
    display: block;
    padding: 1rem .5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    border-radius: 0;
    background: transparent;
  }
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--accent);
    background: transparent;
    text-decoration: none;
  }
  .main-nav a.active::after { display: none; }

  /* CTA Button im Menü – nur wenn Menü offen */
  .main-nav.open .btn-nav {
    display: block;
    margin: 1.5rem 1.5rem 2rem;
    background: var(--accent);
    color: var(--primary-dk) !important;
    border-color: var(--accent);
    font-size: 1rem;
    padding: .85rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    text-decoration: none;
  }

  /* Hamburger X animation */
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-toggle span { transition: all .25s; }

  /* Header bleibt oben über dem Menü */
  .site-header { z-index: 201; }

  .hero { padding: 4rem 0 3rem; }
  .hero-layout { flex-direction: column-reverse; gap: 1.5rem; text-align: center; }
  .hero-logo-wrap { width: 180px; margin: 0 auto; }
  .hero-logo-img { width: 180px; height: 180px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.25rem; }
  .cta-box { flex-direction: column; padding: 2.5rem 1.75rem; }
  .cta-deco { display: none; }
  .aktion-item { grid-template-columns: 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; gap: .5rem; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  h1 { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* SCHOOL SECTION */
.school-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.school-text { }
.school-text h2 { margin: .75rem 0 1rem; }
.school-facts { display: flex; flex-direction: column; gap: 1rem; }
.fact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.fact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.fact-card strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: .2rem; }
.fact-card p { margin: 0; font-size: .9rem; }

/* MARTYMAN BOX */
.martyman-box {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.martyman-logo { flex-shrink: 0; }
.martyman-text h3 { margin-bottom: .75rem; }

/* MITGLIED TYPES */
.mitglied-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.mitglied-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.mitglied-card--accent {
  border-color: var(--accent);
  background: linear-gradient(to bottom right, var(--white), #FFFDE7);
}
.mitglied-icon { font-size: 2rem; margin-bottom: .75rem; }
.mitglied-card h3 { margin-bottom: .75rem; }
.mitglied-card p { font-size: .95rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .school-layout { grid-template-columns: 1fr; gap: 2rem; }
  .mitglied-types { grid-template-columns: 1fr; }
  .martyman-box { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* TERMINE PAGE */
.termine-list { display: flex; flex-direction: column; gap: 1rem; max-width: 860px; }
.termin-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  transition: box-shadow .2s;
}
.termin-card:hover { box-shadow: var(--shadow); }
.termin-card--past { border-left-color: var(--border); opacity: .7; }
.termin-datum {
  flex-shrink: 0;
  width: 58px;
  text-align: center;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: .6rem .4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.termin-tag   { font-size: 1.6rem; font-weight: 700; font-family: var(--font-display); line-height: 1; color: var(--primary); }
.termin-monat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.termin-year  { font-size: .68rem; color: var(--text-muted); }
.termin-info { flex: 1; }
.termin-info h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.termin-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: .5rem; }
.termin-badge {
  display: inline-block;
  background: var(--accent-lt);
  color: var(--primary-dk);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 100px;
}
.termin-beschreibung { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease;
}
#cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
#cookie-banner.hiding {
  transform: translateY(120%);
  opacity: 0;
}
.cb-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(15, 50, 114, 0.22), 0 2px 8px rgba(0,0,0,.08);
  border-top: 4px solid var(--accent);
  padding: 1.25rem 1.5rem 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  grid-template-rows: auto auto;
  gap: .5rem 1rem;
  align-items: start;
  position: relative;
}
.cb-logo {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: .15rem;
}
.cb-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.cb-content {
  grid-column: 2;
  grid-row: 1;
}
.cb-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dk);
  margin-bottom: .3rem;
}
.cb-text {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.cb-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.cb-link:hover { color: var(--primary-dk); }
.cb-actions {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding-top: .25rem;
}
.cb-btn {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.cb-btn-primary {
  background: var(--accent);
  color: var(--primary-dk);
  border-color: var(--accent);
}
.cb-btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}
.cb-btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.cb-btn-secondary:hover {
  background: var(--blue-lt, #EBF1FB);
}
.cb-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: none;
  border: none;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: .2rem .35rem;
  border-radius: 4px;
  line-height: 1;
  transition: background .15s, color .15s;
}
.cb-close:hover {
  background: var(--bg-light);
  color: var(--text);
}

/* Legal content styling */
.legal-content h2 { margin: 2rem 0 .75rem; font-size: 1.4rem; }
.legal-content h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.legal-content h4 { margin: 1.25rem 0 .4rem; font-size: 1rem; color: var(--text-muted); }
.legal-content p  { margin-bottom: .85rem; }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.legal-content a  { color: var(--primary); }
.legal-content ul.styled-list { margin: .5rem 0 1rem; }

@media (max-width: 540px) {
  #cookie-banner { bottom: 0; left: 0; right: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cb-inner { grid-template-columns: 1fr; padding: 1.25rem; }
  .cb-logo { display: none; }
  .cb-content { grid-column: 1; grid-row: 1; }
  .cb-actions { grid-column: 1; grid-row: 2; }
}

/* EMPTY STATE (öffentliche Seiten) */
.empty-info {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.empty-info-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-info h2   { margin-bottom: .75rem; }
.empty-info p    { color: var(--text-muted); font-size: 1.05rem; }

/* DOWNLOAD BOX */
.download-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.download-icon { font-size: 3rem; flex-shrink: 0; }
.download-content h2 { margin-bottom: .5rem; }
.download-content p  { color: var(--text-muted); margin-bottom: 1rem; }
.download-note {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: .75rem !important;
  margin-bottom: 0 !important;
}
@media (max-width: 540px) {
  .download-box { flex-direction: column; gap: 1rem; }
}

/* SATZUNG */
.satzung-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.satzung-signaturen { display: flex; gap: 4rem; margin-top: 1.5rem; flex-wrap: wrap; }
.satzung-linie { width: 180px; height: 1px; background: var(--text); margin-bottom: .5rem; }
.satzung-signaturen p { margin: 0; font-size: .95rem; }
.satzung-signaturen small { color: var(--text-muted); }

