/* ============================================================
   Berlin Visa GmbH: premium navy & gold
   ============================================================ */
:root {
  --navy: #14264c;
  --navy-deep: #0e1b38;
  --navy-soft: #1d3465;
  --gold: #c19a3f;
  --gold-light: #d9b968;
  --cream: #faf7f1;
  --ink: #23293a;
  --ink-soft: #5a6272;
  --line: #e6e2d8;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', sans-serif;
  --shadow: 0 14px 40px rgba(14, 27, 56, 0.10);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; }
h3 { font-size: 1.45rem; }
em { font-style: italic; color: var(--gold); }

a { color: var(--navy); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy-deep); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(193, 154, 63, 0.35); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--gold-light); margin-left: 22px; }
.topbar a:hover { color: var(--white); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: 54px; object-fit: contain; }
.brand-fallback {
  height: 48px; width: 48px; border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--navy); font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.brand-name.light { color: var(--white); font-size: 1.5rem; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; gap: 26px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-btn {
  border: none; background: transparent; padding: 7px 14px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all 0.2s;
}
.lang-btn.active { background: var(--navy); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: 0.2s; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 18%, rgba(193,154,63,0.22), transparent),
    radial-gradient(ellipse 50% 60% at 12% 85%, rgba(29,52,101,0.9), transparent),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
}
.hero-inner { position: relative; padding: 110px 24px 90px; text-align: center; }
.hero-kicker {
  display: inline-block; margin-bottom: 22px;
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(193,154,63,0.45); border-radius: 999px; padding: 8px 20px;
}
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--white); margin-bottom: 24px; font-weight: 600; }
.hero-title em { color: var(--gold-light); }
.hero-lead { max-width: 640px; margin: 0 auto 38px; color: rgba(255,255,255,0.82); font-size: 1.08rem; font-weight: 300; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-weight: 600; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-navy { background: var(--navy); }
.section-cream { background: var(--cream); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker { font-size: 0.76rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.section-kicker.gold { color: var(--gold-light); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-title.light { color: var(--white); }
.section-lead { color: var(--ink-soft); font-size: 1.02rem; }
.section-lead.light { color: rgba(255,255,255,0.78); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: all 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193,154,63,0.5); }
.card-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(193,154,63,0.14), rgba(193,154,63,0.28));
  color: var(--gold); font-size: 1.4rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 28px 22px; transition: all 0.3s;
}
.step:hover { background: rgba(255,255,255,0.09); border-color: rgba(193,154,63,0.5); transform: translateY(-4px); }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); display: block; margin-bottom: 12px; }
.step h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.86rem; }

/* ---------- pricing ---------- */
.pricing-grid { align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px 34px; text-align: center; display: flex; flex-direction: column;
  transition: all 0.3s ease; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 2px solid var(--gold); box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fffdf8, var(--white));
}
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 18px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.price { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); font-weight: 700; margin-bottom: 26px; display: flex; flex-direction: column; }
.price-note { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 32px; flex: 1; }
.price-card li {
  padding: 9px 0 9px 30px; position: relative;
  font-size: 0.92rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: '\2713'; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.pricing-fineprint { text-align: center; margin-top: 36px; font-size: 0.82rem; color: var(--ink-soft); max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- documents ---------- */
.docs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.docs-text .section-kicker, .docs-text .section-title, .docs-text .section-lead { text-align: left; }
.docs-text .section-lead { margin-bottom: 30px; }
.docs-list { list-style: none; display: grid; gap: 12px; }
.docs-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 15px 20px 15px 52px; position: relative; font-size: 0.95rem; transition: all 0.25s;
}
.docs-list li:hover { border-color: var(--gold); transform: translateX(6px); }
.docs-list li::before {
  content: '\2713'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- faq ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; background: var(--white); overflow: hidden; transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(193,154,63,0.6); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; padding: 20px 26px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy);
  list-style: none; position: relative; padding-right: 54px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.3rem; color: var(--gold); transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 26px 22px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- booking ---------- */
.calendly-inline-widget { border-radius: var(--radius); overflow: hidden; background: var(--white); }
.booking-alt { text-align: center; margin-top: 26px; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.booking-alt a { color: var(--gold-light); font-weight: 600; }
.booking-alt a:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact-grid { max-width: 1040px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); }
.contact-address { text-align: center; margin-top: 34px; color: var(--ink-soft); font-size: 0.9rem; letter-spacing: 0.03em; }
.map-embed { max-width: 1040px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: all 0.3s ease; display: block;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193,154,63,0.5); }
.contact-card .card-icon { margin: 0 auto 18px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.9rem; word-break: break-word; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 40px; }
.footer-inner { text-align: center; }
.footer-brand p { margin: 8px 0 0; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--gold-light); font-style: italic; }
.footer-address { font-style: normal !important; color: rgba(255,255,255,0.6) !important; letter-spacing: 0.02em !important; margin-top: 14px !important; line-height: 1.8; }
.footer-address a { color: rgba(255,255,255,0.75); }
.footer-address a:hover { color: var(--gold-light); }
.footer-nav { margin: 30px 0; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-disclaimer { max-width: 720px; margin: 0 auto 22px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---------- legal pages (Impressum / Datenschutz) ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 70px 24px 90px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 10px; }
.legal .legal-sub { color: var(--ink-soft); margin-bottom: 44px; font-size: 0.95rem; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.95rem; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--gold); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal .back-link { display: inline-block; margin-bottom: 34px; font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.legal .back-link:hover { color: var(--gold); }
.legal .placeholder { background: #fdf6e3; border: 1px dashed var(--gold); border-radius: 6px; padding: 2px 8px; font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .docs-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 24px 60px; }
  .hero-stats { gap: 30px; }
  .section { padding: 64px 0; }
  .topbar-inner { flex-direction: column; gap: 4px; }
  .topbar a { margin: 0 10px; }
}
