/* =====================================================
   Smart Immo Concept GmbH — Design System v2
   Primär: Navy #2b3258 · Gold #a38950
   Neutral: #ffffff #fdfdfd #e9ecef #a7a7a7 #4a4a4a
   Signatur: Vermessungs-/Blueprint-Eckmarken (passend zu
   Aufmaß · Grundriss · Drohnenvermessung)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Hauptfarben */
  --navy: #2b3258;
  --navy-2: #1e2340;   /* abgeleitet, dunkler für Verläufe/Hover */
  --gold: #a38950;
  --gold-2: #c2a875;   /* abgeleitet, heller für Hover auf dunklem Grund */

  /* Nebenfarben */
  --white: #ffffff;
  --off-white: #fdfdfd;
  --gray-100: #e9ecef;
  --gray-400: #a7a7a7;
  --gray-700: #4a4a4a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --shadow: 0 4px 24px rgba(43, 50, 88, 0.10);
  --shadow-lg: 0 16px 48px rgba(43, 50, 88, 0.16);
  --radius: 2px;
  --ease: cubic-bezier(.4,0,.2,1);
  --container: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.6rem, 4.4vw + 1rem, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem); }
@media (max-width: 480px) { h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); } }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; color: var(--navy); }
p.lead { font-size: 1.15rem; color: var(--gray-700); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
@media (max-width: 780px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
}

/* --- Eyebrow / mono label --- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.on-dark { color: var(--gold-2); }

.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p.lead { margin-top: 14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 16px 30px; border-radius: var(--radius);
  transition: all .25s var(--ease); white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,.65); background: rgba(20,24,46,.4); backdrop-filter: blur(3px); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.btn-outline.on-dark:hover { background: var(--white); color: var(--navy); text-shadow: none; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 0.92rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link-more:hover { border-color: var(--gold); color: var(--gold); }

/* --- Blueprint corner marks (signature element) --- */
.frame { position: relative; }
.corner { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2; }
.corner::before, .corner::after { content: ''; position: absolute; background: var(--gold); }
.corner::before { width: 100%; height: 2px; }
.corner::after { width: 2px; height: 100%; }
.corner.tl { top: -1px; left: -1px; } .corner.tl::before,.corner.tl::after{top:0;left:0;}
.corner.tr { top: -1px; right: -1px; } .corner.tr::before{top:0;right:0;} .corner.tr::after{top:0;right:0;}
.corner.bl { bottom: -1px; left: -1px; } .corner.bl::before{bottom:0;left:0;} .corner.bl::after{bottom:0;left:0;}
.corner.br { bottom: -1px; right: -1px; } .corner.br::before{bottom:0;right:0;} .corner.br::after{bottom:0;right:0;}

/* dimension tick divider */
.dim-divider {
  height: 1px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--gray-400) 0 1px, transparent 1px 14px);
  opacity: .55; margin: 0;
}

/* =============== NAV =============== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,253,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.navbar-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; }
.navbar-logo { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 16px; font-size: 0.94rem; font-weight: 500; color: var(--navy);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-item.open .nav-link::after { transform: scaleX(1); }
.chevron { font-size: .65rem; color: var(--gold); transition: transform .2s; }
.nav-item.open .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s var(--ease);
}
.nav-item:hover .dropdown-menu, .nav-item.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 11px 14px; font-size: 0.9rem; color: var(--gray-700); border-radius: 2px; }
.dropdown-item:hover { background: var(--off-white); color: var(--navy); padding-left: 18px; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { height: 2px; background: var(--navy); transition: all .25s var(--ease); }

@media (max-width: 980px) {
  /* Ein Element mit backdrop-filter wird zum Bezugsrahmen für position:fixed.
     Das Aufklappmenü würde sich sonst an der 73px hohen Leiste ausrichten
     statt am Bildschirm und bliebe zusammengeklappt. Auf dem Desktop bleibt
     der Weichzeichner erhalten, dort gibt es kein Aufklappmenü. */
  .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--off-white); }
  .navbar-inner { height: 72px; }
  .navbar-logo { height: 36px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--off-white); flex-direction: column; align-items: stretch;
    padding: 12px 20px 40px; overflow-y: auto; gap: 0;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-item { border-bottom: 1px solid var(--gray-100); }
  .nav-link { padding: 16px 4px; justify-content: space-between; }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding: 0 0 8px 12px; }
  .nav-item.open .dropdown-menu { display: block; }
  .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); }
}

