/* =====================================================
 * Portal - Frontpage Styles
 * Duisburg Ultimate: ruhige Grau-/Pastell-Palette + viel Glas + Bento
 * Kompakt / streamlined.
 * ===================================================== */

:root {
  /* Ruhige Palette: Schiefergrau + sanfte, gedaempfte Neutraltoene.
     Die Variablennamen (blue/cream) bleiben bewusst erhalten, damit
     Templates und Widget-Inline-Styles unveraendert weiterlaufen. */
  --portal-blue-900: #2c343d;  /* tiefes Schiefergrau – Ueberschriften */
  --portal-blue-800: #39434d;
  --portal-blue-700: #4e606e;  /* Primaer – Buttons / Links */
  --portal-blue-500: #74838f;  /* gedaempftes Blaugrau – Akzente */
  --portal-blue-300: #aab4bd;
  --portal-blue-100: #e2e6ea;  /* sehr hell – Rahmen / Flaechen */

  --portal-cream:    #eceef1;  /* frueher Creme → jetzt kuehles Hellgrau */
  --portal-cream-2:  #f3f4f6;
  --portal-cream-3:  #f7f8fa;

  --portal-ink:      #2b313a;
  --portal-ink-muted:#646d78;
  --portal-white-80: rgba(255, 255, 255, 0.82);
  --portal-white-55: rgba(255, 255, 255, 0.55);
  --portal-white-30: rgba(255, 255, 255, 0.46);

  /* Akzent-Verlauf – sanftes Schiefergrau statt kraeftigem Blau */
  --portal-wave-grad: linear-gradient(140deg, #36424d 0%, #4a5b69 55%, #6a7c8b 100%);
  --portal-cream-grad: linear-gradient(180deg, var(--portal-cream-2) 0%, #e9ecef 100%);

  --portal-radius:   1rem;
  --portal-radius-lg: 1.4rem;
  --portal-shadow:   0 10px 30px rgba(44, 52, 61, 0.09);
  --portal-shadow-hover: 0 16px 44px rgba(44, 52, 61, 0.15);

  /* Glas-Bausteine (wiederverwendbar) */
  --glass-bg:    linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.40) 100%);
  --glass-blur:  blur(22px) saturate(135%);
  --glass-edge:  inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* =====================================================
 * Globaler Body-Hintergrund - sanfter Grau-Verlauf
 * (greift NUR im Portal-Kontext, damit andere Seiten unberuehrt bleiben)
 * ===================================================== */

body.portal-active {
  background:
    radial-gradient(ellipse 1200px 800px at 80% -10%, rgba(110, 124, 139, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 900px 600px at 10% 110%, rgba(110, 124, 139, 0.10) 0%, transparent 55%),
    var(--portal-cream-3);
  color: var(--portal-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =====================================================
 * Portal-Container
 * ===================================================== */

.portal {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* =====================================================
 * Wellen-Header SVG-Trenner
 * ===================================================== */

.portal-wave-divider {
  display: block;
  width: 100%;
  height: 70px;
  margin: 0 0 -1px;
}

.portal-wave-divider path {
  fill: var(--portal-cream-3);
}

/* =====================================================
 * HERO (kompakt)
 * ===================================================== */

.portal-hero {
  position: relative;
  margin: 0 -1rem 2rem;
  min-height: 420px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--portal-wave-grad);
  isolation: isolate;
}

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 70% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 15% 80%, rgba(232, 235, 239, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.portal-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portal-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.portal-hero__slide.is-active {
  opacity: 0.45;
}

.portal-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 46, 55, 0.58) 0%, rgba(58, 70, 82, 0.42) 100%);
}

.portal-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-content: center;
  padding: 2.75rem 1.5rem 3rem;
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .portal-hero__content {
    grid-template-columns: 1.4fr 1fr;
    padding: 3.25rem 2.5rem 3.75rem;
  }
}

.portal-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.portal-hero__accent {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--portal-cream);
  color: var(--portal-blue-900);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.portal-hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.5;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.portal-hero__personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  margin-top: auto;
}

