/* ============================================================
   AltmühlNet Theme – Custom CSS
   Farbschema: Weiß / Anthrazit / Hellgrau / Akzent #DF5538
   Schrift: Playfair Display (Display) + System-Sans (Fließtext)
   ============================================================ */

/* --- Schrift: Playfair Display lokal --- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  --color-accent:       #DF5538;
  --color-accent-dark:  #c04830;
  --color-accent-light: rgba(223, 85, 56, .12);
  --color-text:         #181818;
  --color-text-muted:   #5a5a5a;
  --color-bg:           #ffffff;
  --color-bg-subtle:    #f5f4f2;
  --color-bg-dark:      #1a1b1e;
  --color-border:       #e2deda;
  --color-glass:        rgba(255, 255, 255, .72);
  --color-glass-dark:   rgba(24, 24, 24, .06);

  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.07);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover, a:focus { color: var(--color-accent-dark); }

img { max-width: 100%; height: auto; }

/* --- Typografie-Helfer --- */
.font-display { font-family: var(--font-display); }

/* --- Bootstrap Overrides --- */
.btn {
  padding: .6rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .18s, border-color .18s, box-shadow .18s, transform .12s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: .01em;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(223,85,56,.30);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(223,85,56,.35);
}

.btn-outline-primary {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-outline-secondary {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline-secondary:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-light {
  background-color: #fff;
  color: var(--color-accent);
  border-color: rgba(255,255,255,.3);
  font-weight: 700;
}
.btn-light:hover {
  background-color: #f0f0f0;
  color: var(--color-accent-dark);
}

.btn-sm  { min-height: 40px; padding: .35rem 1rem; font-size: .88rem; }
.btn-lg  { padding: .8rem 2.2rem; font-size: 1.05rem; min-height: 56px; }

/* --- Navbar --- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-xs);
}

.navbar { padding-top: .6rem; padding-bottom: .6rem; }

.navbar-brand {
  text-decoration: none;
  padding: 0;
  margin-right: 2rem;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.brand-logo-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text);
  letter-spacing: -.04em;
  border: 2.5px solid var(--color-accent);
  padding: .15rem .65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.navbar-nav {
  gap: .35rem;
}

.nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text) !important;
  padding: .45rem .85rem !important;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
  letter-spacing: .01em;
}

.nav-link:hover, .nav-link:focus {
  color: var(--color-accent) !important;
  background: var(--color-accent-light);
}

.nav-link.active {
  color: var(--color-accent) !important;
  background: var(--color-accent-light);
}

/* --- Hero Section --- */
.hero-section {
  padding: 5rem 0 4.5rem;
  background:
    linear-gradient(105deg, 
                    rgba(253, 252, 251, 0.72) 0%, 
                    rgba(245, 244, 242, 0.52) 45%, 
                    rgba(0, 0, 0, 0) 60%), 
                    url("/bilder/image.png") center top / cover no-repeat;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

/* Smartphone override */ 
@media only screen and (max-width: 800px) {
    .hero-section {
    background:
      linear-gradient(105deg, 
                    rgba(253, 252, 251, 0.72) 0%, 
                    rgba(245, 244, 242, 0.52) 45%, 
                    rgba(242, 255, 222, 0.26) 70%), 
                    url("/bilder/image.png") center top / cover no-repeat !important
  }
}


/* decorative blobs */
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(223,85,56,.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(223,85,56,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: .75rem;
  color: var(--color-text);
}

.hero-heading em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* --- Quicklinks --- */
.quicklinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  flex-shrink: 0;
}

.ql-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 1.1rem .9rem;
  background: var(--color-glass);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  text-align: center;
  min-width: 110px;
  min-height: 100px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}

.ql-tile:hover, .ql-tile:focus {
  background: rgba(223,85,56,.07);
  border-color: rgba(223,85,56,.35);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--color-accent-light);
  transform: translateY(-2px);
  color: var(--color-text);
  text-decoration: none;
}

.ql-tile__icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.ql-tile__icon svg { width: 100%; height: 100%; }

.ql-tile__label {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}

/* --- Section Heading --- */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: var(--color-text);
}

