/* =========================================================
   triathlon-coaching.com — style.css
   v0.1.0 · Mobile-First
   ========================================================= */

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Farben */
  --red:      #a60c24;
  --orange:   #e87002;
  --yellow:   #f5ad00;
  --ice:      #e2eff3;
  --mint:     #addad5;
  --teal:     #4d8591;
  --deep:     #00798a;
  --black:    #0d0d0d;
  --white:    #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-500: #6b6b6b;
  --gray-800: #222222;

  /* Semantische Aliase */
  --color-primary:  var(--deep);
  --color-accent:   var(--orange);
  --color-accent-2: var(--yellow);
  --color-bg:       var(--white);
  --color-surface:  var(--ice);
  --color-text:     var(--gray-800);
  --color-muted:    var(--gray-500);

  /* Schriften */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Abstände */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radien */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Sonstiges */
  --transition: 0.25s ease;
  --header-h:   64px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--space-md); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-xs);
}
.section-label.center { text-align: center; }

/* section-label auf dunklem Hintergrund */
.page-hero .section-label,
.post-hero .section-label,
.event-hero .section-label,
.cta-banner .section-label,
.post-cta .section-label,
.hero-content .section-label { color: var(--yellow); }

/* section-label auf hellem Hintergrund (Timeline) */
.timeline-section .section-label { color: var(--deep); }

/* Große section-label mit Border (Abschnittstrennungen) */
.related-section .section-label,
.related-inner .section-label,
.events-upcoming .section-label,
.about-section .section-label,
.events-past .section-label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal);
  padding-bottom: 0.4em;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.events-past { margin-top: var(--space-2xl); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  color: var(--black);
  margin-bottom: var(--space-md);
}
.section-title.center { text-align: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary         { background: var(--red);         color: var(--white); border-color: var(--red); }
.btn-primary:hover   { background: #8a0a1e;            border-color: #8a0a1e; }
.btn-outline         { background: transparent;        color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover   { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-light   { background: transparent;        color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white);   color: var(--black); }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0,79,94,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--yellow);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.4); }

.header-inner {
  height: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 36px; width: auto; filter: invert(1) sepia(1) saturate(0) brightness(1.1); display: block; }
.footer-logo img { height: 32px; width: auto; filter: invert(1) brightness(0.85); opacity: 0.85; }
.logo-tri, .logo-dash, .logo-coaching, .logo-dot, .logo-com { display: none; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Nav-Panel */
.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(0,79,94,0.99);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-sm) 0 var(--space-lg);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
@media (min-width: 700px) {
  .main-nav {
    left: auto;
    width: 300px;
    border-left: 2px solid var(--yellow);
    border-top: none;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
  }
}
.main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

.nav-list { padding-inline: var(--space-md); }

.nav-item {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-item > a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8em 0;
  transition: color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--color-accent); }

.dropdown-toggle {
  flex: 0 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.6rem;
  transition: transform var(--transition), color var(--transition);
  padding: 0;
  line-height: 1;
}
.dropdown-toggle.open { transform: rotate(180deg); color: var(--color-accent); }

.dropdown,
.dropdown-2 {
  display: none;
  flex-basis: 100%;
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-primary);
  margin: 0 0 var(--space-xs) var(--space-xs);
}
.dropdown.open,
.dropdown-2.open { display: block; }

.dropdown li,
.dropdown-2 li {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dropdown li:last-child,
.dropdown-2 li:last-child { border-bottom: none; }

.dropdown li > a,
.dropdown-2 li > a {
  flex: 1;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.55em 0;
  transition: color var(--transition);
}
.dropdown li > a:hover,
.dropdown-2 li > a:hover { color: var(--mint); }

.dropdown-2 { border-left-color: var(--teal); margin-left: var(--space-sm); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--deep); padding-top: var(--space-xl); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 600px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-logo { display: block; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); max-width: 240px; margin: 0; line-height: 1.5; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5em; }
.footer-nav a { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--mint); }
.footer-bottom { padding: var(--space-sm) var(--space-md); text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); margin: 0; }

.footer-social a { display: inline-flex; align-items: center; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-social a:hover { color: var(--mint); }
.social-icon { width: 1.5rem; height: 1.5rem; }

/* =========================================================
   HOME HERO
   ========================================================= */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background: var(--deep);
}
.home-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home-hero-media .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.home-hero-media .hero-img--active { opacity: 1; }

