/* =========================================================================
   EasyupLife Balance – Stylesheet
   Pixelgenauer Port aller Inline-Styles & <style>-Blöcke aus dem
   Next.js/React-Original in statisches CSS (inkl. :hover-Ersatz für
   ehemalige onMouseEnter/Leave-Handler).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

:root {
  --primary: #256364;
  --primary-dark: #1d4f50;
  --accent: #FFC922;
  --accent-dark: #e6b31e;
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --gray-light: #f4f4f2;

  --fs-headline:    clamp(1.6rem, 3vw, 2.2rem);
  --fs-subheadline: clamp(1rem, 1.5vw, 1.1rem);
  --fs-body:        0.95rem;
  --lh-headline:    1.35;
  --lh-subheadline: 1.5;
  --lh-body:        1.75;
}

* { box-sizing: border-box; }
html {
  font-size: 106.25%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: 'Questrial', sans-serif;
  color: var(--text);
  background: #f4f4f2;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}
main > div { margin: 0; padding: 0; }
img { max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

.btn-primary {
  background: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: 'Questrial', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: white;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: 'Questrial', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .section-container { padding: 0 48px; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---------- FadeIn (IntersectionObserver-driven) ---------- */
.fade-in {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.fade-in.dir-up    { transform: translateY(40px); }
.fade-in.dir-left   { transform: translateX(-48px); }
.fade-in.dir-right  { transform: translateX(48px); }
.fade-in.dir-none   { transform: none; }
.fade-in.visible    { opacity: 1; transform: translate(0,0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 100px; width: 100%; max-width: 100vw; box-sizing: border-box;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  position: relative; max-width: 1200px; width: 100%; box-sizing: border-box;
  margin: 0 auto; height: 100px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.header-socials { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.header-socials a { display: inline-flex; color: #1a1a1a; opacity: 0.7; transition: opacity 0.2s; }
.header-socials a:hover { opacity: 1; }
.header-social-row { display: flex; gap: 14px; align-items: center; }
.header-hamburger { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.header-hamburger button {
  background: none; border: none; cursor: pointer; color: #1a1a1a; padding: 6px;
  display: flex; align-items: center; border-radius: 8px; transition: background 0.15s;
}
.header-hamburger button:hover { background: rgba(0,0,0,0.05); }
.header-logo-wrap { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.header-logo { height: 88px; width: auto; max-width: 100%; display: block; }

@media (max-width: 767px) {
  .header-inner { padding: 0 18px; gap: 8px; }
  .header-socials { visibility: hidden; flex: 1 1 0; min-width: 0; }
  .header-hamburger { flex: 1 1 0; min-width: 0; justify-content: flex-end; }
  .header-hamburger button { flex: 0 0 auto; }
  .header-logo-wrap { max-width: 56vw; }
  .header-logo { height: 64px; max-width: 100%; object-fit: contain; }
}
@media (max-width: 380px) { .header-logo { height: 52px; } }

/* Slide-in menu */
.side-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 320px; max-width: 85vw;
  background: white; z-index: 200; transform: translateX(105%); visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.35s;
  display: flex; flex-direction: column; padding: 32px 28px;
}
.side-menu.open {
  transform: translateX(0); visibility: visible; box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.side-menu-top { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.side-menu-close {
  background: #f5f5f5; border: none; cursor: pointer; color: #1a1a1a; border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.side-menu-close:hover { background: #ebebeb; }
.side-menu nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-menu nav a {
  color: #1a1a1a; text-decoration: none; font-size: 1.15rem; padding: 14px 0;
  border-bottom: 1px solid #f0f0f0; display: block;
}
.side-menu nav button.btn-primary { margin-top: 20px; text-align: center; width: 100%; border: none; }
.side-menu-socials { margin-top: 32px; }
.side-menu-socials a { color: #256364; }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 150; display: none;
}
.menu-overlay.open { display: block; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; }
.hero-image-wrap { position: relative; aspect-ratio: 16/9; }
.hero-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55) 0%, transparent 100%);
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 240px;
  background: linear-gradient(to top, #256364 0%, transparent 100%);
}
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px; padding-top: 112px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 22px;
  color: white; font-size: 0.88rem; margin-bottom: 20px; letter-spacing: 0.02em;
  animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.hero-headline {
  color: white; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 400; line-height: 1.25;
  margin-bottom: 28px; max-width: 760px; text-shadow: 0 2px 16px rgba(0,0,0,0.25);
  animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.42s both;
}
.hero-section .btn-accent { animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.62s both; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
  .hero-image-wrap { aspect-ratio: auto !important; min-height: 88vh !important; }
  .hero-content { padding-top: 160px !important; padding-bottom: 56px !important; justify-content: flex-start !important; }
}

/* ---------- Problem section ---------- */
.problem-section { background: #256364; padding: 60px 0; }
.problem-eyebrow { color: rgba(255,255,255,0.65); text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.problem-headline { color: white; text-align: center; font-size: var(--fs-headline); margin-bottom: 40px; font-weight: 400; line-height: 1.4; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.problem-card { background: white; border-radius: 16px; padding: 36px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.problem-icon { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 20px; flex-shrink: 0; position: relative; box-shadow: 0 4px 16px rgba(37,99,100,0.12); }
.problem-icon img { width: 100%; height: 100%; object-fit: cover; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: #256364; font-weight: 600; line-height: 1.35; }
.problem-card p { color: #4a7a7b; line-height: 1.75; margin: 0; font-size: 0.93rem; }

/* ---------- Marquee ---------- */
.marquee { width: 100%; max-width: 100vw; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-row { display: flex; width: max-content; will-change: transform; animation: marqueeAnim linear infinite; }
.marquee-track { display: flex; flex: 0 0 auto; }
.marquee-word { flex: 0 0 auto; display: inline-flex; align-items: center; font-weight: 700; line-height: 1; letter-spacing: 0.01em; }
.marquee-sep { padding: 0 0.4em; opacity: 0.55; }
@keyframes marqueeAnim { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }

/* ---------- USP section ---------- */
.usp-section { padding: 60px 0; background: white; }
.usp-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.usp-grid.reversed .usp-image { order: 1; }
.usp-grid.reversed .usp-text { order: 2; }
.usp-image-inner { position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; width: 100%; }
.usp-image-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.usp-label { color: #256364; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.usp-headline { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 20px; font-weight: 400; line-height: 1.4; color: #1a1a1a; }
.usp-text-body { color: #4a4a4a; line-height: 1.85; margin-bottom: 32px; font-size: 1rem; }
@media (max-width: 767px) {
  .usp-grid, .usp-grid.reversed { grid-template-columns: 1fr !important; gap: 24px !important; }
  .usp-grid.reversed .usp-image, .usp-grid.reversed .usp-text { order: initial; }
}

/* ---------- Process section ---------- */
.process-section { padding: 60px 0; background: #f9f9f8; position: relative; overflow: hidden; }
.process-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.process-heading { text-align: center; margin-bottom: 48px; }
.process-eyebrow { color: var(--primary); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.process-title { font-size: var(--fs-headline); font-weight: 400; color: var(--text); line-height: 1.35; }
.proc-desktop { display: block; }
.proc-mobile { display: none; }
@media (max-width: 767px) { .proc-desktop { display: none; } .proc-mobile { display: block; } }

.proc-track-wrap { position: relative; }
.proc-track-svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 2px; height: 100%; overflow: visible; z-index: 0; }
.proc-row { margin-bottom: 36px; }
.proc-row:last-child { margin-bottom: 0; }
.proc-trigger { height: 1px; width: 100%; pointer-events: none; }
.proc-card-row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; position: relative; z-index: 1; }
.proc-slot-left { display: flex; justify-content: flex-end; padding-right: 32px; }
.proc-slot-right { display: flex; justify-content: flex-start; padding-left: 32px; }
.proc-slot-center { display: flex; justify-content: center; }

.proc-card {
  border-radius: 16px; padding: 26px 28px; max-width: 400px; width: 100%; background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06); transform: translateY(0);
  will-change: background-color, box-shadow, transform;
  transition: background-color 0.75s cubic-bezier(0.16,1,0.3,1), box-shadow 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.proc-card.align-right { text-align: right; }
.proc-card.align-left { text-align: left; }
.proc-card.active { background: var(--primary); box-shadow: 0 14px 44px rgba(37,99,100,0.24); transform: translateY(-3px); }
.proc-card-icon { display: inline-flex; align-items: center; margin-bottom: 12px; color: var(--primary); transition: color 0.5s cubic-bezier(0.16,1,0.3,1); }
.proc-card.align-right .proc-card-icon { justify-content: flex-end; width: 100%; }
.proc-card.active .proc-card-icon { color: rgba(255,255,255,0.88); }
.proc-card-title { font-size: 1.02rem; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.35; transition: color 0.5s cubic-bezier(0.16,1,0.3,1); }
.proc-card.active .proc-card-title { color: white; }
.proc-card-body { font-size: 0.9rem; line-height: 1.72; color: var(--text-light); margin: 0; transition: color 0.65s cubic-bezier(0.16,1,0.3,1); }
.proc-card.active .proc-card-body { color: rgba(255,255,255,0.8); }

.proc-dot {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: white; border: 2px solid #d8d8d8; box-shadow: 0 2px 8px rgba(0,0,0,0.07); position: relative; flex-shrink: 0;
  will-change: background-color, border-color, box-shadow;
  transition: background-color 0.7s cubic-bezier(0.16,1,0.3,1), border-color 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.7s cubic-bezier(0.16,1,0.3,1);
}
.proc-dot.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 7px rgba(37,99,100,0.13); }
.proc-dot-label { font-size: 0.8rem; font-weight: 700; color: #c0c0c0; transition: color 0.45s cubic-bezier(0.16,1,0.3,1); }
.proc-dot.active .proc-dot-label { color: white; }

.proc-mobile-inner { position: relative; padding-left: 44px; }
.proc-mobile-row { position: relative; margin-bottom: 18px; }
.proc-mobile-row:last-child { margin-bottom: 0; }
.proc-dot-sm {
  position: absolute; left: -37px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: white; border: 2px solid #d8d8d8; z-index: 2;
  will-change: background-color, border-color, box-shadow;
  transition: background-color 0.7s cubic-bezier(0.16,1,0.3,1), border-color 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.7s cubic-bezier(0.16,1,0.3,1);
}
.proc-dot-sm.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px rgba(37,99,100,0.13); }
.proc-dot-sm .proc-dot-label { font-size: 0.68rem; }

/* ---------- Parallax 1 ---------- */
.parallax-section { position: relative; overflow: hidden; }
.parallax-wrap { position: relative; aspect-ratio: 21/9; }
.parallax-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.parallax-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.28); }
.parallax-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.parallax-content h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.4; margin-bottom: 20px; max-width: 700px; text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4); }
.parallax-content p { color: rgba(255,255,255,0.92); font-size: 1.1rem; line-height: 1.8; max-width: 560px; margin-bottom: 32px; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
@media (max-width: 767px) { .parallax-wrap { aspect-ratio: 4/5 !important; } }

/* ---------- Parallax 2 ---------- */
.parallax2-section { position: relative; overflow: hidden; padding: 60px 0; }
.parallax2-bg { position: absolute; inset: -80px -20px; z-index: 0; will-change: transform; }
.parallax2-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; position: absolute; inset: 0; }
.parallax2-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,100,0.75) 0%, rgba(20,55,56,0.55) 100%); }
.parallax2-content { position: relative; z-index: 1; }
.parallax2-card {
  max-width: 680px; margin: 0 auto; background: rgba(255,255,255,0.10); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 24px; padding: clamp(36px, 6vw, 60px) clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18); text-align: center;
}
.parallax2-eyebrow { color: rgba(255,248,0,0.9); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.parallax2-headline { color: white; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 400; line-height: 1.4; margin-bottom: 20px; }
.parallax2-text { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.parallax2-dots { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.parallax2-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.35); transition: all 0.3s; display: inline-block; }
.parallax2-dots span.mid { width: 20px; background: var(--accent); }

/* ---------- Slider ---------- */
.slider-section { background: #f7f7f5; padding: 60px 0; overflow: hidden; }
.slider-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.slider-eyebrow { color: #256364; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 8px; font-weight: 600; }
.slider-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; color: #1a1a1a; margin: 0; line-height: 1.2; }
.slider-nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.slider-arrow {
  width: 40px; height: 40px; border: 1.5px solid #256364; border-radius: 50%; background: transparent; color: #256364;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0;
}
.slider-arrow.next { background: #256364; color: white; }
.slider-arrow.prev:hover { background: #256364; color: white; }
.slider-arrow.next:hover { background: var(--primary-dark); }
.slider-counter { font-size: 0.88rem; color: #aaa; min-width: 48px; text-align: center; }
.slider-counter strong { color: #256364; font-weight: 600; }
.slider-desktop { display: block; }
.slider-mobile { display: none; }
.slider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.slider-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 32px rgba(37,99,100,0.08); display: flex; flex-direction: column; transition: opacity 0.35s ease; }
.slider-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.slider-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider-card-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.22) 0%, transparent 55%); }
.slider-card-num { position: absolute; top: 16px; left: 16px; background: #256364; color: white; border-radius: 6px; padding: 3px 12px; font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 600; }
.slider-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.slider-card-body h3 { font-size: 1.05rem; color: #1a1a1a; margin-bottom: 10px; font-weight: 500; line-height: 1.35; }
.slider-card-body p { color: #5a5a5a; line-height: 1.8; font-size: 0.92rem; flex: 1; margin: 0; }
.slider-dots { display: flex; gap: 7px; justify-content: center; margin-top: 24px; }
.slider-dots button { width: 7px; height: 7px; border-radius: 4px; background: #d0d0d0; border: none; cursor: pointer; padding: 0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.slider-dots button.active { width: 24px; background: #256364; }
.slider-cta { text-align: center; margin-top: 36px; }
@media (max-width: 767px) {
  .slider-desktop { display: none !important; }
  .slider-mobile { display: block !important; }
}

/* ---------- Reviews ---------- */
.reviews-section { background: #ffffff; padding: 60px 0; position: relative; overflow: hidden; }
.reviews-heading { text-align: center; margin-bottom: 48px; }
.reviews-eyebrow { color: #256364; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.reviews-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; color: #1a1a1a; margin-bottom: 16px; }
.reviews-rating { display: flex; align-items: center; justify-content: center; gap: 10px; }
.reviews-stars { display: flex; gap: 3px; justify-content: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: white; border: 1px solid #ebebeb; border-radius: 20px; padding: 40px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}
.review-card:hover { box-shadow: 0 12px 40px rgba(37,99,100,0.09); transform: translateY(-3px); }
.review-card .stars-wrap { margin-bottom: 20px; }
.review-card p.review-text { color: #2a2a2a; line-height: 1.85; font-size: 0.96rem; flex: 1; margin-bottom: 28px; }
.review-divider { width: 40px; height: 1px; background: #256364; opacity: 0.25; margin-bottom: 20px; }
.review-name { margin: 0 0 4px; font-weight: 600; color: #1a1a1a; font-size: 0.95rem; }
.review-detail { margin: 0; color: #aaa; font-size: 0.82rem; }

/* ---------- Quote ---------- */
.quote-section { background: #256364; padding: 60px 0; }
.quote-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.quote-text { color: white; font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.6; font-style: italic; margin-bottom: 24px; }
.quote-author { color: #FFC922; font-size: 1.3rem; font-style: italic; margin-bottom: 40px; }

/* ---------- FAQ ---------- */
.faq-section { padding: 60px 0; background: #fff; position: relative; overflow: hidden; }
.faq-heading { text-align: center; margin-bottom: 52px; }
.faq-eyebrow { color: var(--primary); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.faq-title { font-size: var(--fs-headline); font-weight: 400; color: var(--text); line-height: 1.35; }
.faq-subtext { color: var(--text-light); margin-top: 14px; font-size: 1rem; line-height: 1.7; max-width: 520px; margin-left: auto; margin-right: auto; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 14px; border: 1.5px solid #ebebeb; overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-item.open { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,100,0.10); }
.faq-question {
  width: 100%; padding: 22px 28px; background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background 0.35s cubic-bezier(0.4,0,0.2,1); text-align: left;
}
.faq-question:hover { background: #f5f5f3; }
.faq-item.open .faq-question { background: var(--primary); }
.faq-item.open .faq-question:hover { background: var(--primary); }
.faq-question-text { font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.4; transition: color 0.3s; }
.faq-item.open .faq-question-text { color: white; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gray-light); display: flex; align-items: center; justify-content: center; transition: all 0.35s ease; }
.faq-item.open .faq-icon { background: rgba(255,255,255,0.2); }
.faq-icon svg { transition: transform 0.35s ease; stroke: var(--primary); }
.faq-item.open .faq-icon svg { transform: rotate(180deg); stroke: white; }
.faq-answer-wrap { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-answer-wrap { max-height: 500px; }
.faq-answer { padding: 0 28px 24px; background: white; }
.faq-answer p { color: var(--text-light); line-height: 1.78; font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #f4f4f2; padding: 48px 0 24px; border-top: 1px solid #e0e0e0; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-logo { height: 90px; width: auto; margin-bottom: 12px; }
.footer-desc { color: #666; font-size: 0.9rem; line-height: 1.7; max-width: 280px; margin: 0; }
.footer-col h4 { color: #1a1a1a; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col nav { display: flex; flex-direction: column; gap: 8px; }
.footer-col nav a { color: #666; text-decoration: none; font-size: 0.9rem; }
.footer-col nav a:hover { color: #256364; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #256364; }
.footer-bottom { border-top: 1px solid #ddd; padding-top: 20px; text-align: center; }
.footer-bottom p.disclaimer { color: #999; font-size: 0.8rem; line-height: 1.6; margin: 0 0 10px; max-width: 560px; margin-left: auto; margin-right: auto; }
.footer-bottom p.copyright { color: #999; font-size: 0.85rem; margin: 0; }

/* ---------- Quiz Modal ---------- */
.quiz-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8,16,16,0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px;
  animation: overlayIn 0.3s ease;
}
.quiz-overlay.open { display: flex; }
.quiz-modal {
  width: 100%; max-width: 500px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35), 0 0 0 1.5px rgba(37,99,100,0.5);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh; overflow-y: auto;
}
.quiz-header { background: linear-gradient(135deg, #256364 0%, #1d4f50 60%, #163d3e 100%); padding: 32px 36px 28px; position: relative; overflow: hidden; }
.quiz-header-deco1 { position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,248,0,0.08); pointer-events: none; }
.quiz-header-deco2 { position: absolute; bottom: -60px; left: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none; }
.quiz-progress-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; position: relative; z-index: 1; }
.quiz-progress-bar { height: 3px; border-radius: 2px; flex: 1; background: rgba(255,255,255,0.2); transition: background 0.4s; }
.quiz-progress-bar.filled { background: var(--accent); }
.quiz-progress-label { color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 0.1em; white-space: nowrap; margin-left: 4px; }
.quiz-header h2 { color: white; font-size: 1.25rem; font-weight: 400; line-height: 1.4; margin: 0; position: relative; z-index: 1; }
.quiz-header p { color: rgba(255,255,255,0.6); font-size: 0.87rem; margin-top: 6px; margin-bottom: 0; position: relative; z-index: 1; }
.quiz-thinline { height: 4px; background: #f0f0f0; }
.quiz-thinline-fill { height: 100%; background: var(--primary); transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }
.quiz-body { background: white; padding: 40px 36px 36px; position: relative; }
.quiz-body.is-question { padding: 24px 36px 32px; }
.quiz-thin-progress { height: 2px; background: #f0f0f0; margin: -24px -36px 24px; }
.quiz-thin-progress-fill { height: 100%; background: var(--primary); transition: width 0.5s; }
.quiz-close {
  position: absolute; top: 16px; right: 20px; background: #f5f5f5; border: none; cursor: pointer; color: #888;
  border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.quiz-close:hover { background: #ebebeb; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  width: 100%; padding: 15px 18px; border: 1.5px solid #e8e8e8; border-radius: 12px; background: #fafafa; color: var(--text);
  font-size: 0.95rem; cursor: pointer; text-align: left; font-family: 'Questrial', sans-serif; transition: all 0.22s ease;
  display: flex; align-items: center; gap: 14px;
}
.quiz-option:hover { border-color: var(--primary); background: #f0f7f7; }
.quiz-option.selected { border-color: var(--primary); background: var(--primary); color: white; box-shadow: 0 4px 16px rgba(37,99,100,0.18); }
.quiz-option-letter {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #ddd; background: white; display: inline-flex;
  align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; color: var(--primary); flex-shrink: 0; transition: all 0.22s;
}
.quiz-option.selected .quiz-option-letter { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.15); color: white; }
.quiz-loading { text-align: center; padding: 32px 0; }
.quiz-spinner-wrap { position: relative; width: 56px; height: 56px; margin: 0 auto 24px; }
.quiz-spinner-1 { width: 56px; height: 56px; border: 3px solid #f0f0f0; border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
.quiz-spinner-2 { position: absolute; inset: 10px; border: 2px solid #f0f0f0; border-bottom: 2px solid rgba(255,248,0,0.8); border-radius: 50%; animation: spin 1.2s linear infinite reverse; }
.quiz-loading h3 { color: var(--primary); font-size: 1.1rem; font-weight: 400; margin-bottom: 8px; }
.quiz-loading p { color: #aaa; font-size: 0.9rem; }
.quiz-contact-icon { width: 50px; height: 50px; background: rgba(37,99,100,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.quiz-contact h2 { font-size: 1.28rem; color: var(--text); text-align: center; font-weight: 400; margin-bottom: 6px; line-height: 1.4; }
.quiz-contact > p { color: #888; text-align: center; font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.quiz-form { display: flex; flex-direction: column; gap: 10px; }
.quiz-field label { display: block; font-size: 0.8rem; color: #777; margin-bottom: 5px; }
.quiz-field label .optional { color: #bbb; }
.quiz-field input {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e4e4e4; border-radius: 10px; font-size: 0.97rem;
  font-family: 'Questrial', sans-serif; outline: none; background: #fafafa; color: #1a1a1a; transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,100,0.08); }
.quiz-error { color: #d32f2f; font-size: 0.875rem; margin: 0; }
.quiz-submit { width: 100%; text-align: center; margin-top: 4px; font-size: 0.97rem; }
.quiz-submit:disabled { opacity: 0.7; cursor: default; }
.quiz-privacy { font-size: 0.77rem; color: #c0c0c0; text-align: center; margin: 0; line-height: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- Cookie banner ---------- */
.cookie-reopen {
  position: fixed; bottom: 16px; left: 16px; z-index: 9998; width: 42px; height: 42px; border-radius: 50%;
  background: white; border: 1.5px solid #256364; box-shadow: 0 4px 16px rgba(0,0,0,0.15); cursor: pointer;
  font-size: 18px; display: none; align-items: center; justify-content: center;
}
.cookie-reopen.show { display: flex; }
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: white; border-top: 2px solid #256364;
  padding: 20px 24px; box-shadow: 0 -4px 24px rgba(0,0,0,0.12); display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner-text { flex: 1; min-width: 260px; margin: 0; font-size: 0.9rem; color: #1a1a1a; line-height: 1.6; }
.cookie-banner-text a { color: #256364; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-decline { background: transparent; border: 2px solid #256364; color: #256364; border-radius: 8px; padding: 10px 20px; cursor: pointer; font-family: 'Questrial', sans-serif; font-size: 0.9rem; }

/* ---------- Danke page ---------- */
.danke-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; background: white; }
.danke-logo { margin-bottom: 40px; display: block; }
.danke-logo img { height: 44px; width: auto; }
.danke-inner { max-width: 560px; }
.danke-check { width: 80px; height: 80px; background: #256364; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.danke-inner h1 { color: #256364; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 16px; }
.danke-inner p.body-text { color: #4a4a4a; line-height: 1.8; font-size: 1.1rem; margin-bottom: 32px; }
.danke-inner p.author { color: #256364; font-style: italic; font-size: 1.1rem; margin-bottom: 32px; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-page { background: white; min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1; max-width: 760px; margin: 0 auto; padding: 140px 24px 64px; width: 100%; }
.legal-main.wide { max-width: 820px; }
.legal-body { color: var(--text-light); font-size: var(--fs-body); line-height: var(--lh-body); }
.legal-body h1 { color: var(--primary); font-size: var(--fs-headline); line-height: var(--lh-headline); margin-bottom: 16px; }
.legal-body h2 { color: var(--primary); font-size: 1.4rem; line-height: 1.3; margin-top: 40px; margin-bottom: 14px; scroll-margin-top: 24px; }
.legal-body h3 { color: #1a1a1a; font-size: 1.1rem; line-height: 1.35; margin-top: 24px; margin-bottom: 8px; }
.legal-body h4 { color: #1a1a1a; font-size: 1rem; line-height: 1.35; margin-top: 18px; margin-bottom: 6px; }
.legal-body p { margin: 0 0 14px; }
.legal-body a { color: var(--primary); }
.legal-source { margin-top: 15px; font-size: 0.85rem; color: #999; }
.legal-source a { color: #999; }
.ds-toc { background: #f4f4f2; border-radius: 12px; padding: 20px 24px; margin: 24px 0 40px; }
.ds-toc-title { font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.ds-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.92rem; }
.ds-toc a { color: var(--primary); text-decoration: none; }
.legal-back { text-decoration: none; display: inline-block; margin-top: 32px; }
