/* =========================
   Base / Reset
========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--brand-text);
  background: var(--brand-bg);
  line-height: 1.5;
  position: relative; /* wichtig für ::before im Mobile (absolute) */
}

/* Vollflächiger, blasser Verlauf (von links nach rechts) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(800px 600px at 18% 35%, rgba(120, 174, 255, 0.15), transparent 65%),
    radial-gradient(900px 700px at 82% 40%, rgba(255, 190, 120, 0.25), transparent 65%),
    radial-gradient(900px 700px at 50% 5%, rgba(255, 255, 255, 0.70), transparent 70%),
    linear-gradient(90deg,
      rgba(49, 39, 131, 0.06) 0%,
      rgba(120, 175, 255, 0.10) 30%,
      rgba(255, 190, 120, 0.10) 70%,
      rgba(49, 39, 131, 0.06) 100%
    );

  filter: saturate(1.05);
}

/* Mobile: fixed background kann ruckeln -> auf scroll umstellen */
@media (max-width: 900px){
  body::before{
    position: absolute;
  }
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

hr{
  border: 0;
  border-top: 1px solid var(--brand-border);
  margin: 16px 0;
}

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.muted{ color: var(--brand-muted); }

/* =========================
   Header / Navigation
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,245,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-border);
}

.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo{
  height: 44px;
  width: auto;
}

.nav{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--brand-text);
}

.nav-link:hover{
  background: rgba(48,32,128,0.08);
  text-decoration: none;
}

.nav-link.is-active{
  background: rgba(48,32,128,0.12);
  color: var(--brand-primary);
}

.nav-cta{
  background: var(--brand-primary);
  color: #fff;
}

.nav-cta:hover{
  background: rgba(48,32,128,0.92);
}

/* =========================
   Burger Button (3 Balken untereinander)
========================= */
.nav-toggle{
  display: none; /* Desktop aus */
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(48,32,128,0.18);
  background: rgba(48,32,128,0.04);
  cursor: pointer;

  /* sorgt dafür, dass Balken untereinander sind */
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  opacity: 0.95;
}

.nav-toggle:hover{
  background: rgba(48,32,128,0.06);
  border-color: rgba(48,32,128,0.24);
}

/* =========================
   Mobile Nav
========================= */
@media (max-width: 860px){
  .nav-toggle{
    display: flex; /* jetzt sichtbar */
  }

  .nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;

    display: none;           /* zu */
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);

    border-bottom: 1px solid var(--brand-border);
    padding: 12px 16px 16px;
  }

  .nav.is-open{
    display: flex; /* auf */
  }

  .nav-link{
    justify-content: center;
  }
}


/* =========================
   Main / Sections
========================= */
.site-main { padding: 18px 0 28px; }

.section { padding: 22px 0; }

h1, h2, h3 {
  margin: 0 0 12px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(28px, 3.2vw, 44px); }
h2 { font-size: clamp(20px, 2.2vw, 28px); }
h3 { font-size: 18px; }

.lead {
  font-size: 1.06rem;
  color: var(--brand-muted);
  margin: 0 0 16px 0;
}

/* =========================
   Hero
========================= */
.hero {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

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

/* =========================
   Cards / Grids
========================= */
.card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.card-title {
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(48,32,128,0.10);
  border: 1px solid rgba(48,32,128,0.18);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Lists */
.checklist, .bullet {
  margin: 0;
  padding-left: 18px;
}

.checklist li { margin: 6px 0; }
.bullet li { margin: 6px 0; }

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-primary);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  background: rgba(48,32,128,0.92);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid rgba(48,32,128,0.35);
}

.btn-ghost:hover {
  background: rgba(48,32,128,0.08);
}

/* =========================
   Events (Markttermine)
========================= */
.events {
  display: grid;
  gap: 10px;
}

.event {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: linear-gradient(180deg, #fff, rgba(48,32,128,0.06));
}

.event-date {
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.event-title { font-weight: 800; }
.event-loc, .event-note { font-size: 0.95rem; }

/* =========================
   Spec Box (Materialien)
========================= */
.spec .spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  font-size: 0.95rem;
}

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

/* =========================
   Forms (Basis-Styles)
========================= */
.form-row { display: grid; gap: 10px; }
.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap: 10px; }
@media (max-width: 860px){ .form-grid-2 { grid-template-columns: 1fr; } }

