/* ============================================================
   BAUFIEXPERTE.DE – Design System
   Martin Reubold | Mainz & Wiesbaden
   ============================================================ */

/* Font-display swap: System-Schrift sofort, Google Font nachladen */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  src: local('Montserrat');
}
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:        #0B1F42;
  --navy-light:  #1A3A6C;
  --navy-muted:  #2D4E8A;
  --gold:        #C8A84B;
  --gold-light:  #E8C96B;
  --gold-dark:   #A88830;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --green:       #10B981;
  --text:        #1A202C;
  --text-mid:    #4A5568;
  --text-muted:  #718096;
  --bg:          #F7F9FC;
  --bg-alt:      #EEF2F8;
  --white:       #FFFFFF;
  --border:      #E2E8F0;
  --shadow-sm:   0 2px 8px rgba(11,31,66,0.08);
  --shadow-md:   0 6px 24px rgba(11,31,66,0.12);
  --shadow-lg:   0 12px 48px rgba(11,31,66,0.18);
  --shadow-gold: 0 4px 20px rgba(200,168,75,0.35);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  0.3s ease;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); hyphens: none; -webkit-hyphens: none; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text-mid); line-height: 1.8; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-sub { font-size: 1.1rem; color: var(--text-mid); max-width: 580px; }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,168,75,0.5);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 1.25rem 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 1px; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.navbar.scrolled .logo-text { color: var(--navy); }
.logo-accent { color: var(--gold); }
.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.navbar.scrolled .logo-sub { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-links li a:hover { color: var(--gold); }
.navbar.scrolled .nav-links li a { color: var(--navy); }
.navbar.scrolled .nav-links li a:hover { color: var(--gold); }
.nav-links li a.active { color: var(--gold); }

.btn-nav {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-gold);
}
.btn-nav:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(26,46,74,0.82) 0%, rgba(15,45,94,0.75) 50%, rgba(26,46,74,0.88) 100%),
    url('../img/mainz-skyline.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,168,75,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.1); opacity: 0.7; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-number {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.trust-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-visual { position: relative; z-index: 1; }
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.hero-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(200,168,75,0.3);
}
.hero-card-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.hero-card-title {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-card-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.hero-stars-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ── Page Hero (Unterseiten) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,168,75,0.3);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  color: white;
}
.card-icon.gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.card-icon.blue { background: linear-gradient(135deg, var(--blue), #1d4ed8); }
.card-icon.green { background: linear-gradient(135deg, var(--green), #059669); }
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1.25rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.75rem; }

/* ── Services Section ────────────────────────────────────── */
.services { background: var(--bg); }

/* ── Stats / Counter ─────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-suffix { font-size: 1.5rem; }
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ── Why Martin Section ──────────────────────────────────── */
.why-section { background: var(--white); }
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(200,168,75,0.15), rgba(200,168,75,0.05));
  border: 1px solid rgba(200,168,75,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.why-text h4 { color: var(--navy); margin-bottom: 0.25rem; }
.why-text p { font-size: 0.9rem; margin: 0; }
.why-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,168,75,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.why-visual-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}
.lender-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.lender-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

/* ── Partners / Bank Logos ───────────────────────────────── */
.partners { padding: 2rem 0; background: var(--white); border-top: 1px solid var(--border); }
.partners-label { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 64px;
}
.bank-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  letter-spacing: 0.02em;
}
.bank-logo {
  width: 48px;
  height: 48px;
  display: block;
  fill: currentColor;
}
.bank-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}
.partner-logo.featured .bank-mark { background: var(--gold); color: var(--navy); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--bg); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 1rem; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.author-type { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8A84B' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* ── Partner Ticker ──────────────────────────────────────── */
.partner-ticker {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.partner-ticker-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.5rem 0 0.5rem;
  margin: 0;
}
.ticker-overflow {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0 1.5rem;
  white-space: nowrap;
}
.ticker-overflow::before,
.ticker-overflow::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-overflow::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 30%, transparent);
}
.ticker-overflow::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 30%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 50s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-bank {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.55rem;
  padding: 0 2rem;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  vertical-align: middle;
}
.ticker-bank:last-child { border-right: none; }
.ticker-more { border-right: none; padding-right: 3rem; }
.bank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bc, var(--navy));
  color: var(--bct, white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.6rem;
  border-radius: 5px;
  min-width: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.bank-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Lender brand colors in dark widget */
.lender-item {
  border-left: 3px solid var(--lc, rgba(255,255,255,0.25));
  text-align: left;
  padding-left: 0.6rem;
}

/* livewire custom element: force block so it fills its wrapper */
livewire { display: block; width: 100%; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.12);
}
textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-error { font-size: 0.75rem; color: #ef4444; margin-top: 0.3rem; display: none; }
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  padding: 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  display: none;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}
.checkbox-group label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}
.checkbox-group label a { color: var(--navy); text-decoration: underline; }

