/* ═══════════════════════════════════════════════════
   WAHL FINANCE — Design System
   Refined dark-gold aesthetic | 2025
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Core palette */
  --background-color: #0e0e0e;
  --surface-color: #171717;
  --surface-raised: #1e1e1e;
  --surface-hover: #232323;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(212, 175, 55, 0.35);

  /* Text */
  --default-color: #c8c8c8;
  --muted-color: #787878;
  --heading-color: #f0ede8;
  --contrast-color: #ffffff;

  /* Gold accent system */
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #a8891e;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --accent-color: var(--gold);

  /* Status */
  --red: #c0392b;
  --green: #27ae60;

  /* Nav */
  --nav-color: #c8c8c8;
  --nav-hover-color: var(--gold);
  --nav-mobile-background-color: #181818;
  --nav-dropdown-background-color: #1a1a1a;
  --nav-dropdown-color: #c8c8c8;
  --nav-dropdown-hover-color: var(--gold);

  /* Spacing & radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Typography */
  --font-display: 'IBM Plex Sans', 'IBM Plex Serif', sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Serif', sans-serif;
}

.aboutus {
    display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background-color: var(--background-color);
  color: var(--default-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading-color);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

p { color: var(--default-color); }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

pre {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
}


/* ── Sections ────────────────────────────────────── */
.section:nth-child(n) {
  min-height: 95vh;
  padding: 80px 0 60px;
  scroll-margin-top: 90px;
  overflow: clip;
  background: var(--background-color);
  color: var(--default-color);
  position: relative;
}

/* Subtle separator between alternating sections */
.section:nth-child(2n) {
  background: var(--surface-color);
}


/* Gold top-border accent on sections */
.section:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  opacity: 0.4;
}

.trans-sec-1 {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  opacity: 0.3;
}

.trans-sec-2 {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  opacity: 0.3;
}

/* ── Services & Utility ──────────────────────────── */
.services-section {
  text-align: center;
  align-items: center;
}

.services-section > h1,
.services-section > h2 {
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
}

.services-section > h1::after,
.services-section > h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.centering {
  text-align: center;
  align-items: center;
}

.services-section .box {
  align-items: start !important;
  text-align: left;
  flex-direction: column !important;
  flex: 1;
}

.services-section .box i {
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: var(--gold);
}

.services-section .row {
  overflow: hidden;
  align-items: stretch;
}

/* ── Box / Card Component ────────────────────────── */
.box {
  background: var(--surface-raised);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}


.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.08), 0 2px 8px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.box:hover::before {
  opacity: 1;
}

/* ── Hero Section ────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative;
  background-color: #070707;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-color: black;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: saturate(0.7);
}

/* Vignette overlay for depth */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-main::before {
  background-image: url('./images/matterhornschweiz.jpg');
}

.hero-second::before {
  background-image: url('./images/immobiliendunkeldeutschland.jpg');
}

.hero-section > * {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #f5f0e8;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
  margin-bottom: 0.4em;
}

.hero-section .h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

/* ── Typed text ──────────────────────────────────── */
.typed {
  color: var(--gold);
  font-weight: 400;
}

/* ── Navbar ──────────────────────────────────────── */
.nav-link {
  color: var(--nav-color) !important;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.navbar {
  background: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.15), 0 8px 32px rgba(0,0,0,0.5) !important;
  border-radius: var(--radius-lg) !important;
}


/* ── Form ────────────────────────────────────────── */
.form-label {
  color: var(--muted-color);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.text-start {
  margin-left: 5px;
}

.form-control {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  border-radius: 0px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--heading-color) !important;
  padding: 0.85rem 0 !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
}

.form-control::placeholder {
  color: var(--muted-color) !important;
  font-size: 0.9rem;
}

.form-control:focus {
  background-color: transparent !important;
  border-bottom-color: var(--gold) !important;
  color: #fff !important;
  outline: none;
}

textarea.form-control {
  resize: vertical;
}

