/* ============================================================
   STIFTUNG STAB – WordPress Theme
   Merged CSS from all prototype pages
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --brand:       #A00057;
  --brand-dark:  #7A0043;
  --brand-light: #C4007A;
  --accent:      #A00057;
  --accent-hover:#7A0043;
  --ink:         #1C1C1E;
  --text:        #36403F;
  --text-light:  #6B7370;
  --border:      #E2E2E0;
  --surface:     #F7F6F4;
  --canvas:      #FFFFFF;
  --placeholder: #E8E5DF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --gutter: 40px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1, h2, h3, h4 { hyphens: none; -webkit-hyphens: none; }
h3 + p, h4 + p { margin-top: 0.4em; }
p + h3, p + h4 { margin-top: 2em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p + p { margin-top: 1em; }

/* ============================================================
   CONTENT LINKS (Barrierefreiheit: WCAG 2.1 AA)
   Links im Fliesstext: Farbe + Underline, damit immer erkennbar.
   Gilt für alle Links in Textcontainern, NICHT für Nav/Buttons.
   ============================================================ */
.section p a:not(.btn),
.section li a:not(.btn),
.section td a:not(.btn),
.prize-beschreibung a,
.prize-accordion-body a,
.contact-block a,
.group-box a:not(.btn),
.page-content a:not(.btn),
.site-footer .footer-address a,
.document-text a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(160, 0, 87, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.section p a:not(.btn):hover,
.section li a:not(.btn):hover,
.section td a:not(.btn):hover,
.prize-beschreibung a:hover,
.prize-accordion-body a:hover,
.contact-block a:hover,
.group-box a:not(.btn):hover,
.page-content a:not(.btn):hover,
.site-footer .footer-address a:hover,
.document-text a:hover {
  color: var(--brand-dark);
  text-decoration-color: var(--brand-dark);
}
/* Focus-Stil für Tastatur-Navigation */
.section p a:focus-visible,
.section li a:focus-visible,
.prize-beschreibung a:focus-visible,
.prize-accordion-body a:focus-visible,
.contact-block a:focus-visible,
.group-box a:focus-visible,
.page-content a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}
ul, ol { margin-top: 0.5em; margin-bottom: 0.5em; padding-left: 1.5em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   SKIP TO CONTENT (Accessibility)
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 12px;
  outline: 2px solid var(--brand-dark);
  outline-offset: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 32px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 28px;
  color: var(--ink);
}

/* Mobile Navigation */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav-overlay.active { display: block; opacity: 1; }

.main-nav.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px var(--gutter) 32px;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 200;
  animation: slideDown 0.25s ease;
}
.main-nav.mobile-open a {
  padding: 12px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
}
.main-nav.mobile-open a:last-child { border-bottom: none; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(160,0,87,0.25);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(160,0,87,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand);
  background: rgba(160,0,87,0.04);
}

/* ============================================================
   SECTIONS (subpage default: 100px padding, 56px header margin)
   ============================================================ */