/* =============== HERO =============== */
.hero { position: relative; padding: 64px 0 0; }
.hero-media {
  position: relative; margin: 0 32px; overflow: hidden; border-radius: var(--radius);
  min-height: 640px; display: flex; align-items: flex-end;
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(24,28,52,.96) 0%, rgba(24,28,52,.92) 50%, rgba(30,35,64,.72) 78%, rgba(30,35,64,.5) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 72px 56px; max-width: 680px; color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(194,168,117,.4); padding: 8px 16px; margin-bottom: 26px;
}
.hero-content h1 { color: var(--white); margin-bottom: 22px; hyphens: none; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-content h1 em { font-style: normal; color: var(--gold-2); text-shadow: 0 2px 20px rgba(0,0,0,.65); }
.hero-content .lead { color: rgba(255,255,255,.94); max-width: 520px; margin-bottom: 36px; text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.8); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-400); }
.hero-scroll .arrow { width: 1px; height: 26px; background: var(--gray-400); position: relative; overflow: hidden; }
.hero-scroll .arrow::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--gold); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { to { top: 100%; } }

@media (max-width: 780px) {
  .hero { padding-top: 32px; }
  .hero-media { margin: 0 16px; min-height: 560px; align-items: flex-end; }
  .hero-content { padding: 40px 28px; }
  .hero-stats { gap: 24px 30px; }
}

/* =============== SERVICES =============== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-100); }
.service-card { background: var(--white); padding: 48px 40px; position: relative; transition: background .25s; }
.service-card::before, .service-card::after { content:''; position:absolute; width:18px; height:18px; opacity:0; transition: opacity .25s; }
.service-card::before { top:14px; left:14px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.service-card::after { bottom:14px; right:14px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-icon { width: 52px; height: 52px; display:flex; align-items:center; justify-content:center; margin-bottom: 26px; border: 1.5px solid var(--gray-100); }
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.service-card p { color: var(--gray-700); margin-bottom: 22px; font-size: .96rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* =============== STATS BAND =============== */
.stats-band { background: var(--navy); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 12px 20px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-item:first-child { border-left: none; }
.stat-number { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.5rem); color: var(--white); white-space: nowrap; }
.stat-label { font-size: .74rem; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .stat-item:nth-child(3) { border-left:none; } }

/* =============== ABOUT =============== */
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center; }
.about-banner { margin-bottom: 64px; }
.about-banner img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: contrast(1.03); }
.about-below { align-items: start; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--navy); }
.about-feature::before { content: ''; width: 6px; height: 6px; background: var(--gold); flex-shrink: 0; }
.about-text p { margin-bottom: 16px; }
.about-quote-tag {
  position: absolute; left: 32px; bottom: -30px; z-index: 3; background: var(--gold); color: var(--white);
  padding: 22px 30px; max-width: 480px; font-family: var(--font-display); font-size: 1.15rem;
  line-height: 1.4; box-shadow: var(--shadow-lg);
}
@media (max-width: 980px) {
  .about-below { grid-template-columns: 1fr; gap: 40px; }
  .about-quote-tag { position: static; margin-top: 20px; max-width: none; }
  .about-banner { margin-bottom: 40px; }
}
@media (max-width: 560px) { .about-features { grid-template-columns: 1fr; } }