.btn-submit {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 3rem;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  margin-top: 2rem;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* ── Profile & Cards ─────────────────────────────── */
.profile-avatar {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 50% !important;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 3px solid var(--surface-raised);
}

.card-title {
  color: var(--gold) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.card {
  background: var(--surface-raised) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  padding: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.card .list-group-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--default-color);
  padding: 0.75rem 0;
}

.card .list-group-item:last-child {
  border-bottom: none;
}

.card-text {
  color: var(--muted-color);
  font-size: 0.88rem;
}

/* btn-warning override for team cards */
.btn-warning {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: var(--gold) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px !important;
  padding: 0.4rem 1rem !important;
  transition: all 0.25s ease !important;
  width: 100%;
}

.btn-warning:hover {
  background: var(--gold) !important;
  color: #0a0a0a !important;
  border-color: var(--gold) !important;
}

hr {
  border: none;
  height: 1px;
  background: var(--border-color);
}

/* ── Footer ──────────────────────────────────────── */
footer {
  background: #080808 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1.5rem !important;
}

footer .nav-link {
  color: var(--muted-color) !important;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s !important;
}

footer .nav-link:hover {
  color: var(--gold) !important;
}

footer p {
  color: var(--muted-color) !important;
  font-size: 0.8rem;
}

/* ── Rating / Icons ──────────────────────────────── */
.card-body .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.card-body .rating i {
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.card-body .rating i:hover {
  transform: scale(1.2);
  color: var(--gold-light);
}

/* ── Splitter / Split Box ────────────────────────── */
.splitter-box {
  width: 100%;
  height: 72vh;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--border-color), 0 20px 60px rgba(0,0,0,0.5);
}

.container-split {
  display: flex;
  height: 100%;
  position: relative;
}

.side {
  position: relative;
  transition: flex 0.75s cubic-bezier(0.4, 0.0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.left-side {
  flex: 1;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  background: #0d1117;
}

.right-side {
  flex: 1;
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  background: #12100a;
}

/* ── Split content ───────────────────────────────── */
.content {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.left-side .content {
  color: white;
}

.right-side .content {
  color: white;
}

.content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.content p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  color: rgba(255,255,255,0.72);
}

.content ul {
  list-style: none;
  margin-top: 24px;
}

.content .btn {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.revealed .content .btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

.left-side .content li {
  font-size: 0.92rem;
  margin: 8px 0;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.85);
}

.right-side .content li {
  font-size: 0.92rem;
  margin: 8px 0;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.85);
}

/* ── Glass overlay ───────────────────────────────── */
.glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* States */
.left-side.revealed { flex: 9; }
.right-side.revealed { flex: 9; }
.left-side.hidden { flex: 1; }
.right-side.hidden { flex: 1; }

.side.revealed .glass-overlay { opacity: 0; }
.side.hidden .glass-overlay { opacity: 1; }

/* Splitter */
.splitter {
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold-dark), transparent);
  cursor: col-resize;
  position: relative;
  z-index: 10;
  transition: background 0.3s ease;
  opacity: 0.6;
}

.splitter:hover {
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 1;
}

/* Prevent text selection during animation */
.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}


/* ── Side images ─────────────────────────────────── */
.side-image {
  position: absolute;
  height: 76%;
  top: 12%;
  width: auto;
  object-fit: cover;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.left-side .side-image { right: 0; }
.right-side .side-image { left: 0; }

@media (max-width: 768px) {
  .side.hidden .side-image {
    opacity: 0;
    transform: scale(0.9);
  }
}

@media (min-width: 769px) {
  .side.hidden .side-image { opacity: 1; }
}




/* ── Timeline / Step Process ─────────────────────── */
.step-process {
  .small {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  ul {
    margin-top: 8px;
  }

  .timeline {
    position: relative;
    padding-bottom: 1px;
    padding-top: 45px;
    margin-bottom: 5px;
    margin-left: 2vh;
    margin-right: 2vh;
  }

  .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-color) 10%, var(--border-color) 90%, transparent);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
  }

  .timeline-dot {
    position: fixed;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--background-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.2), 0 0 20px rgba(212,175,55,0.4);
    transition: top 0.1s linear;
    pointer-events: none;
  }

  .timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    padding-left: 0;
    margin-bottom: 56px;
    position: relative;
  }

  .timeline-item.right {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
    padding-right: 0;
  }

  .timeline-card {
    background: var(--surface-raised);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    max-width: 600px;
    width: 100%;
    position: relative;
    color: var(--default-color);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  }

  .timeline-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--surface-raised);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: border-color 0.3s, background 0.3s;
  }

  .timeline-item.active::before {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212,175,55,0.5);
  }

  .timeline-icon {
    position: absolute;
    top: -14px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }

  .timeline-item.active .timeline-icon {
    background: var(--gold);
    color: #0a0a0a !important;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
  }

  .timeline-card h5 {
    margin-top: 10px;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--heading-color);
  }

  .timeline-card p {
    color: var(--default-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.65;
  }

  @media (max-width: 700px) {
    .timeline-line { left: 24px; }
    .timeline-dot  { left: 24px; }

    .timeline-item,
    .timeline-item.right {
      justify-content: flex-start;
      padding-left: 60px;
      padding-right: 12px;
    }

    .timeline-item::before,
    .timeline-item.right::before {
      left: 24px;
    }

    .timeline-card { max-width: 100%; }
  }
}