.home-hero-inner {
  position: relative;
  z-index: 3;
  animation: heroIn 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.home-hero-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: var(--space-sm);
}
.home-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.home-hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  margin-top: 0.4em;
}
.home-hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}
.home-hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.home-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Stats Bar */
.stats-bar { background: var(--deep); border-bottom: 2px solid var(--color-primary); }
.stats-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.stat { flex: 1 1 160px; display: flex; flex-direction: column; align-items: center; padding: var(--space-md) var(--space-sm); border-right: 1px solid rgba(255,255,255,0.08); }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: var(--yellow); }
.stat-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.35em; text-align: center; }

/* =========================================================
   PAGE HERO (allgemein: Coaching, Blog, Camps, Artikel...)
   ========================================================= */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep) 0%, #004f5e 60%, var(--teal) 100%);
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) 0;
  border-bottom: 2px solid var(--color-primary);
}
.event-hero { padding-top: calc(var(--header-h) + var(--space-md)); }
.page-hero-inner { padding-bottom: var(--space-lg); }
.page-hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 10vw, 5.5rem); line-height: 1; color: var(--white); margin-bottom: 0.3em; }
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0; }
.page-hero-bar { background: var(--teal); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6em var(--space-md); }
.page-hero-bar span { font-size: 1.15em; color: var(--yellow); }

/* =========================================================
   CONTENT HERO MEDIA (Slideshow / Carousel / Random)
   ========================================================= */
.content-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.content-hero-media .hero-img,
.content-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.content-hero-media .hero-img--active { opacity: 1; }
.hero-media--fixed > img { opacity: 1; }

/* Prev/Next Buttons */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.35);
  color: var(--white);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.hero-prev:hover,
.hero-next:hover { background: rgba(0,0,0,0.6); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot--active { background: var(--white); transform: scale(1.3); }

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding-block: var(--space-2xl); }
@media (min-width: 768px) { .about-section { grid-template-columns: 1fr 1.6fr; align-items: start; } }

.about-image { position: relative; min-height: 300px; }
.about-image .about-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image .about-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.about-image .about-photo-wrap img.hero-img--active,
.about-image .hero-media--fixed img { opacity: 1; }

.about-image-placeholder {
  aspect-ratio: 3/4; background: var(--ice); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--gray-200);
}
.about-image-placeholder .img-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--gray-500); }
.about-image-placeholder svg { width: 80px; }
.img-hint { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0; }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline-section { background: var(--ice); padding-block: var(--space-2xl); }
.timeline-inner { }
.timeline { position: relative; margin-top: var(--space-xl); padding-left: var(--space-lg); }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--color-primary), var(--teal), var(--mint)); }
.tl-item { position: relative; margin-bottom: var(--space-lg); display: grid; grid-template-columns: 60px 1fr; gap: var(--space-md); align-items: start; }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--color-primary); padding-top: 0.15em; text-align: right; position: relative; }
.tl-dot { position: absolute; left: calc(-1 * var(--space-lg) - 5px); top: 0.4em; width: 12px; height: 12px; background: var(--white); border: 3px solid var(--color-primary); border-radius: 50%; }
.tl-item:nth-child(even) .tl-dot { border-color: var(--teal); }
.tl-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-md); border-left: 4px solid var(--color-primary); box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow var(--transition), transform var(--transition); }
.tl-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.tl-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4em; color: var(--black); }
.tl-card p { font-size: 0.92rem; color: var(--gray-500); margin: 0; }
@media (min-width: 768px) { .timeline { padding-left: 5rem; } .tl-item { grid-template-columns: 80px 1fr; } .tl-year { font-size: 1.15rem; } .tl-dot { left: calc(-5rem - 5px); } }

/* =========================================================
   FILTER BAR
   ========================================================= */
.filter-bar { position: sticky; top: var(--header-h); z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.filter-bar-inner { display: flex; flex-direction: column; gap: var(--space-sm); padding-block: var(--space-sm); }

.filter-search-wrap { position: relative; width: 100%; }
.filter-search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--gray-500); width: 18px; pointer-events: none; }
.filter-search {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.6em 1em 0.6em 2.5em;
  border: 1.5px solid var(--gray-200); border-radius: 100px;
  background: var(--gray-100); color: var(--color-text); outline: none;
  transition: border-color var(--transition), background var(--transition); -webkit-appearance: none;
}
.filter-search:focus { border-color: var(--teal); background: var(--white); }
.filter-search::placeholder { color: var(--gray-500); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.4em; }
.pill {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0.9em; border-radius: 100px;
  border: 1.5px solid var(--gray-200); color: var(--gray-500); background: transparent;
  cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); white-space: nowrap;
}
.pill:hover { border-color: var(--teal); color: var(--teal); }
.pill.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--white); }