.section { padding: 100px 0; }
.section--surface { background: var(--surface); }
.section--brand { background: var(--brand); color: #fff; }
.section--dark { background: var(--ink); color: #fff; }

.section-header { margin-bottom: 56px; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section--brand .section-label,
.section--dark .section-label { color: rgba(255,255,255,0.6); }
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section--brand .section-title,
.section--dark .section-title { color: #fff; }
.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  margin-top: 12px;
  max-width: 760px;
}
.section--brand .section-subtitle,
.section--dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* Homepage + Logos override: tighter section spacing */
body.home .section,
body.page-logos .section { padding: 72px 0; }
body.home .section-header,
body.page-logos .section-header { margin-bottom: 40px; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: var(--surface);
  padding: 80px 0;
  text-align: center;
}
.page-hero .container { max-width: 720px; }
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-light);
}

/* ============================================================
   BANK / SPENDEN CARD
   ============================================================ */
.bank-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  text-align: left;
}
.section--surface .bank-card { background: #fff; }
.bank-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.bank-card-header svg { color: var(--brand); }
.bank-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.bank-iban {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  letter-spacing: 0.03em;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: var(--radius);
  margin: 12px 0;
}
.bank-detail {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.bank-detail + .bank-detail { margin-top: 2px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-inner { text-align: center; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
}
.newsletter-form button {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s;
}
.newsletter-form button:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* MailPoet-Formular im Newsletter-Bereich anpassen */
.section--brand .mailpoet_form_shortcode {
  max-width: 480px;
  margin: 32px auto 0;
}
.section--brand .mailpoet_form_form {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px;
  align-items: stretch;
}
.section--brand .mailpoet_paragraph {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 0% !important;
}
.section--brand .mailpoet_paragraph.last {
  flex: 0 0 auto !important;
}
.section--brand .mailpoet_hp_email_label {
  display: none !important;
}
.section--brand .mailpoet_text {
  width: 100% !important;
  height: 100%;
  padding: 14px 18px !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  border-radius: var(--radius) !important;
  font-size: 15px !important;
  font-family: var(--font) !important;
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.section--brand .mailpoet_text::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
.section--brand .mailpoet_text:focus {
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.2) !important;
}
.section--brand .mailpoet_submit {
  padding: 14px 28px !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: var(--font) !important;
  background: #fff !important;
  color: var(--brand) !important;
  cursor: pointer;
  transition: all 0.2s;
  line-height: normal;
  height: 100%;
}
.section--brand .mailpoet_submit:hover {
  background: rgba(255,255,255,0.9) !important;
  transform: translateY(-1px);
}
.section--brand .mailpoet_form_loading { display: none; }
.section--brand .mailpoet_validate_success {
  color: rgba(255,255,255,0.85) !important;
  text-align: center;
  margin-top: 16px;
}
.section--brand .mailpoet_validate_error {
  color: #ffc2c2 !important;
  font-size: 13px;
  margin-top: 6px;
}
.section--brand .mailpoet_message {
  flex: 0 0 100% !important;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo img { filter: brightness(0) invert(1); }
.footer-address {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}


/* ================================================================
   PAGE-SPECIFIC COMPONENTS
   ================================================================ */


/* === STARTSEITE (index.html) === */

/* Hero – Split: Text links, Bild rechts */
.hero {
  background: var(--surface);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  gap: 32px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Awards (Startseite) */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.award-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
  display: block;
}
.award-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.award-image {
  height: 280px;
  background: var(--placeholder);
  background-size: cover;
  background-position: center center;
  position: relative;
}
.award-body {
  padding: 28px 28px 32px;
}
.award-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.award-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.award-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.award-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.2s;
}
.award-link:hover { gap: 10px; color: var(--brand-dark); }
.award-link svg { width: 16px; height: 16px; }

/* Foerderbereiche (Startseite) */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.area-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.area-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(160,0,87,0.08);
}
.area-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-icon svg { width: 24px; height: 24px; color: var(--brand); }
.area-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.areas-cta { text-align: center; }


/* === STIFTUNG (stiftung.html) === */

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.value-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(160,0,87,0.08);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { width: 24px; height: 24px; color: var(--brand); }
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* People (Stiftungsrat) */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.person-card { text-align: center; }
.person-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  background: var(--border);
  margin-bottom: 16px;
}
.person-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.person-role {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
}

/* Group boxes (Gremien) */
.group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.group-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.group-box--inverse {
  background: #F3F2F0;
  margin-bottom: 24px;
}
.group-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.group-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.group-box .contact-link { color: var(--brand); }
.group-box .indent { margin-top: 12px; }
.member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-list li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.member-list li:last-child { border-bottom: none; }
.member-list li strong { font-weight: 500; }
.member-role-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 720px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--canvas);
  box-shadow: 0 0 0 2px var(--brand);
}
.timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* People / Board Members */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.person-card { text-align: center; }
.person-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.person-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.person-role {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
}
.group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.group-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.group-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.group-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-list li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.member-list li:last-child { border-bottom: none; }
.member-list li strong { font-weight: 500; }
.member-role-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
  margin-left: 8px;
}


/* === AUSZEICHNUNGEN (auszeichnungen.html) === */

