/* =====================================================================
   Hausverwaltung Janßen – Wohnen auf Zeit in Dortmund
   Modern responsive stylesheet
   ===================================================================== */

:root {
  /* Brand palette (derived from the Janßen logo) */
  --red: #d31d24;
  --red-dark: #a8151b;
  --ink: #1b1b1d;
  --ink-soft: #3a3a3e;
  --muted: #6b6b73;
  --line: #e7e7e4;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-dark: #16161a;
  --white: #ffffff;
  --gold: #c9a24b;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 20, 25, 0.06);
  --shadow: 0 14px 40px rgba(20, 20, 25, 0.10);
  --shadow-lg: 0 26px 70px rgba(20, 20, 25, 0.16);

  --container: 1180px;
  --header-h: 76px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Poppins", "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

/* ---------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #ececf0; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: #b9b9c2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.section-title { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-lead { font-size: 1.08rem; color: var(--muted); }

/* ---------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(211, 29, 36, 0.28); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(211, 29, 36, 0.36); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--on-dark { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn--on-dark:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------------------------- Header -------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1rem; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }

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

/* Language toggle */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(211, 29, 36, 0.10), transparent 60%),
    radial-gradient(760px 480px at 8% 120%, rgba(201, 162, 75, 0.10), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-badge b { color: var(--red); font-weight: 700; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #29b473; box-shadow: 0 0 0 4px rgba(41,180,115,0.18); }

.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 33ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.hero-stats .stat span { font-size: 0.9rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(140deg, #2a2a30, #4a3a3c 55%, #7a2b2e);
}
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.55), transparent 45%),
    radial-gradient(600px 300px at 70% 20%, rgba(255,255,255,0.10), transparent);
}
.hero-card .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.92;
}
.hero-card-body {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  color: #fff;
}
.hero-card-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.hero-card-body p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.92rem; }

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}
.hero-float .ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(211,29,36,0.1); color: var(--red);
}
.hero-float small { display: block; color: var(--muted); font-size: 0.76rem; }
.hero-float b { font-family: var(--display); }
.hero-float.top { top: 26px; left: -26px; }
.hero-float.bottom { bottom: 90px; right: -22px; }

/* --------------------------- Trust bar ------------------------------ */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .container {
  display: flex; flex-wrap: wrap; gap: 18px 34px;
  justify-content: space-between; align-items: center;
  padding-block: 22px;
}
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--red); flex: none; }

/* --------------------------- Feature grid --------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(211,29,36,0.12), rgba(211,29,36,0.04));
  color: var(--red);
  margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.98rem; margin: 0; }

/* --------------------------- Apartments ----------------------------- */
.apts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.apt-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.apt-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.apt-media {
  height: 210px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.apt-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35)); }