.filter-tags-toggle {
  display: flex; align-items: center; gap: 0.4em;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); padding: 0.3em 0; transition: color var(--transition);
}
.filter-tags-toggle svg { transition: transform var(--transition); }
.filter-tags-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.filter-tags-toggle:hover { color: var(--deep); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4em; padding-top: 0.4em; }

.tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25em 0.7em; border-radius: 100px;
  background: var(--ice); color: var(--teal); border: 1px solid var(--mint);
  cursor: pointer; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition); white-space: nowrap;
}
.tag:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.tag.active { background: var(--deep); color: var(--white); border-color: var(--deep); }

.filter-meta { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.result-count { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--gray-500); letter-spacing: 0.05em; }
.filter-reset { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); padding: 0.25em 0; border-bottom: 1px dashed currentColor; transition: opacity var(--transition); }
.filter-reset:hover { opacity: 0.7; }

@media (min-width: 768px) {
  .filter-bar-inner { flex-direction: row; align-items: center; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
  .filter-search-wrap { max-width: 280px; }
  .filter-tags-wrap { flex: 1; }
  .tag-cloud { padding-top: 0; }
}

/* =========================================================
   BLOG GRID
   ========================================================= */
.blog-main { padding-block: var(--space-xl); min-height: 50vh; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 540px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }

.blog-card {
  background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--gray-200);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: cardIn 0.35s ease both;
}
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.10); transform: translateY(-3px); border-color: var(--mint); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.blog-card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 0.6em; }
.blog-card-cat { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-primary); }
.blog-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--black); flex: 1; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 0.3em; margin-top: auto; }

.no-results { text-align: center; padding: var(--space-2xl) var(--space-md); font-family: var(--font-display); font-size: 1.1rem; color: var(--gray-500); }
.no-results button { color: var(--color-primary); font-family: inherit; font-size: inherit; font-weight: 700; text-decoration: underline; margin-left: 0.5em; }

/* =========================================================
   ARTIKEL (POST HERO + LAYOUT)
   ========================================================= */
.post-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep) 0%, #004f5e 60%, var(--teal) 100%);
  padding-top: calc(var(--header-h) + var(--space-xl));
  border-bottom: 2px solid var(--color-primary);
}
.post-hero-inner { padding-bottom: var(--space-lg); }

.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35em;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-md);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--deep); padding: 0.4em var(--space-md);
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span[aria-current] { color: var(--mint); }

.article-author {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow);
  background: rgba(245,173,0,0.12); border: 1px solid rgba(245,173,0,0.3);
  padding: 0.2em 0.7em; border-radius: 3px; display: inline-block; margin-bottom: 0.6em;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4em; }
.post-hero-image { width: 100%; overflow: hidden; }
.post-hero-img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, rgba(0,121,138,0.25), rgba(77,133,145,0.15)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.25); border-top: 1px solid rgba(255,255,255,0.07); }

.article-main { padding-top: var(--space-md); padding-bottom: var(--space-xl); }
.article-layout { max-width: 780px; margin-inline: auto; }

/* TOC */
.article-toc { display: none; }
@media (min-width: 700px) {
  .article-toc { display: block; float: right; clear: right; width: 260px; margin: 0 0 var(--space-lg) var(--space-xl); }
}
@media (min-width: 900px) { .article-toc { width: 300px; } }

.toc-inner { background: var(--ice); border-radius: var(--radius-md); padding: var(--space-md); border-left: 3px solid var(--teal); box-shadow: 0 2px 12px rgba(0,0,0,0.07); margin-top: var(--space-xs); }
.toc-title { font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.8em; }
.toc-list li { padding: 0.3em 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { font-size: 0.85rem; color: var(--gray-500); transition: color var(--transition); line-height: 1.4; display: block; }
.toc-list a:hover, .toc-list a.active { color: var(--yellow); }

/* Artikel-Body */
.article-body { font-size: 1.02rem; line-height: 1.75; color: var(--gray-800); }
.article-body::after { content: ''; display: table; clear: both; }
.article-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--black); margin: 2em 0 0.5em; padding-top: 0.5em; border-top: 2px solid var(--ice); }
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--teal); margin: 1.5em 0 0.4em; text-transform: uppercase; letter-spacing: 0.05em; }
.article-body p { margin-bottom: 1.2em; }
.article-body strong { font-weight: 600; color: var(--black); }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.4em; }

