/* Überschriften auf dieser Seite mittig */
main h1,
main h2,
main h3 { text-align: center }

/* Hero-Kacheln */
.triple-hero { padding: 28px 20px 8px }
.triple-grid {
  display: grid; gap: 14px;
  justify-content: center; align-items: center;
  grid-template-columns: 1fr; place-items: center;
}
@media (min-width: 860px) {
  .triple-grid { grid-template-columns: repeat(3, auto) }
}
.hero-grid-two {
  display: grid; gap: 14px;
  justify-content: center; align-items: center;
  grid-template-columns: 1fr; place-items: center;
}
@media (min-width: 860px) {
  .hero-grid-two { grid-template-columns: repeat(2, auto) }
}
.tile {
  width: clamp(280px, 80vw, 400px);
  height: clamp(280px, 80vw, 400px);
  border-radius: 20px; border: 1px solid var(--border);
  background: #25344C;
  box-shadow:
    0 24px 60px -24px rgba(0,0,0,.35),
    0 0 0 6px rgba(255,255,255,.03) inset,
    0 40px 120px -40px rgba(255,209,102,.35),
    0 30px 80px -30px rgba(255,107,154,.30);
  display: flex; align-items: center; justify-content: center;
  padding: 10px; overflow: hidden;
}
.tile img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; display: block;
  border-radius: 12px; transition: transform .25s ease;
}
.tile:hover img { transform: scale(1.02) }

/* Video-Kachel (gleiche Größe) */
.single-hero { padding: 6px 20px 0; display: grid; place-items: center }
.tile-video {
  width: clamp(280px, 80vw, 400px);
  height: clamp(280px, 80vw, 400px);
}
.tile-video video {
  width: 100%; height: 100%; object-fit: contain;
  display: block; border-radius: 12px; background: #0B1422;
}
.video-hero-container {
  width: clamp(300px, 80vw, 820px);
  height: auto;
}

/* Highlight-Karte */
.highlight-card{
  background: linear-gradient(180deg,#1e2b3e,#172337);
  border: 1px solid var(--border); border-radius: 14px; padding: 16px;
  max-width: 860px; margin: 16px auto 0; text-align: center;
}
.highlight-card .badge{
  display: inline-block; margin-bottom: .35rem;
  background: linear-gradient(135deg,var(--a1),var(--a2)); color: #0B1016; font-weight: 800;
  padding: .15rem .6rem; border-radius: 6px;
}
.highlight-card .desc { color: var(--text); margin: .3rem 0 .6rem }
.price-big { font-weight: 900; letter-spacing: .3px }

/* Kachelraster für Bausteine */
.kachel-grid{
  margin-top: 14px;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){ .kachel-grid{ grid-template-columns: 1fr 1fr } }
@media (min-width: 1120px){ .kachel-grid{ grid-template-columns: 1fr 1fr 1fr } }

.kachel{
  background: linear-gradient(180deg,#1e2b3e,#172337);
  border: 1px solid var(--border); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 150px;
}
.k-title{ font-weight: 700; text-align: center; margin: 0 }
.k-list{
  margin: .2rem auto 0; padding-left: 1.1rem; color: var(--text); max-width: 820px;
}
.k-list li{ margin: .18rem 0 }

/* NEU: Modifikator für linksbündige Kacheln */
.kachel--align-left .k-title,
.kachel--align-left .desc {
  text-align: left;
}
.kachel--align-left .desc {
  margin: 0.1rem 0;
}
.kachel--align-left .k-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

/* Sektionen / Überschriften */
.menu-section{ scroll-margin-top: calc(var(--header-h,72px) + 18px); padding: 22px 0 }
.menu-head{ display: flex; align-items: flex-end; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center }
.note{ color: var(--muted); font-size: .95rem; width: 100%; text-align: center }

.after-basics{
  margin-top: 56px;
}
@media (min-width: 768px){
  .after-basics{ margin-top: 88px; }
}
.wrap.after-basics h2{ padding-top: 4px; }

/* Responsive Tabellen */
.responsive-table-wrap {
  overflow-x: auto;
  width: 100%;
}
.styled-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.styled-table th, .styled-table td {
  padding: 10px 4px;
  white-space: nowrap;
}
.styled-table thead tr {
  border-bottom: 2px solid var(--border);
}
.styled-table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.styled-table th {
  font-weight: 600;
  color: var(--muted);
}
.styled-table th:last-child,
.styled-table td:last-child {
  text-align: right;
}
.styled-table td:last-child {
  font-weight: bold;
}
/* Preis im Module-Intro optisch betonen */
.price-big {
  font-size: clamp(22px, 4.2vw, 34px);
  margin-top: 6px;
}
.smaller {
  font-size: 0.9em;
  color: #555; /* leicht abgesetzt */
}
.modules-intro {
  text-align: center;
  font-size: clamp(20px, 3.5vw, 26px);
  margin: 2rem auto 1rem;
}
.price-big {
  font-size: clamp(22px, 4.2vw, 34px);
  font-weight: 700;
  text-align: center;
  margin: 0.6rem auto;
}
