/* ==========================================
   TANZAUSBILDUNG IM WANDEL — Custom CSS
   REBUILD 2026 | tanzausbildung-im-wandel.de
   Font: IBM Plex Sans | Brand: #9e0000
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary:   #9e0000;  /* Markenweit: Dunkelrot (Navbar-Hover, Akzente) */
  --secondary: #333333;  /* Dunkles Grau: Nav-BG, Footer */
  --accent:    #9e0000;  /* Buttons, Links */
  --text:      #4a4a4a;  /* Haupttext */
  --bg:        #ffffff;  /* Seitenhintergrund */
  --border:    #dee2e6;  /* Trennlinien */
  --light-bg:  #f8f9fa;  /* Helle Bereiche */
  --red-block: #9e0000;  /* Rote Content-Blöcke */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent);
  text-decoration: none;
}

p { margin-bottom: 1em; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 0.75em;
}
h1 { font-size: 2.8rem; font-weight: 600; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }

/* ==========================================
   NAVBAR
   ========================================== */
.tanz-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(8px);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: background 0.3s ease;
}

.tanz-navbar-brand {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none;
}
.tanz-navbar-brand:hover { color: #ffffff; }

.tanz-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 64px;
}

.tanz-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.tanz-nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0 1.1rem;
  font-size: 0.95rem;
  font-weight: 400;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.tanz-nav-link:hover,
.tanz-nav-item:hover > .tanz-nav-link {
  color: #ffffff;
  background-color: var(--primary);
}
.tanz-nav-item.active > .tanz-nav-link {
  color: #ffffff;
  background: var(--primary);
}

/* Dropdown */
.tanz-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(20, 20, 20, 0.97);
  border-top: 3px solid var(--primary);
  list-style: none;
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
}
.tanz-nav-item:hover > .tanz-dropdown { display: block; }

.tanz-dropdown li a {
  display: block;
  padding: 0.55rem 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.2s, background 0.2s;
}
.tanz-dropdown li a:hover {
  color: #fff;
  background: var(--primary);
}

/* Burger */
.tanz-navbar-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.tanz-navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ==========================================
   HERO SECTION — TANZ INTRO
   ========================================== */
.tanz-hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(158,0,0,0.72) 0%, rgba(20,20,30,0.85) 100%),
    radial-gradient(ellipse at 60% 40%, #2a0a0a 0%, #0d1520 60%, #0a1a0a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.tanz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("img/symposium_intro_rot_weiss.svg") no-repeat center 65%;
  background-size: 28vw;
  opacity: 0.12;
  pointer-events: none;
}

.tanz-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.tanz-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.tanz-hero-logo {
  width: clamp(200px, 28vw, 380px);
  margin: 0 auto 2rem;
  filter: brightness(1.1);
}

.tanz-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.tanz-hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.tanz-hero-scroll {
  margin-top: 2rem;
}
.tanz-hero-scroll img {
  width: 40px;
  margin: 0 auto;
  animation: tanz-bounce 2s infinite;
}

@keyframes tanz-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================
   PAGE WRAPPER & CONTENT
   ========================================== */
.tanz-page-wrapper {
  padding-top: 64px; /* navbar height */
}

.tanz-section {
  padding: 4rem 0;
}

