/* ==========================================================================
   Hoffmann Finanzen — Stylesheet
   ========================================================================== */

:root {
  --navy-950: #090909;
  --navy-900: #0e0e0e;
  --navy-800: #1b1a17;
  --navy-700: #2c2a25;
  --teal-500: #7a5e30;
  --teal-400: #c2a267;
  --gold-500: #c2a267;
  --gold-400: #d3b982;
  --gold-300: #e7d5ad;
  --cream-50: #faf8f3;
  --cream-100: #f3eee3;
  --ink-900: #151412;
  --ink-700: #46433d;
  --ink-500: #77736a;
  --line: rgba(21, 20, 18, 0.10);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(21, 20, 18, 0.06);
  --shadow-md: 0 10px 30px rgba(21, 20, 18, 0.10);
  --shadow-lg: 0 24px 60px rgba(21, 20, 18, 0.16);
  --shadow-gold: 0 12px 32px rgba(194, 162, 103, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 1000;
  background: var(--navy-950); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.92rem; transition: top .25s ease;
}
.skip-link:focus { top: 12px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-700);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0 0 .5em; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900);
}
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }

.section { padding: 108px 0; position: relative; background: #fff; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 100px; border: none; font-weight: 700; font-size: 0.98rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 60%, #b6884a);
  color: #241a08;
  box-shadow: var(--shadow-gold);
  position: relative;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(201, 161, 90, 0.45); }
.btn-primary.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(201, 161, 90, 0.55);
  animation: pulse-ring 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(201, 161, 90, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(201, 161, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 161, 90, 0); }
}
.btn-ghost {
  background: transparent; color: var(--navy-900); border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--cream-100); border-color: var(--gold-500); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0; background: rgba(251, 249, 245, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s ease, padding .3s ease, border-color .3s ease;
}
header.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(21, 20, 18, 0.08); padding: 12px 0; border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink-900); flex-shrink: 0; }
.brand .brand-mark { width: 38px; height: 44px; aspect-ratio: 429 / 516; flex-shrink: 0; display: block; object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.7rem; letter-spacing: 0.14em; color: var(--ink-900); white-space: nowrap; }
.brand .brand-sub { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.5em; color: var(--teal-500); margin-top: 5px; padding-left: 2px; }
.site-footer .brand .brand-name { color: #fff; }
.site-footer .brand .brand-sub { color: var(--gold-400); }
@media (max-width: 380px) { .brand .brand-name { font-size: 1.4rem; } .brand .brand-mark { width: 32px; height: 38px; } }

/* Hero panel (statt Foto) */
.hero-panel {
  position: relative; border-radius: var(--radius-lg); background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg); padding: 38px 34px; color: #fff; transform: rotate(1.2deg); overflow: hidden;
}
.hero-panel::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(194,162,103,0.28), transparent 70%); }
.panel-counter {
  position: absolute; top: 24px; right: 24px; z-index: 2; text-align: right;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md); padding: 10px 16px;
}
.panel-counter strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; color: var(--gold-400); }
.panel-counter > span { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 2px; }
.hero-panel .panel-mark { width: 64px; height: auto; aspect-ratio: 429 / 516; display: block; margin-bottom: 22px; position: relative; z-index: 1; }
.hero-panel .panel-title { color: #fff; font-size: 1.25rem; margin-bottom: 18px; position: relative; z-index: 1; }
.panel-list { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; padding: 0; margin: 0; }
.panel-list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-md); padding: 14px 16px; font-weight: 600; font-size: 0.98rem; }
.panel-list svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }
.panel-list small { display: block; font-weight: 400; font-size: 0.8rem; color: rgba(255,255,255,0.62); margin-top: 2px; }