/* ── Bild Section ────────────────────────────────── */
.bildsection {
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.bildsection .box {
  width: 100%;
  min-height: 60vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}


/* ── Pro/Con Section ─────────────────────────────── */
.proconsec {

  --line: rgba(255,255,255,0.08);
  --muted: rgba(255,255,255,0.45);
  --text: #f0ede8;
  --radius: 16px;
  --shadow: 0 4px 30px rgba(0,0,0,0.4);

  .wrap { max-width: 1100px; margin: 0 auto; padding: 64px 20px 90px; }

  .sectionTitle {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
  }

  .selectorHeadline {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    color: var(--heading-color);
    letter-spacing: 0.02em;
  }

  .selectorSubline {
    text-align: center;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 72ch;
    margin: 0 auto 26px;
  }

  .topCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 10px;
  }

  .badge {
    display: inline-flex; gap: 10px; align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    font-weight: 700; letter-spacing: .2px;
  }

  .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--gold); }

  h1 {
    margin: 18px 0 10px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.01em;
    font-family: var(--font-display);
    font-weight: 500;
  }

  .lead { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 70ch; }

  .selector {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.02);
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  .selectorCentered { margin-left: auto; margin-right: auto; }

  .seg {
    display: flex;
    gap: 12px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
  }

  .seg button {
    border: 1px solid transparent;
    color: var(--text);
    background: transparent;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    display: flex; gap: 8px; align-items: center;
    transition: all .2s ease;
  }

  .seg button:hover {
    background: rgba(255,255,255,.06);
    transform: translateY(-1px);
  }

  .seg button[aria-pressed="true"] {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
    font-weight: 800;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,.3);
  }

  .hint { color: var(--muted); font-size: 13px; line-height: 1.4; max-width: 58ch; }

  .panel {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.02);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .panelTop {
    padding: 18px 18px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .titleRow { display: flex; gap: 12px; align-items: center; }
  .flag { font-size: 24px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
  .panelTop h2 { margin: 0; font-size: 17px; letter-spacing: .2px; }
  .sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

  .chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .chip {
    font-size: 11px;
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.06);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.04em;
  }

  .cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 14px;
    border-top: 1px solid var(--line);
  }

  @media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }

  .col { padding: 14px; position: relative; }
  .col + .col { border-left: 1px solid var(--line); }
  @media (max-width: 900px) { .col + .col { border-left: 0; border-top: 1px solid var(--line); } }

  .colHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .colHead strong { font-size: 13px; letter-spacing: .3px; }

  .meter {
    height: 7px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.2);
    overflow: hidden;
    flex: 0 0 140px;
  }

  .meter > div {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: var(--gold);
    transition: width .8s ease;
  }

  .meter.warn > div { background: rgba(255,255,255,.4); }

  ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

  .li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.02);
    transform: translateY(6px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
  }

  .li.in { transform: translateY(0); opacity: 1; }

  .icon {
    width: 22px; height: 22px;
    border-radius: 8px;
    display: grid; place-items: center;
    flex: 0 0 22px;
    margin-top: 2px;
    font-weight: 900;
    font-size: 11px;
  }

  .ok { background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.3); color: var(--gold); }
  .bad { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.15); }

  .li strong { font-size: 13px; color: var(--heading-color); }
  .li span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }

  .ctaSection {
    margin-top: 60px;
    padding: 50px 30px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
  }

  .ctaInner { max-width: 760px; text-align: center; }

  .ctaHeadline {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--heading-color);
  }

  .ctaSub { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }

  .ctaButtons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .ctaPrimary {
    background: var(--gold);
    color: #0a0a0a;
    border: 0;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    text-transform: uppercase;
  }

  .ctaPrimary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,.3);
  }

  .ctaTrust { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .2px; }

  .fadeSwap { animation: swap .35s ease; }
  @keyframes swap { from { opacity: .5; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }
}


