/* ===== HERO DESKTOP ===== */
.hero-desktop {
  background-position: center right;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.hero-desktop .container {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-desktop-left {
  width: 25%;
  padding: 20px;
}

.hero-desktop-left h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  font-size: 2em;
  color: var(--e-global-color-primary);
  margin-bottom: 5px;
}

.hero-desktop-left p {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: normal;
  color: var(--e-global-color-text);
  font-size: 14px;
  line-height: 1.6;
}

.hero-desktop-center {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-desktop-center img {
  width: 350px;
  animation: growIn 1.5s ease-out;
}

@keyframes growIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-desktop-right {
  width: 25%;
}

/* ===== WILLKOMMEN ===== */
.willkommen-section {
  background-color: rgb(225, 238, 245);
  min-height: 350px;
  padding-top: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.willkommen-section::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  background: radial-gradient(ellipse 130% 200% at 58% 0%, transparent 49.5%, #fff 50%);
}

.willkommen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.willkommen-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.willkommen-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 50%);
  mask-image: linear-gradient(to right, transparent, black 50%);
}

.willkommen-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.willkommen-bg-right {
  position: absolute;
  top: 0;
  left: 20%;
  right: 30%;
  height: 100%;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(225,238,245,0.7) 25%,
    rgba(225,238,245,0.7) 100%
  );
  z-index: 1;
}

.willkommen-container {
  max-width: min(1200px, 68%);
  margin: 0 auto 0 5%;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.willkommen-spacer {
  flex: 1;
}

.willkommen-text {
  width: 65%;
  padding: 30px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.willkommen-text::before {
  content: '';
  position: absolute;
  top: -200px;
  bottom: -200px;
  left: -80px;
  right: -80px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(225,238,245,0.85) 12%,
    rgba(225,238,245,0.85) 88%,
    transparent 100%
  );
  pointer-events: none;
}

.willkommen-text h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  color: var(--e-global-color-primary);
  margin-bottom: 15px;
  font-size: 2em;
  position: relative;
  z-index: 1;
}

.willkommen-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 12px;
  background: var(--e-global-color-secondary);
  border-radius: 2px;
}

.willkommen-text p {
  font-size: 16px;
  color: var(--e-global-color-text);
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* ===== LEISTUNGEN / WOFÜR WIR STEHEN ===== */
.leistungen-section {
  background: #fff;
  padding: 30px 0 35px;
}

.leistungen-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  color: var(--e-global-color-primary);
  text-align: center;
  font-size: 2em;
  margin: 0 0 10px;
}

.leistungen-wave {
  width: 80px;
  height: 3px;
  margin: 0 auto 50px;
  background: rgba(124, 40, 78, 0.2);
  border-radius: 3px;
}

.leistungen-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 0 30px;
}

.leistungen-card {
  background: rgba(102,138,163,0.04);
  border: none;
  border-radius: 28px;
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  transition: all 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.leistungen-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(102,138,163,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 800ms ease;
  pointer-events: none;
}

.leistungen-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(124,40,78,0.05) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 800ms ease;
  pointer-events: none;
}

.leistungen-card:hover {
  transform: translateY(-5px);
  background: rgba(102,138,163,0.06);
  box-shadow: 0 20px 50px rgba(102,138,163,0.1);
}

.leistungen-card:hover::before {
  transform: scale(1.5);
}

.leistungen-card:hover::after {
  transform: scale(1.4);
}

.leistungen-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.7);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(102,138,163,0.08);
  transition: border-radius 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 500ms ease;
}

.leistungen-card-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.leistungen-card:hover .leistungen-card-icon {
  border-radius: 55% 45% 40% 60% / 45% 60% 45% 55%;
  box-shadow: 0 6px 20px rgba(102,138,163,0.12);
}