/* Zielgruppen */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.audience-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.audience-card p { margin-bottom: 0; font-size: 0.94rem; }
@media (max-width: 980px) { .audience-grid { grid-template-columns: 1fr; } .hero-panel { transform: none; } }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  color: var(--ink-700); font-size: 0.93rem; font-weight: 600; padding: 10px 13px; border-radius: 100px;
  white-space: nowrap; transition: background .25s ease, color .25s ease;
}
nav.main-nav a:hover { background: var(--cream-100); color: var(--ink-900); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .phone-chip {
  display: flex; align-items: center; gap: 7px; color: var(--ink-900); font-size: 0.9rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; padding: 10px 14px; border-radius: 100px; border: 1.5px solid var(--line);
  transition: border-color .25s ease, background .25s ease;
}
.header-actions .phone-chip:hover { border-color: var(--gold-500); background: var(--cream-100); }
.header-actions .phone-chip svg { width: 17px; height: 17px; color: var(--gold-500); flex-shrink: 0; }
.header-actions .btn-primary { padding: 13px 22px; font-size: 0.92rem; flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-100); border: 1px solid var(--line); align-items: center; justify-content: center;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw); z-index: 600;
  background: var(--navy-950); padding: 100px 28px 40px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,0.3);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: rgba(255,255,255,0.85); font-size: 1.05rem; font-weight: 500; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav .btn { margin-top: 20px; }
body.nav-open { overflow: hidden; }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(6,17,31,0.5); z-index: 590; opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #fdfbf7 0%, var(--cream-50) 55%, var(--cream-100) 100%);
  overflow: hidden; padding-top: 130px; padding-bottom: 80px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--teal-400), transparent 70%); top: -160px; right: -120px; animation: float-a 14s ease-in-out infinite; }
.hero::after { width: 420px; height: 420px; background: radial-gradient(circle, var(--gold-400), transparent 70%); bottom: -180px; left: 4%; opacity: 0.3; animation: float-b 16s ease-in-out infinite; }
@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 { color: var(--ink-900); font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.hero-copy h1 em { font-style: normal; background: linear-gradient(120deg, var(--gold-500), #a97c34); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead { color: var(--ink-700); font-size: 1.14rem; max-width: 500px; }
.hero-cta { display: flex; gap: 16px; margin: 32px 0 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 10px; color: var(--ink-700); font-size: 0.92rem; font-weight: 600; }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21,20,18,0.06);
  transform: rotate(1.2deg);
}
.hero-photo-card img { width: 100%; height: 420px; object-fit: cover; }
.floating-badge {
  position: absolute; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; animation: bob 5s ease-in-out infinite;
}
.floating-badge.badge-1 { top: -24px; left: -28px; }
.floating-badge.badge-2 { bottom: -26px; right: -20px; animation-delay: 1.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-badge .badge-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-500)); color: #fff;
}
.floating-badge.badge-2 .badge-icon { background: linear-gradient(140deg, var(--gold-400), var(--gold-500)); }
.floating-badge .badge-icon svg { width: 22px; height: 22px; }
.floating-badge strong { display: block; font-size: 1rem; color: var(--ink-900); }
.floating-badge span { font-size: 0.78rem; color: var(--ink-500); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-500); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-cue .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1;} 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--cream-100); padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { padding: 40px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy-900); }
.stat-item > span { display: block; color: var(--ink-700); font-size: 0.88rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
}
.about-visual .frame img { width: 100%; height: 480px; object-fit: cover; }
.about-visual .frame::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(11,28,48,0.35));
}
.about-ring {
  position: absolute; width: 130px; height: 130px; border: 2px dashed var(--gold-400); border-radius: 50%;
  top: -30px; right: -30px; animation: spin 24s linear infinite; opacity: 0.7;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy .checklist { margin-top: 28px; display: grid; gap: 16px; }
.about-copy .checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink-900); }
.about-copy .checklist svg { width: 22px; height: 22px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 38px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-400)); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900)); margin-bottom: 22px; color: var(--gold-400);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.28rem; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--teal-500); font-size: 0.92rem; }
.service-card .service-link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.service-card:hover .service-link svg { transform: translateX(5px); }

