@import url("fonts.css");

/* ============================================================
   IMMOKLINGEL — KI-Telefonassistent für Makler & Hausverwaltungen
   Farbwelt: Tiefes Navy, Messing, gebrochenes Weiß. Architektonisch.
   ============================================================ */

:root {
  --navy:       #0E1D33;
  --navy-deep:  #081425;
  --navy-soft:  #22354F;
  --ink:        #16243A;
  --ink-soft:   #3A4A63;
  --muted:      #5C6A80;
  --paper:      #FFFFFF;
  --shell:      #F6F5F2;
  --shell-deep: #EDEBE5;
  --line:       #DFDCD4;
  --line-dark:  rgba(255,255,255,.14);
  --brass:      #A9823F;
  --brass-lit:  #C79F55;
  --brass-tint: #F6F0E3;
  --slate:      #4E6280;

  --radius:     10px;
  --radius-lg:  16px;
  --maxw:       1160px;
  --gutter:     clamp(20px, 5vw, 52px);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(14,29,51,.05), 0 5px 16px rgba(14,29,51,.05);
  --shadow-md: 0 2px 8px rgba(14,29,51,.07), 0 22px 52px rgba(14,29,51,.11);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.032em; line-height: 1.12; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: #8A6828; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
.section--paper { background: var(--paper); }
.section--shell { background: var(--shell-deep); }
.section--deep { background: var(--navy); color: #D5DCE7; }

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase;
  color: #8A6828; margin-bottom: 18px;
}
.section--deep .eyebrow { color: var(--brass-lit); }
.eyebrow::after { content: ""; display: block; width: 34px; height: 2px; background: var(--brass); margin-top: 12px; }

.h2 { font-size: clamp(30px, 4.4vw, 46px); }
.lede { font-size: clamp(17px, 1.9vw, 19.5px); color: var(--muted); max-width: 62ch; margin-top: 20px; }
.section--deep .lede { color: #97A6BC; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,29,51,.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand svg { flex: none; }
.brand span { font-weight: 800; font-size: 20.5px; letter-spacing: -.035em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14.5px; font-weight: 600; color: #AEBACB; text-decoration: none; letter-spacing: -.005em; }
.nav a:not(.btn):hover { color: #fff; }
@media (max-width: 900px) { .nav .nav-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: -.005em;
  padding: 15px 26px; border-radius: 6px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brass); color: #14202F; box-shadow: 0 6px 20px rgba(169,130,63,.3); }
.btn--primary:hover { background: var(--brass-lit); color: #14202F; box-shadow: 0 10px 26px rgba(169,130,63,.38); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--sm { padding: 11px 19px; font-size: 14px; }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Hero (dunkel) ---------- */
.hero {
  background: var(--navy); color: #E4E9F0; position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(60px, 8vw, 100px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 50% at 84% 4%, rgba(199,159,85,.20), transparent 60%),
    radial-gradient(46% 44% at 2% 96%, rgba(78,98,128,.30), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 68px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(35px, 5.6vw, 60px); letter-spacing: -.04em; line-height: 1.08; color: #fff; }
.hero h1 mark { background: none; color: var(--brass-lit); }
.hero-lede { font-size: clamp(16.5px, 2vw, 19.5px); color: #A9B6C8; max-width: 47ch; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 14.3px; color: #9DACC1; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--brass-lit); flex: none; }

/* Anrufkarte */
.callcard {
  background: rgba(255,255,255,.055); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 25px; backdrop-filter: blur(3px);
}
.callcard-head { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); margin-bottom: 18px; }
.callcard-dot { width: 40px; height: 40px; border-radius: 8px; flex: none; background: rgba(199,159,85,.18); color: var(--brass-lit); display: grid; place-items: center; }
.callcard-head strong { font-size: 14.6px; display: block; color: #fff; font-weight: 700; }
.callcard-head small { font-size: 12.8px; color: #8496AC; }
.callcard-live { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--brass-lit); display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; text-transform: uppercase; }
.callcard-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-lit); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .callcard-live i { animation: none; } }

.bubble { font-size: 14.8px; line-height: 1.55; padding: 12px 16px; border-radius: 12px; margin-bottom: 10px; max-width: 90%; }
.bubble--them { background: rgba(255,255,255,.09); color: #C6D0DE; border-bottom-left-radius: 4px; }
.bubble--us { background: var(--brass); color: #14202F; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }

.callcard-verdict {
  margin-top: 17px; padding: 14px 16px; border-radius: 10px;
  background: rgba(199,159,85,.12); border: 1px solid rgba(199,159,85,.3);
  display: flex; gap: 12px; align-items: flex-start;
}
.callcard-verdict svg { color: var(--brass-lit); flex: none; margin-top: 2px; }
.callcard-verdict strong { display: block; font-size: 14.2px; color: var(--brass-lit); font-weight: 800; margin-bottom: 3px; }
.callcard-verdict p { font-size: 13.6px; color: #A9B6C8; margin: 0; line-height: 1.5; }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards--4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); padding: 30px 26px; }
.card-ico { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--brass-tint); color: #8A6828; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 9px; font-weight: 800; }
.card p { font-size: 15.2px; color: var(--muted); line-height: 1.6; }

/* ---------- Zielgruppen-Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; position: relative; }
.split-col::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brass); border-radius: var(--radius) var(--radius) 0 0; }
.split-col h3 { font-size: 22px; margin-bottom: 8px; }
.split-col > p { font-size: 15.4px; color: var(--muted); margin-bottom: 22px; }
.split-col ul { list-style: none; padding: 0; margin: 0; }
.split-col li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.3px; color: var(--ink-soft); }
.split-col li svg { flex: none; color: var(--brass); margin-top: 4px; }

/* ---------- ROI ---------- */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 68px); align-items: center; }
@media (max-width: 900px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-panel { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); }
.roi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.3px; }
.roi-row:last-of-type { border-bottom: 0; }
.roi-row span { color: #8FA0B6; }
.roi-row b { font-size: 20px; font-weight: 800; color: #fff; }
.roi-total { margin-top: 20px; padding-top: 22px; border-top: 2px solid rgba(199,159,85,.45); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.roi-total span { font-size: 15.3px; color: #E4E9F0; font-weight: 600; }
.roi-total b { font-size: clamp(32px, 5vw, 44px); font-weight: 800; color: var(--brass-lit); letter-spacing: -.035em; line-height: 1; }
.roi-fine { font-size: 13px; color: #8C9CB2; margin-top: 18px; line-height: 1.55; }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 50px; counter-reset: s; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 34px 30px 34px 0; border-right: 1px solid var(--line); padding-right: 30px; }
.step:last-child { border-right: 0; }
@media (max-width: 860px) { .step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } .step:last-child { border-bottom: 0; } }
@media (min-width: 861px) { .step + .step { padding-left: 30px; } }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; font-size: 34px; font-weight: 800; color: var(--brass);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; opacity: .85;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 15.2px; color: var(--muted); }

/* ---------- Nutzen ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 44px; margin-top: 40px; padding: 0; list-style: none; }
@media (max-width: 780px) { .benefits { grid-template-columns: 1fr; } }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.benefits svg { flex: none; color: var(--brass); margin-top: 3px; }
.benefits strong { display: block; font-size: 16.4px; font-weight: 700; margin-bottom: 3px; }
.benefits p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 920px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: var(--paper); }
.trust-item svg { color: var(--brass); margin-bottom: 13px; }
.trust-item strong { display: block; font-size: 15.8px; margin-bottom: 5px; font-weight: 700; }
.trust-item p { font-size: 14.4px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 23px 48px 23px 0; position: relative;
  font-size: 17.5px; font-weight: 700; color: var(--ink); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 2px;
  background: var(--brass); margin-top: -1px;
}
.faq summary::before {
  content: ""; position: absolute; right: 11px; top: 50%; width: 2px; height: 11px;
  background: var(--brass); margin-top: -5.5px; transition: transform .22s ease, opacity .22s ease;
}
.faq details[open] summary::before { transform: scaleY(0); opacity: 0; }
.faq summary:hover { color: #8A6828; }
.faq-body { padding: 0 46px 24px 0; font-size: 15.6px; color: var(--muted); }

/* ---------- Formular ---------- */
.cta-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .cta-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.6px; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--shell); border: 1.5px solid var(--line); border-radius: 7px; padding: 13px 15px;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(169,130,63,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #9BA6B6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 4px 0 20px; }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--brass); }
.form-fine { font-size: 12.8px; color: var(--muted); margin-top: 15px; text-align: center; }

.cta-side h2 { font-size: clamp(28px, 4.2vw, 42px); }
.cta-side .lede { margin-bottom: 28px; }
.cta-list { list-style: none; padding: 0; margin: 0; }
.cta-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 15.5px; color: var(--ink-soft); }
.cta-list svg { flex: none; color: var(--brass); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #8E9CB1; padding-block: 56px 32px; font-size: 14.6px; }
.footer-top { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-blurb { max-width: 38ch; margin-top: 14px; color: #71809A; font-size: 14.4px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: #8E9CB1; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.4px; color: #5D6C84; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; padding-block: clamp(48px, 7vw, 86px); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.legal h2 { font-size: 23px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 700; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal .updated { color: var(--muted); font-size: 14.5px; }
.todo { background: var(--brass-tint); border: 1.5px dashed var(--brass); border-radius: 8px; padding: 15px 18px; font-size: 14.5px; color: #6E5420; margin: 22px 0; }
.todo strong { color: #4F3C13; }

/* ---------- Danke ---------- */
.thanks { min-height: 74vh; display: grid; place-items: center; text-align: center; padding-block: 70px; }
.thanks .inner { max-width: 520px; }
.thanks-ico { width: 66px; height: 66px; border-radius: 14px; background: var(--brass-tint); color: #8A6828; display: grid; place-items: center; margin: 0 auto 26px; }
.thanks h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Kopfzeile der Anrufkarte auf kleinen Displays umbrechen lassen */
@media (max-width: 520px) {
  .callcard-head, .phone-head { flex-wrap: wrap; }
  .callcard-head > div, .phone-head > div { min-width: 0; flex: 1 1 60%; }
  .callcard-live, .phone-live { margin-left: 0; flex-basis: 100%; }
}