.leistungen-card h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.15em;
  color: var(--e-global-color-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.leistungen-card p {
  font-size: 15px;
  color: var(--e-global-color-text);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Gallery-Kasten */
.leistungen-card-gallery {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.leistungen-card-gallery::before,
.leistungen-card-gallery::after {
  display: none;
}

.leistungen-card-gallery:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
  transition: all 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border-radius: 24px;
}

/* ===== SCHWERPUNKTE ===== */
.schwerpunkte-section {
  background: rgba(81,142,176,0.12);
  padding: 60px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.schwerpunkte-section::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
  background: radial-gradient(ellipse 130% 200% at 58% 100%, transparent 49.5%, #fff 50%);
}

.schwerpunkte-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.schwerpunkte-group h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  color: var(--e-global-color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.schwerpunkte-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--e-global-color-secondary);
  border-radius: 2px;
}

.schwerpunkte-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schwerpunkte-chip {
  display: inline-block;
  background: var(--e-global-color-white);
  color: var(--e-global-color-text);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(102,138,163,0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.schwerpunkte-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124,40,78,0.04), transparent);
  transition: left 0.6s ease;
}

.schwerpunkte-chip:hover {
  background: var(--e-global-color-white);
  border-color: var(--e-global-color-primary);
  color: var(--e-global-color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 40, 78, 0.1);
}

.schwerpunkte-chip:hover::before {
  left: 100%;
}

/* Organic border-radius alternation */
.schwerpunkte-chip:nth-child(odd) {
  border-radius: 50px 24px 50px 24px;
}

.schwerpunkte-chip:nth-child(even) {
  border-radius: 24px 50px 24px 50px;
}

.schwerpunkte-chip:nth-child(3n) {
  padding: 12px 26px;
  font-size: 14.5px;
}

/* Second group accent color shift */
.schwerpunkte-group:nth-child(2) .schwerpunkte-chip:hover {
  border-color: var(--e-global-color-secondary);
  color: var(--e-global-color-secondary);
  box-shadow: 0 6px 20px rgba(102, 138, 163, 0.12);
}


/* ===== PRAXIS (Scroll Collage) ===== */
.praxis-section {
  background: #fff;
  padding: 20px 0 0;
  overflow: clip;
  position: relative;
}

.praxis-section::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  background: radial-gradient(ellipse 130% 200% at 58% 0%, transparent 49.5%, #fff 50%);
}

.praxis-strip-row {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.praxis-strip-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.1s linear;
  will-change: transform;
}

.praxis-strip-item {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  width: 420px;
  height: 240px;
  border-radius: 14px;
}

.praxis-strip-item:nth-child(4n+1) { border-radius: 30px 12px 30px 12px; width: 460px; }
.praxis-strip-item:nth-child(4n+2) { border-radius: 12px 30px 12px 30px; width: 390px; }
.praxis-strip-item:nth-child(4n+3) { border-radius: 20px; width: 480px; }
.praxis-strip-item:nth-child(4n)   { border-radius: 14px 28px 14px 28px; width: 420px; }

.praxis-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ===== OEFFNUNGSZEITEN (Split mit Praxisbild) ===== */
.oeffnungszeiten-section {
  background: var(--e-global-color-primary);
  display: flex;
  min-height: 400px;
  position: relative;
}

.oz-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

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

.oz-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, var(--e-global-color-primary) 0%, rgba(124,40,78,0.6) 40%, rgba(124,40,78,0) 100%);
}

.oz-content {
  flex: 1;
  padding: 35px max(50px, calc((100vw - 1200px) / 2 + 50px)) 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oz-content h2 {
  font-family: "Varela Round", sans-serif;
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.oz-content h2::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  margin: 10px 0 35px;
  background: var(--e-global-color-secondary);
  border-radius: 2px;
}

.oz-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px 40px;
}

