/* File: assets/css/landing.css */

/* 0) Body-Override für Landing */
.landing-body {
  background: var(--deepest-blue) !important;
  padding-bottom: 0 !important;
}

/* 1) Header: Logo links, Button rechts */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Startet transparent */
  background: transparent;
  backdrop-filter: none;
}

.container.content-page {
  padding-top: 80px; /* Platz für fixierten Header */
}

/* Header nach Scroll: Blur-Background */
.landing-header.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Logo: Links, groß → klein */
.logo-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-header.scrolled .logo-brand {
  font-size: 22px;
}

/* Header CTA-Button: Versteckt am Anfang, erscheint beim Scrollen */
.header-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.landing-header.scrolled .header-cta {
  opacity: 1;
  pointer-events: auto;
}

/* 2) Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  gap: 8px;
  border-radius: 0 !important;
  transition: all 0.25s ease;
  font-weight: 500;
}

.button-lg {
  height: 52px;
  font-size: 16px;
  padding: 0 32px;
  border-radius: 0 !important;
}

.button-primary {
  background: var(--primary-color);
  color: var(--text-dark) !important;
}

.button-primary:hover {
  background: var(--primary-color-hover);
  box-shadow: 0 6px 16px rgba(85, 120, 235, 0.35);
}

/* 3) Hero mit Hintergrundbild */
.hero-with-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  
  /* Hintergrundbild */
  background-image: url('../images/default_background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 100px 32px 80px;
}

.hero-content h1 {
  margin: 0 0 28px 0;
  font-size: clamp(42px, 7.5vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-content .subtitle {
  color: rgba(255, 255, 255, 0.93);
  margin: 0 auto 40px auto;
  max-width: 680px;
  font-size: clamp(18px, 3vw, 25px);
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  font-weight: 300;
}

/* Hero CTA: Mittig unter Text, verschwindet beim Scrollen */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-btn {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-with-bg {
    min-height: 90vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 80px 24px 64px;
  }
  
  .landing-header {
    padding: 20px 24px;
  }
  
  .landing-header.scrolled {
    padding: 14px 24px;
  }
  
  .logo-brand {
    font-size: 28px;
  }
  
  .landing-header.scrolled .logo-brand {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-with-bg {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: 72px 20px 56px;
  }
  
  .hero-content h1 {
    margin-bottom: 24px;
  }
  
  .hero-content .subtitle {
    margin-bottom: 32px;
  }
  
  .button-lg {
    height: 48px;
    font-size: 15px;
    padding: 0 26px;
  }
  
  .landing-header {
    padding: 16px 20px;
  }
  
  .landing-header.scrolled {
    padding: 12px 20px;
  }
  
  .logo-brand {
    font-size: 24px;
  }
  
  .landing-header.scrolled .logo-brand {
    font-size: 19px;
  }
}

/* 4) Features */
.landing-title {
  margin: 64px auto 36px;
  max-width: 900px;
  text-align: center !important;
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 600;
}

.features {
  padding: 80px 32px 0 32px;
  background: var(--deepest-blue);
}

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    padding: 64px 24px;
  }
  
  .landing-title {
    margin: 56px auto 28px;
  }
}

/* 5) Feature Tiles */
.feature-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--background-light);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 26px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-tile:hover {
  background: var(--background);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.feature-tile .icon {
  color: var(--primary-color);
  font-size: 28px;
}

.tile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-tile h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.feature-tile p {
  margin: 0;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.65;
}

/* 6) Bottom CTA */
.cta-bottom {
  padding: 80px 32px 128px;
  text-align: center !important;
  background: var(--deepest-blue);
}

.cta-bottom .subtitle {
  color: var(--text-sub);
  margin: 0 auto 32px auto;
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 19px);
}

/* 7) Footer */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 32px 40px;
}

/* .footer-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
} */