/* Event Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.event-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
a.event-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.event-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: var(--brand);
}
.event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.event-date svg { width: 16px; height: 16px; }
.event-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.event-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}
.event-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 20px;
}
.event-badge--warning {
  background: #C47A00;
}
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.event-link svg { width: 14px; height: 14px; }
.event-card:hover .event-link { color: var(--brand-dark); }

/* Award-Badge (Anmeldestatus im Body-Bereich) */
.award-body-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.award-badge {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: -2px;
}
.award-badge--warning {
  background: #d97706;
}
.award-event-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.award-event-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.award-event-label svg {
  flex-shrink: 0;
}
.award-event-detail {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.award-event-info svg {
  flex-shrink: 0;
}

/* Archive */
.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--dark .section-label { color: rgba(255,255,255,0.5); }
.section--dark .section-title { color: #fff; }
.section--dark .section-subtitle { color: rgba(255,255,255,0.65); }
.section--dark .archive-year-row { border-color: rgba(255,255,255,0.12); }
.section--dark .archive-year-row:first-child { border-color: rgba(255,255,255,0.12); }
.section--dark .archive-year-label { color: #fff; }
.section--dark .archive-cell { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.section--dark .archive-cell:hover { background: rgba(255,255,255,0.06); }
.section--dark .archive-cell::after { border-left-color: rgba(255,255,255,0.2); }
.section--dark .archive-cell:hover::after { border-left-color: var(--brand); }
.section--dark .archive-cell h4 { color: #fff; }
.section--dark .archive-cell p { color: rgba(255,255,255,0.55); }
.section--dark .archive-cell-label--jahrespreis { color: rgba(255,255,255,0.5); }
.section--dark .archive-cell-label--foerderpreis { color: rgba(255,255,255,0.4); }
.section--dark .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.section--dark .btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Archive – Zwei-Spalten-Layout */
.archive-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.archive-column-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.archive-column-list {
  display: flex;
  flex-direction: column;
}
.archive-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
.archive-row:hover {
  background: rgba(0,0,0,0.03);
}
.archive-row-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 40px;
}
.archive-row-name {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}
.archive-row-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--border);
  transition: color 0.2s, transform 0.2s;
}
.archive-row:hover .archive-row-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

/* Legacy archive styles (kept for backward compat) */
.archive-list { display: flex; flex-direction: column; gap: 0; }
.archive-year-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.archive-year-row:first-child { border-top: 1px solid var(--border); }
.archive-year-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  padding-top: 28px;
}
.archive-cell {
  padding: 24px 24px;
  padding-right: 40px;
  border-left: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.archive-cell:hover { background: var(--surface); }
.archive-cell::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--border);
  transition: border-left-color 0.2s;
}
.archive-cell:hover::after { border-left-color: var(--brand); }
.archive-cell-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.archive-cell-label--jahrespreis { color: var(--brand); }
.archive-cell-label--foerderpreis { color: var(--text-light); }
.archive-more { display: none; }
.archive-more.visible { display: contents; }
.archive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.archive-toggle:hover { border-color: var(--brand); color: var(--brand); }
.archive-toggle svg { width: 16px; height: 16px; transition: transform 0.2s; }
.archive-toggle.expanded svg { transform: rotate(180deg); }
.archive-cell h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.archive-cell p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}


/* === FOERDERUNG (foerderung.html) === */

/* Area Detail Cards (Foerderung uses 2-col layout) */
.areas-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .areas-detail-grid {
    grid-template-columns: 1fr;
  }
}
.area-detail {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--canvas);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.area-detail:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(160,0,87,0.08);
}
.area-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.area-detail-icon svg { width: 22px; height: 22px; color: var(--brand); }
.area-detail-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.area-detail-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* Document Cards (Erforderliche Unterlagen) */
.documents-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}
.document-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.document-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.document-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}
.document-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.document-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.step-wrapper {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.step-card {
  text-align: left;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.step-card {
  flex: 1;
}
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--brand);
  opacity: 0.5;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* Dates Table */
.dates-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 640px;
  margin: 0;
}
.dates-table th,
.dates-table td {
  padding: 16px 20px 16px 0;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.dates-table th {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dates-table td {
  color: var(--text);
}
.dates-table tr:last-child td { border-bottom: none; }
.dates-table .date-highlight {
  font-weight: 600;
  color: var(--brand);
}

/* Download List */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.download-item:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(160,0,87,0.08);
}
.download-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-icon svg { width: 18px; height: 18px; color: var(--brand); }
.download-item-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.download-item-text p {
  font-size: 13px;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--surface);
}
.cta-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}


/* === GESUCH (gesuch.html) === */

/* Info Boxes */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.info-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.info-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-box-icon svg { width: 18px; height: 18px; color: var(--brand); }
.info-box h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.info-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.info-box .highlight {
  font-weight: 600;
  color: var(--brand);
}

