@charset "utf-8";

/* =========================================================
   Diver on Tour – Veranstaltungen
   Datei: /assets/css/veranstaltungen.css
   ========================================================= */

:root {
  --dot-bg: #f4f8f9;
  --dot-card: #ffffff;
  --dot-primary: #063f46;
  --dot-primary-soft: #0b5f68;
  --dot-primary-dark: #042f35;
  --dot-accent: #f4b23f;
  --dot-text: #13282d;
  --dot-muted: #64757a;
  --dot-border: #d8e5e8;
  --dot-radius: 18px;
  --dot-shadow: 0 16px 38px rgba(6, 63, 70, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--dot-bg);
  color: var(--dot-text);
}

/* =========================================================
   Hero Veranstaltungen – weiße Schrift, Buttons bleiben sichtbar
   ========================================================= */

.dot-event-hero .dot-hero-box,
.dot-event-hero .dot-hero-box h1,
.dot-event-hero .dot-hero-box p,
.dot-event-hero .dot-hero-kicker {
  color: #ffffff;
}

.dot-event-hero .dot-hero-box h1 {
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.dot-event-hero .dot-hero-box p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

/* Wichtig:
   Hero-Buttons werden NICHT ausgeblendet.
   Kein display:none für .dot-hero-buttons verwenden. */

/* =========================================================
   Grundlayout
   ========================================================= */

.dot-event-page {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 72px;
}

.dot-event-intro,
.dot-event-highlight-card,
.dot-event-card,
.dot-event-cta-panel,
.dot-course-section,
.dot-course-day,
.dot-booking-logic-panel {
  background: var(--dot-card);
  border: 1px solid var(--dot-border);
  border-radius: var(--dot-radius);
  box-shadow: var(--dot-shadow);
}

.dot-event-intro,
.dot-course-section,
.dot-course-day {
  padding: clamp(22px, 3vw, 38px);
  margin-bottom: 24px;
}

.dot-event-intro h2,
.dot-event-highlight-card h2,
.dot-event-card h3,
.dot-event-cta-panel h2,
.dot-course-section h2,
.dot-course-day h2,
.dot-booking-logic-main h2 {
  color: var(--dot-primary);
  line-height: 1.2;
}

.dot-event-intro h2,
.dot-course-section h2,
.dot-course-day h2 {
  margin: 0 0 16px;
}

.dot-event-intro p,
.dot-event-highlight-card p,
.dot-event-card p,
.dot-event-cta-panel p,
.dot-course-section p,
.dot-course-day p,
.dot-booking-logic-main p,
.dot-booking-logic-note {
  line-height: 1.72;
  margin: 0 0 15px;
}

.dot-event-kicker,
.dot-event-label {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--dot-primary);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* =========================================================
   Buchungslogik auf Veranstaltungsübersicht
   ========================================================= */

.dot-booking-logic-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 36px);
}

.dot-booking-logic-main {
  min-width: 0;
}

.dot-booking-logic-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.dot-booking-logic-main p {
  margin: 0;
}

.dot-booking-logic-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.dot-booking-logic-facts div {
  min-width: 0;
  padding: 15px;
  border-radius: 16px;
  background: #eef7f8;
  border: 1px solid var(--dot-border);
}

.dot-booking-logic-facts span {
  display: block;
  margin-bottom: 5px;
  color: var(--dot-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dot-booking-logic-facts strong {
  display: block;
  color: var(--dot-primary);
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dot-places-box {
  background: #fff7e6 !important;
  border-color: rgba(244, 178, 63, 0.65) !important;
}

.dot-places-box strong {
  font-size: 1.22rem;
  color: var(--dot-primary-dark);
}

.dot-booking-logic-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.dot-booking-logic-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--dot-muted);
  font-size: 0.96rem;
}

/* =========================================================
   Highlight-Karte
   ========================================================= */

.dot-event-highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(6, 63, 70, 0.96), rgba(11, 95, 104, 0.92));
  color: #ffffff;
  overflow: hidden;
}

.dot-event-highlight-card h2,
.dot-event-highlight-card p,
.dot-event-highlight-card strong,
.dot-event-highlight-card .dot-event-label {
  color: #ffffff;
}