/* =====================================================
 * Glas-Karten (Glassmorphism) - jetzt staerker gefrostet
 * ===================================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow), var(--glass-edge);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass--dark {
  background: rgba(44, 52, 61, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.glass--cream {
  background: linear-gradient(135deg, rgba(238, 240, 243, 0.78) 0%, rgba(238, 240, 243, 0.55) 100%);
  border-color: rgba(255, 255, 255, 0.50);
}

.glass:hover {
  transform: translateY(-2px);
  box-shadow: var(--portal-shadow-hover), var(--glass-edge);
}

/* Wiederverwendbarer Frosted-Effekt fuer innere Karten */
.frost {
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
}

/* =====================================================
 * Persona-CTA-Buttons (im Hero)
 * ===================================================== */

.persona-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.3s ease;
}

.persona-cta:hover {
  background: var(--portal-cream);
  color: var(--portal-blue-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.persona-cta__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.persona-cta__label {
  font-size: 0.9rem;
}

/* =====================================================
 * Bento-Grid (Hauptlayout fuer Widgets) - enger
 * ===================================================== */

.portal-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  grid-auto-flow: dense;
}

@media (max-width: 991px) {
  .portal-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 575px) {
  .portal-bento {
    grid-template-columns: 1fr;
  }
}

/* Layout-Modifier */
.portal-cell--1x1 { grid-column: span 1; grid-row: span 1; }
.portal-cell--2x1 { grid-column: span 2; grid-row: span 1; }
.portal-cell--3x1 { grid-column: span 3; grid-row: span 1; }
.portal-cell--2x2 { grid-column: span 2; grid-row: span 2; }
.portal-cell--full { grid-column: 1 / -1; }

@media (max-width: 991px) {
  .portal-cell--3x1,
  .portal-cell--2x2 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 575px) {
  .portal-cell--1x1,
  .portal-cell--2x1,
  .portal-cell--3x1,
  .portal-cell--2x2,
  .portal-cell--full { grid-column: span 1; grid-row: span 1; }
}

/* =====================================================
 * Widget-Box (Basis) - kompakt
 * ===================================================== */

.widget {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.widget__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
  gap: 0.75rem;
}

.widget__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--portal-blue-900);
  letter-spacing: -0.01em;
}

.widget__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--portal-blue-500);
  margin-bottom: 0.4rem;
}

.widget__body {
  flex: 1;
  color: var(--portal-ink-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.widget__footer {
  margin-top: 0.85rem;
}

.widget__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--portal-blue-700);
  transition: color 0.2s, gap 0.2s;
}

.widget__link:hover {
  color: var(--portal-blue-900);
  gap: 0.6rem;
}

.widget__link::after {
  content: "\2192";
  transition: transform 0.2s;
}

.widget__link:hover::after {
  transform: translateX(3px);
}

/* =====================================================
 * Buttons (Portal-eigenes Set) - schlanker
 * ===================================================== */

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--portal-blue-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(78, 96, 110, 0.28);
}

.btn-portal:hover {
  background: var(--portal-blue-900);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(78, 96, 110, 0.34);
}

.btn-portal--cream {
  background: var(--portal-cream);
  color: var(--portal-blue-900);
  box-shadow: 0 6px 18px rgba(44, 52, 61, 0.10);
}

.btn-portal--cream:hover {
  background: var(--portal-cream-2);
  color: var(--portal-blue-900);
}

.btn-portal--outline {
  background: transparent;
  color: var(--portal-blue-700);
  border: 2px solid var(--portal-blue-700);
  box-shadow: none;
}

.btn-portal--outline:hover {
  background: var(--portal-blue-700);
  color: #fff;
}

/* =====================================================
 * Schnuppertraining-Widget
 * ===================================================== */

.widget-schnupper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.38) 100%);
}

.widget-schnupper__date {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--portal-blue-700);
  margin: 0.4rem 0;
}

.widget-schnupper__when {
  font-size: 1rem;
  color: var(--portal-ink-muted);
  margin-bottom: 0.85rem;
}

.widget-schnupper__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem;
  background: rgba(232, 235, 239, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.widget-schnupper__address-icon {
  flex-shrink: 0;
  color: var(--portal-blue-500);
}

/* =====================================================
 * Trainingszeiten-Widget (Wochenraster)
 * ===================================================== */

.widget-trainingszeiten__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .widget-trainingszeiten__grid {
    grid-template-columns: repeat(7, minmax(56px, 1fr));
    overflow-x: auto;
  }
}