/* Form */
.form-container {
  max-width: 760px;
  margin: 0 auto;
}

fieldset {
  border: none;
  margin-bottom: 48px;
}
fieldset:last-of-type { margin-bottom: 32px; }

legend {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  width: 100%;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group label .required {
  color: var(--brand);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--canvas);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(160,0,87,0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7370' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input[type="file"] {
  padding: 10px 16px;
  background: var(--surface);
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
}

.form-help {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 32px 0;
}
.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.checkbox-group label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  cursor: pointer;
}
.checkbox-group label a {
  color: var(--brand);
  text-decoration: underline;
}

.form-submit {
  text-align: left;
}
.form-submit .btn {
  padding: 16px 40px;
  font-size: 16px;
}

/* === WPForms – Theme-Overrides === */

/* Full-width inputs (override WPForms "medium" = max-width:60%) */
div.wpforms-container-full .wpforms-form .wpforms-field input[type=text],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=email],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=tel],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=number],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=url],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=date],
div.wpforms-container-full .wpforms-form .wpforms-field select,
div.wpforms-container-full .wpforms-form .wpforms-field textarea {
  max-width: 100% !important;
  width: 100% !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: #fff !important;
  color: var(--ink) !important;
  transition: border-color 0.2s;
}
div.wpforms-container-full .wpforms-form .wpforms-field input[type=text]:focus,
div.wpforms-container-full .wpforms-form .wpforms-field input[type=email]:focus,
div.wpforms-container-full .wpforms-form .wpforms-field input[type=tel]:focus,
div.wpforms-container-full .wpforms-form .wpforms-field select:focus,
div.wpforms-container-full .wpforms-form .wpforms-field textarea:focus {
  border-color: var(--brand) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(160,0,87,0.08) !important;
}

/* Checkbox & radio – keep native size */
div.wpforms-container-full .wpforms-form .wpforms-field input[type=checkbox],
div.wpforms-container-full .wpforms-form .wpforms-field input[type=radio] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: revert !important;
  border-radius: revert !important;
}

/* Name field sub-inputs (Vorname / Nachname) fill their columns */
div.wpforms-container-full .wpforms-form .wpforms-field-name .wpforms-field-row .wpforms-field-row-block input {
  width: 100% !important;
  max-width: 100% !important;
}

/* Labels */
div.wpforms-container-full .wpforms-form .wpforms-field-label {
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
  font-size: 13px !important;
  color: var(--text-light) !important;
}

/* Required asterisk in brand color */
div.wpforms-container-full .wpforms-form .wpforms-required-label {
  color: var(--brand) !important;
}

/* Descriptions / help text */
div.wpforms-container-full .wpforms-form .wpforms-field-description {
  font-size: 13px !important;
  color: var(--text-light) !important;
  margin-top: 4px !important;
}

/* Dividers (section headings: Projekt, Beilagen) */
div.wpforms-container-full .wpforms-form .wpforms-field-divider h3 {
  font-family: var(--font) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--brand) !important;
  margin-bottom: 8px !important;
}

/* File upload areas */
div.wpforms-container-full .wpforms-form .wpforms-field-file-upload .wpforms-uploader {
  border-radius: var(--radius) !important;
  border-color: var(--border) !important;
}

/* Checkbox (Datenschutz) */
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox input[type=checkbox]:checked {
  accent-color: var(--brand);
}
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox label a {
  color: var(--brand) !important;
  text-decoration: underline !important;
}

/* Spacing between fields */
div.wpforms-container-full .wpforms-form .wpforms-field {
  padding: 8px 0 !important;
}

