/* ============================================
   Beaver Creek Event Microsite - Mobile First
   Corporate Identity: #27485a (blue), #a7bdae (green), #edc65b (yellow)
   Fonts: Amatic SC (Display), Source Sans 3 (Body)
   ============================================ */

:root {
  /* CI Colors */
  --color-blue: #27485a;
  --color-blue-dark: #1e3a48;
  --color-green: #a7bdae;
  --color-green-light: #c5d9cc;
  --color-yellow: #edc65b;
  --color-yellow-dark: #d4a84a;
  --color-brown: #5c4033;
  --color-white: #ffffff;
  --color-offwhite: #f8f9fa;
  --color-text: #2d2d2d;
  --color-text-light: #5a5a5a;
  
  /* Typography */
  --font-display: 'Amatic SC', cursive;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 88px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(39, 72, 90, 0.1);
  --shadow-lg: 0 8px 40px rgba(39, 72, 90, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-blue-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography */
.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-blue);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-blue);
}

.btn-primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-blue);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-phone {
  background: var(--color-green);
  color: var(--color-blue);
}

.btn-phone:hover {
  background: var(--color-green-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   HEADER - Sticky
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: transparent;
  box-shadow: none;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 80px;
  width: auto;
}

.header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-blue);
  padding: var(--space-xs) 0;
  border-bottom: none;
}

.header:not(.scrolled) .nav a {
  color: var(--color-white);
}

.nav a:hover {
  opacity: 0.85;
}

.header-cta {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.header-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.header:not(.scrolled) .btn-phone {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.5);
}

.header:not(.scrolled) .btn-primary {
  background: var(--color-white);
  color: var(--color-blue);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(39, 72, 90, 0.4) 0%, rgba(39, 72, 90, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subline {
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  opacity: 0.95;
}

.hero-scarcity {
  font-size: 0.95rem;
  color: var(--color-yellow);
  margin-bottom: var(--space-xl);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.hero-cta .btn {
  width: 100%;
  max-width: 280px;
}

.hero-phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-yellow);
  text-decoration: none;
}

.hero-phone:hover {
  color: var(--color-white);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section:nth-child(even) {
  background: var(--color-offwhite);
}

/* Problem-Solution */
.problem-grid {
  display: grid;
  gap: var(--space-xl);
}

.problem-card, .solution-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.problem-card h3, .solution-card h3 {
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.problem-card ul, .solution-card ul {
  list-style: none;
}

.problem-card li, .solution-card li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
}

.problem-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-light);
}

.solution-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

.solution-card {
  border-left: 4px solid var(--color-green);
}

/* Ablauf */
.ablauf-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.ablauf-step {
  display: grid;
  gap: var(--space-md);
  align-items: start;
}

.ablauf-step img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.ablauf-number {
  width: 40px;
  height: 40px;
  background: var(--color-yellow);
  color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.ablauf-content h3 {
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: var(--space-xs);
}

/* Pakete */
.paket-grid {
  display: grid;
  gap: var(--space-lg);
}

.paket-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.paket-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.paket-featured {
  border-color: var(--color-yellow);
  background: linear-gradient(to bottom, rgba(237, 198, 91, 0.05), var(--color-white));
}

.paket-badge {
  position: absolute;
  top: -12px;
  right: var(--space-md);
  background: var(--color-yellow);
  color: var(--color-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.paket-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-blue);
  margin-bottom: var(--space-xs);
}

.paket-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.paket-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.paket-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.paket-features li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
}

.paket-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

.paket-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.paket-card .btn {
  width: 100%;
}

/* USP */
.usp-headline {
  margin-bottom: var(--space-sm);
}

.usp-subline {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.usp-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.usp-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.usp-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-green);
  color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.usp-item h4 {
  font-size: 1.125rem;
  color: var(--color-blue);
  margin-bottom: 0.35rem;
}

.usp-item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Zielgruppen */
.zielgruppen-grid {
  display: grid;
  gap: var(--space-lg);
}

.zielgruppe-card {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.zielgruppe-card h3 {
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: var(--space-sm);
}

/* Rezensionen */
.rezensionen-rating {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: var(--space-lg);
}

.rezensionen-rating::before {
  content: "★★★★★";
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: var(--color-yellow);
  margin-bottom: var(--space-xs);
}

.rezensionen-grid {
  display: grid;
  gap: var(--space-lg);
}

.rezension {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-yellow);
}

.rezension p {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.rezension footer {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.rezension cite {
  font-style: normal;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-md);
  font-weight: 600;
  color: var(--color-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: var(--color-white);
}

.cta-headline {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.cta-subline {
  text-align: center;
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.cta-content {
  display: grid;
  gap: var(--space-xl);
}

.anfrage-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: var(--space-md);
}

.form-row label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-row input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 1rem;
}

.form-row input::placeholder {
  color: rgba(255,255,255,0.6);
}

.form-row input:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 400;
}

.form-checkbox input {
  width: auto;
  margin-top: 4px;
}

.link {
  color: var(--color-yellow);
  text-decoration: underline;
}

.anfrage-form .btn {
  width: 100%;
  margin-top: var(--space-md);
}

.cta-contact {
  text-align: center;
}

.cta-contact p {
  margin-bottom: var(--space-xs);
  opacity: 0.9;
}

.cta-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-yellow);
  margin-bottom: var(--space-lg);
}

.cta-email {
  font-size: 1.125rem;
  color: var(--color-yellow);
}

.cta-phone:hover, .cta-email:hover {
  color: var(--color-white);
}

/* Anfahrt & Karte */
.anfahrt {
  text-align: center;
}

.anfahrt-adresse {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.anfahrt-location {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.anfahrt-btn {
  margin-bottom: var(--space-xl);
}

.anfahrt-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.anfahrt-map iframe {
  display: block;
}

/* Footer */
.footer {
  background: var(--color-blue);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.footer-logo {
  height: 80px;
  margin: 0 auto var(--space-md);
}

.footer p {
  margin-bottom: var(--space-xs);
  opacity: 0.9;
}

.footer a {
  color: var(--color-yellow);
}

.footer a:hover {
  color: var(--color-white);
}

.footer-brand {
  font-size: 0.8rem;
  margin-top: var(--space-md);
  opacity: 0.75;
  font-style: italic;
}

.footer-datenschutz {
  margin-top: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-datenschutz summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.footer-datenschutz p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-agb p,
.footer-impressum p,
.footer-datenschutz-content p {
  margin-bottom: var(--space-sm);
}

.footer-agb p:last-child,
.footer-impressum p:last-child,
.footer-datenschutz-content p:last-child {
  margin-bottom: 0;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-blue);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--color-yellow);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--color-white);
}

.cookie-banner .btn {
  flex-shrink: 0;
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ablauf-step {
    grid-template-columns: 60px 1fr 1fr;
    gap: var(--space-lg);
  }

  .ablauf-step img {
    aspect-ratio: 4/3;
  }

  .paket-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zielgruppen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rezensionen-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-content {
    grid-template-columns: 1fr auto;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
  }

  .cta-contact {
    text-align: left;
  }
}

/* ============================================
   MOBILE - Kompakter Header
   ============================================ */
@media (max-width: 600px) {
  .nav {
    gap: var(--space-sm);
  }

  .nav a {
    font-size: 0.85rem;
  }

  .header-cta .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }

  .usp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
