/* ============================================================
   landing.css – knuth-rueffer.de One-Pager
   Farbwelt: Teal / Dunkelblau / Gold (wie Wahlplakat)
   ============================================================ */

:root {
  --teal:       #52b7c1;
  --teal-deep:  #2a7f88;
  --teal-10:    #edf9fa;
  --blue:       #2d3c4b;
  --blue-90:    #243240;
  --gold:       #ffa600;
  --white:      #ffffff;
  --text:       #2d3c4b;
  --radius:     10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 60, 75, 0.08);
}

.wordmark {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--blue);
  text-decoration: none;
}
.wordmark strong { font-weight: 900; }

.topbar-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.topbar-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.topbar-nav a:hover { color: var(--teal-deep); }

.topbar-mail {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.topbar-mail:hover {
  background: var(--blue);
  color: var(--white) !important;
}

.topbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.topbar-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.topbar-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar-burger.is-active span:nth-child(2) { opacity: 0; }
.topbar-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--teal-10) 0%, var(--white) 78%);
  overflow: hidden;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--blue);
}

.hero h1 .accent { color: var(--teal-deep); }

.hero-intro {
  margin-top: 1.5rem;
  font-size: 1.12rem;
  max-width: 32rem;
  color: rgba(45, 60, 75, 0.85);
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.claim {
  margin-top: 2.6rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue);
}
.claim::before {
  content: '';
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.5rem;
  vertical-align: -0.18em;
  border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center/70% no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue);
  box-shadow: 0 2px 10px rgba(255, 166, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 166, 0, 0.45);
}

.btn-ghost {
  border: 1.5px solid rgba(45, 60, 75, 0.35);
  color: var(--blue);
}
.btn-ghost:hover { border-color: var(--blue); }

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-meta { font-weight: 400; opacity: 0.7; }

/* ---------- Slider ---------- */
.hero-media { position: relative; }

/* dezenter Versatz-Rahmen hinter dem Slider */
.hero-media::before {
  content: '';
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  background: var(--teal);
  border-radius: var(--radius);
  opacity: 0.18;
}

.slider {
  position: relative;
  aspect-ratio: 0.72;
  max-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(45, 60, 75, 0.22);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.slide.is-active { opacity: 1; }

/* Logo-Slide: CDU-Logo zentriert auf Teal-Fläche */
.slide-logo {
  object-fit: contain;
  object-position: center;
  padding: 18% 12%;
  background: var(--teal);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 2;
}

.dot {
  width: 0.62rem;
  height: 0.62rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}

/* ---------- Brief ---------- */
.brief {
  background: var(--blue);
  color: var(--white);
}

.brief-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 2rem);
}

.kicker-light { color: var(--teal); }

.brief h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

.brief-text p {
  margin-bottom: 1.3rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.brief-cta {
  font-weight: 700;
  color: var(--white) !important;
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
}

.signature {
  margin-top: 2.4rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--teal);
}

/* ---------- Flyer ---------- */
.flyer {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--white);
}

.flyer-card {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--teal-10);
  border: 1px solid rgba(82, 183, 193, 0.35);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
}

.flyer h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.flyer-copy p:last-child {
  max-width: 30rem;
  color: rgba(45, 60, 75, 0.8);
}

/* CDU-Verweis: Dunkelblau-Fläche mit Gold-Akzent wie auf dem Plakat */
.cdu-hinweis {
  flex-basis: 100%;
  background: var(--blue);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.cdu-hinweis a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.35rem;
}
.cdu-hinweis a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-90);
  color: var(--white);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.6rem clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-name { font-weight: 900; font-size: 1.05rem; }
.footer-sub { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }

.footer-sub-mail {
  color: var(--teal);
  text-decoration: none;
}
.footer-sub-mail:hover { color: var(--gold); }

.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.65);
}
.footer-credit a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s, transform 0.12s;
}
.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: rgba(255, 255, 255, 0.85);
}
.social-link:hover {
  background: var(--teal);
  transform: translateY(-2px);
}
.social-link:hover svg { fill: var(--white); }

.footer-contact {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-contact a:hover { color: var(--gold); }

.footer-mail { font-weight: 700; color: var(--teal) !important; }
.footer-mail:hover { color: var(--gold) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
  .slider { max-height: 480px; }

  .topbar-burger { display: flex; }

  .topbar-nav {
    position: fixed;
    top: 70px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(45, 60, 75, 0.2);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .topbar-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .topbar-nav a {
    display: block;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid rgba(45, 60, 75, 0.08);
  }
  .topbar-nav a:last-of-type { border-bottom: none; }
  .topbar-nav a.topbar-mail {
    text-align: center;
    margin-top: 0.5rem;
    border-bottom: none;
  }
}
