/* ==========================================================================
   Startseite V2 – Light, eterno-inspired
   Gold (#bea564) as accent only, clean & professional
   ========================================================================== */

/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */
.v2-page {
  --v2-brand: #bea564;
  --v2-brand-alt: #a89350;
  --v2-brand-dark: #8a7640;
  --v2-brand-light: #f7f2e6;
  --v2-brand-10: rgba(190,165,100,0.10);
  --v2-brand-20: rgba(190,165,100,0.18);

  --v2-dark: #2D2D2D;
  --v2-dark-alt: #3a3a3a;
  --v2-heading: #2D2D2D;
  --v2-text: #5a5a5a;
  --v2-text-muted: #8a8880;
  --v2-bg: #FAFAF8;
  --v2-bg-alt: #f3f1ed;
  --v2-white: #ffffff;
  --v2-border: #e9e6e0;
  --v2-border-light: #f0ede7;

  --v2-shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --v2-shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --v2-shadow-lg: 0 20px 48px rgba(0,0,0,0.09);

  --v2-radius: 12px;
  --v2-radius-lg: 20px;
  --v2-radius-sm: 8px;
  --v2-radius-pill: 100px;
  --v2-ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--v2-text);
  -webkit-font-smoothing: antialiased;
  background: var(--v2-bg);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
#page-container { padding-top: 0 !important; }

#main-header, #top-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(250,250,248,0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--v2-border-light) !important;
  box-shadow: none !important;
  transition: background 0.3s ease;
}
#main-header .logo_container img,
#logo img { filter: none; }
#et-top-navigation .et-menu > li > a,
.mobile_menu_bar:before { color: var(--v2-heading) !important; }
#et-top-navigation .et-menu > li > a:hover { color: var(--v2-brand) !important; opacity: 1; }

.v2-container { width: min(90%, 1200px); margin: 0 auto; }
.v2-container--narrow { width: min(90%, 800px); margin: 0 auto; }
.v2-container--wide { width: min(90%, 1400px); margin: 0 auto; }

/* ==========================================================================
   3. SCROLL REVEAL
   ========================================================================== */
.v2-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--v2-ease), transform 0.7s var(--v2-ease);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}
.v2-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   4. HERO – Animated gradient background, centered
   ========================================================================== */
.v2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(190,165,100,0.12), var(--v2-bg) 50%, rgba(190,165,100,0.06));
  background-size: 300% 300%;
  animation: v2-hero-gradient 25s alternate infinite;
}

@keyframes v2-hero-gradient {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 50% 100%; }
  75% { background-position: 0% 50%; }
  100% { background-position: 50% 0%; }
}

/* Fade to bg at bottom */
.v2-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--v2-bg));
  pointer-events: none;
}

.v2-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* Trust badge */
.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: var(--v2-white);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-pill);
  font-size: 13px; font-weight: 500;
  color: var(--v2-text);
  margin-bottom: 32px;
  box-shadow: var(--v2-shadow-sm);
}
.v2-hero-badge-dot {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--v2-brand-light);
  border-radius: 50%;
  color: var(--v2-brand);
  font-size: 14px;
}

/* Word-by-word reveal */
.v2-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--v2-heading);
  margin: 0 0 24px;
}
.v2-hero-title .v2-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: v2-word-in 0.6s var(--v2-ease) forwards;
  animation-delay: calc(0.8s + var(--i, 0) * 0.07s);
}

@keyframes v2-word-in {
  to { opacity: 1; transform: translateY(0); }
}

.v2-hero-title .v2-accent {
  color: var(--v2-brand);
}

.v2-hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--v2-text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: v2-fade-up 0.8s var(--v2-ease) 1.8s forwards;
}

@keyframes v2-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.v2-hero-sub { transform: translateY(16px); }

.v2-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: v2-fade-up 0.8s var(--v2-ease) 2.2s forwards;
  transform: translateY(16px);
}

/* Buttons */
.v2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--v2-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.v2-btn--primary {
  background: var(--v2-brand);
  color: #fff;
  border-color: var(--v2-brand);
}
.v2-btn--primary:hover {
  background: var(--v2-brand-alt);
  border-color: var(--v2-brand-alt);
  transform: translateY(-1px);
  box-shadow: var(--v2-shadow-md);
}

