:root {
  --bg: #ffffff;
  --text: #000000;
  --black: #000000;
  --white: #ffffff;
  --accent: #d8e92a;
  --accent-soft: #f3f7c8;
  --border: #dddddd;
  --muted: #555555;
  --footer: #111827;
}

@font-face {
  font-family: "Speeday";
  src: url("/fonts/Speeday-Regular-FFP.woff2") format("woff2");
  font-display: swap;
}

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

main.section {
  padding-top: 90px;
}

.container {
  width: min(1120px, 100%);
  padding: 0 16px;
  margin: 0 auto;
}

.accent-word {
  color: var(--accent);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
  transform: translateY(-100%);
  transition: transform .25s ease;
}

.site-header.visible {
  transform: translateY(0);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-center img {
  height: 48px;
  display: block;
}

.menu-toggle {
  position: absolute;
  left: 16px;
  font-size: 24px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #000;
  -webkit-text-fill-color: #000;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 16px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

/* =========================
   TYPOGRAFIE
========================= */

h1,
h2 {
  font-family: "Speeday", sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: .95;
  margin: 0 0 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  max-width: 100%;
}

.eyebrow {
  font-size: .85rem;
  font-weight: 900;
  color: #6b6b00;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  color: #222;
  max-width: 720px;
  font-weight: 800;
  font-size: 1.2rem;
}

/* =========================
   BUTTONS
========================= */

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary,
.accent {
  background: var(--accent);
  color: #000;
}

.secondary {
  background: #fff;
  color: #000;
  border: 1px solid var(--border);
}

.secondary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* =========================
   STARTSEITE / HERO
========================= */

.hero-brand-start {
  width: 100%;
  height: 310px;
  background: var(--accent);
  margin-bottom: 0;
  display: grid !important;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  row-gap: 28px;
}

.hero-brand-start img {
  width: min(72vw, 360px);
  height: auto;
  display: block;
}

.hero-toplinks {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-toplinks a {
  color: #000;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  line-height: 1;
}

.hero-toplinks a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero-toplinks a:last-child {
  background: #000;
  color: var(--accent);
  padding: 9px 15px;
  border-radius: 999px;
}

.hero-image-section,
.hero-image-section img,
.hero-top-image {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.hero-image-section img,
.hero-top-image {
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}

/* =========================
   SECTIONS / LAYOUT
========================= */

.home-section {
  padding: 90px 0;
}

.home-section:first-of-type {
  padding-top: 0;
}

.home-section.white {
  background: #fff;
  color: #000;
  padding-top: 0;
}

.home-section.black {
  background: #000;
  color: #fff;
}

.home-section:first-of-type .container {
  padding-top: 0;
}

.home-section:first-of-type .section-text {
  padding-top: 0;
}

.split {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* =========================
   STARTSEITE INFOBOXEN
========================= */

.hero-info-box,
.hero-intro {
  background: #eef5c8;
  border-left: 8px solid #E9F431;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}

.hero-info-box p,
.hero-intro p {
  margin: 0 0 12px;
}

.hero-info-box p:last-child,
.hero-intro p:last-child {
  margin-bottom: 0;
}

.hero-info-title {
  font-weight: 900;
  font-size: 1.2rem;
}

/* =========================
   DARUM-JUMA-BILD
========================= */

.darum-juma-image {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  overflow: visible;
}

.darum-juma-main {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.tacho-over-darum {
  display: none !important;
}

/* =========================
   INTENSIVKURS
========================= */

.intensiv-text-box {
  position: relative;
  padding-right: 120px;
}

.tacho-corner {
  position: absolute;
  top: 20px;
  right: 0;
  width: 90px;
  height: auto;
  pointer-events: none;
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.notice {
  border-radius: 24px;
  padding: 28px;
}

.dark-card {
  background: #111;
  color: #fff;
  border: 1px solid #333;
}

.dark-card h2 {
  color: var(--accent);
}

.contact-card {
  grid-column: 1 / -1;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.contact-card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================
   PREISE
========================= */

.price-table {
  overflow-x: auto;
  border: 2px solid #000;
  border-radius: 20px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.price-table table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.price-table thead {
  background: #000;
  color: var(--accent);
}

.price-table th,
.price-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-size: .9rem;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
  font-weight: 700;
  white-space: normal;
  max-width: 115px;
  line-height: 1.25;
}

.price-table th:not(:first-child),
.price-table td:not(:first-child) {
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

.price-table tbody tr:hover {
  background: var(--accent-soft);
}

.price-notes {
  margin-top: 20px;
}

.price-notes p {
  margin: 0 0 10px;
  padding: 14px 18px;
  border: 2px solid #000;
  border-radius: 18px;
  background: var(--accent-soft);
  font-weight: 700;
}

.price-hints {
  margin: 10px 0 0;
  padding-left: 20px;
}

.price-hints li {
  margin-bottom: 6px;
}

/* =========================
   FORMULARE
========================= */

.section {
  padding: 64px 0;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.checkbox input {
  width: auto;
  margin-top: 6px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.choice-fieldset {
  border: 2px solid #000;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.choice-fieldset legend {
  font-weight: 900;
  padding: 0 8px;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.radio-card input {
  width: auto;
  margin-top: 5px;
}

.radio-card span {
  display: grid;
  gap: 2px;
}

.be-extra-option {
  margin-top: 6px;
}

.previous-classes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.previous-classes-grid .radio-card {
  margin: 0;
}

.class-info {
  margin-top: 8px;
}

.class-info summary {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}

.class-info div {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid var(--border);
  font-size: .92rem;
  font-weight: 500;
}

.age-warning {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.age-warning.info {
  border: 2px solid #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.age-warning.warning {
  border: 2px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.age-warning.danger {
  border: 2px solid #d92d20;
  background: #fff1f0;
  color: #b42318;
}

.owned-class-hint {
  display: none !important;
  margin-top: 6px;
  color: #c2410c;
  font-weight: 900;
  font-size: .92rem;
}

.owned-class-hint.visible {
  display: block !important;
}

.privacy-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-note {
  margin: 0;
  font-weight: 400;
  color: var(--muted);
}

.privacy-note a {
  font-weight: 700;
  text-decoration: underline;
}

.submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.submit-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 18px 34px;
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.submit-btn:active {
  transform: translateY(0);
}

/* =========================
   FAQ
========================= */

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 2px solid #000;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: #000;
}

.faq-item[open] summary {
  background: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item div {
  padding: 18px 22px 22px;
  color: #222;
  border-top: 1px solid #ddd;
}

/* =========================
   THEORIETERMINE
========================= */

.theory-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0;
}

.course-list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.course-card {
  border: 2px solid #000;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}

.course-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid #ddd;
}

.course-head h2 {
  margin-bottom: 0;
}

.course-date {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.course-date-holiday {
  font-weight: 800;
}

.ferienkurs-stempel {
  position: absolute;
  top: 12px;
  right: 180px;
  width: 120px;
  height: auto;
  pointer-events: none;
  opacity: .92;
}

.course-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}

.course-date-planned {
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
}

.lesson-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lesson-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.lesson-table th {
  background: #000;
  color: var(--accent);
  text-align: left;
  padding: 14px 16px;
}

.lesson-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.lesson-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

.lesson-table td strong {
  display: block;
  font-weight: 900;
}

.lesson-table td span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
}

.lesson-table-compact {
  min-width: 0;
  table-layout: fixed;
}

.lesson-table-compact th,
.lesson-table-compact td {
  padding: 12px 10px;
}

.lesson-table-compact th:nth-child(1),
.lesson-table-compact td:nth-child(1) {
  width: 24%;
}

.lesson-table-compact th:nth-child(2),
.lesson-table-compact td:nth-child(2) {
  width: 28%;
}

.lesson-table-compact th:nth-child(3),
.lesson-table-compact td:nth-child(3) {
  width: 24%;
}

.lesson-table-compact th:nth-child(4),
.lesson-table-compact td:nth-child(4) {
  width: 24%;
}

.holiday-badge {
  display: inline-flex !important;
  margin-top: 6px;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4d5200 !important;
  font-weight: 800;
  font-size: .75rem !important;
}

/* =========================
   BUCHUNG
========================= */

.booking-header-actions {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}

.session-countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.05;
}

.session-countdown-label {
  font-size: 10px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.session-countdown {
  font-size: 13px;
  font-weight: 500;
  color: #000;
  font-variant-numeric: tabular-nums;
}

.booking-logout-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #E9F431;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s ease;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
}

.booking-logout-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

.booking-logout-icon:hover {
  transform: translateY(-1px);
  background: #d7e92b;
}

.booking-controls-card {
  margin-bottom: 30px;
  background: linear-gradient(180deg, #fff 0%, #fcfde9 100%);
  border-color: #000;
  border-top-color: #E9F431;
}

.booking-day {
  background: linear-gradient(180deg, #fff 0%, #fcfde9 100%);
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(216, 233, 42, .65);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.booking-day h3 {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f3f7c8;
  border: 1px solid rgba(216, 233, 42, .8);
  font-size: 1rem;
}

.slot {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: .15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.035);
}

.booking-group select,
.booking-group input {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 220px;
  outline: none;
}

/* =========================
   DATENSCHUTZ / RECHTLICHES
========================= */

.legal h1 {
  font-size: 2.5rem;
}

.legal h2 {
  margin-top: 34px;
}

.art13-section {
  margin: 2rem 0 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.art13-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.art13-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.art13-link {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  border: 2px solid #000;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  transition: all .2s ease;
}

.art13-link:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}

.art13-link span:first-child {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.art13-hover {
  margin-top: .75rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  opacity: 0;
  transition: opacity .2s ease;
}

.art13-link:hover .art13-hover {
  opacity: 1;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a {
  color: #fff;
}
/* =========================
   RESPONSIVE FINAL
   Breakpoints:
   Mobile: 0–767px
   Tablet: 768–1024px
   Desktop: ab 1025px
========================= */

/* =========================
   DESKTOP AB 1025PX
========================= */

@media (min-width: 1025px) {
  .container {
    width: min(1120px, 100%);
    padding: 0 16px;
  }

  .hero-image-section img,
  .hero-top-image {
    height: 600px;
    object-fit: cover;
    object-position: center center;
  }

  .intro-section {
    position: relative;
    min-height: 620px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .intro-section .container.split {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 0;
    align-items: stretch;
  }

  .intro-section .section-text {
    padding: 110px 32px 80px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .intro-section .darum-juma-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .intro-section .darum-juma-main {
  width: auto;
  height: auto;
  max-height: 620px;
  max-width: none;
  display: block;
  margin: 0;
}

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-card {
    grid-column: 1 / -1;
  }

  .contact-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ferienkurs-stempel {
    right: 260px;
  }

  .home-section.black .container.split {
    grid-template-columns: minmax(520px, 1.15fr) minmax(360px, .85fr);
    gap: 56px;
  }

  .home-section.black .section-image {
    order: 1;
  }

  .home-section.black .section-text {
    order: 2;
  }

  .home-section.black .section-image img {
    min-width: 520px;
    height: auto;
    object-fit: contain;
  }

  .b197-section .split {
    grid-template-columns: minmax(360px, .85fr) minmax(560px, 1.15fr);
    gap: 56px;
  }

  .b197-section .section-image img {
    min-width: 560px;
    height: auto;
    object-fit: contain;
  }
}

/* =========================
   TABLET 768–1024PX
========================= */

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 100%;
    padding: 0 24px;
  }

  .hero-brand-start {
    height: 300px;
  }

  .hero-image-section img,
  .hero-top-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .intro-section {
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

.intro-section .container.split {
  width: 100%;
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns: 54% 46%;
  gap: 0;
  align-items: end;
}

.intro-section .section-text {
  padding: 48px 24px 64px 24px;
}

.intro-section .darum-juma-image {
  width: calc(46vw + 24px);
  margin-right: calc(50% - 50vw);
  margin-left: 0;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.intro-section .darum-juma-main {
  width: auto;
  height: auto;
  max-width: none;
  max-height: 560px;
  display: block;
  margin: 0;
}

  .split,
  .split.reverse {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    grid-column: 1 / -1;
  }

  .contact-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .theory-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-image img {
    height: auto;
  }

  .course-head {
    align-items: flex-start;
  }
}

/* =========================
   MOBILE BIS 767PX
========================= */

@media (max-width: 767px) {
  .container {
    width: 100%;
    padding: 0 14px;
  }

  .hero-brand-start {
    height: 300px;
    row-gap: 22px;
    padding: 0 14px;
  }

  .hero-toplinks {
    gap: 10px 14px;
  }

  .hero-toplinks a {
    font-size: .7rem;
    letter-spacing: .04em;
  }

  .hero-toplinks a:last-child {
    padding: 7px 10px;
  }

  .hero-brand-start img {
    width: min(74vw, 330px);
  }

  .home-section {
    padding: 56px 0;
  }

  .home-section.white {
    padding-top: 0;
  }

  .hero-title {
    margin-top: 34px;
    font-size: clamp(1.75rem, 8.4vw, 2.15rem);
    letter-spacing: .025em;
    line-height: 1;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-section {
    padding-bottom: 0;
    overflow: hidden;
  }

  .intro-section .container.split {
    padding-left: 0;
    padding-right: 0;
  }

  .intro-section .section-text {
    padding: 0 22px 40px 22px;
  }

  .intro-section .darum-juma-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: -1px;
  }

  .intro-section .darum-juma-main {
    width: 100vw;
    max-width: none;
    height: auto;
    display: block;
    margin-bottom: 0;
  }

  .hero-info-box,
  .hero-intro {
    padding: 20px 22px;
    border-left-width: 6px;
    border-radius: 0 18px 18px 0;
  }

  .lead {
    font-size: 1.08rem;
  }

  .actions {
    gap: 10px;
  }

  .btn {
    padding: 11px 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-column: auto;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theory-info-grid {
    grid-template-columns: 1fr;
  }

  .course-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-image img {
    height: auto;
  }

  .home-section.black .section-image {
    margin-left: -24px;
    margin-right: -24px;
  }

  .home-section.black .section-image img[src="/images/intensivkurs.jpg"] {
    width: calc(100% + 48px);
    max-width: none;
    border-radius: 0;
    display: block;
  }

  .price-table th,
  .price-table td {
    font-size: .8rem;
    padding: 8px;
  }

  .price-table th:first-child,
  .price-table td:first-child {
    max-width: 105px;
  }

  .faq-item summary {
    font-size: 1rem;
    padding: 16px 18px;
  }

  .faq-item div {
    padding: 16px 18px 20px;
  }

  .lesson-table-compact {
    font-size: .82rem;
  }

  .lesson-table-compact th,
  .lesson-table-compact td {
    padding: 9px 6px;
  }

  .lesson-table-compact td span {
    font-size: .72rem;
  }

  .course-date {
    font-size: 1.05rem;
  }

  .ferienkurs-stempel {
    width: 98px;
    right: 12px;
    top: 10px;
  }

  .submit-btn {
    width: 100%;
    font-size: 1.25rem;
    padding: 20px 24px;
  }

  .booking-header-actions {
    right: 10px;
    gap: 6px;
  }

  .session-countdown-label {
    font-size: 9px;
  }

  .session-countdown {
    font-size: 12px;
  }

  .booking-logout-icon {
    width: 40px;
    height: 40px;
  }

  .booking-logout-icon img {
    width: 23px;
    height: 23px;
  }

  .art13-section h2 {
    font-size: 1.8rem;
    line-height: 1;
  }

  .art13-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .art13-link {
    width: 100%;
    max-width: 320px;
  }

  .art13-hover {
    opacity: 1;
  }

  .legal h1 {
    font-size: 1.8rem;
  }

  .legal h2 {
    font-size: 1.1rem;
  }

  .footer-grid {
    flex-direction: column;
  }

  .previous-classes-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {

  .home-section.black .cards {

    grid-template-columns: repeat(2, 1fr);

  }

  .home-section.black .card:nth-child(3) {

    grid-column: 1 / -1;

  }

}

/* Mobile Fix: Intensivkurs wieder volle Breite */

@media (max-width: 767px) {
  .home-section.black .container.split {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .home-section.black .section-text {
    order: 0 !important;
    width: 100% !important;
    max-width: none !important;
    
  }

  .home-section.black .section-image {
    order: 0 !important;
    width: 100% !important;
  }

  .intensiv-text-box {
    width: 100% !important;
    max-width: none !important;
    padding-right: 0 !important;
  }
}

.opening-discount-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

.opening-discount-head {
  max-width: 850px;
  margin: 0 auto 35px;
  text-align: center;
}

.opening-discount-head h2 {
  margin-bottom: 15px;
}

.opening-discount-head p {
  font-size: 1.15rem;
  line-height: 1.5;
}

.opening-discount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  justify-content: center;
  gap: 28px;
  align-items: start;
  margin-top: 35px;
}

.opening-discount-card {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opening-discount-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.opening-discount-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opening-discount-text {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.55;
}

.opening-discount-highlight {
  font-size: 1.45rem;
  margin-top: 20px;
}

.opening-discount-highlight strong {
  color: #000;
  background: #e9f431;
  padding: 0.08em 0.25em;
}

.opening-discount-text .actions {
  justify-content: center;
  margin-top: 30px;
}

/* Handy */
@media (max-width: 650px) {
  .opening-discount-grid {
    grid-template-columns: 1fr;
  }

  .opening-discount-card {
    border-radius: 18px;
  }

  .opening-discount-highlight {
    font-size: 1.25rem;
  }

  .opening-discount-text .actions {
    flex-direction: column;
  }

  .opening-discount-text .btn {
    width: 100%;
  }
}

.promotion-section {
  overflow: hidden;
}

.promotion-container {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);

  max-width: 1250px;
  margin: 0 auto;
}

.promotion-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promotion-image img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.promotion-text h2 {
  margin-top: 0;
}

.promotion-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.7;
}

@media (max-width: 850px) {
  .promotion-container {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .promotion-image {
    order: 1;
  }

  .promotion-text {
    order: 2;
  }

  .promotion-image img {
    width: 100%;
    max-width: 520px;
  }
}