.section-heading::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: .4rem;
}

.text-center .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

/* --- Offers Section --- */
.offers-section {
  padding: 4rem 0;
  background:
    linear-gradient(180deg, #faf9f7 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
}

.offer-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s, transform .15s, border-color .2s;
}

.offer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(223,85,56,.25);
  transform: translateY(-2px);
}

.offer-card__icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
}

.offer-card__icon svg { width: 100%; height: 100%; }

.offer-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
}

.offer-card__text {
  color: var(--color-text-muted);
  font-size: .95rem;
  flex: 1;
  margin: 0;
}

/* --- News Section --- */
.news-section {
  padding: 4rem 0;
}

.news-more-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: .01em;
}

.news-more-link:hover { text-decoration: underline; }

.news-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-color .2s, transform .15s;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(223,85,56,.2);
  transform: translateY(-1px);
}

.news-card--full {
  padding: 0;
  overflow: hidden;
}

.news-card--full .news-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.news-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.news-card__img { width: 100%; height: 100%; object-fit: cover; }

.news-card__meta {
  font-size: .8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.news-card__cat {
  background: var(--color-accent-light);
  border-radius: 20px;
  padding: .1rem .6rem;
  font-weight: 600;
  color: var(--color-accent);
  font-size: .75rem;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.news-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.news-card__title a:hover { color: var(--color-accent); }

.news-card__excerpt {
  color: var(--color-text-muted);
  font-size: .93rem;
  flex: 1;
  margin: 0;
}

.news-card__readmore {
  font-weight: 700;
  font-size: .88rem;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  letter-spacing: .01em;
}

.news-card__readmore:hover { text-decoration: underline; }

/* --- CTA Section --- */
.cta-section {
  padding: 3.5rem 0 4rem;
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.cta-box {
  background:
    linear-gradient(135deg, var(--color-accent) 0%, #c84228 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg), 0 4px 24px rgba(223,85,56,.35);
  position: relative;
  overflow: hidden;
}

/* decorative circle in CTA */
.cta-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: 80px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box__heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  margin-bottom: .5rem;
  letter-spacing: -.04em;
}

.cta-box__text {
  font-size: 1rem;
  opacity: .88;
  margin: 0;
  line-height: 1.65;
}

/* --- Page Hero --- */
.page-hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero--light {
  background: linear-gradient(105deg, 
                            rgba(253, 252, 251, 0.72) 0%,
                            rgba(245, 244, 242, 0.52) 45%,
                            rgba(240, 240, 238, 0.22) 60%), 
                              url("/bilder/image.png") center top / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding:7rem 0 6.5rem
}

.page-hero--light::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(223,85,56,.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.04em;
  margin-bottom: .3rem;
  line-height: 1.1;
}

.page-hero__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* --- Content / Prose --- */
.content-section { padding: 3rem 0 4rem; }

.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}

.prose p { margin-bottom: 1.2rem; }

.prose a { color: var(--color-accent); font-weight: 600; }

.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }

.prose li { margin-bottom: .35rem; }

.prose blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  margin-left: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: .84rem;
  margin-bottom: .75rem;
  padding: 0;
  background: transparent;
}

.breadcrumb-item a { color: var(--color-accent); text-decoration: none; }
.breadcrumb-item.active { color: var(--color-text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--color-text-muted); }

/* --- Post Meta --- */
.post-meta {
  font-size: .84rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 1rem;
  margin-bottom: .5rem;
}

.post-meta__author::before { content: '·'; margin-right: .5rem; }
.post-meta__reading::before { content: '·'; margin-right: .5rem; }

.post-cats { display: flex; gap: .4rem; flex-wrap: wrap; }

/* --- Post Pagination (Vor/Zurück) --- */
.post-pagination__link {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  text-decoration: none;
  padding: .9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
  height: 100%;
}