.v2-btn--secondary {
  background: var(--v2-white);
  color: var(--v2-heading);
  border-color: var(--v2-border);
}
.v2-btn--secondary:hover {
  border-color: var(--v2-brand);
  color: var(--v2-brand);
}

/* On dark backgrounds */
.v2-btn--white {
  background: var(--v2-white);
  color: var(--v2-heading);
  border-color: var(--v2-white);
}
.v2-btn--white:hover {
  background: var(--v2-bg);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-1px);
}

/* Trust stats */
.v2-hero-trust {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 72px;
  opacity: 0;
  animation: v2-fade-up 0.8s var(--v2-ease) 2.6s forwards;
  transform: translateY(16px);
}

.v2-trust-item { text-align: center; }

.v2-trust-number {
  font-family: "Montserrat", sans-serif;
  font-size: 32px; font-weight: 700;
  color: var(--v2-heading);
  display: block;
  letter-spacing: -0.03em;
}

.v2-trust-label {
  font-size: 13px;
  color: var(--v2-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   5. SECTION DEFAULTS
   ========================================================================== */
.v2-section {
  padding: 100px 0;
}

.v2-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--v2-brand-10);
  border-radius: var(--v2-radius-pill);
  font-family: "Montserrat", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v2-brand-dark);
  margin-bottom: 16px;
}

.v2-section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--v2-heading);
  margin: 0 0 16px;
}

.v2-section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--v2-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   6. LOGO MARQUEE
   ========================================================================== */
.v2-logos {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.v2-logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--v2-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.v2-marquee {
  display: flex;
  gap: 64px;
  animation: v2-marquee 30s linear infinite;
  width: max-content;
}

.v2-marquee img {
  height: 28px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.v2-marquee img:hover {
  opacity: 0.8;
  filter: grayscale(0);
}

@keyframes v2-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Fade edges */
.v2-logos::before,
.v2-logos::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.v2-logos::before {
  left: 0;
  background: linear-gradient(to right, var(--v2-bg), transparent);
}
.v2-logos::after {
  right: 0;
  background: linear-gradient(to left, var(--v2-bg), transparent);
}

/* ==========================================================================
   7. FEATURE TILES – 2x2 grid with shadow cards
   ========================================================================== */
.v2-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.v2-tile {
  background: var(--v2-white);
  border: 1px solid var(--v2-border-light);
  border-radius: var(--v2-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.35s var(--v2-ease), box-shadow 0.35s var(--v2-ease);
  overflow: hidden;
  position: relative;
}
.v2-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--v2-shadow-md);
}

.v2-tile-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--v2-brand-10);
  border-radius: var(--v2-radius-sm);
  margin-bottom: 24px;
  color: var(--v2-brand);
}
.v2-tile-icon svg { width: 24px; height: 24px; }

.v2-tile-title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--v2-heading);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.v2-tile-text {
  font-size: 15px; line-height: 1.7;
  color: var(--v2-text-muted);
  margin: 0;
}

/* ==========================================================================
   8. BENEFITS – 3-column clean grid
   ========================================================================== */
.v2-benefits { background: var(--v2-bg-alt); }

.v2-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.v2-benefit { text-align: center; }

.v2-benefit-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--v2-brand);
  border-radius: var(--v2-radius-sm);
  margin: 0 auto 20px;
  color: #fff;
}
.v2-benefit-icon svg { width: 22px; height: 22px; }

.v2-benefit-title {
  font-family: "Montserrat", sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--v2-heading);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.v2-benefit-text {
  font-size: 14px; line-height: 1.7;
  color: var(--v2-text-muted);
  margin: 0;
}

/* ==========================================================================
   9. PROCESS – Horizontal 4-step
   ========================================================================== */
.v2-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line */
.v2-process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--v2-border);
}

.v2-process-step {
  text-align: center;
  position: relative;
}

.v2-step-dot {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--v2-white);
  border: 2px solid var(--v2-border);
  margin: 0 auto 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--v2-brand);
  position: relative;
  z-index: 2;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.v2-process-step:hover .v2-step-dot {
  border-color: var(--v2-brand);
  background: var(--v2-brand);
  color: #fff;
}