label { font-weight: 700; display: block; margin-bottom: 6px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  background: #fff;
  outline: none;
  font: inherit;
}

textarea { min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  border-color: rgba(48,32,128,0.55);
  box-shadow: 0 0 0 4px rgba(48,32,128,0.10);
}

.form-actions { display:flex; gap:10px; align-items:center; margin-top: 10px; }

/* =========================
   Footer
========================= */
.site-footer {
  margin-top: 30px;
  background: #fff;
  border-top: 1px solid var(--brand-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
  padding: 18px 0;
  align-items: start;
}

.footer-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.footer-contact {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-links a {
  font-weight: 700;
  color: var(--brand-primary);
}

.footer-note { margin-top: 10px; }

.footer-bottom {
  padding: 12px 0 18px;
  border-top: 1px solid var(--brand-border);
  text-align: center;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; margin-top: 6px; }
}

.event-loc a {
  color: var(--brand-primary);
  font-weight: 700;
}
.event-loc a:hover {
  text-decoration: underline;
}

/* =========================
   Galerie (Kategorien als große Boxen)
========================= */

/* Jede Kategorie als eigene große Box */
.gallery-section{
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(48,32,128,0.12);
  background: rgba(48,32,128,0.06);
}

/* Kategorie-Heading mittig in Logo-Farbe */
.gallery-heading{
  margin: 6px 0 14px;
  text-align: center;
  font-weight: 1000;
  letter-spacing: 0.2px;
  color: var(--brand-primary); /* sollte dein blau/lila sein */
  font-size: clamp(18px, 2vw, 26px);
}

/* Grid */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px){
  .gallery-grid{ grid-template-columns: 1fr; }
}

/* Kachel: KEIN Padding, damit kein weißer Rand entsteht */
.gallery-tile{
  border: none;                 /* kein Rahmen */
  background: transparent;      /* kein Hintergrund */
  padding: 0;                   /* wichtig: kein Innenabstand */
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;             /* Bildrundung sauber */
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.gallery-tile:hover{
  box-shadow: 0 14px 26px rgba(0,0,0,0.10);
}

/* Bild füllt die Kachel komplett -> kein White-Space */
.gallery-tile img{
  width: 100%;
  height: 240px;          /* einheitliche Höhe */
  display: block;
  object-fit: cover;      /* füllt komplett, kein weißer Rand */
  border: none;           /* kein Rahmen */
  background: transparent;
}

/* =========================
   Lightbox / Overlay
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}
.lightbox.is-open{ display: block; }

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.78);
}

.lightbox-panel{
  position: relative;
  width: min(1100px, calc(100% - 28px));
  margin: 4vh auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  overflow: hidden;
}

.lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.lightbox-close:hover{
  background: rgba(48,32,128,0.08);
}

.lightbox-body{
  padding: 16px;
}

.lightbox-img{
  width: 100%;
  max-height: 72vh;
  object-fit: contain;   /* im Overlay: komplett sichtbar */
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
}

.lightbox-title{
  margin-top: 10px;
  font-weight: 900;
  color: var(--brand-text);
}


.clean-list{
  margin: 10px 0 0;
  padding-left: 18px;
}
.clean-list li{
  margin: 6px 0;
}


.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(48,32,128,0.18);
  background: rgba(48,32,128,0.05);
  font-weight:800;
  font-size: 0.92rem;
}



/* Kontakt – Alerts */
.alert{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  margin: 12px 0;
}
.alert--success{
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.25);
}
.alert--error{
  background: rgba(220,38,38,0.08);
  border-color: rgba(220,38,38,0.25);
}

/* Fehlerliste */
.error-list{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220,38,38,0.25);
  background: rgba(220,38,38,0.06);
}
.error-list__item{
  margin: 6px 0;
  font-weight: 700;
}

.error-inline{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220,38,38,0.25);
  background: rgba(220,38,38,0.06);
  font-weight: 800;
}

/* Form-Grid responsive */
.form .grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form .grid .grid-span-2{
  grid-column: span 2;
}

@media (max-width: 760px){
  .form .grid{
    grid-template-columns: 1fr;
  }
  .form .grid .grid-span-2{
    grid-column: auto;
  }
}