/* ---------- CTA Banner (intentional dark accent) ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800) 60%, #262319);
  border-radius: var(--radius-lg); padding: 60px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.cta-banner::before { content:""; position:absolute; width:360px; height:360px; background: radial-gradient(circle, rgba(201,161,90,0.35), transparent 70%); top:-140px; right:-100px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cta-banner p { color: rgba(255,255,255,0.75); }
.cta-features { display: flex; flex-wrap: wrap; gap: 18px; margin: 22px 0 0; }
.cta-features li { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 0.9rem; font-weight: 700; background: rgba(255,255,255,0.08); padding: 9px 16px; border-radius: 100px; }
.cta-features svg { width: 16px; height: 16px; color: var(--gold-400); }
.cta-side { text-align: center; position: relative; z-index: 2; }
.cta-side .btn { width: 100%; }
.cta-side small { display: block; margin-top: 14px; color: rgba(255,255,255,0.55); font-size: 0.82rem; }

/* ---------- Objektarten (Angebote) ---------- */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-media { position: relative; height: 220px; overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-card:hover .listing-media img { transform: scale(1.06); }
.listing-tag { position: absolute; top: 14px; left: 14px; background: rgba(14,14,14,0.85); color: var(--gold-300); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.listing-body { padding: 22px; }
.listing-body h4 { font-size: 1.1rem; margin-bottom: 6px; }
.listing-body p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-num { font-size: 1.5rem; font-weight: 800; color: var(--gold-500); margin-bottom: 10px; }
.why-card h3 { font-size: 1.05rem; }
.why-card p { font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.review-badge {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  max-width: 420px; margin: 0 auto 44px; padding: 28px 32px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink-900);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review-badge:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-badge strong { font-size: 1.15rem; font-weight: 800; margin-top: 6px; }
.review-badge > span:not(.review-stars) { color: var(--ink-500); font-size: 0.92rem; }
.review-badge-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--teal-500); font-size: 0.92rem; }
.review-badge-link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.review-badge:hover .review-badge-link svg { transform: translateX(5px); }
.review-stars { color: var(--gold-500); font-size: 1.1rem; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card .review-stars { display: block; margin-bottom: 14px; }
.review-card p { font-size: 0.96rem; color: var(--ink-700); }
.review-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 0.86rem; }
.review-meta strong { color: var(--ink-900); }
.review-meta span { color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--cream-100); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1rem; color: var(--ink-900); }
.faq-q .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-100); color: var(--ink-900); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: transform .35s var(--ease), background .3s ease; }
.faq-item.open .faq-q .plus { transform: rotate(135deg); background: var(--gold-500); color: #241a08; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--ink-700); font-size: 0.95rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--cream-50); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 44px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 8px; color: var(--ink-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.96rem; background: var(--cream-50); transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(194, 162, 103, 0.22);
}
.field textarea { resize: vertical; min-height: 110px; }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.segmented label {
  display: flex; align-items: center; justify-content: center; text-align:center; gap: 8px; padding: 12px 8px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-size: 0.86rem; font-weight: 700; color: var(--ink-700); cursor: pointer; transition: all .25s ease;
}
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented input:checked + label, .segmented label.checked {
  border-color: var(--teal-500); background: rgba(194,162,103,0.14); color: var(--teal-500);
}
.consent-row { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; }
.consent-row input { margin-top: 4px; }
.consent-row label { font-size: 0.84rem; color: var(--ink-500); }
.consent-row a { color: var(--teal-500); font-weight: 700; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--teal-500); margin: 0 auto 16px; }