.post-pagination__link:hover {
  border-color: rgba(223,85,56,.35);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.post-pagination__dir {
  font-size: .78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.post-pagination__title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.post-pagination__link--next .post-pagination__dir,
.post-pagination__link--next .post-pagination__title {
  text-align: right;
}

/* --- Pagination --- */
.pagination { gap: .35rem; margin-top: 3rem; }
.page-link {
  color: var(--color-accent);
  border-color: var(--color-border);
  border-radius: var(--radius-sm) !important;
  padding: .5rem .85rem;
  font-weight: 600;
}
.page-item.active .page-link {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: .75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .3rem;
  letter-spacing: -.04em;
  font-style: italic;
}

.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: .85rem;
}

.site-footer address {
  font-size: .9rem;
  font-style: normal;
  line-height: 1.85;
  color: rgba(255,255,255,.7);
}

.site-footer address a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer address a:hover { color: #fff; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom p { margin: 0; }

/* --- Kontakt-Seite --- */
.contact-info-card {
  background:
    linear-gradient(145deg, #fdfcfb 0%, #f5f4f2 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: .1rem;
}

/* --- Mitglied-Seite --- */
.steps-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.steps-list li::before {
  content: counter(steps);
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
  box-shadow: 0 2px 8px rgba(223,85,56,.3);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: .75rem;
  }
}

@media (max-width: 767px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .quicklinks {
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
  }

  .ql-tile {
    min-width: 0;
    min-height: 80px;
    padding: .75rem .5rem;
    gap: .3rem;
  }

  .ql-tile__icon { width: 26px; height: 26px; }
  .ql-tile__label { font-size: .78rem; }
}

@media (max-width: 480px) {
  html { font-size: 17px; }

  .hero-section { padding: 2.5rem 0 2rem; }

  .quicklinks {
    grid-template-columns: 1fr 1fr;
  }

  .ql-tile {
    min-height: 90px;
    padding: 1rem .75rem;
    gap: .4rem;
  }

  .ql-tile__label { font-size: .82rem; }

  .cta-box { padding: 1.75rem 1.25rem; }
}

/* --- OSM Karte mit Einverständnis --- */
.map-consent {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  min-height: 320px;
}

.map-consent__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(245,244,242,.97) 0%, rgba(245,244,242,.99) 100%);
  z-index: 2;
  transition: opacity .3s;
}

.map-consent__overlay[hidden] {
  display: none;
}

.map-consent__icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
}

.map-consent__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.map-consent__text {
  font-size: .88rem;
  color: var(--color-text-muted);
  max-width: 300px;
  margin: 0;
  line-height: 1.5;
}

