/* ========= Neue globale Styles (Redesign 2025) ========= */
:root {
  --primary: #f5afaf;
  --primary-600: #e28f8f;
  --accent: #f9dfdf;
  --accent-700: #e9c4c4;

  --success: #9cccaf;
  --warning: #f7d8a6;
  --danger: #e68a8a;

  --bg: #fcf8f8;
  --bg-alt: #fbefef;
  --surface: #ffffff;

  --muted: #b8acac;
  --text: #5f4c4c;
  --heading: #3a2c2c;

  --border: #eadede;
  --shadow: 0 10px 30px rgba(90, 70, 70, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --font-family: 'Work Sans', sans-serif;
}

/* ========= 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;
}

.header-wrap .row {
  min-height: 92px;
}

.navbar {
  font-family: var(--font-family);
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 12px;
}

.navbar-brand .brand-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  padding: 18px 20px;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color .25s ease, transform .25s ease;
  text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--accent);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-nav {
  gap: 6px;
}

/* ========= Buttons ========= */
.btn {
  font-family: var(--font-family);
  padding: 12px 20px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border-radius: 99px;
}
.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(245, 175, 175, .25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary) 100%);
  box-shadow: 0 12px 34px rgba(226, 143, 143, .35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ========= PROGRAMS SECTION ========= */

.programs-section {
  position: relative;
  padding: 110px 0;
  background-image: url('../img/main.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.programs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(78 54 18);
  z-index: 1;
  pointer-events: none;
  animation: bgPulse 6s ease-in-out infinite;
}

@keyframes bgPulse {
  0%   { opacity: 0.25; }
  50%  { opacity: 0.35; }
  100% { opacity: 0.25; }
}

.programs-title {
  position: relative;
  z-index: 2;
  font-size: 2.6rem;
  text-align: center;
  color: #fff;
  margin: 40px 0 60px;
}

.program-card {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(5px);

  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.25);

  transition: transform .35s ease, box-shadow .35s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.18);
}

.program-number {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  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.15rem;
  box-shadow: 0 10px 24px rgba(245,175,175,0.3);
}

.program-title {
  margin-top: 64px;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.4rem;
}

.program-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  transition: all .25s ease;
}

.program-feature + .program-feature {
  margin-top: 12px;
}

.program-feature:hover {
  background: rgba(255,255,255,1);
  transform: translateX(4px);
  border-color: rgba(245,175,175,0.35);
}

.program-feature-icon {
  width: 60px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(245,175,175,0.25);
}

.program-feature-text {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}
.programs-section .col-lg-4,
.programs-section .col-md-6,
.programs-section .col-md-12 {
  margin-bottom: 32px;
}

/* ========= Tipps ========= */
.tips-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #fbefef 0%, #f9dfdf 100%);
  overflow: hidden;
}

.tips-section::before,
.tips-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.tips-section::before {
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245,175,175,0.18), transparent 70%);
}

.tips-section::after {
  bottom: -45px;
  left: -45px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(249,223,223,0.12), transparent 70%);
}

.tips-title {
  z-index: 2;
  font-size: 2.7rem;
  text-align: center;
  color: var(--heading);
  margin-bottom: 22px;
  font-weight: 800;
}

.tips-intro {
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
  color: #594a4a;
  font-size: 1.08rem;
  line-height: 1.65;
}

.tips-grid {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 55px;
}

.tip-item {
  background: #fff;
  border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 8px 28px rgba(90,70,70,0.09);
  transition: all .3s ease;
}

.tip-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(90,70,70,0.14);
}

.tip-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(245,175,175,0.22);
}

.tip-title {
  font-size: 1.28rem;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 12px;
}

.tip-description {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tips-cta {
  z-index: 2;
  margin-top: 50px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 38px;
  box-shadow: 0 8px 32px rgba(90,70,70,0.08);
  border: 1px solid rgba(0,0,0,0.03);
}

.tips-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--heading);
  font-weight: 700;
}

.tips-cta p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.tips-cta .btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(245,175,175,0.25);
  transition: all .3s ease;
}

.tips-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,175,175,0.35);
}

