:root {
  --primary: #11434f;
  --primary-dark: #053946;
  --accent: #e27a16;
  --bg-dark: #020617;
  --text-muted: #6b7280;

  /* Bootstrap-Farben auf TDN-Farben anpassen */
  --bs-primary: #11434f;
  --bs-primary-rgb: 17, 67, 79;
  --bs-link-color: #11434f;
  --bs-link-hover-color: #053946;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #f9fafb;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */

.navbar {
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}

.navbar.scrolled {
  background-color: var(--primary-dark) !important;
  padding-top: .35rem;
  padding-bottom: .35rem;
}

/* Hero */

.hero-section {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top left, #e27a16 0, #11434f 35%, #020617 85%);
  color: #fff;
}

.hero-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(15, 23, 42, .85), rgba(17, 67, 79, .65));
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, .8);
  color: #e5e7eb;
  font-size: .75rem;
  margin-bottom: 1rem;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Sections */

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* About / Programme */

.about-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
}

.pill-box {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: .75rem;
  background-color: #f9fafb;
}

.program-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  padding: 1.75rem 1.5rem;
  background-color: #fff;
  box-shadow: 0 14px 45px rgba(15, 23, 42, .04);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 67, 79, .4);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(17, 67, 79, .08);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* News */

.news-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .05);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .1);
  border-color: rgba(17, 67, 79, .4);
}

.news-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background-color: rgba(17, 67, 79, .08);
  color: var(--primary);
  margin-bottom: .5rem;
}

.news-meta {
  font-size: .8rem;
}

/* Team */

.profile-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.team-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

/* Kontakt */

.newsletter-box {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 1.75rem 1.5rem;
  background-color: rgba(15, 23, 42, .3);
}

/* Footer */

.footer {
  font-size: .9rem;
}

/* Back-to-top */

.back-to-top-link {
  cursor: pointer;
}

/* Cookie-Banner */

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  max-width: 600px;
  width: calc(100% - 2rem);
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1055;
  font-size: .85rem;
}

.cookie-banner a {
  color: #bfdbfe;
}

.cookie-text {
  flex: 1;
}

.cookie-actions {
  white-space: nowrap;
}

/* Animationen: Scroll-Fade-In */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text-Gradient */

.text-gradient {
  background: linear-gradient(90deg, #9ccbd6, #fbd2a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Program page */

.page-offset {
  padding-top: 5rem;
}

.page-hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
  /* Gleicher Hintergrund wie auf der Startseite (Hero) */
  background: radial-gradient(circle at top left, #e27a16 0, #11434f 35%, #020617 85%);
  color: #fff;
}

.breadcrumb-nav a {
  color: rgba(229, 231, 235, .9);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.program-sidebar {
  position: sticky;
  top: 6rem;
}

.program-sidebar .nav-link {
  padding: .25rem 0;
  color: #374151;
}

.program-sidebar .nav-link:hover {
  color: var(--primary);
}

.program-article {
  background-color: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .04);
}

.program-section + .program-section {
  margin-top: 2rem;
}

.program-section h2 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}

.program-section ul {
  padding-left: 1.2rem;
}

/* Responsiv */

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 5.5rem;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .program-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}


/* TDN-Logo in der Navbar */
.tdn-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 575.98px) {
  .tdn-logo {
    height: 32px;
  }
}


/* Akzent-Button in TDN-Orange */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover,
.btn-accent:focus {
  background-color: #c26612;
  border-color: #c26612;
  color: #fff;
}


/* TDN-Wortmarke in der Navigation */
.tdn-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tdn-letter {
  display: inline-block;
}

.tdn-letter-t,
.tdn-letter-n {
  color: #e5e7eb; /* helles, neutrales Grau für klare Lesbarkeit ohne Parteifarbanmutung */
}

.tdn-letter-d {
  color: var(--accent);
}


/* Spitzenkandidat-CTA ohne Bild */
.candidate-cta {
  max-width: 720px;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(17, 67, 79, .06), rgba(226, 122, 22, .08));
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.candidate-cta .btn {
  text-decoration: none;
}
