.policy,
.success {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #6b7280;
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
}

/* Cookies Popup */
.cookies-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 24px;
  max-width: 400px;
  z-index: 1000;
  transform: translateY(100px);
  display: none;
  transition: all 0.3s ease;
}

.cookies-popup.show {
  transform: translateY(0);
  display: block;
}

.cookies-popup h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.cookies-popup p {
  margin-bottom: 20px;
  color: #6b7280;
  font-size: 14px;
}

.cookies-buttons {
  display: flex;
  gap: 12px;
}

.cookies-buttons .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
}

.navbar {
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #374151;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
 
  background-image: url("../img/bg-1.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 32px;
}

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #1f2937;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Kurse Section */
.kurse {
  background-color: #f9fafb;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-image {
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-content {
  padding: 24px;
}

.course-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
}

.course-content p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.course-link:hover {
  color: #2563eb;
}

/* Erfahrungen Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1f2937;
}

.testimonial-role {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 14px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: #4b5563;
  line-height: 1.6;
}

/* Stärken Section */
.staerken {
  background-color: #f9fafb;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.strength-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.strength-card:nth-child(1) {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
}

.strength-card:nth-child(2) {
  background: linear-gradient(135deg, #d1fae5 0%, #10b981 100%);
}

.strength-card:nth-child(3) {
  background: linear-gradient(135deg, #dbeafe 0%, #3b82f6 100%);
}

.strength-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-icon img {
  width: 32px;
  height: 32px;
}

.strength-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1f2937;
}

.strength-card p {
  color: #4b5563;
  line-height: 1.6;
}

/* Kontakt Section */
.kontakt {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  background-image: url("../img/bg-2.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
}

.kontakt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.9);
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  color: #9ca3af;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    padding: 40px 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-link {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .courses-grid,
  .testimonials-grid,
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .cookies-popup {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .cookies-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 28px;
  }

  section {
    padding: 60px 0;
  }

  .course-content,
  .testimonial-card {
    padding: 20px;
  }

  .strength-card {
    padding: 24px 20px;
  }
}

/* Animation for smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  .course-card,
  .testimonial-card,
  .strength-card {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }

  .course-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .course-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .testimonial-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .testimonial-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .strength-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .strength-card:nth-child(3) {
    animation-delay: 0.2s;
  }
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.policy__text h2 {
  text-align: left;
}