/* ============================================================
   karlasruhe.de – Gemeinsames Stylesheet
   style.css · wird von allen Seiten eingebunden
   ============================================================ */

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

:root {
  --gold: #B8942A;
  --gold-light: #D4A84B;
  --navy: #1A2340;
  --navy-light: #2C3D6B;
  --cream: #F5F0E8;
  --cream-dark: #EDE6D8;
  --text: #2A2520;
  --text-muted: #6B6258;
  --max-width: 900px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.85;
}

/* Globale Links */
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,148,42,0.2);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 1rem 0;
  text-decoration: none;
  font-weight: 600;
}

nav ul { display: flex; list-style: none; }

nav ul a {
  display: block;
  padding: 1rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--gold); }

/* Hamburger-Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-back {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 0;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--gold); }

/* ── GEMEINSAME LAYOUT-ELEMENTE ──────────────────────────── */
main {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.page-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(184,148,42,0.25);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(26,35,64,0.08);
}

h1 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

h2 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.8rem;
  line-height: 1.25;
}

h3 {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.25rem 0 0.5rem;
}

p, address, li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: normal;
}
p strong { color: var(--navy); }
p + p { margin-top: 0.8rem; }

ul { padding-left: 1.25rem; margin-top: 0.5rem; }
li { margin-bottom: 0.4rem; }

.lead { font-size: 1.05rem; color: var(--text); }
.stark { font-weight: 700; color: var(--navy); }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

section { margin-bottom: 2.5rem; }

.hero-tagline {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 2rem;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); color: #fff; box-shadow: 0 4px 20px rgba(184,148,42,0.3); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--cream); font-weight: 600; }
.btn-navy:hover { background: var(--navy-light); color: var(--cream); text-decoration: none; }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; }
.btn-outline-navy:hover { background: var(--navy); color: var(--cream); text-decoration: none; }

/* ── KOMPONENTEN ─────────────────────────────────────────── */
.note {
  background: white;
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  border-radius: 0 4px 4px 0;
}