.apt-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 999px;
}
.apt-district {
  position: absolute; bottom: 12px; left: 14px; z-index: 2;
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; gap: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.apt-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.apt-body h3 { font-size: 1.22rem; margin-bottom: 4px; }
.apt-addr { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.apt-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.spec svg { width: 15px; height: 15px; color: var(--red); }
.apt-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apt-foot .from { font-size: 0.86rem; color: var(--muted); }
.apt-foot .from b { font-family: var(--display); color: var(--ink); font-size: 1.05rem; }

/* ------------------------ ImmoScout widget -------------------------- */
.scout {
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.scout-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.scout-brand { display: flex; align-items: center; gap: 12px; }
.scout-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: var(--ink);
}
.scout-logo .is24 {
  background: #f60; color: #fff; font-weight: 800;
  padding: 3px 9px; border-radius: 7px; font-size: 0.82rem; letter-spacing: 0.02em;
}
.scout-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--muted); }
.scout-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #29b473; box-shadow: 0 0 0 4px rgba(41,180,115,0.18); }
.scout-body { position: relative; min-height: 240px; }
.scout-frame { width: 100%; border: 0; display: block; }
.scout-fallback { padding: 30px 26px; }
.scout-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 26px; background: var(--bg-soft); font-size: 0.86rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.scout-note svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 2px; }
.scout-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.scout-item {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.scout-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.scout-item .thumb { height: 128px; background-size: cover; background-position: center; }
.scout-item .info { padding: 14px 15px; }
.scout-item .info h4 { font-size: 1rem; margin: 0 0 4px; }
.scout-item .info .meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.scout-item .info .price { margin-top: 8px; font-family: var(--display); font-weight: 700; color: var(--red); }

/* Tabs */
.scout-tabs { display: inline-flex; gap: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.scout-tab {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent; color: var(--muted);
  font-family: var(--display); font-weight: 600; font-size: 0.84rem;
  padding: 8px 16px; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.scout-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: #29b473; box-shadow: 0 0 0 4px rgba(41,180,115,0.18); }
.scout-tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Consent (Zwei-Klick-Lösung) */
.scout-consent { padding: 40px 26px; display: grid; place-items: center; }
.scout-consent-card {
  max-width: 460px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px; box-shadow: var(--shadow-sm);
}
.scout-consent-ico {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: rgba(255,102,0,0.12); color: #f60;
}
.scout-consent-ico svg { width: 28px; height: 28px; }
.scout-consent-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.scout-consent-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.scout-remember { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; cursor: pointer; }
.scout-remember input { width: 18px; height: 18px; accent-color: var(--red); }
.scout-consent-card .btn { width: 100%; }
.scout-consent-alt { display: inline-block; margin-top: 16px; font-size: 0.86rem; color: var(--red); font-weight: 600; }
.scout-consent-alt:hover { text-decoration: underline; }

/* Live embed */
.scout-live-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.scout-newtab { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--red); }
.scout-newtab:hover { text-decoration: underline; }
.scout-embed { position: relative; }
.scout-frame { width: 100%; height: 760px; border: 0; display: block; background: #fff; }
.scout-shimmer {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 30px; text-align: center;
  background: repeating-linear-gradient(135deg, #fafafa, #fafafa 12px, #f2f2ef 12px, #f2f2ef 24px);
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
}
.scout-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(211,29,36,0.18); border-top-color: var(--red);
  animation: scout-spin 0.8s linear infinite;
}
@keyframes scout-spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .scout-frame { height: 560px; } }

/* --------------------------- Locations ------------------------------ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.loc-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background:#fff; }
.loc-map img { width: 100%; }
.loc-list { display: flex; flex-direction: column; gap: 16px; }
.loc-item {
  display: flex; gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.loc-item:hover { border-color: rgba(211,29,36,0.4); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.loc-num {
  flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  background: rgba(211,29,36,0.1); color: var(--red);
}
.loc-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.loc-item p { margin: 0; font-size: 0.94rem; }

/* ---------------------------- About --------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 5/6;
  background: linear-gradient(160deg, #202024, #3a2a2c 60%, #6f2528);
  position: relative;
}
.about-visual .frame .photo { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.9; }
.about-quote {
  position: absolute; right: -18px; bottom: 26px;
  background: #fff; border-radius: 16px; padding: 18px 20px;
  box-shadow: var(--shadow); max-width: 240px;
}
.about-quote p { font-size: 0.92rem; font-style: italic; margin: 0 0 8px; color: var(--ink); }
.about-quote span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 30px; }
.about-point { display: flex; gap: 13px; align-items: flex-start; }
.about-point .chk {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(41,180,115,0.14); color: #1a9c5e;
  display: grid; place-items: center; margin-top: 2px;
}
.about-point .chk svg { width: 15px; height: 15px; }
.about-point b { font-family: var(--display); }
.about-point p { margin: 2px 0 0; font-size: 0.95rem; }

/* --------------------------- Steps ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
}
.step .n {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red); color: #fff; margin-bottom: 16px;
}
.step h3 { color: #fff; font-size: 1.12rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.93rem; color: #b9b9c2; }

/* --------------------------- Contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(211,29,36,0.1); color: var(--red); }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card a, .contact-card p { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 2px 0 0; font-size: 1.02rem; display: block; word-break: break-word; }
.contact-persons { display: flex; gap: 10px; margin-top: 4px; }
.person-chip { display:flex; align-items:center; gap:8px; background: var(--bg-soft); border:1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; }
.person-chip .av { width: 24px; height: 24px; border-radius: 50%; background: var(--red); color:#fff; display:grid; place-items:center; font-size:0.72rem; font-weight:700; font-family: var(--display); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 0.98rem; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(211,29,36,0.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin-bottom: 4px; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.form-note { text-align:center; font-size: 0.84rem; margin-top: 14px; }
.form-note.ok { color: #1a9c5e; font-weight: 600; }

/* ----------------------------- CTA ---------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(130deg, var(--red), #8e1418);
  border-radius: 26px; padding: clamp(38px, 6vw, 64px);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-inner::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-inner h2 { color:#fff; font-size: clamp(1.7rem, 4vw, 2.6rem); position:relative; }
.cta-inner p { color: rgba(255,255,255,0.9); max-width: 55ch; margin: 0 auto 26px; position:relative; }
.cta-inner .hero-cta { justify-content:center; margin:0; position:relative; }

/* ---------------------------- Footer -------------------------------- */
.footer { background: var(--bg-dark); color: #b9b9c2; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: #8a8a94; }
.footer p { color: #9a9aa4; font-size: 0.92rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #b9b9c2; font-size: 0.94rem; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer .brand img { height: 40px; background:#fff; padding:6px 8px; border-radius: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: 0.86rem; color: #8a8a94;
}
.footer-bottom a { color: #b9b9c2; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------- Legal pages ---------------------------- */
.legal { padding-top: calc(var(--header-h) + 60px); padding-bottom: 80px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }
.legal a { color: var(--red); text-decoration: underline; }
.back-link { display:inline-flex; align-items:center; gap:8px; color: var(--muted); font-weight:600; margin-bottom: 20px; }
.back-link:hover { color: var(--red); }

/* --------------------------- Utilities ------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

.no-scroll { overflow: hidden; }

/* --------------------------- Responsive ----------------------------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-float.top { left: 6px; }
  .hero-float.bottom { right: 6px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav, .header .header-actions .desktop-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 22px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1.02rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-lead { max-width: none; }
  .about-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; }
  .about-quote { right: 10px; }
  .apts { grid-template-columns: 1fr; }
  .loc-map { order: -1; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 30px; }
  .hero-float { display: none; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