/* ── Dark metallic background ────────────────────── */
.bg {
  inset: 0;
  background: linear-gradient(
    100deg,
    #0a0a0a 0%,
    #161616 20%,
    #1a1a1a 40%,
    #111111 55%,
    #181818 70%,
    #0e0e0e 85%,
    #0a0a0a 100%
  ) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

/* Shimmer overlay */
.bg::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    80deg,
    transparent 0%,
    transparent 40%,
    rgba(212, 175, 55, 0.00) 43%,
    rgba(212, 175, 55, 0.025) 47%,
    rgba(212, 175, 55, 0.05) 50%,
    rgba(212, 175, 55, 0.025) 53%,
    transparent 57%,
    transparent 100%
  );
  animation: shimmer 14s ease-in-out infinite;
  pointer-events: none;
}

.bg::after {
  content: '';
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    80deg,
    transparent 0%,
    transparent 55%,
    rgba(212, 175, 55, 0.015) 60%,
    rgba(255, 255, 255, 0.03) 63%,
    transparent 68%,
    transparent 100%
  );
  animation: shimmer 14s ease-in-out infinite;
  animation-delay: -6s;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { transform: translate(-40%, -40%); }
  50%  { transform: translate(0%, 0%); }
  100% { transform: translate(-40%, -40%); }
}

/* ── Metal / Calculator Section ──────────────────── */
.metal-section {
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
  }

  .radio-item {
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--radius-md);
  }

  .radio-item:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
  }

  .radio-item.active {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--gold) !important;
  }

  .currency-btn {
    transition: all 0.2s;
  }

  .currency-btn.active {
    background-color: var(--gold);
    color: #0a0a0a;
  }

  .currency-btn:not(.active) {
    color: var(--muted-color);
  }

  .currency-btn:not(.active):hover {
    color: var(--gold);
  }
}

/* ── Accordion ───────────────────────────────────── */
.accordion-item {
  background: var(--surface-raised) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 6px;
  overflow: hidden;
}

.accordion-button {
  background: var(--surface-raised) !important;
  color: var(--default-color) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(212, 175, 55, 0.06) !important;
  color: var(--gold) !important;
}

.accordion-button::after {
  filter: invert(1);
  opacity: 0.5;
}

.accordion-button:not(.collapsed)::after {
  filter: none;
  opacity: 1;
}

.accordion-body {
  background: var(--surface-color) !important;
  color: var(--default-color);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

/* ── Section title helper ────────────────────────── */
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--heading-color);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title p {
  color: var(--muted-color);
  font-size: 0.95rem;
}

/* ── Bootstrap dark dropdown ─────────────────────── */
.dropdown-menu {
  background: var(--surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.dropdown-item {
  color: var(--default-color);
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background-color); }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 175, 55, 0.45); }

/* ═══════════════════════════════════════════════════
   HORIZONTAL SPLITTER
   Ausgelagert aus index.html — vorher als <style>-Block
═══════════════════════════════════════════════════ */

/* ── Container ── */
.h-splitter-box {
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.14), 0 24px 70px rgba(0,0,0,0.7);
  user-select: none;
  position: relative;
}

/* ── Panel ── */
.h-panel {
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 50;
  transition: flex 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 3rem;
}