.kurz-box {
  background: white;
  border: 1px solid rgba(184,148,42,0.3);
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.kontakt-box {
  background: var(--navy);
  color: var(--cream);
  padding: 2rem;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
}
.kontakt-box strong {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: white;
}
.kontakt-box .rolle {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.kontakt-box p { color: var(--cream); margin-bottom: 0.4rem; }
.kontakt-box a { color: var(--gold); text-decoration: none; }
.kontakt-box a:hover { text-decoration: underline; }

.stand {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

/* ── INDEX-HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
  background: var(--cream);
  position: relative;
}

.hero-k {
  font-family: 'Georgia', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.hero-brand {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.hero-divider { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.hero-divider span { width: 60px; height: 1px; background: var(--gold); display: block; }
.hero-divider .heart { color: var(--gold); font-size: 0.8rem; }

.hero-tagline-nav {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-headline {
  font-family: 'Arial', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-pillars { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.pillar-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(184,148,42,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold);
  background: rgba(184,148,42,0.05);
}
.pillar-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-bottom {
  background: var(--navy);
  padding: 1.2rem 2rem;
  margin: 0 -3rem -5rem -4rem;
  text-align: center;
}
.hero-bottom p {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  margin-bottom: 0.2rem;
}
.hero-bottom strong {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-image { position: relative; overflow: hidden; min-height: 600px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ── INDEX SECTIONS ──────────────────────────────────────── */
.section { padding: 6rem 2rem; max-width: var(--max-width); margin: 0 auto; }

.drei-zeiten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 3rem 0;
  background: rgba(26,35,64,0.08);
}
.zeit-card {
  background: var(--cream);
  padding: 2rem 1.8rem;
  border-top: 3px solid transparent;
  transition: border-color 0.3s;
}
.zeit-card:hover { border-top-color: var(--gold); }
.zeit-nr {
  font-family: 'Arial', sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.zeit-card h3 {
  font-family: 'Arial', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.zeit-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0; }

.manifest-teaser {
  background: var(--navy);
  padding: 4rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.manifest-teaser::before {
  content: '"';
  position: absolute;
  top: -1rem; right: 2rem;
  font-size: 12rem;
  color: rgba(184,148,42,0.08);
  font-family: 'Georgia', serif;
  line-height: 1;
  pointer-events: none;
}
.manifest-teaser blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.manifest-teaser .tagline {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2.5rem;
}

.gesucht-intro {
  background: var(--navy);
  padding: 2.5rem 3rem;
  margin: 2rem 0 2.5rem;
  border-left: 4px solid var(--gold);
}
.gesucht-intro p { color: rgba(245,240,232,0.85); font-size: 1.05rem; line-height: 1.8; margin-bottom: 0.5rem; }
.gesucht-intro p:last-child { margin-bottom: 0; }

.gesucht-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26,35,64,0.08);
  margin: 0 0 2.5rem;
}
.gesucht-card {
  background: #fff;
  padding: 1.8rem 2rem;
  border-top: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.gesucht-card:hover { border-top-color: var(--gold); box-shadow: inset 0 0 0 1000px rgba(184,148,42,0.02); }
.gesucht-card h3 {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.gesucht-card p { font-size: 0.88rem; line-height: 1.65; margin-bottom: 0; }

.gesucht-closing {
  text-align: center;
  padding: 2rem;
  background: var(--cream-dark);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 2rem;
}

.tuer-zitat { text-align: center; padding: 5rem 2rem; background: var(--cream-dark); }
.tuer-zitat .big-text {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.tuer-zitat .gold-text {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.tuer-heart { color: var(--gold); font-size: 1.2rem; display: block; margin-bottom: 0.5rem; }
.tuer-credit {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── MANIFEST-SEITE ──────────────────────────────────────── */
.manifest-header {
  background: var(--navy);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifest-header::before {
  content: 'MANIFEST';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Arial', sans-serif;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
}
.manifest-header .label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  position: relative;
}
.manifest-header h1 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
  position: relative;
}
.manifest-header .subtitle {
  font-family: 'Georgia', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245,240,232,0.6);
  font-style: italic;
  position: relative;
}

.manifest-body { max-width: 720px; margin: 0 auto; padding: 5rem 2rem 8rem; }

.opening-quote {
  text-align: center;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid rgba(184,148,42,0.2);
  margin-bottom: 4rem;
}
.opening-quote blockquote {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.opening-quote .attr {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.kapitel { margin-bottom: 4rem; }
.kapitel-nr {
  font-family: 'Arial', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.kapitel h2 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.kapitel h3 {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}
.kapitel p { color: var(--text); margin-bottom: 1.2rem; font-size: 1rem; }
.kapitel p:last-child { margin-bottom: 0; }
.kapitel-divider { width: 40px; height: 2px; background: var(--gold); margin: 2rem 0; opacity: 0.5; }

.highlight {
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}

.mitmachen-liste { margin: 1.5rem 0; }
.mitmachen-item { padding: 1.2rem 0; border-bottom: 1px solid rgba(26,35,64,0.08); }
.mitmachen-item:last-child { border-bottom: none; }
.mitmachen-item h4 {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.mitmachen-item p { margin-bottom: 0; font-size: 0.95rem; }

.schluss {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--navy);
  margin: 4rem -2rem -8rem;
}
.schluss p { color: rgba(245,240,232,0.7); font-size: 1rem; margin-bottom: 0.5rem; }
.schluss .finale {
  font-family: 'Georgia', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--cream);
  margin: 1.5rem 0;
  line-height: 1.6;
}
.schluss .finale strong {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  font-style: normal;
  color: var(--cream);
  margin-top: 0.5rem;
}
.schluss .zitat-klein { font-style: italic; color: var(--gold-light); margin: 1.5rem 0 2.5rem; }
.schluss .credit {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
}

/* ── SCROLL-DOWN-PFEIL ───────────────────────────────────── */
.scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: -1rem auto 0;
  color: var(--gold);
  text-decoration: none;
  animation: bounce 2s infinite;
  position: relative;
  z-index: 10;
}
.scroll-down svg { width: 32px; height: 32px; }
.scroll-down:hover { color: var(--navy); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── NACH-OBEN-BUTTON ────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: #fff;
}
.back-to-top svg { width: 22px; height: 22px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0.05em;
}
footer .footer-logo {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
  margin-bottom: 0.8rem;
  display: block;
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { color: rgba(245,240,232,0.75); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin: 0.9rem 0 0.5rem;
}
.footer-nav a {
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-copy {
  margin-top: 0.5rem;
  line-height: 1.8;
}

/* Einfache Footer-Variante (Unterseiten) */
footer.simple {
  padding: 1.5rem 2rem;
  opacity: 0.9;
  font-size: 0.8rem;
  color: var(--cream);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Hamburger ein, Nav-Links als Dropdown */
  .nav-toggle { display: flex; }
  nav { position: relative; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184,148,42,0.25);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    z-index: 200;
  }
  nav ul.nav-open { display: flex; }
  nav ul a { padding: 0.9rem 2rem; font-size: 0.8rem; }

  /* Layout */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 50vw; order: -1; }
  .drei-zeiten { grid-template-columns: 1fr; }
  .gesucht-grid { grid-template-columns: 1fr; }
  .manifest-teaser { padding: 2.5rem 1.8rem; }

  /* Footer */
  footer { padding: 2.5rem 1.25rem; }
  .footer-nav { gap: 0.6rem 1rem; font-size: 0.82rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  main { padding: 2.5rem 1.25rem; }
  .footer-nav { gap: 0.6rem 0.8rem; font-size: 0.8rem; }
  .footer-copy { font-size: 0.75rem; }
}