.dot-event-highlight-main {
  min-width: 0;
}

.dot-event-highlight-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.dot-event-highlight-main p {
  font-size: 1.08rem;
}

.dot-event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.dot-event-facts div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 15px;
  min-width: 0;
}

.dot-event-facts span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dot-event-facts strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* =========================================================
   Karten
   ========================================================= */

.dot-event-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.dot-event-card {
  padding: 24px;
  min-width: 0;
}

.dot-event-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.dot-event-card ul,
.dot-course-section ul,
.dot-course-day ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.dot-event-card li,
.dot-course-section li,
.dot-course-day li {
  margin: 0 0 9px;
  line-height: 1.58;
}

.dot-event-card-strong {
  border-color: rgba(244, 178, 63, 0.65);
}

/* =========================================================
   Buttons
   ========================================================= */

.dot-event-btn,
.dot-event-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dot-event-btn:hover,
.dot-event-download:hover {
  transform: translateY(-2px);
}

.dot-event-btn-primary,
.dot-event-download {
  background: var(--dot-primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(6, 63, 70, 0.22);
}

.dot-event-btn-primary:hover,
.dot-event-download:hover {
  background: var(--dot-primary-soft);
}

.dot-event-btn-secondary {
  background: #eef7f8;
  color: var(--dot-primary);
  border: 1px solid var(--dot-border);
}

.dot-event-btn-secondary:hover {
  background: #e2f1f3;
}

.dot-event-download {
  margin-top: 10px;
}

/* =========================================================
   CTA-Panel
   ========================================================= */

.dot-event-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}

.dot-event-cta-panel h2 {
  margin: 0 0 10px;
}

.dot-event-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Detailseite Kursprogramm
   ========================================================= */

.dot-course-page {
  max-width: 1080px;
}

.dot-course-section h3,
.dot-course-day h3 {
  margin: 22px 0 10px;
  color: var(--dot-primary);
  font-size: 1.18rem;
}

.dot-course-day {
  position: relative;
  padding-top: 34px;
  border-left: 6px solid var(--dot-accent);
}

.dot-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--dot-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.92rem;
}

.dot-price-section {
  border-color: rgba(244, 178, 63, 0.8);
}

.dot-price-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

/* =========================================================
   Hero-Buttons Veranstaltungen – wie auf den normalen Seiten
   ========================================================= */

.dot-event-hero .dot-hero-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  align-items: center;
}

.dot-event-hero .dot-hero-btn,
.dot-event-hero .dot-hero-btn:link,
.dot-event-hero .dot-hero-btn:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dot-event-hero .dot-hero-btn:hover {
  transform: translateY(-2px);
}

.dot-event-hero .dot-hero-btn-primary,
.dot-event-hero .dot-hero-btn-primary:link,
.dot-event-hero .dot-hero-btn-primary:visited {
  background: #f4b23f !important;
  color: #063f46 !important;
}

.dot-event-hero .dot-hero-btn-primary:hover {
  background: #ffc85a !important;
  color: #063f46 !important;
}

.dot-event-hero .dot-hero-btn-secondary,
.dot-event-hero .dot-hero-btn-secondary:link,
.dot-event-hero .dot-hero-btn-secondary:visited {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
}

.dot-event-hero .dot-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  .dot-booking-logic-panel,
  .dot-event-highlight-card,
  .dot-event-cta-panel {
    grid-template-columns: 1fr;
  }

  .dot-event-card-grid {
    grid-template-columns: 1fr;
  }

  .dot-event-cta-actions,
  .dot-booking-logic-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .dot-event-page {
    width: min(100% - 20px, 1180px);
    margin: 28px auto 52px;
  }

  .dot-booking-logic-facts,
  .dot-event-facts {
    grid-template-columns: 1fr;
  }

  .dot-event-btn,
  .dot-event-download {
    width: 100%;
  }

  .dot-event-cta-actions,
  .dot-booking-logic-actions {
    width: 100%;
  }

  .dot-event-card,
  .dot-event-intro,
  .dot-course-section,
  .dot-course-day,
  .dot-booking-logic-panel {
    padding: 20px;
  }

  .dot-event-hero .dot-hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .dot-event-hero .dot-hero-btn {
    width: 100%;
  }
}