/* =========================================================
   Kreativ Immobilien GmbH – Landingpage
   Schriften selbst gehostet (kein Google-Fonts-Abruf)
   ========================================================= */

/* ---------- Schriften ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- Variablen ---------- */
:root {
  --accent: #0F5C66;
  --accent-dark: #0A3F46;
  --accent-soft: rgba(15, 92, 102, 0.09);
  --ink: #16201F;
  --muted: #4A5553;
  --ground: #F6F5F1;
  --surface: #FFFFFF;
  --line: #E4E2DB;
  --line-strong: #CFCCC2;
  --on-dark: #C9D1CF;
  --on-dark-accent: #9FD3D9;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --radius: 20px;
  --wrap: 1200px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 12px 16px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; font-size: 17px; text-decoration: none;
}
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; gap: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand__sub { font-size: 13px; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; }
.main-nav a:not(.btn):hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero__image { position: relative; height: clamp(360px, 52vw, 680px); overflow: hidden; background: #DCE5E3; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.photo-credit {
  position: absolute; right: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22, 32, 31, 0.78); color: #FFFFFF; text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 999px;
}
.photo-credit:hover { background: rgba(22, 32, 31, 0.92); color: #FFFFFF; }
.hero .wrap { padding-bottom: 88px; position: relative; }
.hero__card {
  margin-top: -140px; position: relative;
  max-width: 720px; background: var(--surface); border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 1px 2px rgba(22, 32, 31, 0.06), 0 12px 40px rgba(22, 32, 31, 0.10);
}
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Ansprechpartnerin ---------- */
.contact-strip { background: var(--surface); border-block: 1px solid var(--line); }
.contact-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px; padding-block: 28px;
}
.person { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: var(--accent); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
}
/* Mit Foto: <img class="avatar" src="img/jaqueline-kramm.webp" alt="Jaqueline Kramm"> */
img.avatar { object-fit: cover; }
.person__text { display: flex; flex-direction: column; gap: 2px; }
.eyebrow-small { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.person__name { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.facts div { display: flex; flex-direction: column; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--ink); }

/* ---------- Abschnitts-Köpfe ---------- */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.section-head p:not(.eyebrow) { font-size: 1.1rem; line-height: 1.6; color: var(--muted); }

/* ---------- Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.card h3 { font-size: 22px; font-weight: 700; }
.card p { line-height: 1.6; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile--small { width: 44px; height: 44px; }

/* ---------- Ablauf ---------- */
.steps-section { background: var(--ink); color: #FFFFFF; }
.steps-section .eyebrow { color: var(--on-dark-accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); border: 1px solid #34403E; }
.steps__no { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--on-dark-accent); }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { line-height: 1.6; color: var(--on-dark); }

/* ---------- Kontakt ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid {
  font-style: normal; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; font-size: 17px; line-height: 1.55;
}
.contact-card {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.contact-card h3 { font-size: 19px; font-weight: 700; }
.contact-card .lines { display: flex; flex-direction: column; }
.route-link { font-weight: 600; font-size: 15px; padding: 10px 0; margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding-block: 40px; font-size: 15px;
}
.site-footer a { color: #FFFFFF; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { padding: 12px 0; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal address { font-style: normal; line-height: 1.7; margin-bottom: 12px; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
