/* ═══════════════════════════════════════
   BÜRGERUNION DEUTSCHLAND — Stylesheet
   Farben: Dunkelblau #1A3A5C | Silber #8A9BB0
════════════════════════════════════════ */

:root {
  --blue:      #1A3A5C;
  --blue2:     #0F2440;
  --blue3:     #243F60;
  --silver:    #8A9BB0;
  --silverlt:  #B8C5D0;
  --silverpale:#E8EDF2;
  --light:     #F2F5F8;
  --white:     #FFFFFF;
  --text:      #222222;
  --textmid:   #555555;
  --textlt:    #888888;
  --radius:    4px;
  --shadow:    0 2px 16px rgba(26,58,92,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--blue);
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--silver); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─── */
.site-header {
  background: var(--blue);
  border-bottom: 3px solid var(--silver);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.logo-bud {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--silverlt);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid rgba(138,155,176,0.4);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-main a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}

.nav-main a:hover { background: rgba(138,155,176,0.15); color: var(--white); }
.nav-main a.active { background: rgba(138,155,176,0.2); color: var(--white); }

.nav-cta {
  background: var(--silver) !important;
  color: var(--blue2) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--silverlt) !important; }

.nav-toggle { display: none; }

/* ─── FLASH ─── */
.flash { padding: 12px 0; font-size: 14px; font-weight: 600; }
.flash .container { display: flex; align-items: center; gap: 10px; }
.flash-success { background: #d4edda; color: #155724; border-bottom: 2px solid #c3e6cb; }
.flash-error   { background: #f8d7da; color: #721c24; border-bottom: 2px solid #f5c6cb; }
.flash-info    { background: var(--silverpale); color: var(--blue); border-bottom: 2px solid var(--silverlt); }

/* ─── HERO ─── */
.hero {
  background: var(--blue);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'BUD';
  font-family: 'Playfair Display', serif;
  font-size: 320px;
  font-weight: 900;
  color: rgba(138,155,176,0.05);
  position: absolute;
  right: -40px;
  top: -60px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -10px;
}

.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--silver);
  color: var(--silverlt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--silverlt);
  font-style: italic;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--silver);
  color: var(--blue2);
}
.btn-primary:hover { background: var(--silverlt); color: var(--blue2); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(138,155,176,0.6);
  color: rgba(255,255,255,0.85);
}
.btn-outline:hover { border-color: var(--silver); color: var(--white); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue2); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ─── SECTIONS ─── */
.section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-dark  { background: var(--blue); }
.section-mid   { background: var(--blue3); }

.section-title {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--textmid);
  margin-bottom: 48px;
  max-width: 560px;
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p  { color: rgba(255,255,255,0.72); }
.section-dark .section-subtitle { color: var(--silverlt); }

/* ─── KARTEN ─── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--silverpale);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 28px rgba(26,58,92,0.14);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--silverpale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p  { font-size: 14px; color: var(--textmid); line-height: 1.6; }

/* ─── KERNPOSITIONEN ─── */
.positionen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.position-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--silver);
}

.position-dot {
  width: 8px;
  height: 8px;
  background: var(--silver);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.position-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ─── BLOG ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--silverpale);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 6px 28px rgba(26,58,92,0.14);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 180px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img .no-img { font-family: 'Playfair Display',serif; font-size: 48px; color: var(--silver); opacity: 0.4; }

.blog-card-body { padding: 22px; }
.blog-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 8px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; }
.blog-card h3 a { color: var(--blue); }
.blog-card h3 a:hover { color: var(--silver); }
.blog-card p { font-size: 14px; color: var(--textmid); margin-bottom: 16px; line-height: 1.6; }
.blog-meta { font-size: 12px; color: var(--textlt); display: flex; gap: 12px; }

/* ─── FORMULAR ─── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; letter-spacing: 0.5px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--silverpale);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--silver); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.form-check input[type="checkbox"] { flex-shrink: 0; margin-top: 4px; cursor: pointer; width: 16px; height: 16px; }
.form-check label { font-size: 13px; color: var(--textmid); cursor: pointer; line-height: 1.5; }

.form-box {
  background: var(--white);
  border: 1px solid var(--silverpale);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── VERANSTALTUNGEN ─── */
.event-list { display: flex; flex-direction: column; gap: 20px; }

.event-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--silverpale);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.event-date {
  background: var(--blue);
  color: var(--white);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.event-day   { font-size: 32px; font-weight: 700; line-height: 1; font-family: 'Playfair Display',serif; color: var(--silverlt); }
.event-month { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.event-body { padding: 20px; flex: 1; }
.event-typ { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 4px; }
.event-body h3 { font-size: 19px; margin-bottom: 8px; }
.event-body p  { font-size: 14px; color: var(--textmid); }
.event-meta { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--textlt); flex-wrap: wrap; }

/* ─── PROGRAMM ─── */
.programm-chapter {
  border-left: 4px solid var(--silver);
  padding-left: 24px;
  margin-bottom: 40px;
}

.programm-chapter h2 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--blue);
}

.programm-chapter ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.programm-chapter ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--textmid);
  line-height: 1.5;
}

.programm-chapter ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--silver);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ─── MITMACHEN / ENTWURF-BOX ─── */
.entwurf-box {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--silver);
  margin-bottom: 32px;
}
.entwurf-box h3 { color: var(--silverlt); font-size: 18px; margin-bottom: 10px; }
.entwurf-box p  { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.6; }

/* ─── SEITENHEADER ─── */
.page-header {
  background: var(--blue);
  padding: 48px 0 40px;
  border-bottom: 3px solid var(--silver);
}
.page-header h1 { color: var(--white); font-size: 40px; margin-bottom: 8px; }
.page-header p  { color: var(--silverlt); font-size: 16px; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--blue2);
  border-top: 4px solid var(--silver);
  padding: 56px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(138,155,176,0.2);
}

.footer-brand .logo-bud-sm {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--silverlt);
  display: block;
  margin-bottom: 10px;
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.footer-brand em { color: var(--silverlt); font-style: italic; }
.footer-email a { color: var(--silver); font-size: 13px; }
.footer-email a:hover { color: var(--silverlt); }

.footer-links h4 { color: var(--silverlt); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; font-family: 'Source Sans 3', sans-serif; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--silverlt); }

.footer-claim blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--silverlt);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--silver);
}

.footer-gruendung { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-admin-link { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-admin-link:hover { color: var(--silver); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 680px) {
  .nav-main { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--blue2); padding: 16px; gap: 4px; }
  .nav-main.open { display: flex; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 24px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
}

/* ─── ADMIN ─── */
.admin-bar {
  background: var(--blue2);
  border-bottom: 2px solid var(--silver);
  padding: 10px 0;
  font-size: 13px;
}
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; }
.admin-bar a { color: var(--silverlt); margin-left: 16px; }
.admin-bar a:hover { color: var(--white); }

/* ─── TABELLEN ─── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--blue); color: var(--white); padding: 10px 14px; text-align: left; font-weight: 600; font-size: 13px; }
td { padding: 10px 14px; border-bottom: 1px solid var(--silverpale); }
tr:hover td { background: var(--light); }

/* ─── STATUS-BADGES ─── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-new      { background: #fff3cd; color: #856404; }
.badge-ok       { background: #d4edda; color: #155724; }
.badge-error    { background: #f8d7da; color: #721c24; }
.badge-info     { background: var(--silverpale); color: var(--blue); }
.badge-draft    { background: #f8f9fa; color: #6c757d; border: 1px solid #dee2e6; }