/* Links in Inhaltsseiten */
.article-body a,
.content-body a,
.legal-body a,
.event-body a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232,112,2,0.4);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.article-body a:hover,
.content-body a:hover,
.legal-body a:hover,
.event-body a:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

.callout { display: flex; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-md); margin: var(--space-lg) 0; }
.callout-tip { background: #e8f7f8; border-left: 4px solid var(--teal); }
.callout-warning { background: #fff8e8; border-left: 4px solid var(--yellow); }
.callout-icon { font-size: 1.2rem; flex-shrink: 0; }
.callout-text { font-size: 0.95rem; line-height: 1.55; }
.callout-text strong { color: var(--deep); }

.table-wrap { overflow-x: auto; margin: var(--space-lg) 0; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { background: var(--teal); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.75em 1em; text-align: left; }
td { padding: 0.65em 1em; border-bottom: 1px solid var(--gray-200); color: var(--gray-800); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gray-100); }

/* Share Buttons */
.article-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5em;
  padding-block: var(--space-md);
  border-top: 1px solid var(--gray-200);
  margin-top: var(--space-md);
}
.article-share-label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); margin-right: 0.25em;
}
.article-share-buttons { display: flex; flex-wrap: wrap; gap: 0.4em; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.4em 0.75em;
  border: 1px solid var(--gray-200); border-radius: 6px;
  background: transparent; color: var(--gray-500);
  font-size: 0.82rem; font-family: var(--font-display); font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.share-btn:hover { background: var(--gray-100); color: var(--deep); }
.share-btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.share-native { display: none; }
@media (hover: none) and (pointer: coarse) { .share-native { display: inline-flex; } }

/* Related / Post-Footer */
.related-section { }
.related-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 600px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   CONTENT PAGE (Coaching, Impressum etc.)
   ========================================================= */
.main-content { padding-block: var(--space-2xl); }

.content-body { font-size: 1.02rem; line-height: 1.75; color: var(--gray-800); }
.legal-body   { font-size: 1.02rem; line-height: 1.75; color: var(--gray-800); }

/* =========================================================
   TOOLS GRID
   ========================================================= */
.tools-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 860px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.tool-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-2px); border-color: var(--teal); }
.tool-card:nth-child(1) { border-top: 4px solid var(--deep); }
.tool-card:nth-child(2) { border-top: 4px solid var(--color-accent); }

@media (min-width: 600px) {
  .tool-card { flex-direction: row; align-items: stretch; border-top: 1.5px solid var(--gray-200); }
  .tool-card:nth-child(1) { border-left: 5px solid var(--deep); }
  .tool-card:nth-child(2) { border-left: 5px solid var(--color-accent); }
}

.tool-card-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: 0.5em; flex: 1; }
.tool-card-domain { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }
.tool-card:nth-child(2) .tool-card-domain { color: var(--color-accent); }
.tool-card-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.1; color: var(--deep); margin: 0; }
.tool-card:nth-child(2) .tool-card-title { color: var(--gray-800); }
.tool-card-desc { font-size: 0.97rem; color: var(--gray-500); line-height: 1.65; margin: 0.25em 0 0.5em; }
.tool-card-cta {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep);
  margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--gray-200);
  transition: color var(--transition), gap var(--transition);
}
.tool-card:nth-child(2) .tool-card-cta { color: var(--color-accent); }
.tool-card:hover .tool-card-cta { gap: 0.7em; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-intro { padding-block: var(--space-xl); max-width: 680px; font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-top: var(--space-md);
  padding-bottom: var(--space-2xl);
}
@media (min-width: 840px) {
  .contact-layout { grid-template-columns: 2fr 1fr; align-items: start; }
  .contact-info { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + var(--space-md)); }
  .contact-form-wrap { grid-column: 1; grid-row: 1; }
}

