/* ── AMBIENT GLOW ── */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(232, 76, 107, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── GREEN GLOW ── */
.page::before {
  content: '';
  position: fixed;
  top: 20%;
  left: -5%;
  width: 65%;
  height: 75%;
  background: radial-gradient(ellipse at center, rgba(194, 226, 73, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

/* ── NAV BUTTON ── */
.btn-nav {
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 11px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(232, 76, 107, 0.35);
}

.btn-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 76, 107, 0.45);
}

.btn-nav:active { transform: translateY(0); }

/* ── HERO ── */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 49fr 51fr;
  align-items: center;
  gap: 30px;
  padding: 32px 48px 48px;
  min-height: calc(100vh - 90px);
}

.hero-content {
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.headline-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-white { color: var(--text); }
.headline-accent { color: var(--accent); }

@keyframes cursor-blink {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0; }
}

.divider {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--accent);
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  animation: cursor-blink 1s step-start infinite;
}

.body-text {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.3;
  color: rgba(240, 238, 245, 0.6);
  max-width: 520px;
}

.br-mobile {
  display: block;
  margin-bottom: 1em;
}

/* ── CTA BUTTON ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 28px rgba(232, 76, 107, 0.4);
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(232, 76, 107, 0.5);
}

.btn-cta:active { transform: translateY(0); }

.btn-cta:hover .btn-arrow,
.btn-nav:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── HERO IMAGE ── */
.hero-image-wrap {
  position: relative;
  height: min(710px, 80vh);
  border-radius: 88px;
  overflow: hidden;
}

@keyframes image-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: image-fade-in 5s ease forwards;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 23, 41, 0.15) 0%,
    transparent 30%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: 20px;
}

/* ── FOOTER ── */
.site-footer {
  padding: 20px 48px;
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 30px;
}

.site-footer a {
  font-size: 0.8rem;
  color: rgba(240, 238, 245, 0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: rgba(240, 238, 245, 0.7); }

/* ── RESPONSIVE 900px ── */
@media (max-width: 900px) {

  /* Nav schwebt über dem Bild */
  nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px 24px;
  }

  .logo { font-size: 1.265rem; }

  .hero {
    display: flex;
    flex-direction: column;
    padding: 0 24px 40px;
    min-height: unset;
    gap: 32px;
  }

  .hero-content { display: contents; }

  /* Gradient über dem Bild – hängt an der Nav, die bereits z-index:10 hat */
  nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: linear-gradient(
      to bottom,
      rgba(1, 13, 24, 0.8) 0%,
      rgba(1, 13, 24, 0.3) 60%,
      transparent 100%
    );
    pointer-events: none;
    z-index: -1;
  }

  /* Desktop-Gradient deaktivieren */
  .hero-image-wrap::after { content: none; }

  /* Bild kommt zuerst, bricht aus dem Hero-Padding aus */
  .hero-image-wrap {
    order: 1;
    height: 70vh;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -30px;
    border-radius: 0;
  }

  .hero-image {
    animation-duration: 1s;
    transform: scale(1.25);
    transform-origin: center center;
  }

  .headline-block {
    order: 2;
    margin-top: 0;
    width: 100%;
  }

  .body-text {
    order: 3;
    max-width: 100%;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .br-mobile {
    display: block;
    margin-bottom: 1.4em;
  }

  .btn-cta {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .headline { font-size: clamp(2.1rem, 8.5vw, 2.9rem); }

  .divider {
    display: block;
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
  nav { padding: 16px 20px; }

  .hero { padding: 0 20px 36px; }

  .btn-nav {
    font-size: 0.8rem;
    padding: 9px 16px;
  }

  .hero-image-wrap {
    height: 70vh;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
}