/* Honeypot */
.hp-field { display: none !important; }

/* ── Review Funnel ───────────────────────────────────────── */
.review-funnel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.review-funnel h3 { margin-bottom: 0.75rem; }
.review-funnel p { font-size: 0.95rem; margin-bottom: 2rem; }
.star-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.star-btn {
  font-size: 2.5rem;
  color: var(--border);
  transition: all 0.15s ease;
  cursor: pointer;
  line-height: 1;
}
.star-btn:hover, .star-btn.active { color: var(--gold); transform: scale(1.1); }
.funnel-step { display: none; }
.funnel-step.visible { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Contact Section ─────────────────────────────────────── */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 0.75rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-method:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-method-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}
.contact-method-label { font-size: 0.75rem; color: var(--text-muted); }
.contact-method-value { font-weight: 700; font-size: 0.95rem; color: var(--navy); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo .logo-text { color: var(--white); font-size: 1.4rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.4); }
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
}
.footer-contact-item span:first-child { font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Floating Buttons ────────────────────────────────────── */
.float-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-head);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  white-space: nowrap;
}
.float-btn:hover { transform: translateY(-3px); }
.float-wa  { background: #25D366; color: var(--white); }
.float-wa:hover  { background: #1ebe5c; }
.float-tel { background: var(--navy); color: var(--white); }
.float-tel:hover { background: var(--navy-light); }
.float-icon { display: flex; align-items: center; justify-content: center; }
.float-icon svg { display: block; width: 22px; height: 22px; }

/* ── SVG Icon System (Font Awesome Free, inline) ─────────── */
svg.icon {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.card-icon svg.icon { height: 1.75em; }
.contact-method-icon svg.icon { height: 1.5em; }
.why-icon svg.icon { height: 1.75em; }
/* Icons auf dunklem Hintergrund automatisch weiß */
.hero svg.icon,
.page-hero svg.icon,
.cta-banner svg.icon,
.section-dark svg.icon,
footer svg.icon,
.contact-method-icon svg.icon { color: rgba(255,255,255,0.85); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }

/* ── Accordion / FAQ ─────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  user-select: none;
}
.faq-chevron {
  font-size: 1.1rem;
  transition: transform var(--transition);
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 1.5rem 1.5rem; }

/* ── Process Steps ───────────────────────────────────────── */
.process-steps { counter-reset: step; }
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  box-shadow: var(--shadow-md);
}
.step-content { min-width: 0; }
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.9rem; }

/* ── Scroll Animations ───────────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.bg-navy     { background: var(--navy); }
.bg-light    { background: var(--bg); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.full-width  { width: 100%; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.2rem; color: rgba(255,255,255,0.85) !important; }
  .nav-links li a:hover, .nav-links li a.active { color: var(--gold) !important; }
  .btn-nav { background: var(--gold) !important; color: var(--navy) !important; padding: 0.8rem 2rem !important; font-size: 1rem !important; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .float-buttons { bottom: 1rem; right: 1rem; }
  .float-btn span:not(.float-icon) { display: none; }
  .float-btn { width: 52px; height: 52px; padding: 0; border-radius: 50%; justify-content: center; gap: 0; box-shadow: 0 4px 16px rgba(11,31,66,0.28); overflow: hidden; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 110px 0 60px; }
  .review-funnel { padding: 2rem; }
  .card { padding: 1.75rem; }
}

@media (max-width: 480px) {
  section { padding: 44px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 1rem; }
  .trust-divider { display: none; }
  .page-hero { padding: 90px 0 44px; }
  .review-funnel { padding: 1.5rem; }
  .card { padding: 1.25rem; }
  .nav-links li a { font-size: 1rem; }
}