.widget-trainingszeiten__day {
  text-align: center;
  padding: 0.5rem 0.35rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.55rem;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.widget-trainingszeiten__day-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-ink-muted);
}

.widget-trainingszeiten__pill {
  display: block;
  padding: 0.22rem 0.35rem;
  background: var(--portal-blue-500);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-trainingszeiten__pill--empty {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.30);
}

/* =====================================================
 * Stats-Counter-Widget
 * ===================================================== */

.widget-stats {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--portal-shadow), var(--glass-edge);
  color: var(--portal-ink);
}

.widget-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  text-align: center;
}

.widget-stats__value {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
  color: var(--portal-blue-700);
}

.widget-stats__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--portal-ink-muted);
}

/* =====================================================
 * Teams-Overview-Widget
 * ===================================================== */

.widget-teams__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.team-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--portal-ink);
  display: block;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(78, 96, 110, 0.15);
  color: var(--portal-blue-900);
  text-decoration: none;
}

.team-card__name {
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--portal-blue-900);
}

.team-card__count {
  font-size: 0.85rem;
  color: var(--portal-ink-muted);
}

.team-card__count strong {
  color: var(--portal-blue-700);
}

/* =====================================================
 * News-Widgets
 * ===================================================== */

.widget-news-internal__list {
  display: grid;
  gap: 0.85rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  border-radius: 0.85rem;
  border-left: 4px solid var(--portal-blue-500);
  overflow: hidden;
}

.news-card__image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  margin: 0;
}

.news-card__content {
  padding: 0.8rem 1rem;
}

.news-card__title {
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--portal-blue-900);
}

.news-card__body {
  font-size: 0.9rem;
  color: var(--portal-ink-muted);
  line-height: 1.5;
}

.news-card__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}

.news-card__body p { margin: 0 0 0.6rem; }
.news-card__body p:last-child { margin-bottom: 0; }
.news-card__body a { color: var(--portal-blue-700); }

.news-card__date {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--portal-ink-muted);
  opacity: 0.7;
}

.widget-news-external__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.news-ext-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.news-ext-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(78, 96, 110, 0.15);
  color: inherit;
  text-decoration: none;
}

.news-ext-card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: var(--portal-blue-100);
}

.news-ext-card__body {
  padding: 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-ext-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-blue-500);
  margin-bottom: 0.35rem;
}

.news-ext-card__title {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.45rem;
  color: var(--portal-blue-900);
  line-height: 1.3;
}

.news-ext-card__teaser {
  font-size: 0.84rem;
  color: var(--portal-ink-muted);
  margin: 0;
  flex: 1;
}

.news-ext-card__time {
  font-size: 0.74rem;
  color: var(--portal-ink-muted);
  margin-top: 0.6rem;
  opacity: 0.7;
}

/* =====================================================
 * Equipment-Widget
 * ===================================================== */

.widget-equipment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.equip-card {
  text-align: center;
  padding: 1.1rem 0.8rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.32) 100%);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.85rem;
  transition: all 0.25s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(78, 96, 110, 0.12);
}

.equip-card__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
  display: block;
}

.equip-card__title {
  font-weight: 700;
  color: var(--portal-blue-900);
  margin: 0 0 0.35rem;
}

.equip-card__text {
  font-size: 0.85rem;
  color: var(--portal-ink-muted);
  margin: 0;
}

/* =====================================================
 * Teachers-Widget (zweispaltig)
 * ===================================================== */

.widget-teachers {
  background: var(--portal-cream-grad);
  border: 1px solid rgba(232, 235, 239, 0.80);
}