.contact-side { display: grid; gap: 20px; }
.contact-info-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.contact-info-card h3 { color: #fff; font-size: 1.15rem; }
.contact-info-list { display: grid; gap: 18px; margin-top: 20px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .ci-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; color: var(--gold-400); }
.contact-info-list .ci-icon svg { width: 20px; height: 20px; }
.contact-info-list strong { display:block; font-size: 0.94rem; }
.contact-info-list span { font-size: 0.86rem; color: rgba(255,255,255,0.65); }
.contact-map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
#map { width: 100%; height: 240px; display: block; border: 0; background: var(--cream-100); }
.map-placeholder {
  width: 100%; height: 240px; background: var(--cream-100); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px;
}
.map-placeholder p { font-size: 0.82rem; color: var(--ink-500); margin: 0; max-width: 320px; }
.map-placeholder a { color: var(--teal-500); font-weight: 700; }
.map-route-link {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-weight: 700; font-size: 0.9rem;
  color: var(--ink-900); border-top: 1px solid var(--line);
}
.map-route-link svg:first-child { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }
.map-route-link svg:last-child { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; transition: transform .3s ease; color: var(--ink-500); }
.map-route-link:hover { background: var(--cream-100); }
.map-route-link:hover svg:last-child { transform: translateX(4px); }

/* ---------- Footer (intentional dark accent) ---------- */
footer.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { margin-bottom: 16px; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.7); }
.footer-brand .brand .accent { color: var(--gold-400); }
.footer-col h3 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; font-weight: 800; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 26px 28px; z-index: 900; transform: translateY(160%); transition: transform .6s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 1.02rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.86rem; margin-bottom: 18px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { flex: 1; padding: 12px 16px; border-radius: 100px; font-weight: 700; font-size: 0.86rem; border: 1.5px solid var(--line); background: #fff; }
.cookie-actions .cookie-accept { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.cookie-actions .cookie-reject:hover { background: var(--cream-100); }
.cookie-actions .cookie-settings { border: none; background: none; color: var(--teal-500); flex: 0 0 auto; }

/* ---------- Legal TODO callout ---------- */
.legal-todo {
  background: #fdf3e0; border: 1.5px solid #e8c789; border-radius: var(--radius-md);
  padding: 20px 24px; margin: 18px 0 32px;
}
.legal-todo strong { display: block; margin-bottom: 8px; color: #7a4d0a; }
.legal-todo ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.legal-todo li { color: var(--ink-700); margin-bottom: 4px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--cream-100); padding: 160px 0 70px; }
.legal-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.legal-body { padding: 70px 0 100px; background: #fff; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: var(--ink-700); line-height: 1.7; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal-body a { color: var(--teal-500); font-weight: 700; }
.back-home { display:inline-flex; align-items:center; gap:8px; font-weight:700; color: var(--teal-500); margin-bottom: 30px; }

/* ---------- Responsive ---------- */
/* Header switches to the compact hamburger earlier than the content breakpoint below:
   full nav + phone pill + CTA + larger wordmark need more room than the 1240px container
   guarantees once the viewport itself drops under ~1180px (e.g. iPad landscape). */
@media (max-width: 1180px) {
  nav.main-nav, .header-actions .phone-chip, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .brand { font-size: 1.4rem; }
}
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }
  .services-grid, .listings-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row, .segmented { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .services-grid, .listings-grid, .why-grid, .footer-grid, .form-row, .reviews-grid { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr 1fr; }
  .segmented label { font-size: 0.78rem; padding: 10px 6px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 26px 12px; }
  .stat-item strong { font-size: 1.5rem; }

  .header-actions { gap: 10px; }
  .brand { font-size: 1.14rem; }

  /* buttons: shrink rather than let long labels wrap mid-word or overflow their pill */
  .btn { font-size: 0.9rem; padding: 14px 20px; gap: 8px; }
  .btn svg { width: 16px; height: 16px; flex-shrink: 0; }

  .hero { padding-top: 96px; }
  .eyebrow { align-items: flex-start; }
  .eyebrow::before { margin-top: 6px; flex-shrink: 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-photo-card img { height: 260px; }
  .floating-badge { padding: 12px 14px; gap: 10px; max-width: calc(100vw - 56px); }
  .floating-badge .badge-icon { width: 36px; height: 36px; }
  .floating-badge strong { font-size: 0.88rem; }
  .floating-badge span { font-size: 0.72rem; }
  .floating-badge.badge-1 { top: -16px; left: -10px; }
  .floating-badge.badge-2 { bottom: -16px; right: -10px; }
  .about-visual .frame img { height: 300px; }
  .about-ring { display: none; }
  .cta-banner { padding: 32px 22px; }
  .cta-features { flex-direction: column; align-items: flex-start; }
  .contact-form-card { padding: 26px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-hero { padding: 130px 0 44px; }

  /* cookie banner: stacked buttons instead of two cramped flex:1 pills */
  .cookie-banner { left: 12px; right: 12px; padding: 22px 20px; }
  .cookie-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.02rem; }
  .btn { font-size: 0.86rem; padding: 13px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary.pulse::after,
  .scroll-cue .dot,
  .about-ring,
  .hero::before,
  .hero::after,
  .floating-badge {
    animation: none !important;
  }
  .reveal {
    transition-duration: .01ms !important;
  }
  * {
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