.map-consent iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Jubiläums-Teaser (Verein-Seite) --- */
.jubilee-teaser {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-bg-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.jubilee-teaser::before {
  content: '30';
  position: absolute;
  right: -8px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

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

.jubilee-teaser .jubilee-badge {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  box-shadow: 0 2px 16px rgba(223,85,56,.4);
}

.jubilee-teaser__text { position: relative; z-index: 1; }

.jubilee-teaser__kicker {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent);
  margin: 0 0 .2rem;
}

.jubilee-teaser__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .2rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.jubilee-teaser__sub {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* ============================================================
   30-Jahre-Jubiläumsseite: Hero, Zeitstrahl, Screenshots
   ============================================================ */

/* --- Jubilee Hero --- */
.jubilee-hero {
  background: var(--color-bg-dark);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--color-accent);
}

.jubilee-hero::before {
  content: '30';
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
}

.jubilee-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(223,85,56,.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.jubilee-hero__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.jubilee-badge {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #c84228 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(223,85,56,.5), 0 0 0 6px rgba(223,85,56,.15);
}

.jubilee-badge__years {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.jubilee-badge__label {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.jubilee-hero__kicker {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-accent);
  margin-bottom: .5rem;
}

.jubilee-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: .4rem;
  line-height: 1.1;
}

.jubilee-hero__years {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

@media (max-width: 575px) {
  .jubilee-hero__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Zeitstrahl --- */
.timeline-section {
  padding: 4rem 0 5rem;
}

.timeline {
  position: relative;
  padding: .5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-border) 6%,
    var(--color-border) 94%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline-entry {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  position: relative;
}

/* Karte links (gerade Index) */
.timeline-entry__card {
  flex: 1;
  padding-right: 2.5rem;
  order: 1;
}

.timeline-entry__node {
  flex-shrink: 0;
  width: 90px;
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
  order: 2;
  position: relative;
  z-index: 1;
}

.timeline-entry__gap {
  flex: 1;
  order: 3;
}

/* Karte rechts (ungerade Index) */
.timeline-entry--right .timeline-entry__card {
  order: 3;
  padding-right: 0;
  padding-left: 2.5rem;
}

.timeline-entry--right .timeline-entry__gap {
  order: 1;
}

/* Jahres-Badge */
.timeline-node {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: -.01em;
  padding: .35rem .85rem;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(223,85,56,.4);
  white-space: nowrap;
}

/* Karten-Inhalt */
.timeline-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .15s;
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(223,85,56,.22);
  transform: translateY(-2px);
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .65rem;
  letter-spacing: -.02em;
}

.timeline-card__text {
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.75;
}

.timeline-card__text p { margin-bottom: .6rem; }
.timeline-card__text p:last-child { margin-bottom: 0; }

.timeline-card__figure {
  margin: 1.25rem 0 0;
}

.timeline-card__figure img {
  border-radius: var(--radius-sm);
  width: 100%;
  display: block;
}

.timeline-card__figure figcaption {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* --- Mehrere kleine Fotos pro Timeline-Eintrag --- */
.timeline-card__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin: 1.25rem 0 0;
}

.timeline-card__photo {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
}

.timeline-card__photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.timeline-card__photo figcaption {
  font-size: .72rem;
  color: var(--color-text-muted);
  padding: .25rem .4rem;
  line-height: 1.3;
  font-style: italic;
}

/* --- Screenshot-Rahmen (Browser-Chrome-Optik) --- */
.screenshot-frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.screenshot-frame::before {
  content: '';
  display: block;
  height: 30px;
  background-color: #e2e2e2;
  background-image:
    radial-gradient(circle at center, #ff5f57 50%, transparent 50%),
    radial-gradient(circle at center, #ffbd2e 50%, transparent 50%),
    radial-gradient(circle at center, #28c840 50%, transparent 50%);
  background-size: 10px 10px, 10px 10px, 10px 10px;
  background-repeat: no-repeat;
  background-position: 10px 10px, 26px 10px, 42px 10px;
  border-bottom: 1px solid #ccc;
  flex-shrink: 0;
}

.screenshot-frame img {
  border-radius: 0 !important;
  width: 100%;
  display: block;
}

.screenshot-frame figcaption {
  background: #e2e2e2;
  padding: .35rem .75rem;
  font-size: .8rem !important;
  color: #666 !important;
  font-style: normal !important;
  border-top: 1px solid #ccc;
}

/* --- Galerie-Thumbnails --- */
.gallery-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  background: var(--color-bg-subtle);
}

.gallery-thumb__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.gallery-thumb:hover .gallery-thumb__img {
  transform: scale(1.04);
}

.gallery-thumb__caption {
  font-size: .78rem;
  color: var(--color-text-muted);
  padding: .4rem .6rem;
  line-height: 1.3;
}

/* --- Responsive Zeitstrahl --- */
@media (max-width: 767px) {
  .timeline::before { display: none; }

  .timeline-entry,
  .timeline-entry--right {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  .timeline-entry__node,
  .timeline-entry--right .timeline-entry__node {
    order: 1;
    width: auto;
    padding: 0 0 .65rem;
  }

  .timeline-node { display: inline-flex; }

  .timeline-entry__card,
  .timeline-entry--right .timeline-entry__card {
    order: 2;
    padding: 0;
    width: 100%;
  }

  .timeline-entry__gap,
  .timeline-entry--right .timeline-entry__gap {
    display: none;
  }
}