/* =============== PROCESS =============== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { position: relative; padding: 0 24px 0 0; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: 56px; right: -24px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gray-400) 0 1px, transparent 1px 10px); opacity: .5;
}
.step-number { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem; color: var(--gold); width: 44px; height: 44px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; background: var(--off-white); position: relative; z-index: 1; }
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: .92rem; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* =============== REGIONAL EXPERTISE =============== */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.region-card { background: var(--white); border: 1px solid var(--gray-100); padding: 36px 32px; display: flex; flex-direction: column; }
.region-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.region-card p { font-size: .92rem; color: var(--gray-700); flex-grow: 1; margin-bottom: 22px; }
.region-tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
@media (max-width: 900px) { .region-grid { grid-template-columns: 1fr; } }

/* =============== FAQ =============== */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--navy); cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after { content:''; position:absolute; background: var(--gold); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-item .faq-answer { padding: 0 4px 26px; max-width: 700px; color: var(--gray-700); font-size: .96rem; }

/* =============== CTA BANNER =============== */
.cta-banner { background: var(--navy); position: relative; overflow: hidden; padding: 96px 0; text-align: center; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, var(--gold) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 40px);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.72); font-size: 1.08rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============== FOOTER =============== */
.footer { background: var(--navy-2); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { height: 40px; margin-bottom: 18px; background: var(--white); padding: 8px 14px; border-radius: 3px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.55); }
.footer-col h4 { color: var(--white); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: .9rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-contact li { color: rgba(255,255,255,.65); line-height: 1.6; }
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.32); padding: 24px 0; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--gold-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* --- Reveal on scroll (progressive enhancement) --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =============== TOOL / RECHNER PAGES =============== */
.tool-hero { position: relative; background: var(--navy); padding: 52px 0 64px; overflow: hidden; }
.tool-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, var(--gold) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 36px);
}
.tool-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--gold-2); }
.tool-hero h1 { color: var(--white); max-width: 720px; }
.tool-hero .lead { color: rgba(255,255,255,.75); max-width: 620px; margin-top: 16px; }
/* Terminbuchung direkt im Seitenkopf der Beraterseiten */
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.hero-cta-tel { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono);
  font-size: .92rem; color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(194,168,117,.45); padding-bottom: 3px; }
.hero-cta-tel::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); flex-shrink: 0; }
.hero-cta-tel:hover { color: var(--white); border-bottom-color: var(--gold-2); }
@media (max-width: 560px) {
  .hero-cta { gap: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
.tool-hero-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(194,168,117,.4); padding: 7px 14px; margin-bottom: 22px; }

.widget-section { padding: 0 0 96px; margin-top: -34px; position: relative; }
.widget-frame { background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); padding: 6px; }
.widget-frame iframe { display: block; width: 100%; border: none; }

.tool-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 8px; }
.tool-info-grid h3 { font-size: 1.1rem; margin-bottom: 14px; }
.tool-info-grid ul { margin-top: 4px; }
.tool-info-grid li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: .95rem; }
.tool-info-grid li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--gold); }
@media (max-width: 860px) { .tool-info-grid { grid-template-columns: 1fr; gap: 36px; } }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { background: var(--white); border: 1px solid var(--gray-100); padding: 32px 28px; position: relative; transition: border-color .2s; }
.tool-card:hover { border-color: var(--gold); }
.tool-card::before, .tool-card::after { content:''; position:absolute; width:16px; height:16px; opacity:0; transition: opacity .25s; }
.tool-card::before { top:12px; left:12px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.tool-card::after { bottom:12px; right:12px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }
.tool-card:hover::before, .tool-card:hover::after { opacity: 1; }
.tool-card .tool-icon { width: 44px; height: 44px; display:flex; align-items:center; justify-content:center; border: 1.5px solid var(--gray-100); margin-bottom: 20px; }
.tool-card .tool-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.tool-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.tool-card p { font-size: .9rem; color: var(--gray-700); margin-bottom: 18px; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tool-grid { grid-template-columns: 1fr; } }

/* =============== CONTENT PAGES: shared bits =============== */
.quote-box { background: var(--navy); color: var(--white); padding: 48px 40px; position: relative; }
.quote-box::before, .quote-box::after { content:''; position:absolute; width:22px; height:22px; }
.quote-box::before { top:14px; left:14px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.quote-box::after { bottom:14px; right:14px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }
.quote-box p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--white); }
.grid-2 .lead { margin-bottom: 14px; }
.grid-2 > div > p:not(.lead) { margin-bottom: 16px; }

