/* ========= Neue globale Styles (Redesign 2025) ========= */
:root {
  /* Farbpalette (vollständig neu) */
  --primary: #2563eb; /* Blau */
  --primary-600: #1d4ed8;
  --accent: #f97316; /* Koralle/Orange */
  --accent-700: #ea580c;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg: #f8fafc; /* Hintergrund hell */
  --bg-alt: #eef2ff; /* zarte Fläche */
  --surface: #ffffff; /* Karten/Blöcke */
  --muted: #94a3b8; /* dezenter Text */
  --text: #1e293b; /* Primärtext */
  --heading: #0f172a; /* Headlines */

  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  /* Typografie */
  --font-family: 'Red Hat Mono', monospace;
}

/* ========= Reset & Baseline ========= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-family);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  margin: 0 0 0.6em 0;
  font-weight: 700;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ========= Header & Navbar ========= */
.bg-dark { background: var(--heading) !important; }
.navbar { font-family: var(--font-family); }
.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  padding: 18px 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--accent);
}
.navbar-brand div { letter-spacing: -0.01em; }

/* ========= Buttons ========= */
.btn {
  font-family: var(--font-family);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #fff;
    border: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary) 100%);
  box-shadow: 0 12px 34px rgba(29, 78, 216, .35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ========= Sektion: Programme ========= */
.programs-section {
  position: relative;
  padding: 110px 0;
 
}

.programs-title {
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.iamge-cont { /* типографическая опечатка сохранена из HTML */
  display: none; /* изображение теперь фоновое */
}
.program-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid transparent;
  background-clip: padding-box;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .35s ease, box-shadow .35s ease;
}
.program-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(249,115,22,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.program-card::after {
  content: '';
  position: absolute;
  inset: 0 0 -30% 0;
  border-radius: inherit;
  background: radial-gradient(600px 200px at 50% 120%, rgba(37,99,235,.08), transparent 70%);
  z-index: 0;
}
.program-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.16);
}
.program-number {
  position: absolute;
  top: 18px; left: 18px;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
  z-index: 1;
}
.program-title {
  position: relative;
  margin-top: 54px;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.program-feature {
  position: relative;
  z-index: 1;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.program-feature + .program-feature { margin-top: 10px; }
.program-feature:hover {
  background: linear-gradient(0deg, rgba(37,99,235,.04), rgba(37,99,235,.04)), #fff;
  border-color: rgba(37,99,235,.25);
  transform: translateX(4px);
}
.program-feature-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  width: 36px; height: 36px; border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  font-size: 20px;
  box-shadow: 0 10px 22px rgba(2,6,23,.12);
}
.program-feature-text { color: var(--text); }

/* ========= Sektion: Tipps ========= */
.tips-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}
.tips-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.tips-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.tips-title {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  text-align: center;
  color: var(--heading);
  margin-bottom: 20px;
  font-weight: 800;
}
.tips-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.tips-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.tip-item {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.tip-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.tip-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}
.tip-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading);
}
.tip-description {
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}
.tips-cta {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.tips-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--heading);
  font-weight: 700;
}
.tips-cta p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.tips-cta .btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}
.tips-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