.v2-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--v2-heading);
  margin: 0 0 8px;
}

.v2-step-text {
  font-size: 14px; line-height: 1.7;
  color: var(--v2-text-muted);
  margin: 0;
}

/* ==========================================================================
   10. TESTIMONIAL – Clean centered quote
   ========================================================================== */
.v2-testimonial { background: var(--v2-bg-alt); }

.v2-quote-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.v2-quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--v2-brand);
  opacity: 0.3;
  margin-bottom: 8px;
}

.v2-quote-text {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--v2-heading);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.v2-quote-author {
  font-family: "Montserrat", sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--v2-heading);
}

.v2-quote-role {
  font-size: 13px;
  color: var(--v2-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   11. TEAM – Image grid with hover
   ========================================================================== */
.v2-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.v2-team-card {
  border-radius: var(--v2-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

.v2-team-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--v2-ease);
}
.v2-team-card:hover img {
  transform: scale(1.05);
}

.v2-team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 40%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.v2-team-name {
  font-family: "Montserrat", sans-serif;
  font-size: 15px; font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}

.v2-team-role {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.v2-team-cta {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   12. FAQ – Split layout with accordion
   ========================================================================== */
.v2-faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.v2-faq-header {
  position: sticky;
  top: 120px;
}
.v2-faq-header .v2-section-title { text-align: left; }
.v2-faq-header .v2-section-sub { margin: 0; text-align: left; }

.v2-faq-list { list-style: none; padding: 0; margin: 0; }

.v2-faq-item {
  border-bottom: 1px solid var(--v2-border);
}

.v2-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--v2-heading);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.v2-faq-question:hover { color: var(--v2-brand); }

.v2-faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--v2-text-muted);
  transition: transform 0.3s var(--v2-ease), color 0.3s ease;
}
.v2-faq-item.is-open .v2-faq-chevron {
  transform: rotate(180deg);
  color: var(--v2-brand);
}

.v2-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--v2-ease);
}

.v2-faq-answer-inner {
  padding: 0 0 20px;
  font-size: 15px; line-height: 1.7;
  color: var(--v2-text-muted);
}

/* ==========================================================================
   13. CTA – Dark section
   ========================================================================== */
.v2-cta {
  padding: 120px 0;
  background: var(--v2-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.v2-cta-inner {
  position: relative;
  z-index: 2;
}

.v2-cta-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.v2-cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==========================================================================
   14. FOOTER WATERMARK
   ========================================================================== */
.v2-footer-mark {
  padding: 64px 0 48px;
  background: var(--v2-bg);
  text-align: center;
  border-top: 1px solid var(--v2-border-light);
}

.v2-footer-word {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-border-light);
  line-height: 1;
  user-select: none;
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .v2-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .v2-process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .v2-process-grid::before { display: none; }
  .v2-team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .v2-section { padding: 72px 0; }
  .v2-hero { padding: 130px 24px 72px; min-height: auto; }
  .v2-hero-trust { gap: 32px; flex-wrap: wrap; }

  .v2-tiles-grid { grid-template-columns: 1fr; }
  .v2-benefits-grid { grid-template-columns: 1fr; gap: 36px; }
  .v2-process-grid { grid-template-columns: 1fr; gap: 36px; }
  .v2-team-grid { grid-template-columns: repeat(2, 1fr); }

  .v2-faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .v2-faq-header { position: static; }

  .v2-cta { padding: 80px 0; }
  .v2-section-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .v2-hero-actions { flex-direction: column; align-items: center; }
  .v2-btn { width: 100%; justify-content: center; }
  .v2-hero-trust { flex-direction: column; gap: 20px; }
  .v2-team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   16. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .v2-reveal { transition: none; opacity: 1; transform: none; }
  .v2-hero { animation: none; }
  .v2-marquee { animation: none; }
  .v2-hero-title .v2-word { animation: none; opacity: 1; transform: none; }
  .v2-hero-sub, .v2-hero-actions, .v2-hero-trust { animation: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}