.feature-row-list { display: flex; flex-direction: column; gap: 22px; }
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row-icon { flex-shrink: 0; width: 40px; height: 40px; border: 1.5px solid var(--gray-100); display: flex; align-items: center; justify-content: center; }
.feature-row-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.feature-row h4 { font-size: .98rem; margin-bottom: 5px; }
.feature-row p { font-size: .9rem; color: var(--gray-700); margin: 0; }

.check-list { margin-top: 12px; }
.check-list li { position: relative; padding: 5px 0 5px 22px; font-size: .9rem; color: var(--gray-700); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 9px; height: 5px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

.trust-strip { background: var(--off-white); border: 1px solid var(--gray-100); padding: 44px; text-align: center; }
.trust-strip h3 { margin-bottom: 12px; }
.trust-strip p { max-width: 600px; margin: 0 auto 22px; color: var(--gray-700); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; margin-bottom: 56px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item-icon { flex-shrink: 0; width: 42px; height: 42px; border: 1.5px solid var(--gray-100); display: flex; align-items: center; justify-content: center; }
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-item-text strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); font-weight: 600; margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { color: var(--navy); font-weight: 500; }
.hours-table { border-collapse: collapse; margin-top: 2px; }
.hours-table td { padding: 2px 0; font-size: .9rem; color: var(--navy); }
.hours-table td:first-child { padding-right: 18px; color: var(--gray-700); font-weight: 400; }
.booking-note { margin-top: 32px; padding: 22px; background: var(--off-white); border: 1px solid var(--gray-100); }
.booking-note p:first-child { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .92rem; }
.booking-note p:last-of-type { color: var(--gray-700); font-size: .85rem; margin-bottom: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: .95rem; color: var(--navy);
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray-400); text-align: center; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400 !important; }
.form-checkbox input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-checkbox span { font-size: .84rem; color: var(--gray-700); }
.form-checkbox a { color: var(--gold); }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } .form-row { grid-template-columns: 1fr; } }

.embed-card { background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); overflow: hidden; }
.embed-card iframe { display: block; width: 100%; border: none; }
.map-wrapper { margin-top: 56px; }
.map-wrapper iframe { width: 100%; height: 420px; border: none; filter: grayscale(.2) contrast(1.05); }

/* Team overview */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-grid.founders { grid-template-columns: 1fr 1fr; max-width: 1080px; margin: 0 auto; }
.team-grid.founders .team-card.founder-card { grid-template-columns: 170px 1fr; }
@media (max-width: 1040px) { .team-grid.founders { grid-template-columns: 1fr; max-width: 480px; } .team-grid.founders .team-card.founder-card { grid-template-columns: 220px 1fr; } }
.team-card { background: var(--white); border: 1px solid var(--gray-100); text-align: center; padding: 0 0 34px; }
.team-card.founder-card { display: grid; grid-template-columns: 220px 1fr; text-align: left; padding: 0; }
.team-photo { aspect-ratio: 3/4; overflow: hidden; }
.team-card.founder-card .team-photo { width: 100%; height: 100%; aspect-ratio: auto; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.1); }
.team-info { padding: 26px 24px 0; }
.team-card.founder-card .team-info { padding: 32px 40px 32px 32px; }
.team-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.team-info p { font-size: .9rem; color: var(--gray-700); margin-bottom: 16px; }
.team-links { display: flex; gap: 16px; justify-content: center; }
.team-card.founder-card .team-links { justify-content: flex-start; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } .team-card.founder-card { grid-template-columns: 1fr; } .team-card.founder-card .team-photo { aspect-ratio: 4/3; } }