.contact-info { background: var(--ice); border-radius: var(--radius-lg); padding: var(--space-lg); border-left: 4px solid var(--teal); }
.contact-info h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--deep); margin-bottom: var(--space-md); }
.contact-info-item { display: flex; gap: 0.75em; margin-bottom: var(--space-sm); font-size: 0.92rem; color: var(--gray-800); align-items: flex-start; }
.contact-info-item svg { flex-shrink: 0; margin-top: 0.2em; color: var(--teal); }
.contact-info-item strong { display: block; font-weight: 700; }
.contact-response-time { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--mint); font-size: 0.82rem; color: var(--gray-500); font-style: italic; }

/* Formular */
.form-alert { padding: var(--space-md); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: var(--space-lg); letter-spacing: 0.03em; }
.form-alert--success { background: #e6f7f5; border-left: 4px solid var(--teal); color: var(--deep); }
.form-alert--error { background: #fdf0f2; border-left: 4px solid var(--color-primary); color: var(--color-primary); }

.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 540px) { .form-row--half { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4em; margin-bottom: var(--space-md); }
.form-label { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-800); }
.form-label .required { color: var(--color-primary); margin-left: 0.15em; }

.form-input,
.form-select,
.form-textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--gray-800);
  background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 0.75em 1em;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,121,138,0.1); }
.form-input--error, .form-select--error, .form-textarea--error { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(166,12,36,0.08); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-500); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85em center; padding-right: 2.5em; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-error { font-size: 0.8rem; color: var(--color-primary); font-family: var(--font-display); font-weight: 600; min-height: 1.2em; }
.form-charcount { font-size: 0.75rem; color: var(--gray-500); text-align: right; font-family: var(--font-display); }
.form-footer { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--gray-200); margin-top: var(--space-md); }
.form-privacy { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; max-width: 380px; margin: 0; }
.form-privacy a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy a:hover { color: var(--deep); }

.btn-spinner { width: 1em; height: 1em; border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   EVENTS / CAMPS ÜBERSICHT
   ========================================================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}
.event-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--gray-200); border-radius: 8px;
  overflow: hidden; text-decoration: none; color: inherit;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.event-card--open   { border-top: 3px solid var(--color-primary); }
.event-card--closed { border-top: 3px solid var(--gray-200); opacity: 0.7; }

.event-card-image { overflow: hidden; }
.event-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.event-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5em; flex: 1; }
.event-card-meta { display: flex; flex-direction: column; gap: 0.15em; }
.event-card-title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--black); margin: 0.2em 0 0; }
.event-card-teaser { font-size: 0.9rem; color: var(--gray-500); line-height: 1.55; flex: 1; }
.event-card-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5em; margin-top: 0.5em; padding-top: 0.75em; border-top: 1px solid var(--gray-200);
}
.event-card-price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--deep); }
.event-card-price small { font-weight: 400; font-size: 0.8em; }
.event-card-status { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25em 0.6em; border-radius: 3px; }
.event-card-status--open    { background: rgba(0,121,138,0.12); color: var(--deep); }
.event-card-status--planned { background: var(--gray-100); color: var(--gray-500); }
.event-card-status--closed  { background: var(--gray-100); color: var(--gray-500); }

/* Galerie in Event-Karte */
.event-card-gallery {
  display: block;
  position: relative;
  margin: var(--space-sm) 0;
  border-radius: 6px;
  overflow: hidden;
}
.event-card-gallery img {
  display: none;
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  opacity: 1 !important; position: static !important;
}
.event-card-gallery img.hero-img--active { display: block; }
.event-card-gallery .hero-prev,
.event-card-gallery .hero-next { position: absolute; top: 50%; transform: translateY(-50%); }

/* =========================================================
   EVENT HERO META PILLS
   ========================================================= */
.event-hero-meta { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: var(--space-md); }
.event-meta-item {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0.9em; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25); color: var(--white);
  background: rgba(255,255,255,0.1); white-space: nowrap;
}

/* =========================================================
   EVENT LAYOUT (Einzelseite)
   ========================================================= */
