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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(42,90,128,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(230,82,31,0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a5a80' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    var(--navy);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,63,92,0.45) 0%, rgba(26,30,46,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 120px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(230,82,31,0.35);
  padding: 5px 16px;
  border-radius: 100px;
}
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.hero-headline span { color: var(--orange); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.60);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── Über uns ── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.about-grid > * { min-width: 0; max-width: 100%; }
.about-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.about-body {
  font-size: var(--fs-base);
  color: var(--color-text-body);
  line-height: var(--lh-loose);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.about-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-mid);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
}
.about-stat-num span { color: var(--orange); }
.about-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-photo-wrap { position: relative; min-width: 0; max-width: 100%; }

/* ── About carousel ── */
.about-carousel {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.about-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}
.about-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.about-carousel-dot {
  width: 7px;
  height: 7px;
  min-height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.about-carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}
.about-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(230,82,31,0.4);
}
.about-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.72rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ── Schedule Cards ── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.schedule-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.15s;
}
.schedule-card:hover {
  box-shadow: 0 0 0 1px rgba(230,82,31,0.25), 0 0 20px rgba(230,82,31,0.2), 0 8px 28px rgba(230,82,31,0.18);
  transform: translateY(-3px);
}
.schedule-card-top {
  height: 5px;
  background: var(--orange);
  flex-shrink: 0;
}
.schedule-card-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.schedule-discipline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.1;
}
.schedule-meta { display: flex; flex-direction: column; gap: 6px; }
.schedule-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.schedule-meta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}
.schedule-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 4px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 4px;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}
.schedule-date-badge.past {
  background: rgba(230,82,31,0.08);
  color: var(--orange);
}
.schedule-date-badge.today {
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── News Cards ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  box-shadow: 0 0 14px rgba(230,82,31,0.4), 0 6px 24px rgba(230,82,31,0.25);
  transform: translateY(-3px);
}
.news-img {
  height: 196px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.news-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-img-placeholder {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.news-date { font-size: 0.75rem; color: #8a96a8; }
.news-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}
.news-excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text-body);
  line-height: var(--lh-normal);
  flex: 1;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 4px;
  transition: gap 0.15s;
}
.news-card:hover .news-link { gap: 9px; }

/* ── Loading skeletons ── */
.schedule-skeleton,
.news-skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gray-light) 25%, #e8eaed 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-slide 1.4s ease-in-out infinite;
}
.schedule-skeleton { height: 180px; }
.news-skeleton { height: 320px; }
@keyframes skeleton-slide {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Tablet (768px – 1023px) ── */
@media (max-width: 1023px) {
  .hero-content { padding: 100px 32px 72px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-badge { left: 0; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
  .hero-content { padding: 96px 24px 64px; }
  .hero-scroll { display: none; }
  .section-wrap { padding: 64px 20px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .about-stat-num { font-size: 1.7rem; }
  .about-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    word-break: break-word;
    hyphens: auto;
  }
  .about-badge { left: 16px; bottom: 12px; padding: 12px 16px; }
  .about-badge-num { font-size: 1.6rem; }
  .schedule-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ── Heute-Termin Popup ── */
.today-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: today-fade-in 0.25s ease;
}
.today-overlay[hidden] { display: none; }
@keyframes today-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.today-modal {
  position: relative;
  background: linear-gradient(145deg, #1a3f5c 0%, #14334b 60%, #0d2f4d 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  padding: 32px 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  animation: today-slide-up 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes today-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.today-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.55);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.today-close:hover {
  background: rgba(230,82,31,0.15);
  border-color: rgba(230,82,31,0.4);
  color: var(--orange);
}
.today-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.today-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.05;
}
.today-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.today-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.today-item-discipline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.today-item-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.today-item-meta span { display: flex; align-items: center; gap: 6px; }
.today-item-meta svg { flex-shrink: 0; opacity: 0.55; color: var(--orange); }
.today-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}
.today-btn:hover { background: var(--orange-dark); }
.today-btn:active { transform: scale(0.98); }
@media (max-width: 767px) {
  .today-modal { padding: 24px 20px; }
  .today-title { font-size: 1.4rem; }
}

/* ── Hero Wappen Watermark ── */
.hero-wappen {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 620px;
  max-width: 65%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-12deg) scale(0.92);
  animation: hero-wappen-in 1.6s cubic-bezier(0.22,0.8,0.3,1) 0.2s forwards;
}
@keyframes hero-wappen-in {
  to { opacity: 0.07; transform: rotate(0deg) scale(1); }
}
@media (max-width: 767px) {
  .hero-wappen { width: 380px; right: -15%; bottom: -8%; }
}

/* ── Hero Word-Reveal ── */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-word-in 0.7s cubic-bezier(0.22,0.8,0.3,1) var(--word-delay, 0ms) forwards;
}
.hero-word--accent {
  position: relative;
  color: var(--orange);
}
@keyframes hero-word-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero-wappen { animation: none; }
  .hero-word { opacity: 1; transform: none; }
  .hero-wappen { opacity: 0.07; transform: none; }
}