.widget-teachers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .widget-teachers__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.widget-teachers__heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--portal-blue-900);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.widget-teachers__body {
  color: var(--portal-ink-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.widget-teachers__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.widget-teachers__spirit {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.85rem;
  border: 1px dashed var(--portal-blue-300);
}

.widget-teachers__spirit-title {
  font-weight: 700;
  color: var(--portal-blue-700);
  margin: 0 0 0.5rem;
}

/* =====================================================
 * FAQ-Widget
 * ===================================================== */

.widget-faq__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.faq-tab {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--portal-blue-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-tab:hover { background: rgba(255, 255, 255, 0.8); }

.faq-tab.is-active {
  background: var(--portal-blue-700);
  color: #fff;
  border-color: var(--portal-blue-700);
}

.widget-faq__list { display: grid; gap: 0.45rem; }

.faq-item {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.7rem;
  border: 1px solid rgba(78, 96, 110, 0.08);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--portal-blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.faq-item__question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--portal-blue-500);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: none;
  padding: 0 1rem 0.85rem;
  color: var(--portal-ink-muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.faq-item.is-open .faq-item__answer { display: block; }

/* =====================================================
 * Upcoming-Events-Widget
 * ===================================================== */

.widget-events__list { display: grid; gap: 0.6rem; }

.event-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  border-left: 4px solid var(--portal-blue-500);
  text-decoration: none;
  color: var(--portal-ink);
  transition: all 0.2s ease;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: translateX(3px);
  color: var(--portal-blue-900);
  text-decoration: none;
}

.event-card__date {
  text-align: center;
  background: var(--portal-cream);
  border-radius: 0.55rem;
  padding: 0.35rem 0.45rem;
}

.event-card__day {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--portal-blue-900);
  line-height: 1;
}

.event-card__month {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--portal-blue-700);
  margin-top: 0.2rem;
}

.event-card__name {
  font-weight: 700;
  color: var(--portal-blue-900);
  margin: 0 0 0.2rem;
}

.event-card__meta {
  font-size: 0.8rem;
  color: var(--portal-ink-muted);
}

.event-card__arrow {
  color: var(--portal-blue-500);
  font-size: 1.3rem;
}

/* =====================================================
 * Instagram-Widget
 * ===================================================== */

.widget-instagram__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

#instagram, #facebook {
  min-height: 100px;
}

.instagram-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--portal-ink-muted);
  font-style: italic;
}

/* =====================================================
 * CTA-Widget (Mitmachen-Aufruf) - kompakt
 * ===================================================== */

.widget-cta {
  background: var(--portal-wave-grad);
  color: #fff;
  text-align: center;
  padding: 2rem 1.5rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.widget-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(232, 235, 239, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.widget-cta__heading {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  position: relative;
  letter-spacing: -0.02em;
}

.widget-cta__body {
  font-size: 1rem;
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  position: relative;
}

.widget-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  position: relative;
}

/* =====================================================
 * Poll-Widget
 * ===================================================== */

.widget-poll {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.40) 100%);
}

.widget-poll__question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--portal-blue-900);
  margin: 0 0 0.85rem;
}

/* =====================================================
 * Scroll-Reveal-Animation
 * ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .portal-hero__slide { transition: none; }
}

/* =====================================================
 * Mobile-Optimierungen
 * ===================================================== */

@media (max-width: 768px) {
  .glass {
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
  }
  .portal-hero { min-height: 380px; }
}

/* =====================================================
 * Sprung-Navigation (sticky Mini-Nav unter dem Hero)
 * ===================================================== */

html { scroll-behavior: smooth; }

.portal-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 0 0.25rem;
  padding: 0.5rem 1rem;
  background: rgba(247, 248, 250, 0.78);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.portal-nav__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.portal-nav__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--portal-blue-700);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.portal-nav__chip:hover {
  background: var(--portal-blue-700);
  color: #fff;
  transform: translateY(-1px);
}

/* =====================================================
 * Zonen (Abschnitte mit dezenter Sektions-Ueberschrift)
 * ===================================================== */

.portal-zone {
  margin-top: 1.75rem;
  scroll-margin-top: 84px;
}

.portal-zone:first-of-type { margin-top: 1rem; }

.portal-zone__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.85rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--portal-blue-100);
}

.portal-zone__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--portal-blue-700);
}

.portal-zone__sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--portal-ink-muted);
}

.portal-zone .portal-bento { margin-top: 0; }

[id^="widget-"] { scroll-margin-top: 84px; }

.portal-closing { margin-top: 1.75rem; }

@media (max-width: 575px) {
  .portal-nav { padding: 0.45rem 0.6rem; }
  .portal-nav__chip { font-size: 0.8rem; padding: 0.35rem 0.75rem; }
}
