/* =========================
   GLOBAL & RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff143c;
  --bg-dark: #280050;
  --text-main: #ffffff;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; 
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: 
    linear-gradient(135deg, rgba(40, 0, 80, 0.9), rgba(120, 0, 90, 0.9), rgba(180, 20, 60, 0.9)),
    url("../img/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* =========================
   NAVBAR & HAMBURGER
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(40, 0, 80, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
}

.spacer { flex: 1; }

.nav-links {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  opacity: 0.75;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

/* =========================
   HERO LAYOUT
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 5.5rem 2rem 2rem;
}

.hero-content {
  width: 100%;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 2rem;
}

.hero-copy {
  max-width: 680px;
}

.hero-content h1 {
  font-family: 'Rubik Doodle Shadow', system-ui;
  font-size: clamp(3rem, 10vw, 6.5rem);
  margin-bottom: 2rem;
  line-height: 1.05;
  color: #fff;
  max-width: 1000px;
}

.hero-content .lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  opacity: 0.95;
  max-width: 30rem;
  margin-bottom: 1.35rem;
}

.hero-video {
  width: 100%;
}

.video-card {
  position: relative;
  padding: 0.9rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.35);
}

.quote-box {
  background: transparent;
  border-left: 2px solid rgba(255, 20, 60, 0.45);
  padding: 0.4rem 0 0.4rem 1rem;
  border-radius: 0;
  max-width: 34rem;
}

.quote-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: rgba(255, 20, 60, 0.82);
  margin-bottom: 0.35rem;
}

.quote-box p {
  font-size: 0.96rem;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.82;
  margin-bottom: 0;
}

/* =========================
   SECTIONS & CONTENT BLOCKS
========================= */
.info-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-block {
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 24px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.content-block h2 {
  font-family: 'Rubik Doodle Shadow', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.content-block p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.5rem; 
}

.content-block p:last-of-type {
  margin-bottom: 0;
}

.content-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 20, 60, 0.3);
  transition: var(--transition);
}

.content-block a:hover,
.content-block a:focus-visible {
  border-bottom-color: var(--primary-color);
  opacity: 0.8;
}

.terms-trigger {
  color: var(--primary-color);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 20, 60, 0.3);
  transition: var(--transition);
}

.terms-trigger:hover,
.terms-trigger:focus-visible {
  border-bottom-color: var(--primary-color);
  opacity: 0.8;
}

.step-list {
  margin-top: 3rem;
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.step-list li strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: -5px;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(255, 20, 60, 0.3);
}

.pricing-note {
  margin-top: 1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary-color);
  border-radius: 16px;
}

.pricing-note strong {
  color: #fff;
}

/* =========================
   MODAL
========================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 0, 25, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  width: min(760px, 100%);
  max-height: min(85vh, 900px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(53, 7, 89, 0.96), rgba(34, 1, 67, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}

.modal-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.modal-header h2 {
  font-family: 'Rubik Doodle Shadow', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.modal-header p {
  font-size: 1.05rem;
  opacity: 0.88;
}

.modal-sections {
  display: grid;
  gap: 1rem;
}

.modal-section {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.1rem;
}

.modal-section h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.modal-section p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.modal-section p:last-child {
  margin-bottom: 0;
}

body.modal-open {
  overflow: hidden;
}

/* =========================
   KONTAKTFORMULÄR
========================= */
.main-contact-form {
  margin-top: 2.5rem;
  text-align: left;
  max-width: 700px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.form-group input {
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 20, 60, 0.1);
}

.submit-btn {
  margin-top: 2.5rem;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  border: none;
  background: #fff;
  color: var(--bg-dark);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================
   FOOTER
========================= */
.main-footer {
  padding: 4rem 2rem;
  background: rgba(10, 0, 25, 0.8);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cookie-settings-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: #fff;
}

.social-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  background: rgba(255, 20, 60, 0.18);
  border-color: rgba(255, 20, 60, 0.5);
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2100;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(23, 1, 44, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  max-width: 720px;
}

.cookie-banner__title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  opacity: 0.9;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn--primary {
  background: var(--primary-color);
  color: #fff;
}

.cookie-btn--primary:hover,
.cookie-btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 20, 60, 0.25);
}

.cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-btn--secondary:hover,
.cookie-btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: rgba(30, 0, 60, 0.98);
    width: 85%;
    max-width: 300px;
    height: calc(100vh - 70px);
    padding: 2rem;
    justify-content: flex-start;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.active { right: 0; }

  .hero { padding: 100px 2rem 2rem; }
  .hero-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy,
  .hero-content .lead,
  .quote-box {
    max-width: none;
  }
  
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 650px) {
  .form-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .submit-btn {
    width: 100%;
  }

  .modal-card {
    max-height: 88vh;
    padding: 1.25rem;
  }

  .modal-header {
    padding-right: 2.5rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