/* Inputs */
.form-group label{
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea,
.form-group select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  padding: 10px 12px;
  background: #fff;
}
.form-group textarea{
  min-height: 140px;
  resize: vertical;
}

.btn-row{
  margin-top: 12px;
}


/* =========================
   Index – alles in einer Main-Box + breite Galerie
========================= */
.hp-wrap{
  padding: 18px 0 28px;
}

/* große Main-Box */
.hp-mainbox{
  border-radius: 24px;
  border: 1px solid rgba(48,32,128,0.14);
  background: rgba(48,32,128,0.06);
  padding: 18px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  text-align: center;
}

.hp-logo{
  width: min(260px, 80vw);
  height: auto;
  display:block;
  margin: 0 auto 6px;
}

.hp-title{
  margin: 4px 0 4px;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: .2px;
}

.hp-subtitle{
  margin: 0 auto 10px;
  max-width: 860px;
  font-weight: 800;
  opacity: .95;
}

.hp-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}

/* Aktuelles in der Mainbox */
.hp-aktuelles{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(48,32,128,0.18);
  background: rgba(48, 32, 128, 0.1);
  padding: 14px;
  text-align: center;
}
.hp-aktuelles__title{
  font-weight: 1000;
  color: var(--brand-primary);
  text-align:center;
  margin-bottom: 6px;
}
.hp-aktuelles__range{
  text-align:center;
  font-weight: 900;
  margin-bottom: 10px;
}
.hp-aktuelles__text{
  line-height: 1.6;
}

/* Kurzvorstellung innerhalb Mainbox */
.hp-intro{
  margin-top: 14px;
  border-top: 1px solid rgba(48,32,128,0.12);
  padding-top: 14px;
  max-width: 760px;
  margin-left:auto;
  margin-right:auto;
  text-align: left;
}
.hp-intro__title{
  font-weight: 1000;
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hp-bullets{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  justify-content:center;
}
.hp-bullet{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(48,32,128,0.18);
  background: rgba(255,255,255,0.85);
  font-weight: 900;
  font-size: 0.92rem;
}

/* Sections darunter */
.hp-section{
  margin-top: 16px;
}

.hp-section__head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 2px 10px;
}
.hp-h2{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 1000;
  color: var(--brand-primary);
}

