/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 5rem;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 10rem 2rem 0;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}


.hero h1 {
  font-family: var(--heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--text-mid);
  padding-bottom: 0.4rem;
  transition: color 0.3s, border-color 0.3s;
}

.hero-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}


/* ---- SECTIONS ---- */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 60px;
}

.section-divider {
  border: none;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
}

.section-anchor {
  display: block;
  height: 0;
  visibility: hidden;
}

/* ---- FEATURES ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.feature {
  background: var(--surface);
  padding: 3rem;
  transition: background 0.5s, transform 0.5s;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature:hover {
  background: var(--surface-2);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.feature-num {
  font-size: 1.4rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.feature:hover .feature-num {
  color: var(--accent);
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.feature h3 {
  font-family: var(--heading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---- FLUGPLATZ ---- */
.flugplatz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* Flugplatz Info-Cards (rechte Spalte) */
.flugplatz-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.fp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.fp-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}

.fp-card-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.fp-card-value {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.fp-card-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.fp-card-coords {
  font-size: 0.75rem;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.fp-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fp-card--wide .fp-card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.fp-card--wide .fp-card-text .fp-card-value {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}

.bullet-item:hover .bullet-dot {
  box-shadow: 0 0 10px var(--accent);
}

@media (max-width: 768px) {
  .flugplatz-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .fp-card { padding: 1.25rem; }
  .fp-card-value { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .flugplatz-facts { grid-template-columns: 1fr; }
  .fp-card--wide { flex-direction: column; align-items: flex-start; }
}

/* ---- GALLERY STRIP ---- */
/* ---- GALERIE: Polaroid-Stack ---- */

.gallery-strip-wrap {
  position: relative;
  margin-top: 2.5rem;
}

.gallery-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 30px 10px 40px;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip.dragging {
  cursor: grabbing;
}

/* Polaroid-Karten */
.gallery-strip-item {
  flex-shrink: 0;
  width: 220px;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 12px 12px 40px;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Leichte Rotation abwechselnd */
.gallery-strip-item:nth-child(odd) {
  transform: rotate(-1.5deg) translateZ(0);
}

.gallery-strip-item:nth-child(even) {
  transform: rotate(1.2deg) translateZ(0);
}

.gallery-strip-item:nth-child(3n) {
  transform: rotate(-0.5deg) translateY(-6px) translateZ(0);
}

/* Hover: gerade stellen, anheben */
.gallery-strip-item:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03) translateZ(0);
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Bild im Polaroid */
.gallery-strip-item-img {
  overflow: hidden;
  height: 180px;
}
.gallery-strip-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(var(--crop-zoom, 1));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-strip-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--surface-2);
}

/* Info unterhalb des Bildes (im Polaroid-Rand) */
.gallery-strip-item-info {
  position: static;
  padding: 10px 0 0;
  height: 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.gallery-strip-item-title {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.gallery-strip-item-event {
  font-size: 0.7rem;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
  line-height: 1.3;
}

.gallery-strip-item-date {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #999;
  margin-top: 0.1rem;
  line-height: 1.3;
}

/* Dark-Mode: Polaroid-Rahmen */
[data-theme="dark"] .gallery-strip-item {
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .gallery-strip-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .gallery-strip-item-title {
  color: #888;
}

[data-theme="dark"] .gallery-strip-item-date {
  color: var(--text-dim);
}

[data-theme="dark"] .gallery-strip-item-event {
  color: var(--accent);
}

/* Arrow buttons */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-mid);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.35s;
}

.gallery-strip-wrap:hover .gallery-arrow {
  opacity: 1;
  pointer-events: auto;
}

.gallery-arrow:hover {
  background: var(--surface-3);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.gallery-arrow--hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gallery-arrow--left {
  left: 16px;
}

.gallery-arrow--right {
  right: 16px;
}

.gallery-arrow svg {
  width: 16px;
  height: 16px;
}

.gallery-empty {
  margin-top: 2.5rem;
  padding: 4rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .gallery-strip {
    gap: 16px;
    padding: 20px 1rem 40px;
  }

  .gallery-strip-item {
    width: 170px;
    padding: 8px 8px 36px;
  }

  .gallery-strip-item img {
    height: 140px;
  }

  .gallery-arrow {
    display: none;
  }
}

/* ---- BLOG (index) ---- */
.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 640px) {
  .blog-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.home-article-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}

.home-article-list .article-item {
  display: block;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.home-article-list .article-item {
  transition: opacity 0.2s;
}

.home-article-list .article-item:nth-child(-n+2) {
  border-top: none;
}

.home-article-list .article-item:hover {
  opacity: 0.8;
}

.home-article-list .article-meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-article-list .article-meta .tag {
  color: var(--accent);
  font-weight: 500;
}

.home-article-list .article-meta .sep {
  color: var(--border-light);
}

.home-article-list .article-thumb-wrap {
  float: right;
  width: 130px;
  height: 87px;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}

.home-article-list .article-thumb-wrap>.article-thumb {
  float: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home-article-list .article-thumb {
  float: right;
  width: 130px;
  height: 87px;
  object-fit: cover;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-article-list .article-item:hover .article-thumb {
  transform: scale(1.08);
}

.home-article-list .article-thumb-placeholder {
  float: right;
  width: 130px;
  height: 87px;
  margin-left: 1.5rem;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-article-list .article-media-info {
  display: flex;
  gap: 0.6rem;
  margin-top: -0.55rem;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.home-article-list .article-media-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.home-article-list .article-media-info svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.home-article-list .article-item h3 {
  font-family: var(--heading);
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.home-article-list .article-item:hover h3 {
  color: var(--accent);
}

.home-article-list .article-item p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-article-list .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
  clear: both;
}

.home-article-list .article-item:hover .read-more {
  color: var(--accent);
}

.home-article-list .read-more svg {
  transition: transform 0.3s;
}

.home-article-list .article-item:hover .read-more svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .home-article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .home-article-list .article-thumb-wrap,
  .home-article-list .article-thumb,
  .home-article-list .article-thumb-placeholder {
    width: 100px;
    height: 67px;
    margin-left: 1rem;
  }

  .home-article-list .article-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .home-article-list .article-meta .sep {
    display: none;
  }
}

/* ---- EVENTS ---- */
.events-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}

.event-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a.event-row {
  cursor: pointer;
}

.event-row:hover {
  opacity: 0.8;
}

.event-date-block {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: center;
}

/* Datumsblock: Monat + Tag (einheitlich für alle Fälle) */
.stack-month {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--sans);
}
.stack-day {
  font-family: var(--heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

/* Mehrtägig (gleicher Monat): Tage nebeneinander */
.event-day-range {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.event-day-sep {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1;
}

/* Mehrtägig (verschiedene Monate): gestapelt */
.event-date-stack {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.event-date-stack-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.event-date-stack-arrow {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1;
  margin-top: 0.75rem;
}

.event-sep {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 1.25rem;
}

.event-body {
  flex: 1;
  min-width: 0;
}

.event-title-text {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.event-type-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.35rem;
}

.event-row:hover .event-title-text {
  color: var(--accent);
}

.event-detail {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.event-desc {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-arrow {
  font-size: 1.4rem;
  color: var(--text-dim);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;
}

a.event-row:hover .event-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.events-empty {
  padding: 2rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.events-list .event-row:nth-child(-n+2) {
  border-top: none;
}

/* ---- EVENTS PAGE (termine.html) ---- */
.events-page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.events-loading {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .events-list {
    grid-template-columns: 1fr;
  }
  .event-date-block {
    width: 100px;
  }
  .event-sep {
    margin: 0 0.75rem;
  }
  .event-arrow {
    margin-left: 0.5rem;
  }
  .events-page-layout {
    padding: 0 1.5rem 4rem;
  }
}

/* ---- CTA ---- */
/* ---- GLOBAL RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 5rem;
  }

  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .section {
    padding: 5rem 1.5rem;
  }
}