@media(max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* Vorteile */
.advantages-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #3a2c2c 0%, #5f4c4c 100%);
  overflow: hidden;
}

.advantages-section::before,
.advantages-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.advantages-section::before {
  top: -40px;
  right: -40px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(245,175,175,0.22) 0%, transparent 70%);
}

.advantages-section::after {
  bottom: -25px;
  left: -25px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(249,223,223,0.18) 0%, transparent 70%);
}

.advantages-title {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  z-index: 2;
}
.advantages-image {
  border-radius: 1rem;
}
.advantages-intro {
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
  font-size: 1.1rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  position: relative;
  z-index: 2;
}

.advantage-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(60,40,40,0.18);
  transition: all .28s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 16px 40px rgba(60,40,40,0.28);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.advantage-title-item {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.advantage-text {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ========= Über uns ========= */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}

.about-image {
  width: 85%;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.feature-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ========= Kontakt ========= */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.contact-title {
  font-size: 2.3rem;
  text-align: center;
  color: var(--heading);
}

.contact-description {
  text-align: center;
  max-width: 820px;
  margin: 14px auto 42px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.form-floating {
  margin-bottom: 20px;
}

.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 {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(245,175,175,.18);
}

.form-floating label i {
  color: var(--primary);
}

.error-message {
  color: var(--danger);
  min-height: 1.1rem;
  font-size: .9rem;
}

.contact-submit {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .25s ease;
}

.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245,175,175,.32);
}

/* CTA Styling */
.contact-cta {
  margin-top: 55px;
  /* max-width: 600px; */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 15px 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 28px rgba(90, 70, 70, 0.1);
}

.contact-cta h4 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: var(--heading);
  font-weight: 700;
}

.contact-cta p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ========= Erfolgsgeschichten ========= */
.success-section {
  padding: 90px 0;
  background: var(--bg);
}

.success-title {
  font-size: 2.3rem;
  text-align: center;
  color: var(--heading);
}

.success-intro {
  text-align: center;
  max-width: 820px;
  margin: 12px auto 40px;
  color: var(--muted);
}
.success-section .container .swiper {
  min-height: 400px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(90,70,70,0.18);
}

.quote-icon {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 20px;
}

.testimonial-author {
  color: var(--heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.author-icon {
  color: var(--accent);
  font-size: 18px;
}

.success-slider .swiper-pagination-bullet {
  background: var(--primary);
  opacity: .35;
}

.success-slider .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.08);
}

/* ========= Footer ========= */
/* ========= Footer ========= */
.footer {
  position: relative;
  background: linear-gradient(135deg, #2b2222 0%, #4a3b3b 40%, #7c6a6a 100%),
  url("../img/footer-texture.webp");
  background-size: cover;
  background-blend-mode: overlay;
  color: var(--muted);
  padding: 80px 0 30px;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245,175,175,0.16) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer a {
  text-decoration: none;
  color: #e2e8f0;
  transition: all .22s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer-brand {
  color: #fff !important;
  font-weight: 800;
  font-size: 1.9rem;
  display: block;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-description {
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.footer-section-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 18px;
  border-radius: 14px;
  transition: all .25s ease;
}

.footer-email:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.12);
}

.footer-email-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .25s ease;
}

.footer-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  transform: translateX(6px);
}

.footer-link i {
  font-size: 1.1rem;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 42px;
  padding-top: 22px;
  text-align: center;
  color: #b5c0d1;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 60%, transparent 100%);
}


/* ========= Cookie Banner ========= */
.cookie-wrapper {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: min(420px, 92%);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 12px 38px rgba(0,0,0,0.18);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s ease;
}

.cookie-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-header i {
  font-size: 28px;
  color: var(--accent);
}

.cookie-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}

.cookie-text p {
  margin-top: 12px;
  color: var(--text);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cookie-button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.cookie-button.accept {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.cookie-button.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245,175,175,0.35);
}

.cookie-button.decline {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border);
  color: var(--heading);
}

.cookie-button.decline:hover {
  background: rgba(255,255,255,0.8);
}

/* ========= 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 ========= */

.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: var(--muted);
  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;
}
