/* 06_tablett.css — Menü-Tabletts + Überschriften-Linie. Phase 2: aus v7 Z. 1030-1109. */

/* ===== INHALT-BEREICH (z-index: 1) ===== */
.content-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
}

/* ===== TABLETT (Menüpunkt-Container, z-index: 1) ===== */
.tablett {
  max-width: 1000px;
  margin: 0 auto 20px auto;
  background: var(--farbe3);
  border-radius: 12px;
  padding: 2rem 2rem 4rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  /* Rahmen um Menüpunkte */
  border: 2px solid var(--farbe2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* ===== WEBSEITE-MODUS (Tab-Style) — nur aktives Tablett sichtbar ===== */
body.seitentyp-webseite .tablett {
  display: none;
}

body.seitentyp-webseite .tablett.active {
  display: block;
}

.tablett:hover {
  border-color: var(--farbe1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.tablett-title {
  font-size: 2rem;
  color: var(--farbe5);
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  text-align: center;
}

/* Überschrift-Linie — nur bei body.has-ueberschrift-linie aktiv */
body.has-ueberschrift-linie .tablett-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--linie-farbe);
  margin: 0.5rem auto 0;
}

body.has-ueberschrift-linie .texttape h2::after,
body.has-ueberschrift-linie .zusatztext h2::after,
body.has-ueberschrift-linie .abschnitt h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--linie-farbe);
  margin: 0.3rem 0 0;
}

.texttape hr, .zusatztext hr {
  border: none;
  border-top: 2px solid var(--farbe5);
  margin: 1.5rem 0;
  opacity: 0.5;
}
