/* ReychWeite – Design identisch zu schlaraffia-thueringen.de
   Farben: Dunkelblau #1a2e5a / Gold #e8b84b / Weiß */

:root {
  --blue-dark: #1a2e5a;
  --blue-mid: #1e3a73;
  --blue-light: #2a4d9c;
  --gold: #e8b84b;
  --gold-dark: #c99a30;
  --gold-light: #f5d070;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --gray-light: #e8e8e8;
  --gray-mid: #888;
  --gray-dark: #333;
  --text: #2c2c2c;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(26,46,90,.12);
  --shadow-hover: 0 8px 32px rgba(26,46,90,.22);
  --transition: .25s ease;
  --max-width: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
a { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; color: var(--blue-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .75rem; }

.section { padding: 5rem 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--blue-dark); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark a { color: var(--gold); }
.section-dark a:hover { color: var(--gold-light); }
.section-sub { color: var(--gray-mid); max-width: 640px; margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ── NAVIGATION ──────────────────────────────────────────── */
#nav {
  background: var(--blue-dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.nav-uhu { font-size: 1.8rem; filter: drop-shadow(0 0 8px rgba(232,184,75,.5)); }
.nav-logo span { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.nav-logo strong { color: var(--gold); }
.nav-links { display: flex; gap: .15rem; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,.88); padding: .5rem .7rem; border-radius: var(--radius); font-size: .85rem; font-weight: 500; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: rgba(232,184,75,.15); color: var(--gold); }
.nav-toggle { display: none; background: none; border: 2px solid var(--gold); border-radius: var(--radius); padding: .4rem .55rem; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); transition: all .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--blue-dark); padding: 1.5rem; overflow-y: auto; z-index: 999; gap: 0; }
  #nav.open .nav-links { display: flex; }
  .nav-links a { padding: .9rem 1rem; font-size: 1rem; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 480px; display: flex; align-items: center;
  overflow: hidden; background: var(--blue-dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,.75) 0%, rgba(20,40,90,.55) 50%, rgba(10,20,50,.68) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-width);
  margin: 0 auto; padding: 4rem 1.5rem; width: 100%; text-align: center;
}
.hero-pre { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1rem; line-height: 1.15; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-desc { font-size: .92rem; color: rgba(255,255,255,.55); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.5rem; border-radius: var(--radius); font-size: .925rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: var(--blue-dark); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--blue-light); border-color: var(--gray-light); }
.btn-outline:hover { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }
.btn-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-white:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }
.btn-group { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ── CONTENT CARDS ───────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-light);
  padding: 1.5rem; transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--blue-dark); }
.card p { font-size: .92rem; color: var(--gray-mid); line-height: 1.65; }
.card-icon { font-size: 2rem; margin-bottom: .75rem; }

/* Fact cards */
.fact-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }
.fact-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.2rem 1.5rem; text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--gold); flex: 1; min-width: 140px; max-width: 200px; }
.fact-number { font-size: 2rem; font-weight: 800; color: var(--blue-dark); }
.fact-label { font-size: .82rem; color: var(--gray-mid); margin-top: .2rem; }

/* Tag */
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 99px; }
.tag-beteiligt { background: rgba(42,77,156,.1); color: var(--blue-light); }
.tag-interessent { background: rgba(232,184,75,.15); color: var(--gold-dark); }
.tag-kategorie { background: rgba(42,77,156,.08); color: var(--blue-light); }

/* Checklist */
.checklist { list-style: none; }
.checklist li { padding: .4rem 0; font-size: .92rem; border-bottom: 1px solid var(--gray-light); }

/* ── TABLES ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid var(--gray-light); font-size: .9rem; }
th { color: var(--gray-mid); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
td.date { white-space: nowrap; color: var(--blue-dark); font-weight: 600; }

/* ── FORMS ───────────────────────────────────────────────── */
.contact-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-dark); margin-bottom: .3rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .65rem 1rem; border: 1px solid var(--gray-light); background: var(--white);
  color: var(--text); border-radius: var(--radius); font-size: .95rem; font-family: inherit; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(42,77,156,.1); }
.form-group select { appearance: auto; }
.form-group textarea { min-height: 120px; resize: vertical; }
.checkbox-label { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; cursor: pointer; }
.checkbox-label input { width: auto; margin-top: .2rem; }
.msg { padding: 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .95rem; }
.msg-ok { background: rgba(76,168,100,.1); color: #2a7a3a; border: 1px solid rgba(76,168,100,.25); }
.msg-err { background: rgba(200,60,60,.08); color: #c03030; border: 1px solid rgba(200,60,60,.2); }

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

/* ── TEXT BLOCKS ─────────────────────────────────────────── */
.text-block { max-width: 800px; font-size: 1rem; line-height: 1.8; }
.text-block p { margin-bottom: 1rem; }
.text-highlight { font-style: italic; color: var(--blue-dark); font-weight: 600; }
.text-gold { color: var(--gold-dark); }

/* Separator */
.sep { width: 60px; height: 3px; background: var(--gold); margin: 2.5rem 0; border-radius: 2px; }
.sep-center { margin-left: auto; margin-right: auto; }

/* Two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.65); padding: 2.5rem 0; text-align: center; font-size: .85rem; }
.footer p { color: rgba(255,255,255,.55); }
.footer-links { margin-top: .8rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); }
.footer-links a:hover { color: var(--gold); }

/* ── PHASE CARDS (Tafelrunde) ────────────────────────────── */
.phase-card { display: flex; gap: 1rem; align-items: flex-start; }
.phase-icon { font-size: 1.6rem; flex-shrink: 0; }
.phase-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
