/* ==========================================================================
   Finanzboutique — One-Pager
   Farbschema: Royal Blau (Flächen) · Weiß · Gold (Zielelemente)
   ========================================================================== */

:root {
  --royal-blue: #0A2A6B;
  --royal-blue-dark: #071B49;
  --royal-blue-light: #1E3F8F;
  --white: #FFFFFF;
  --off-white: #F5F7FB;
  --ink: #14213D;
  --ink-soft: #4A5568;
  --gold: #C9A227;
  --gold-light: #E4C866;
  --gold-dark: #9C7D1A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1140px;
  --radius: 10px;
  --shadow: 0 20px 45px -20px rgba(10, 42, 107, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--royal-blue-dark);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--royal-blue-dark);
  box-shadow: 0 10px 25px -8px rgba(201, 162, 39, 0.6);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(201, 162, 39, 0.75);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 42, 107, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 22px 0;
}

.site-header.scrolled {
  background: rgba(7, 27, 73, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo span { color: var(--gold-light); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { opacity: 1; color: var(--gold-light); }

.main-nav .nav-cta {
  background: var(--gold);
  color: var(--royal-blue-dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 1;
}

.main-nav .nav-cta:hover {
  background: var(--gold-light);
  color: var(--royal-blue-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--royal-blue-dark) 0%, var(--royal-blue) 55%, var(--royal-blue-light) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,39,0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(201,162,39,0.10), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 100px;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}

.section-white { background: var(--white); }
.section-tint { background: var(--off-white); }
.section-navy {
  background: linear-gradient(160deg, var(--royal-blue-dark), var(--royal-blue));
}

.text-white { color: var(--white); }

.section-eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.section-eyebrow-light { color: var(--gold-light); }

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 50px;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 32px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Value cards ---------- */
.value-card {
  background: var(--white);
  border: 1px solid #EAEDF4;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover { transform: translateY(-6px); }

.value-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.value-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 { color: var(--royal-blue-dark); font-size: 1.25rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-card h3 { color: var(--royal-blue-dark); font-size: 1.3rem; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.process-step {
  position: relative;
  padding: 30px 24px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--royal-blue-dark);
  color: var(--gold-light);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 18px;
}

.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.95rem; margin: 0; }

/* ---------- Team ---------- */
.team-grid { margin-top: 50px; }

.team-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px;
}

.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 18px;
}

.team-photo svg { fill: var(--gold-light); }

.team-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }

.team-role {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.team-card p:not(.team-role) { color: rgba(255,255,255,0.8); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--royal-blue-dark);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #D8DEEA;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}

.form-note {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--royal-blue);
  font-weight: 600;
  margin: 0;
}

.contact-info-card {
  background: var(--royal-blue-dark);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 { color: var(--white); font-size: 1.25rem; }

.placeholder-note {
  background: rgba(201,162,39,0.15);
  border: 1px dashed var(--gold);
  color: var(--gold-light);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.contact-info-card ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 16px;
}

.contact-info-card li:last-child { border-bottom: none; padding-bottom: 0; }

.contact-info-card li span:first-child {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 600;
}

.contact-info-card li a,
.contact-info-card li span:last-child {
  color: var(--white);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--royal-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-footer { font-size: 1.1rem; }

.footer-inner p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.footer-links { display: flex; gap: 20px; }

.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--gold-light); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--royal-blue-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .process { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero-inner { padding-top: 140px; }
}