/* Submit button */
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form .wpforms-submit {
  background-color: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: var(--font) !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form .wpforms-submit:hover {
  background-color: var(--brand-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(160,0,87,0.25);
}
div.wpforms-container-full .wpforms-form button[type=submit]:active,
div.wpforms-container-full .wpforms-form .wpforms-submit:active {
  transform: translateY(0);
}


/* === KONTAKT (kontakt.html) === */

/* Contact Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

/* Contact Info */
.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.contact-block {
  margin-bottom: 32px;
}
.contact-block:last-child { margin-bottom: 0; }
.contact-block h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.contact-block p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}
.contact-block a {
  color: var(--brand);
  transition: color 0.2s;
}
.contact-block a:hover {
  color: var(--brand-dark);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5E6ED 0%, #EDDFE6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg { width: 16px; height: 16px; color: var(--brand); }
.contact-detail p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* Contact Form */
.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form .form-group label {
  display: block;
}
.contact-form .form-group textarea {
  min-height: 160px;
}
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form .form-submit {
  margin-top: 8px;
}
.contact-form .form-submit .btn {
  padding: 16px 36px;
}

/* Map Placeholder */
.map-section {
  background: var(--surface);
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--text-light);
  opacity: 0.5;
}
.map-placeholder p {
  font-size: 15px;
  color: var(--text-light);
}


/* === LOGOS (logos.html) === */

/* Logo Downloads */
.logo-group {
  margin-bottom: 48px;
}
.logo-group:last-child { margin-bottom: 0; }
.logo-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.logo-group p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.logo-link {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.logo-link:hover {
  color: var(--brand-dark);
}
.logo-preview {
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
}
.logo-preview img {
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}
.logo-preview-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0;
}


/* === PRIZE ACCORDION === */
.prize-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  margin-bottom: 12px;
  overflow: hidden;
}
.prize-accordion[open] {
  border-color: var(--brand);
}
.prize-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  user-select: none;
}
.prize-accordion-header::-webkit-details-marker { display: none; }
.prize-accordion-header:hover { color: var(--brand); }
.accordion-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform 0.25s ease;
  color: var(--text-light);
}
.prize-accordion[open] .accordion-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}
.prize-accordion-body {
  padding: 0 24px 24px;
  line-height: 1.8;
  color: var(--text);
  font-size: 0.95rem;
}

/* === PRIZE GALLERY === */
.prize-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.prize-gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prize-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.prize-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === LIGHTBOX === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --gutter: 24px; }

  /* Header */
  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  /* Startseite */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; margin-left: 0; padding: 64px var(--gutter) 48px; }
  .hero-image img { height: 320px; }
  .awards-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stiftung */
  .values-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .group-row { grid-template-columns: 1fr; }

  /* Auszeichnungen */
  .events-grid { grid-template-columns: 1fr; }
  .archive-columns { grid-template-columns: 1fr; gap: 40px; }
  .archive-year-row { grid-template-columns: 1fr; }
  .archive-year-label { padding: 16px 0 0; }
  .archive-cell { border-left: none; border-top: 1px solid var(--border); padding: 16px 0; padding-right: 32px; }
  .archive-cell:last-child { padding-bottom: 24px; }

  /* Foerderung */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:not(:last-child)::after { display: none; }

  /* Gesuch */
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Kontakt */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Logos */
  .logo-cards { grid-template-columns: 1fr; }

  /* Preis-Einzelansicht */
  .prize-detail { grid-template-columns: 1fr !important; gap: 24px !important; }
  .prize-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  /* Startseite */
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .areas-grid { grid-template-columns: 1fr; }

  /* Shared */
  .newsletter-form { flex-direction: column; }
  .section--brand .mailpoet_form_form { flex-direction: column; }
  .section--brand .mailpoet_submit { width: 100% !important; }

  /* Auszeichnungen */
  .tabs { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 13px; }

  /* Foerderung */
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header, .site-footer, .menu-toggle, .mobile-nav-overlay,
  .skip-to-content, .lightbox-overlay, .newsletter-section,
  .btn, .prize-gallery, .step-card::after { display: none !important; }

  body { font-size: 11pt; line-height: 1.6; color: #000; background: #fff; }
  .container { max-width: 100%; padding: 0; }
  .section { padding: 16pt 0; }
  .page-hero { padding: 24pt 0 8pt; border-bottom: 1pt solid #ccc; }
  .page-hero h1 { font-size: 18pt; }

  /* Prize details: single column */
  .prize-detail { grid-template-columns: 1fr !important; }
  .prize-photo img { max-width: 200px; }

  /* Open all accordions for print */
  details.prize-accordion { display: block; }
  details.prize-accordion > .prize-accordion-body { display: block !important; padding-top: 8pt; }
  .prize-accordion-header { list-style: none; pointer-events: none; }
  .prize-accordion-header::-webkit-details-marker { display: none; }
  .accordion-chevron { display: none; }

  a { color: inherit; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
