/* ============================================================
   intercambio-muenster.de — Modernes CSS 2025
   Responsive, barrierefrei, ohne table-Layout
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ── Variablen ──────────────────────────────────────────── */
:root {
  --gold:       #e8a800;
  --gold-lt:    #fff8d6;
  --gold-dk:    #a57700;
  --navy:       #000099;
  --navy-dk:    #000066;
  --red:        #cc0000;
  --white:      #ffffff;
  --off-white:  #fafaf7;
  --gray-lt:    #f2efe6;
  --gray-mid:   #ddd9ce;
  --gray-dk:    #888;
  --text:       #1c1c1c;
  --text-muted: #5a5a5a;
  --radius:     5px;
  --radius-lg:  10px;
  --shadow:     0 2px 14px rgba(0,0,0,.09);
  --font-h:     'Lora', Georgia, serif;
  --font-b:     'Source Sans 3', Helvetica, Arial, sans-serif;
  --max-w:      920px;
}

/* ── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-b);
  line-height: 1.75;
  color: var(--text);
  background: var(--gold-lt);
  min-height: 100vh;
}
a { color: var(--navy); }
a:hover { color: var(--red); }

/* ── Skip link ──────────────────────────────────────────── */
.skip { position:absolute; top:-44px; left:0;
  background:var(--navy); color:#fff; padding:8px 14px;
  text-decoration:none; font-size:14px; z-index:9999;
  border-radius:0 0 var(--radius) 0; transition:top .2s; }
.skip:focus { top:0; }

/* ── Header ─────────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow);
}
.hdr {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.logo-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 0; text-decoration: none; flex-shrink: 0;
}
.logo-badge {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 600; font-size: 17px;
  color: var(--navy); flex-shrink: 0;
}
.logo-txt { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-h); font-weight: 600; font-size: 14px;
  color: var(--navy); line-height: 1.2;
}
.logo-sub { font-size: 11px; color: var(--text-muted); font-weight: 300; }

/* ── Main nav ───────────────────────────────────────────── */
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; }
.main-nav a {
  display: block; padding: .35rem .65rem;
  font-size: 14px; font-weight: 600;
  color: var(--navy); text-decoration: none;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--gold); color: var(--navy-dk);
}
.hamburger {
  display: none; background: none; border: none;
  color: var(--navy); font-size: 26px; cursor: pointer;
  padding: .4rem; margin-left: auto; line-height: 1;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  max-width: var(--max-w); margin: 0 auto;
  padding: .35rem 1rem;
  font-size: 12px; color: var(--text-muted);
  background: var(--gold-lt);
  border-bottom: 1px solid var(--gold);
}
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 .35rem; color: var(--gold-dk); }

/* ── Page layout ────────────────────────────────────────── */
.page {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── Sidebar ────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-img {
  width: 100%; border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
}
.sidebar-nav ul { list-style: none; }
.sidebar-nav li { border-bottom: 1px solid var(--gray-mid); }
.sidebar-nav a {
  display: block; padding: .5rem .75rem;
  font-size: 14px; color: var(--navy); text-decoration: none;
  border-radius: var(--radius); transition: background .15s;
}
.sidebar-nav a:hover,
.sidebar-nav a[aria-current="page"] {
  background: var(--gold-lt); font-weight: 600;
}

/* ── Main content box ───────────────────────────────────── */
main {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-mid);
  padding: 2rem 2.25rem 2.5rem;
  min-height: 420px;
}

/* ── Content typography ─────────────────────────────────── */
.content h1 {
  font-family: var(--font-h); font-weight: 600;
  font-size: 1.65rem; color: var(--navy);
  margin-bottom: .5rem; line-height: 1.3;
}
.content h2 {
  font-family: var(--font-h); font-weight: 600;
  font-size: 1.15rem; color: var(--navy-dk);
  margin: 1.6rem 0 .45rem;
}
.content h3 {
  font-family: var(--font-h); font-weight: 600;
  font-size: 1rem; color: var(--navy-dk);
  margin: 1.1rem 0 .3rem;
}
.content p { margin-bottom: 1rem; }
.content ul, .content ol { margin: .5rem 0 1rem 1.5rem; }
.content li { margin-bottom: .35rem; }
.content a { color: var(--navy); }
.content a:hover { color: var(--red); }
.content strong { font-weight: 600; }
.divider { border: none; border-top: 2px solid var(--gold-lt); margin: 1.4rem 0; }

/* ── Highlight box ──────────────────────────────────────── */
.box {
  background: var(--gold-lt);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin: 1.4rem 0;
  font-size: 15px;
}
.box p { margin: 0; }

/* ── Info cards (spenden, kontakt) ──────────────────────── */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin: 1.2rem 0;
}
.card {
  background: var(--gray-lt);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.card h3 { margin-top: 0; font-size: 1rem; color: var(--navy); }
.card p { font-size: 15px; margin: 0; }

/* ── Partner list ───────────────────────────────────────── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem; margin: 1rem 0;
}
.partner-item {
  background: var(--gray-lt);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: 14px;
}
.partner-item a { font-weight: 600; }

/* ── Journal download list ──────────────────────────────── */
.journal-list {
  list-style: none; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .5rem;
}
.journal-list li {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  background: var(--gray-lt);
}
.journal-list a {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  text-decoration: none; color: var(--navy);
  font-size: 15px; font-weight: 600;
  transition: background .15s;
}
.journal-list a:hover { background: var(--gold-lt); }
.journal-list .icon {
  font-size: 18px; flex-shrink: 0; color: var(--red);
}

/* ── Fact boxes (hintergruende) ─────────────────────────── */
.fact-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: .75rem; margin: 1rem 0;
}
.fact {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
}
.fact strong { display: block; font-size: 1.4rem; font-family: var(--font-h); }
.fact span { font-size: 13px; opacity: .85; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: .5rem;
  font-size: 13px; color: var(--text-muted);
  border-top: 2px solid var(--gold);
}
footer a { color: var(--navy); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
  .page { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; gap: .75rem; }
  .sidebar-img { width: 110px; }
  main { padding: 1.2rem 1rem; }
  .hdr { flex-wrap: wrap; }
  .main-nav {
    width: 100%; overflow: hidden;
    max-height: 0; transition: max-height .3s;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; padding: .5rem 0; }
  .hamburger { display: block; }
  .card-row, .fact-row { grid-template-columns: 1fr; }
}

@media print {
  header { position: static; box-shadow: none; }
  .hamburger, footer .no-print { display: none; }
  body { background: white; }
  main { border: none; padding: 0; }
}
