/*
Theme Name: Coaching mit Pascal Theme
Author: Mark Burisch
Description: Custom WordPress Theme für Coaching-Angebot mit Fokus auf mentale Gesundheit.
Version: 1.0
*/

/* === Globales Layout === */

:root {
  --bs-primary: #24db1f;
  --bs-primary-rgb: 36, 219, 31;
}

body {

}

/* HERO SECTION VIDEO STYLES */
.hero-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 2rem;
}

.hero-shorttext {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #f1f1f1;
}

/* ===== Orientierung: Image Mosaic (Ease/Craft Style) ===== */

.section-orientierung .image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 300px 180px;
  grid-template-areas:
    "large tall"
    "wide tall"
    "wide small";
  gap: 1.25rem;
}

.section-orientierung .image-item {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.section-orientierung .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* individuelle Größen */
.image-item-large {
  grid-area: large;
}

.image-item-tall {
  grid-area: tall;
}

.image-item-wide {
  grid-area: wide;
}

.image-item-small {
  grid-area: small;
}

/* Mobile: sauber stapeln */
@media (max-width: 768px) {
  .section-orientierung .image-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "large"
      "tall"
      "wide"
      "small";
  }

  .section-orientierung .image-item {
    height: 220px;
  }
}
/* Increase vertical whitespace around the section */
.section-orientierung {
  padding: 6rem 2rem;
}

/* Media placeholders: keep visual context when videos are deferred */
.cmp-lazy-video {
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

.hero-section--with-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(36, 219, 31, 0.25), rgba(0, 0, 0, 0.45));
}

@media (max-width: 991px) {
  video[data-desktop-only] {
    display: none;
  }
}

.row.situation-grid {
  align-items: stretch;
}

@media (max-width: 991px) {
  .situation-swipe-wrap {
    overflow: hidden;
    border-radius: 0.75rem;
  }

  .situation-grid--swipe {
    --situation-slide-gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    column-gap: var(--situation-slide-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 0 0.5rem;
  }

  .situation-grid--swipe::-webkit-scrollbar {
    display: none;
  }

  .situation-grid--swipe .situation-item {
    width: auto;
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .situation-swipe-hint {
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #5f6368;
  }
}

.situation-card {
  transition: all 0.4s ease;
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  position: relative;
  overflow: hidden;
}

.situation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.35rem;
  background-color: var(--bs-primary);
}

.situation-card.open {
  background-color: #f9f9f9;
  box-shadow: 0 0 0 2px var(--bs-primary);
}

.speaker-icon,
.close-icon {
  font-size: 1.5rem;
}

.situation-full-text {
  transition: max-height 0.3s ease;
}

.snap-section {
  scroll-snap-align: start;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #1cb917;
  --bs-btn-hover-border-color: #1cb917;
  --bs-btn-active-bg: #1cb917;
  --bs-btn-active-border-color: #1cb917;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1cb917 !important;
  border-color: #1cb917 !important;
  color: #fff;
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff;
}

.ratio.ratio-1x1 {
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
}

.readmore-toggle {
  border: 0;
  background: transparent;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  margin-top: 0.25rem;
  cursor: pointer;
}

.readmore-toggle:hover,
.readmore-toggle:focus-visible {
  color: #495057;
}

.subtle-action-link {
  color: #6c757d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.subtle-action-link:hover,
.subtle-action-link:focus-visible {
  color: #495057;
}

@media (max-width: 767.98px) {
  .mobile-readmore-content.is-collapsed-mobile {
    display: none;
  }

  .mobile-readmore-content.is-expanded-mobile {
    display: block;
  }
}