/* Team detail (bio) page */
.bio-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.bio-hero .frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.bio-hero h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.05rem; }
.bio-hero p { margin-bottom: 16px; }
.qual-list { display: flex; flex-direction: column; gap: 16px; }
.qual-card { padding: 20px 22px; background: var(--white); border: 1px solid var(--gray-100); border-left: 3px solid var(--gold); }
.qual-card h4 { font-size: .95rem; margin-bottom: 5px; }
.qual-card p { font-size: .86rem; color: var(--gray-700); margin: 0; }
.contact-card { background: var(--white); border: 1px solid var(--gray-100); padding: 36px; }
.contact-card > div { margin-bottom: 20px; }
.contact-card > div:last-child { margin-bottom: 0; }
.contact-card .label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 6px; }
.contact-card a, .contact-card span { color: var(--navy); font-weight: 500; }
@media (max-width: 900px) { .bio-hero { grid-template-columns: 1fr; gap: 40px; } }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: auto 0 0 0; padding: 14px 16px; background: linear-gradient(to top, rgba(30,35,64,.85), transparent); }
.gallery-overlay p { color: var(--white); font-size: .8rem; font-weight: 600; margin: 0; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Legal / Impressum */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 44px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2#datenschutz { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--gray-100); }
.legal-content p { margin-bottom: 14px; font-size: .95rem; }
.legal-content ul { margin: 8px 0 16px 22px; }
.legal-content li { font-size: .95rem; margin-bottom: 8px; list-style: disc; color: var(--gray-700); }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { font-size: .82rem; color: var(--gray-400); margin-top: 40px; }

/* =============== PARTNER LOGO MARQUEE =============== */
.partner-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
.partner-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: partnerScroll 34s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-track img { height: 42px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .25s; }
.partner-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes partnerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }
@media (max-width: 640px) { .partner-track img { height: 34px; } .partner-track { gap: 44px; } }

/* =============== BEFORE / AFTER COMPARE SLIDER =============== */
.compare-slider {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  cursor: ew-resize; touch-action: pan-y; user-select: none; background: var(--navy);
  --pos: 50%;
}
.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); transform: translateX(-50%);
  width: 3px; background: var(--gold); pointer-events: none;
}
.compare-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.compare-handle::after {
  content: '\2194'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  color: var(--navy); font-size: 20px; font-weight: 700;
}
.compare-label {
  position: absolute; bottom: 18px; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  background: rgba(30,35,64,.7); padding: 8px 14px; pointer-events: none;
}
.compare-label-left { left: 18px; }
.compare-label-right { right: 18px; }
@media (max-width: 640px) { .compare-slider { aspect-ratio: 4/5; } }

/* =============== SCALE BAR (footer signature) =============== */
.scale-bar-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.scale-bar { display: flex; height: 8px; width: 220px; border: 1px solid rgba(255,255,255,.35); }
.scale-bar span { flex: 1; }
.scale-bar span:nth-child(odd) { background: var(--gold-2); }
.scale-bar span:nth-child(even) { background: transparent; }
.scale-bar-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
@media (max-width: 560px) { .scale-bar { width: 160px; } }

/* =============== SCROLL PROGRESS (dimension line) =============== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: repeating-linear-gradient(90deg, var(--gray-100) 0 1px, transparent 1px 10px);
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%; width: 0%; background: var(--gold); transform-origin: left;
  transition: width .08s linear; position: relative;
}
.scroll-progress-fill::after {
  content: ''; position: absolute; right: -1px; top: -3px; width: 2px; height: 9px; background: var(--gold);
}
@media (prefers-reduced-motion: reduce) { .scroll-progress-fill { transition: none; } }

/* =============== HIDDEN DETAIL: drafting tools (easter egg) =============== */
.footer { position: relative; overflow: hidden; }
.footer-easter-egg {
  position: absolute; right: -6px; bottom: -8px; width: 132px; height: 132px;
  opacity: .16; pointer-events: none; transform: rotate(-4deg);
}
.footer-easter-egg svg { width: 100%; height: 100%; stroke: var(--gold-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .footer-easter-egg { width: 96px; height: 96px; } }
