/* ── Shared Styles for Zulauf mehrWert Subpages ────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #FFFFFF;
  --off-white:    #F7F6F3;
  --dark:         #1A1A1A;
  --dark-800:     #2C2C2C;
  --gray-muted:   #6B6B6B;
  --border:       #E5E4DF;
  --orange:       #FB5C00;
  --orange-hover: #D94E00;
  --orange-light: #FFF3EB;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow:       0 4px 32px rgba(0,0,0,0.10);
  --transition:   0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
img { max-width: 100%; }

/* ── Nav ─────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--dark); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

/* ── Dropdown nav (click-only) ────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; font-weight: 500; color: var(--dark);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0; transition: color 0.2s;
  line-height: 1;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active { color: var(--orange); }
.nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.25s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 0; padding: 0.4rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12); border: 1px solid rgba(0,0,0,0.06);
  min-width: 230px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.85rem; border-radius: 0; text-decoration: none;
  color: #1a1a1a; font-size: 0.85rem; font-weight: 500;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-dd-item:hover { background: rgba(251,92,0,0.07); color: var(--orange); }
.nav-dd-item.active { color: var(--orange); font-weight: 600; }
.nav-dd-icon {
  width: 28px; height: 28px; border-radius: 6px; background: #f5f5f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.nav-dd-item:hover .nav-dd-icon { background: rgba(251,92,0,0.1); }
.nav-dd-text { display: flex; flex-direction: column; gap: 0.05rem; }
.nav-dd-label { line-height: 1.2; }
.nav-dd-sub { font-size: 0.7rem; color: rgba(26,26,26,0.4); font-weight: 400; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── Page Hero ───────────────────────────── */
.page-hero { background: var(--dark); padding: 5rem 2rem 4rem; text-align: center; }
.page-hero .label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); color: var(--white); max-width: 700px; margin: 0 auto; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 4rem 2rem 2rem; }
.footer-top { max-width: 1120px; margin: 0 auto 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.75rem; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-logo-text { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1rem; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { max-width: 1120px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.4); transition:var(--transition); }
.footer-legal a:hover { color: var(--orange); }
.finma-note { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

/* ── Utilities ───────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 2rem; }
.section-light { background: var(--off-white); }
.label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--dark); margin-bottom: 1rem; }
.section-lead { color: var(--gray-muted); max-width: 580px; }

/* ── Fade animations ─────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