/* ========= Sektion: Vorteile ========= */
.advantages-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  overflow: hidden;
}
.advantages-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.advantages-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.advantages-title {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  text-align: center;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
}
  .advantages-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
  line-height: 1.6;
  }
  .advantages-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
  .advantage-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}
  .advantage-icon {
    width: 60px;
    height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
  .advantage-title-item {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}
.advantage-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
}
.advantages-image {
    border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.advantages-image:hover {
  transform: scale(1.05);
}

/* ========= Sektion: Über uns ========= */
.about-section { padding: 96px 0; background: var(--bg); }
.about-title { font-size: 2.2rem; }
.about-text { color: var(--text); }
.feature-item { display: flex; gap: 12px; padding: 12px; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: #ffffff; }
.feature-icon { color: var(--primary); }
.feature-text { color: var(--text); }
.about-image { border-radius: var(--radius-md); box-shadow: var(--shadow); }

/* ========= Sektion: Kontakt ========= */
.contact-section { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.contact-title { font-size: 2.2rem; text-align: center; }
.contact-description { text-align: center; max-width: 820px; margin: 12px auto 40px; color: var(--muted); }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-floating { margin-bottom: 18px; }
.form-floating .form-control { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 12px; background: #fff; font-family: var(--font-family); }
.form-floating .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form-floating label { color: var(--muted); font-family: var(--font-family); }
.error-message { color: var(--danger); min-height: 1.1rem; font-size: .9rem; }

/* ========= Sektion: Erfolgsgeschichten (Swiper) ========= */
.success-section { padding: 96px 0; background: var(--bg); }
.success-title { font-size: 2.3rem; text-align: center; }
.success-intro { text-align: center; max-width: 820px; margin: 12px auto 36px; color: var(--muted); }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.testimonial-text { color: var(--text); font-style: italic; }
.testimonial-author { color: var(--heading); font-weight: 600; display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.author-icon { color: var(--accent); }
.success-slider .swiper-pagination-bullet { background: var(--primary); opacity: .35; }
.success-slider .swiper-pagination-bullet-active { opacity: 1; transform: scale(1.08); }

/* ========= Footer ========= */
.footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #cbd5e1;
  padding: 80px 0 30px;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}
.footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.footer .container {
  position: relative;
  z-index: 2;
}
.footer a { 
  color: #e2e8f0; 
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer a:hover { 
  color: var(--accent); 
  transform: translateX(4px);
}
.footer-brand { 
  color: #fff !important; 
  font-weight: 800; 
  font-size: 1.8rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}
.footer-brand:hover {
  transform: none;
  background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-section-title { 
  color: #fff; 
  font-weight: 700; 
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}
.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 1px;
}
.footer-email { 
  display: flex;
  align-items: center;
  gap: 12px; 
  color: #e2e8f0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.footer-email:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.footer-email-icon { 
  color: var(--accent);
  font-size: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links .btn-link {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links .btn-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
  border-color: var(--accent);
}
.footer-links .btn-link .material-icons-outlined {
  color: var(--accent);
  font-size: 1.1rem;
}
.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
  margin-top: 40px; 
  padding-top: 24px; 
  text-align: center;
  color: #94a3b8;
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

/* ========= Cookie Banner ========= */
.cookie-wrapper { position: fixed; bottom: 18px; right: 18px; width: min(420px, 92%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow); z-index: 999; }
.cookie-wrapper h2 { margin: 0 0 6px 0; }
.cookie-wrapper .data p { color: var(--muted); }
.cookie-button { background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px 14px; cursor: pointer; }
.cookie-button + .cookie-button { margin-left: 8px; background: var(--accent); }

/* ========= Utilities ========= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.w-100 { width: 100% !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* ========= Responsive ========= */
@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link { padding: 12px 0; }
}

@media (max-width: 768px) {
  .programs-title, .tips-title, .advantages-title, .contact-title, .success-title { font-size: 1.8rem; }
  .program-card, .tip-item, .advantage-card, .contact-info, .testimonial-card { padding: 20px; }
  
  /* Tips section mobile */
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tips-title {
    font-size: 2.2rem;
  }
  .tip-item {
    padding: 24px 20px;
  }
  
  /* Advantages section mobile */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .advantages-title {
    font-size: 2.2rem;
  }
  .advantage-card {
    padding: 24px 20px;
  }
}

/* ========= Inline Styles Moved to CSS ========= */

/* Logo styles */
.navbar-brand img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.navbar-brand .brand-text {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}

/* Programs section background */


.programs-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.programs-section .main-image {
  width: 100%;
  margin-bottom: 15px;
}

/* About section heading */
.about-section h3 {
  color: var(--heading-color);
  font-weight: 600;
}

/* Footer description */
.footer-description {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

/* Success section heading */
.success-section h2 {
  text-align: center;
}

/* Main content styles for policy pages */
.policy-main {
  margin-bottom: 100px;
}

.policy-article {
  margin-top: 70px;
}

.policy-content {
  padding: 20px 0px;
}
