/* ==========================================================================
   LuKi Events – Modern Pure HTML5 / CSS3 Stylesheet (Zero JavaScript)
   ========================================================================== */

:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #40916c;
  --color-accent: #76b38f;
  --color-accent-soft: #d8f3dc;
  --color-bg: #f7faf8;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #4b5563;
  --color-border: #e5e7eb;
  --color-border-hover: #b7e4c7;
  --color-error: #dc2626;
  --color-success: #15803d;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-normal: all 0.2s ease-in-out;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-dark);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   Header & Pure CSS Navigation (Zero JavaScript)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
}

.logo-icon {
  font-size: 1.7rem;
}

/* Hide checkbox used for CSS toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--color-primary-dark);
  height: 3px;
  width: 26px;
  border-radius: 2px;
  position: relative;
  transition: var(--transition-normal);
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before { bottom: 8px; }
.nav-toggle-label span::after { top: 8px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-accent-soft);
  text-decoration: none;
}

.nav-badge {
  font-size: 0.72rem;
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.9) 0%, rgba(45, 106, 79, 0.8) 100%),
              url('../assets/images/luki_header.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  text-align: center;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.15);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent-soft);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--color-primary-dark);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Content Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Cards & Grids
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-hover);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img {
  transform: scale(1.04);
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.card-tag.protected {
  background-color: #b45309;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.card-text {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Guides & Van Feature Spotlight
   -------------------------------------------------------------------------- */
.feature-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Timeline / Programm (Pfingsten & Events)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background-color: var(--color-accent-soft);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-time {
  font-weight: 800;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background-color: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Interactive Pure HTML5 Checklist (No JavaScript required!)
   -------------------------------------------------------------------------- */
.checklist-group {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.checklist-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent-soft);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px dashed var(--color-border);
  transition: background-color 0.15s ease;
}

.check-item:last-child {
  border-bottom: none;
}

.check-item:hover {
  background-color: #f8faf9;
}

.check-item input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.check-item input[type="checkbox"]:checked + label {
  text-decoration: line-through;
  color: #9ca3af;
}

.check-item label {
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.45;
  user-select: none;
}

.quote-box {
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, #ffffff 100%);
  border-left: 5px solid var(--color-primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Video Cards (Betriebsanleitung)
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.video-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-wrapper {
  background-color: #000000;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 1.25rem;
}

.video-num {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.video-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Password Gate (Variante A – Pure HTML5 Design)
   -------------------------------------------------------------------------- */
.auth-wrapper {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.auth-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.auth-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.auth-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-desc {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.alert-error {
  background-color: #fee2e2;
  color: var(--color-error);
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: #111827;
  color: #9ca3af;
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Mobile Responsive Styles (Zero JavaScript)
   -------------------------------------------------------------------------- */
@media (max-width: 868px) {
  .nav-toggle-label {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border-bottom: 2px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  /* Checkbox hack to toggle navigation menu with pure CSS */
  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }
  
  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-desc {
    font-size: 1.05rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