.tanz-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tanz-container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Page hero / breadcrumb */
.tanz-page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 60%, #1a1a1a 100%);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}
.tanz-page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}
.tanz-page-hero .tanz-breadcrumb {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.tanz-page-hero .tanz-breadcrumb a {
  color: rgba(255,255,255,0.7);
}
.tanz-page-hero .tanz-breadcrumb a:hover {
  color: #fff;
}

/* ==========================================
   HOME CONTENT SECTION
   ========================================== */
.tanz-startseite-intro {
  padding: 5rem 2rem;
  background: #fff;
}

.tanz-startseite-intro h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.tanz-startseite-intro p {
  color: var(--text);
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tanz-event-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tanz-event-header .tanz-event-date {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.tanz-event-header .tanz-event-location {
  font-size: 1rem;
  color: #666;
}

/* ==========================================
   RED BLOCK (Rote Info-Box)
   ========================================== */
.tanz-red-block {
  background: var(--primary);
  color: #fff;
  padding: 3rem 2rem;
  margin: 3rem 0;
}
.tanz-red-block h2, .tanz-red-block h3 {
  color: #fff;
}
.tanz-red-block a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.tanz-red-block a:hover {
  border-bottom-color: #fff;
}

/* ==========================================
   GRUSSWORTE
   ========================================== */
.grussworte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.grussworte-karte {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  padding: 2rem;
}
.grussworte-karte blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}
.grussworte-karte .grussworte-autor {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ==========================================
   KOOPERATIONSPARTNER
   ========================================== */
.kooperationspartner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.kooperationspartner-karte {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}
.kooperationspartner-karte img {
  max-height: 80px;
  width: auto;
  margin: 0 auto 1.2rem;
}
.kooperationspartner-karte h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.kooperationspartner-karte p {
  font-size: 0.92rem;
  color: #666;
}

/* ==========================================
   PROGRAMM
   ========================================== */
.programm-tag-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
}

.programm-eintrag {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.programm-eintrag:last-child { border-bottom: none; }

.programm-zeit {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  min-width: 100px;
  display: inline-block;
}

.programm-titel {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.programm-details {
  font-size: 0.92rem;
  color: #666;
  font-style: italic;
}

.programm-akkordeon {
  background: rgba(96,96,96,0.07);
  border: 1px solid var(--border);
  margin-bottom: 4px;
}
.programm-akkordeon-header {
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  cursor: default;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.programm-akkordeon-body {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
}

.programm-download-link {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.programm-download-link:hover {
  background: #7a0000;
  color: #fff;
}

/* ==========================================
   MITWIRKENDE — Personen-Grid
   ========================================== */
.mitwirkende-gruppe-titel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.5rem 0 0.5rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1.5rem;
}

.mitwirkende-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.mitwirkende-karte {
  background: var(--light-bg);
}
.mitwirkende-karte img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}
.mitwirkende-karte-body {
  padding: 1rem;
}
.mitwirkende-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--secondary);
}
.mitwirkende-rolle {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
}
.mitwirkende-bio {
  font-size: 0.88rem;
  color: #666;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ==========================================
   KONTAKT & SERVICE
   ========================================== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.kontakt-block {
  background: var(--light-bg);
  padding: 2rem;
  border-top: 3px solid var(--primary);
}
.kontakt-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.kontakt-block p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.kontakt-block a {
  color: var(--accent);
}

.anfahrt-info {
  background: var(--light-bg);
  padding: 2rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

/* Team-Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-karte {
  display: flex;
  gap: 1rem;
  background: var(--light-bg);
  padding: 1.2rem;
}
.team-karte img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border-radius: 50%;
}
.team-karte-info {}
.team-name { font-weight: 600; margin-bottom: 0.2rem; }
.team-rolle { font-size: 0.85rem; color: var(--primary); }

/* ==========================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.legal-content h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ==========================================
   FOOTER — Tanzausbildung
   ========================================== */
.tanz-footer {
  background: #222;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 2rem 1.5rem;
  margin-top: 4rem;
}

.tanz-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.tanz-footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.tanz-footer-logos img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.tanz-footer-logos img:hover {
  opacity: 1;
}

.tanz-footer-col h4 {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.tanz-footer-col p,
.tanz-footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  display: block;
}
.tanz-footer-col a:hover {
  color: #fff;
}

.tanz-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.tanz-footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.tanz-footer-bottom a:hover {
  color: #fff;
}

/* ==========================================
   DOCX PAGE — ARTICLE TABLE / FAQ
   ========================================== */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}
.article-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.article-table tr:nth-child(even) td {
  background: #f8f9fa;
}

.faq-section { margin: 2rem 0; }
.faq-section h3 {
  background: #f0f4f8;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  margin: 0 0 2px;
  font-size: 1rem;
  color: var(--secondary);
}
.faq-section p {
  padding: 12px 16px;
  background: #fafafa;
  border-left: 4px solid var(--border);
  margin-bottom: 16px;
}

/* ==========================================
   404 PAGE
   ========================================== */
.error-404 {
  text-align: center;
  padding: 100px 20px 80px;
}
.error-404 .big-404 {
  font-size: 120px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.error-404 h2 {
  font-size: 28px;
  margin: 16px 0;
  color: var(--secondary);
}
.error-404 p {
  color: #666;
  margin-bottom: 2rem;
}
.btn-back {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 600;
  margin-top: 8px;
}
.btn-back:hover {
  background: #7a0000;
  color: #fff;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
  .tanz-navbar-toggle { display: flex; }

  .tanz-nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.98);
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: calc(100vh - 64px);
  }
  .tanz-nav-menu.open { display: flex; }

  .tanz-nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .tanz-nav-link {
    width: 100%;
    padding: 0.75rem 1.5rem;
    height: auto;
  }
  .tanz-dropdown {
    position: static;
    display: block;
    background: rgba(10,10,10,0.9);
    border-top: none;
    border-left: 3px solid var(--primary);
    margin-left: 1.5rem;
    width: calc(100% - 1.5rem);
    padding: 0;
  }

  .kontakt-grid { grid-template-columns: 1fr; }
  .tanz-footer-inner { grid-template-columns: 1fr 1fr; }
  .grussworte-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
  .tanz-footer-inner { grid-template-columns: 1fr; }
  .mitwirkende-grid { grid-template-columns: repeat(2, 1fr); }
  .tanz-hero-title { font-size: 2.2rem; }
}