.hp-card{
  border-radius: 22px;
  border: 1px solid rgba(48,32,128,0.14);
  background: rgba(48,32,128,0.06);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

/* Galerie 100% breit */
.hp-gallerywide{
  width: 100%;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .hp-gallerywide{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .hp-gallerywide{ grid-template-columns: 1fr; }
}
.hp-gallerywide__item{
  display:block;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}
.hp-gallerywide__item img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}

/* Markttermine */
.hp-events{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.hp-event{
  border-radius: 16px;
  border: 1px solid rgba(48,32,128,0.12);
  background: rgba(255,255,255,0.85);
  padding: 12px;
}
.hp-event__date{
  font-weight: 1000;
}
.hp-event__name{
  font-weight: 900;
  margin-top: 2px;
}
.hp-event__loc a{
  text-decoration: none;
}

/* Leistungen-Auszug */
.hp-checks{
  margin: 0;
  padding-left: 18px;
}
.hp-checks li{
  margin: 7px 0;
  font-weight: 700;
}

/* Teaser unten */
.hp-teasers{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 920px){
  .hp-teasers{ grid-template-columns: 1fr; }
}
.hp-teaser{
  display:block;
  text-decoration:none;
  border-radius: 22px;
  border: 1px solid rgba(48,32,128,0.14);
  background: rgba(48,32,128,0.06);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  color: var(--brand-text);
}
.hp-teaser:hover{
  border-color: rgba(48,32,128,0.25);
  background: rgba(48,32,128,0.05);
}
.hp-teaser__title{
  font-weight: 1000;
  color: var(--brand-primary);
  font-size: 1.1rem;
}
.hp-teaser__cta{
  margin-top: 10px;
  font-weight: 1000;
}

/* =========================
   Dark Cards (wie Index)
========================= */
.card--dark{
  border-radius: 24px;
  border: 1px solid rgba(48,32,128,0.16);
  background: rgba(48,32,128,0.06);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

/* Optional: etwas mehr “Tiefe” */
.card--dark-strong{
  border-radius: 24px;
  border: 1px solid rgba(48,32,128,0.20);
  background: rgba(48,32,128,0.07);
  box-shadow: 0 18px 42px rgba(0,0,0,0.08);
}

/* Titel in Dark Card */
.card--dark .card-title,
.card--dark-strong .card-title{
  color: var(--brand-primary);
}

/* Optional: Page-Header in Dark Card Style */
.page__header--dark{
  border-radius: 24px;
  border: 1px solid rgba(48,32,128,0.16);
  background: rgba(48,32,128,0.05);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  padding: 16px;
}

/* =========================
   Termine / Kalender
========================= */
.termine-head h1{
  margin-bottom: 8px;
}

.termine-calendar__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
  flex-wrap:wrap;
}

.termine-calendar__title{
  font-weight: 1000;
  color: var(--brand-primary);
  font-size: clamp(20px, 2.2vw, 28px);
  text-align:center;
}

.termine-calendar__weekdays{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
  margin-bottom:10px;
}

.termine-calendar__weekday{
  text-align:center;
  font-weight: 900;
  color: var(--brand-primary);
  padding: 8px 4px;
}

.termine-calendar__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
}

.termine-day{
  min-height: 120px;
  border-radius: 18px;
  border: 1px solid rgba(48,32,128,0.12);
  background: rgba(255,255,255,0.82);
  padding: 10px;
  text-align:left;
  cursor:pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.termine-day:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.termine-day--empty{
  min-height: 120px;
  border-radius: 18px;
  background: rgba(255,255,255,0.25);
  border: 1px dashed rgba(48,32,128,0.08);
}

.termine-day[disabled]{
  cursor: default;
  opacity: 0.65;
}

.termine-day__num{
  display:block;
  font-weight: 1000;
  font-size: 1.05rem;
  color: var(--brand-text);
}

.termine-day__badge{
  display:inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(48,32,128,0.10);
  border: 1px solid rgba(48,32,128,0.16);
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 0.82rem;
}

.termine-day__hint{
  display:block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-text);
  opacity: 0.88;
  line-height: 1.35;
}

.termine-day--has-event{
  background: rgba(48,32,128,0.06);
  border-color: rgba(48,32,128,0.18);
}

.termine-day--today{
  outline: 2px solid rgba(48,32,128,0.25);
  outline-offset: 1px;
}

/* Mobile Kalender */
/* Mobile / Tablet: gleiches Kalender-Layout wie Desktop, nur kompakter */
@media (max-width: 900px){
  .termine-calendar__top{
    gap: 8px;
  }

  .termine-calendar__title{
    width: 100%;
    order: -1;
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .termine-calendar__weekdays{
    display: grid; /* bleibt sichtbar */
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 6px;
  }

  .termine-calendar__weekday{
    font-size: 0.78rem;
    padding: 4px 2px;
  }

  .termine-calendar__grid{
    grid-template-columns: repeat(7, 1fr); /* bleibt echter Kalender */
    gap: 6px;
  }

  .termine-day,
  .termine-day--empty{
    min-height: 82px;
    padding: 6px;
    border-radius: 12px;
  }

  .termine-day__num{
    font-size: 0.95rem;
  }

  .termine-day__badge{
    margin-top: 5px;
    padding: 3px 6px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .termine-day__hint{
    margin-top: 5px;
    font-size: 0.70rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* max. 2 Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .termine-modal__panel{
    width: min(760px, calc(100% - 16px));
    margin: 3vh auto;
  }

  .termine-modal__content{
    padding: 14px;
  }
}

/* Sehr kleine Geräte: weiterhin 7 Spalten, aber noch kompakter */
@media (max-width: 560px){
  .termine-calendar__top{
    justify-content: center;
  }

  .termine-calendar__top .btn{
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .termine-calendar__weekday{
    font-size: 0.70rem;
    padding: 2px 1px;
  }

  .termine-calendar__grid{
    gap: 4px;
  }

  .termine-day,
  .termine-day--empty{
    min-height: 68px;
    padding: 4px;
    border-radius: 10px;
  }

  .termine-day__num{
    font-size: 0.85rem;
  }

  .termine-day__badge{
    margin-top: 4px;
    padding: 2px 5px;
    font-size: 0.62rem;
  }

  .termine-day__hint{
    display: none; /* auf sehr kleinen Geräten ausblenden, sonst zu voll */
  }
}



/* Videos in Galerie */
.gallery-video-wrap{
  position: relative;
}

.gallery-video-wrap video{
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  background: #000;
  border: none;
}

.gallery-video-badge{
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
}

/* Pfeile im Galerie-Overlay */
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.lightbox-nav:hover{
  background: #fff;
}

.lightbox-nav--prev{
  left: 12px;
}

.lightbox-nav--next{
  right: 12px;
}

@media (max-width: 700px){
  .lightbox-nav{
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .lightbox-nav--prev{
    left: 8px;
  }

  .lightbox-nav--next{
    right: 8px;
  }
} 

/* Index: Video-Teaser in der Galerie-Vorschau */
.hp-video-wrap{
  position: relative;
  width: 100%;
}

.hp-video-wrap video{
  width: 100%;
  height: 220px;     /* passt sich optisch an Bilder an */
  object-fit: cover;
  display: block;
  border-radius: 16px;
  background: #000;
}

.hp-video-badge{
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
}

/* Falls deine hp-gallerywide__item noch keine Rundung übernimmt */
.hp-gallerywide__item{
  overflow: hidden;
  border-radius: 16px;
}

/* =========================
   Startseite: Social (passend zum Site-Look)
========================= */
.hp-social2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp-social2__tile{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;

  /* wie eure dunkleren Kästen: */
 background: rgba(48,32,128,0.06);
  border: 1px solid rgba(48,32,128,0.18);

  text-decoration: none;
  overflow: hidden;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.hp-social2__tile:hover{
  transform: translateY(-2px);
  border-color: rgba(48,32,128,0.34);
  text-decoration: none;
}

.hp-social2__icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--brand-primary);
  background: rgba(48,32,128,0.10);
  border: 1px solid rgba(48,32,128,0.22);
  flex: 0 0 auto;
}

.hp-social2__body{
  min-width: 0;
}

.hp-social2__title{
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  color: var(--brand-text);
  margin-bottom: 2px;
}

.hp-social2__text{
  margin: 0;
  line-height: 1.35;
  max-width: 46ch;
}

.hp-social2__arrow{
  margin-left: auto;
  font-weight: 900;
  color: var(--brand-primary);
  opacity: 0.95;
  transform: translateX(0);
  transition: transform .14s ease, opacity .14s ease;
}

.hp-social2__tile:hover .hp-social2__arrow{
  transform: translateX(3px);
  opacity: 1;
}

/* Mobile */
@media (max-width: 860px){
  .hp-social2{
    grid-template-columns: 1fr;
  }
}

/* Modal */
.termine-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.termine-modal.is-open{
  display: block;
}

.termine-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10,12,16,0.76);
}

.termine-modal__panel{
  position: relative;
  width: min(760px, calc(100% - 24px));
  margin: 5vh auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  overflow: hidden;
}

.termine-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.termine-modal__content{
  padding: 18px;
}

.termine-modal__date{
  font-size: 1.15rem;
  font-weight: 1000;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.termine-detail{
  border-top: 1px solid rgba(48,32,128,0.10);
  padding-top: 12px;
  margin-top: 12px;
}

.termine-detail:first-child{
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.termine-detail__title{
  font-weight: 1000;
  margin-bottom: 8px;
  color: var(--brand-text);
}

.termine-detail__meta{
  display:grid;
  gap: 6px;
}

.termine-detail__meta a{
  color: var(--brand-primary);
  font-weight: 800;
}

/* =========================
   Shop Coming Soon
========================= */
.shop-coming{
  max-width: 760px;
  margin: 10px auto 0;
  text-align: center;
  padding: 28px 20px;
}

.shop-coming__logo{
  width: min(180px, 60vw);
  height: auto;
  margin: 0 auto 14px;
}

.shop-coming__eyebrow{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(48,32,128,0.18);
  background: rgba(48,32,128,0.05);
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 0.92rem;
}

.shop-coming__title{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.shop-coming__text{
  max-width: 620px;
  margin: 0 auto 10px;
  line-height: 1.65;
}

.shop-coming__actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.shop-coming__note{
  margin-top: 16px;
  font-weight: 800;
  color: var(--brand-primary);
}