.h-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 0.8s ease;
  pointer-events: none;
  filter: saturate(0.8) brightness(0.7);
}
.h-panel:hover .h-panel__bg { transform: scale(1); }

.h-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,8,14,0.55) 0%, rgba(5,8,14,0.1) 50%, rgba(5,8,14,0.72) 100%);
  transition: opacity 0.6s ease;
  z-index: 1;
}
.h-panel__overlay--gold {
  background: linear-gradient(180deg, rgba(8,6,2,0.65) 0%, rgba(15,10,0,0.1) 50%, rgba(8,6,2,0.78) 100%);
}

/* ── Panel content (always visible: eyebrow + title) ── */
.h-panel__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  width: 90%;
  max-width: 600px;
  transition: opacity 0.5s ease 0.15s;
}

.h-panel__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6em;
  opacity: 0.85;
}

.h-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #f5f0e8;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

/* ── Details: hidden by default, shown when panel is expanded ── */
.h-panel__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    opacity    0.4s ease 0.25s;
  margin-top: 0;
}
.h-panel.is-expanded .h-panel__details {
  max-height: 40vh;   /* generous ceiling — content always fits */
  opacity: 1;
  margin-top: 1rem;
}

.h-panel__sub {
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  color: white;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 1rem;
}

/* ── List inside details ── */
.h-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.2rem;
  max-width: 480px;
  text-align: left;
}
.h-panel__list li {
  position: relative;
  padding: 0.55em 0.75em 0.55em 1.6em;
  font-size: clamp(0.8rem, 1.4vw, 1.2rem);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 5px;
}
.h-panel__list li:last-child { border-bottom: none; }
.h-panel__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8em;
  top: 0.65em;
}

/* ── Button ── */
.h-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 2em;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  margin-top: 0.5rem;
}
.h-panel__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212,175,55,0.45);
  color: #0a0a0a;
}
.h-panel__btn--gold {
  background: linear-gradient(135deg, var(--gold-dark), #e8c84a);
}

/* ── Hint labels ── */
.h-panel__hint {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}
.h-panel__hint--up { bottom: auto; top: 1em; }

/* ── Divider ── */
.h-divider {
  position: relative;
  flex: 0 0 4px;
  height: 4px;
  z-index: 20;
  cursor: row-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-divider__line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 30%, var(--gold) 50%, var(--gold-dark) 70%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.h-divider:hover .h-divider__line { opacity: 1; }

.h-divider__handle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.h-divider__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(12,10,5,0.92);
  border: 1px solid rgba(212,175,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 0 18px rgba(212,175,55,0.25), 0 4px 16px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.h-divider:hover .h-divider__icon {
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(212,175,55,0.45), 0 4px 20px rgba(0,0,0,0.7);
}


/* ═══════════════════════════════════════════════════
   BILD-SECTION COMPONENTS
   Ausgelagert aus index.html — vorher als inline style=""
═══════════════════════════════════════════════════ */

/* Cover-Bild Box */
.bild-cover-box {
  padding: 0 !important;
  overflow: hidden;
  min-height: 30vh;
}
.bild-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* CTA-Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(212,175,55,0.07) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

.cta-banner__text {
  flex: 1;
  min-width: 260px;
}

.cta-banner__eyebrow {
  color: rgba(212,175,55,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.cta-banner__heading {
  color: var(--heading-color);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.cta-banner__sub {
  color: var(--muted-color);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.cta-banner__action {
  flex-shrink: 0;
}

/* Gold CTA button (reusable) */
.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-cta-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.35);
  color: #0a0a0a;
}

/* Footer wrapper (ausgelagert aus index.html) */
.footer-wrap {
  background: #080808;
  border-top: 1px solid rgba(212,175,55,0.12);
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
  .h-splitter-box {
    height: auto;
    min-height: 75svh;
    border-radius: var(--radius-md);
  }

  .h-panel.is-expanded {
        flex: none;
        min-height: 75svh;
    }

  .h-panel__title {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .cta-banner {
    padding: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner__action {
    width: 100%;
  }

  .btn-cta-gold {
    width: 100%;
    justify-content: center;
  }
}
