/* ─── BFC GERMANY – SHARED STYLESHEET ─── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #0d1f3c;
  --navy-mid: #1a3560;
  --blue-accent: #2a5298;
  --steel: #4a6fa5;
  --silver: #c8d4e8;
  --light-bg: #f4f6fb;
  --white: #ffffff;
  --text-dark: #0d1f3c;
  --text-mid: #3a4f6e;
  --text-light: #7a8fa8;
  --gold: #b8a06a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(13, 31, 60, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,212,232,0.12);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.03em;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.8rem;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--silver); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nav-cta {
  background: var(--gold); color: var(--navy);
  border: none; padding: 0.6rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s;
  text-decoration: none;
}
.nav-cta:hover { background: #d4b87a; }

/* ─── PAGE HEADER (for inner pages) ─── */
.page-header {
  min-height: 38vh;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 5% 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,82,152,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-header-tag {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border-left: 2px solid var(--gold); padding-left: 1rem;
  margin-bottom: 1rem; display: inline-block; position: relative; z-index: 1;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); position: relative; z-index: 1;
}
.page-header h1 em { color: var(--gold); font-style: normal; }

/* ─── SECTION SHARED ─── */
section { padding: 6rem 5%; }
.section-tag {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border-left: 2px solid var(--gold); padding-left: 0.8rem;
  margin-bottom: 1rem; display: inline-block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400;
  color: var(--navy); line-height: 1.2; margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-mid); line-height: 1.8; max-width: 560px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2rem; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { background: #d4b87a; transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(13,31,60,0.3); color: var(--text-mid);
  padding: 0.9rem 2rem; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s; display: inline-block;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--light-bg);
  padding: 2rem 5%;
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
  border-bottom: 1px solid rgba(13,31,60,0.06);
}
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 500; color: var(--navy-mid); line-height: 1;
}
.trust-label {
  font-size: 0.78rem; color: var(--text-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem;
}

/* ─── LEISTUNGEN GRID ─── */
.leistungen-header { margin-bottom: 3.5rem; }
.leistungen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  background: rgba(13,31,60,0.08);
  border: 1px solid rgba(13,31,60,0.08);
}
.leistung-card {
  background: var(--white); padding: 2.5rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.leistung-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.leistung-card:hover::before { transform: scaleX(1); }
.leistung-card:hover { background: var(--light-bg); }
.leistung-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: rgba(13,31,60,0.06);
  line-height: 1; margin-bottom: 1rem;
}
.leistung-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--navy); margin-bottom: 0.8rem;
}
.leistung-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }

/* ─── STEUERGESTALTUNG ─── */
#steuer {
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; overflow: hidden;
}
#steuer::before {
  content: ''; position: absolute; bottom: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,82,152,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.steuer-content { position: relative; z-index: 1; }
.steuer-content .section-title { color: var(--white); }
.steuer-content .section-sub { color: var(--silver); }
.steuer-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.steuer-item { display: flex; gap: 1rem; align-items: flex-start; }
.steuer-icon {
  width: 28px; height: 28px; background: rgba(184,160,106,0.15);
  border: 1px solid rgba(184,160,106,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.steuer-icon svg { width: 12px; height: 12px; stroke: var(--gold); fill: none; stroke-width: 2; }
.steuer-item-text { font-size: 0.92rem; color: var(--silver); line-height: 1.6; }
.steuer-item-text strong { color: var(--white); display: block; margin-bottom: 0.1rem; }
.steuer-visual { position: relative; z-index: 1; }
.steuer-box { border: 1px solid rgba(200,212,232,0.12); padding: 2.5rem; }
.steuer-box-label {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.steuer-feature {
  padding: 1rem 0; border-bottom: 1px solid rgba(200,212,232,0.08);
  color: var(--silver); font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.steuer-feature:last-child { border-bottom: none; }
.sf-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── PROZESS ─── */
#prozess { background: var(--light-bg); }
.prozess-header { margin-bottom: 3.5rem; }
.prozess-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.prozess-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, var(--navy-mid), var(--steel), var(--navy-mid));
  z-index: 0;
}
.prozess-step { padding: 0 1.5rem; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  background: var(--navy); color: var(--white);
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.step-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* ─── KONTAKT ─── */
#kontakt { background: var(--white); }
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start;
  margin-top: 3rem;
}
.kontakt-info-item { margin-bottom: 2rem; }
.ki-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.3rem; }
.ki-value { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }
.vertrauens-box { background: var(--navy); padding: 2rem; margin-top: 2.5rem; }
.vb-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.vb-text { font-size: 0.85rem; color: var(--silver); line-height: 1.7; }

/* ─── FORM ─── */
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 0.5rem; }
.form-subtitle { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 2rem; line-height: 1.6; }
.tabs { display: flex; gap: 0; margin-bottom: 2rem; border-bottom: 2px solid var(--light-bg); }
.tab {
  padding: 0.7rem 1.5rem; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: none; background: none; cursor: pointer;
  color: var(--text-light); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.2s;
}
.tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid rgba(13,31,60,0.12);
  background: var(--white); color: var(--text-dark);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-accent); }
textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 1rem; margin-top: 1rem;
  background: var(--navy); color: var(--white); border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s;
}
.form-submit:hover { background: var(--navy-mid); }
.form-note { font-size: 0.75rem; color: var(--text-light); margin-top: 0.8rem; text-align: center; line-height: 1.5; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 3rem 5% 2rem;
  border-top: 1px solid rgba(200,212,232,0.08);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200,212,232,0.08);
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--white); letter-spacing: 0.03em; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--silver); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { padding-top: 1.5rem; font-size: 0.78rem; color: var(--text-light); text-align: center; }

/* ─── IMPRESSUM ─── */
.impressum-section { background: var(--light-bg); padding: 5rem 5%; }
.impressum-grid { max-width: 680px; display: grid; gap: 2rem; margin-top: 2.5rem; }
.impressum-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.4rem; }
.impressum-value { font-size: 0.95rem; color: var(--text-dark); line-height: 1.8; }
.impressum-note { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  #steuer { grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .prozess-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .prozess-steps::before { display: none; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr !important; min-height: auto !important; padding: 7rem 5% 4rem !important; }
  .hero > div:last-child { display: none; }
  .trust-bar { gap: 1.5rem; padding: 1.5rem 5%; }
}
@media (max-width: 600px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .prozess-steps { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.5rem; }
  .page-header { padding: 6rem 5% 3rem; }
  .page-header h1 { font-size: 2rem; }
  #steuer { padding: 3rem 5%; }
  section { padding: 4rem 5%; }
  .nav-cta { font-size: 0.72rem; padding: 0.5rem 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
