﻿/* ================================================================
   SVEN NOTHNAGEL – FINANZ·COACHING
   Shared Stylesheet für alle Seiten
   ================================================================ */

/* ---- Designvariablen ---- */
:root {
  --navy:         #0A1C35;
  --navy-deep:    #061224;
  --navy-mid:     #122645;
  --gold:         #C8923A;
  --gold-light:   #E4AF62;
  --gold-pale:    #FBF2E2;
  --white:        #FFFFFF;
  --warm-white:   #F7F4EF;
  --border:       #E8E3DB;
  --gray:         #8A8680;
  --text:         #1E1B18;
  --text-mid:     #3D3A36;
  --radius:       10px;
  --shadow:       0 8px 40px rgba(10,28,53,0.12);
  --shadow-lg:    0 20px 64px rgba(10,28,53,0.18);
  --font-h:       'Playfair Display', Georgia, serif;
  --font-b:       'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --max:          1160px;
  --nav-h:        72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; border-radius: inherit; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout ---- */
.container   { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section     { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--xs { padding: 40px 0; }

/* ---- Typografie ---- */
h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: var(--text);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }

/* Brand-Label */
.tag {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Brand-Wordmark */
.brand-wordmark {
  font-family: var(--font-b);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand-dot { color: var(--gold-light); margin: 0 4px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 7px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.015em;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
}
.btn--gold  { background: var(--gold); color: var(--white); }
.btn--gold:hover  { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,146,58,0.38); }
.btn--navy  { background: var(--navy); color: var(--white); }
.btn--navy:hover  { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.btn--outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--white); }

/* ---- Chips ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-pale);
  border: 1px solid rgba(200,146,58,0.22);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}
.chip::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ---- Card Basis ---- */
.card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  transition: all 0.28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 48px rgba(0,0,0,0.11); }

/* ---- Icon-Box ---- */
.icon-box {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 26px; height: 26px; fill: var(--gold); }
.icon-box--navy { background: rgba(10,28,53,0.08); }
.icon-box--navy svg { fill: var(--navy); }

/* ================================================================
   NAVIGATION
================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(6,18,36,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,146,58,0.12);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.3); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }
.nav-logo-name {
  font-family: var(--font-h);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Links */
.nav-links {
  display: flex; align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.22s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Burger */
.nav-burger {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.28s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 28px 24px;
    gap: 22px; text-align: center;
    border-bottom: 1px solid rgba(200,146,58,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }
}

/* ================================================================
   PAGE HEADER (Interne Seiten)
================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #142d5c 100%);
  padding: calc(var(--nav-h) + 64px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(200,146,58,0.09) 0%, transparent 65%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header-tag { color: var(--gold-light); margin-bottom: 10px; }
.page-header h1 { color: var(--white); max-width: 700px; }
.page-header-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-top: 14px;
  line-height: 1.75;
}
/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ================================================================
   TRUST BAR
================================================================ */
.trust-bar {
  background: var(--gold-pale);
  border-top: 1px solid rgba(200,146,58,0.18);
  border-bottom: 1px solid rgba(200,146,58,0.18);
  padding: 22px 0;
}
.trust-bar-inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-item .icon-box { width: 32px; height: 32px; border-radius: 7px; }
.trust-item .icon-box svg { width: 16px; height: 16px; }
.trust-divider { width: 1px; height: 28px; background: rgba(10,28,53,0.14); }
@media (max-width: 600px) { .trust-divider { display: none; } }

/* ================================================================
   SCROLL ANIMATION
================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--navy-deep);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(200,146,58,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-name {
  font-family: var(--font-h);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-logo-sub {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-about {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-b);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-badge {
  display: inline-block;
  background: rgba(200,146,58,0.13);
  border: 1px solid rgba(200,146,58,0.22);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-right: 8px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   COOKIE BAR
================================================================ */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--navy);
  border-top: 1px solid rgba(200,146,58,0.18);
  padding: 16px 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
#cookie-bar.hidden { display: none; }
#cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-btn {
  background: var(--gold); color: var(--white);
  border: none; padding: 9px 22px;
  border-radius: 6px; font-size: 0.82rem;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}

/* ================================================================
   GEMEINSAME ABSCHNITTE
================================================================ */

/* Stats-Row */
.stats-row {
  display: flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* Testimonial Card */
.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.055);
}
.t-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.t-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 22px;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-initials {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.t-role { font-size: 0.75rem; color: var(--gray); }

/* CTA Box dark */
.cta-dark {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200,146,58,0.11) 0%, transparent 65%);
}
.cta-dark > * { position: relative; z-index: 1; }
.cta-dark .tag { color: var(--gold-light); }
.cta-dark h2 { color: var(--white); margin-bottom: 16px; }
.cta-dark p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; line-height: 1.78; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 0.77rem; color: rgba(255,255,255,0.35); margin-top: 18px; }

@media (max-width: 600px) {
  .cta-dark { padding: 48px 24px; }
}

/* Kontakt Details */
.kontakt-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.kontakt-detail-label {
  font-size: 0.70rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray); margin-bottom: 3px;
}
.kontakt-detail-value {
  font-weight: 600; color: var(--text);
  font-size: 0.95rem;
}
.kontakt-detail-value a:hover { color: var(--gold); }

/* Form */
.form-label {
  display: block;
  font-size: 0.80rem; font-weight: 600;
  color: var(--text); margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,146,58,0.11);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

/* Social Links */
.social-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.social-link:hover { color: var(--gold); }
.social-link svg { flex-shrink: 0; opacity: 0.7; transition: opacity 0.2s; }
.social-link:hover svg { opacity: 1; }