.event-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-lg);
  align-items: start;
}
@media (min-width: 900px) {
  .event-layout {
    grid-template-columns: 1fr 360px;
    padding-block: var(--space-xl);
  }
  .event-sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .event-gallery-section {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Event-Body (Fließtext) */
.event-body { font-size: 1.02rem; line-height: 1.75; color: var(--gray-800); }
.event-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--black); margin: 2em 0 0.5em; padding-top: 0.5em; border-top: 2px solid var(--ice); }
.event-body h2:first-child { margin-top: 0; border-top: none; }
.event-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--teal); margin: 1.5em 0 0.4em; text-transform: uppercase; letter-spacing: 0.05em; }
.event-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--gray-500); margin: 1.2em 0 0.3em; }
.event-body p { margin-bottom: 1em; }
.event-body ul, .event-body ol { padding-left: 1.5em; margin-bottom: 1em; }
.event-body li { margin-bottom: 0.4em; }

/* Event Signup-Card */
.event-signup-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: var(--space-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: sticky; top: calc(var(--header-h) + 1rem);
}
.event-signup-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--black); margin-bottom: var(--space-sm); padding-bottom: 0.5em; border-bottom: 2px solid var(--ice); }
.event-signup-summary { font-size: 0.9rem; color: var(--gray-500); margin-bottom: var(--space-md); line-height: 1.5; }
.event-signup-price { font-size: 1rem; color: var(--deep); margin-top: 0.5em; }
.event-signup-full, .event-signup-past, .event-signup-planned { font-size: 0.95rem; color: var(--gray-500); }

/* Signup-Optionen */
.signup-options { display: flex; flex-direction: column; gap: 0.4em; }
.signup-options-group {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500);
  margin: 0.75em 0 0.25em;
}
.signup-options-group:first-child { margin-top: 0; }
.signup-option {
  display: flex; align-items: center; gap: 0.6em;
  font-size: 0.95rem; color: var(--gray-800);
  cursor: pointer; padding: 0.4em 0; border-radius: 4px;
  transition: color var(--transition);
}
.signup-option:hover { color: var(--deep); }
.signup-option input[type="radio"],
.signup-option input[type="checkbox"] { accent-color: var(--deep); width: 1rem; height: 1rem; flex-shrink: 0; cursor: pointer; }
.signup-option span { display: inline; }
.signup-option a { display: inline; color: var(--deep); text-decoration: underline; }

/* Formular-Sektionen im Signup */
.form-section { margin-top: var(--space-md); }
.form-section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500);
  margin-bottom: var(--space-sm); padding-bottom: 0.4em; border-bottom: 1px solid var(--gray-200);
}
.form-result { font-size: 0.9rem; margin-top: var(--space-sm); padding: var(--space-sm); border-radius: var(--radius-sm); }

/* =========================================================
   EVENT GALERIE
   ========================================================= */
.event-gallery-section {
  margin: 0;
  min-width: 0; /* verhindert Grid-Overflow */
}
.event-gallery-section .section-label {
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--teal); padding-bottom: 0.4em; margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--teal); display: inline-block;
}

/* Masonry */
.event-gallery-section .gallery--masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 0.5em;
}
.event-gallery-section .gallery--masonry .gallery-item { overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/3; }
.event-gallery-section .gallery--masonry .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.4s ease; }
.event-gallery-section .gallery--masonry .gallery-item:hover img { transform: scale(1.04); }

/* Carousel / Slideshow */
.event-gallery-section .gallery--carousel,
.event-gallery-section .gallery--slideshow {
  display: block;
  position: relative;
}
.event-gallery-section .gallery--carousel img,
.event-gallery-section .gallery--slideshow img {
  display: none;
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  position: static !important; opacity: 1 !important;
  border-radius: var(--radius-md);
}
.event-gallery-section .gallery--carousel img.hero-img--active,
.event-gallery-section .gallery--slideshow img.hero-img--active { display: block; }
.event-gallery-section .gallery--carousel .hero-prev,
.event-gallery-section .gallery--carousel .hero-next,
.event-gallery-section .gallery--slideshow .hero-prev,
.event-gallery-section .gallery--slideshow .hero-next { position: absolute; top: 50%; transform: translateY(-50%); }
.event-gallery-section .gallery--carousel .hero-dots,
.event-gallery-section .gallery--slideshow .hero-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); }

/* =========================================================
   CAMPS-GRID: KACHEL-GALERIE
   ========================================================= */

/* Masonry-Variante: 2-Spalten-Grid */
.event-card-gallery.gallery--masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35em;
}
.event-card-gallery.gallery--masonry img {
  display: block;
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  opacity: 1 !important; position: static !important;
}

/* =========================================================
   ACCESSIBILITY & UTILITIES
   ========================================================= */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