.oz-block h4 {
  font-family: "Varela Round", sans-serif;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.oz-block p,
.oz-block li {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.85;
}

.oz-block a {
  color: var(--e-global-color-accent);
  text-decoration: none;
}

.oz-block a:hover {
  text-decoration: underline;
}

.oz-block em {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

.oz-block ul {
  list-style: none;
  padding: 0;
}

.oz-block ul li::before {
  content: '\00B7';
  color: var(--e-global-color-accent);
  margin-right: 8px;
  font-weight: 700;
  font-size: 18px;
}

/* ===== TEAM ===== */
.team-section {
  background: var(--e-global-color-secondary);
  margin-top: -40px;
  padding: 0 5% 80px;
  position: relative;
  z-index: 1;
}

/* Hintergrund-Blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.bg-blob-1 { width: 500px; height: 500px; background: var(--e-global-color-primary); top: -150px; left: -100px; }
.bg-blob-2 { width: 400px; height: 400px; background: var(--e-global-color-accent); bottom: -100px; right: -50px; }
.bg-blob-3 { width: 300px; height: 300px; background: #fff; top: 40%; left: 50%; }

.team-section h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 3em;
  font-weight: 300;
  color: #fff;
  text-align: center;
  padding: 50px 0 10px;
  position: relative;
}

.team-wave {
  width: 80px;
  height: 3px;
  margin: 0 auto 50px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto 40px;
  position: relative;
}

.team-card {
  flex: 0 0 calc(25% - 28px);
  max-width: calc(25% - 28px);
  position: relative;
  cursor: pointer;
  z-index: 1;
  transform: translateZ(0);
}

.team-card:hover {
  z-index: 10;
}

/* Blob Bild */
.team-card-blob {
  width: 100%;
  height: 300px;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: border-radius 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.team-card:hover .team-card-blob {
  border-radius: 55% 45% 40% 60% / 45% 60% 45% 55%;
}

.team-card-blob::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center top;
  transition: transform 1500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-card-blob::before {
  transform: scale(1.1);
}

/* Name unter Blob */
.team-card-name {
  text-align: center;
  padding: 18px 10px 14px;
  position: relative;
  z-index: 3;
}

.team-card-name h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.3;
}

.team-card-name .role {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 0.7em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-block;
  margin-top: 10px;
  padding-top: 8px;
  position: relative;
}

.team-card-name .role::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--e-global-color-secondary);
  border-radius: 2px;
}

/* Info-Kasten (BG immer sichtbar hinter Blob, klappt auf Hover aus) */
.team-card-info {
  position: absolute;
  top: 180px;
  left: 8%;
  right: 8%;
  z-index: 1;
  background: rgba(124, 40, 78, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 230px 18px 20px;
  overflow: hidden;
  max-height: 190px;
  transition: max-height 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-info {
  max-height: 500px;
}

/* Akzent-Linie entfernt */

.team-card-info ul {
  list-style: none;
  padding: 0 0 0 15px;
  margin: 0;
}

.team-card-info ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  padding: 3px 0;
  text-indent: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-info ul li {
  transform: translateY(0);
  opacity: 1;
}

.team-card:hover .team-card-info ul li:nth-child(1) { transition-delay: 200ms; }
.team-card:hover .team-card-info ul li:nth-child(2) { transition-delay: 250ms; }
.team-card:hover .team-card-info ul li:nth-child(3) { transition-delay: 300ms; }
.team-card:hover .team-card-info ul li:nth-child(4) { transition-delay: 350ms; }
.team-card:hover .team-card-info ul li:nth-child(5) { transition-delay: 400ms; }

.team-card-info ul li::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--e-global-color-secondary);
}

/* ===== KONTAKT ===== */
.kontakt-section {
  background-color: #fff;
  background-position: bottom right;
  background-size: 40% auto;
  background-repeat: no-repeat;
  padding: 25px 0 0 0;
}

.kontakt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 60px;
}

.kontakt-container h4 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  margin-bottom: 25px;
}

.kooperationen-logos {
  display: flex;
  align-items: center;
  gap: 50px;
}

.kooperationen-logos a {
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.kooperationen-logos a:hover {
  opacity: 1;
}

.kooperationen-logos img {
  height: 90px;
  width: auto;
  object-fit: contain;
}
