/* Ruhiges Makler-Layout: viel Weiß, große Wohnungsfotos, Akzentfarbe nur für Handlungen. */
/* Palette "Kobaltblau, Creme, Grau" mit Anthrazit für Text. Bewusst ein festes helles Farbschema in den Markenfarben. */
:root {
  --white: #FFFFFF;
  --paper: #FBF8F2;
  --surface: #F3EEE3;
  --grey: #CFCFCC;
  --ink: #222326;
  --muted: #5A5B5F;
  --primary: #26272A;
  --on-primary: #FFFFFF;
  --on-primary-soft: #CDD5F7;
  --accent: #1A3DDB;
  --action: #1A3DDB;
  --action-deep: #102BA6;
  --line: #E2DDD3;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--action); color: var(--white); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--white); }
h1, h2, h3 { font-family: var(--display); font-stretch: 104%; text-wrap: balance; margin: 0; line-height: 1.04; letter-spacing: -.025em; }
h1, h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
section { padding-block: 112px; }

/* Logo: "HI." mit Gebietszeile */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; line-height: 1; white-space: nowrap; }
.logo .mark { font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: 44px; letter-spacing: -.04em; color: var(--action); line-height: .8; }
.logo .rule { width: 1px; align-self: stretch; background: var(--grey); }
.logo .claim { display: grid; gap: 4px; font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.logo .claim b { font-weight: 700; }

/* Gebiet: Kicker und Hinweise */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); display: flex; gap: .7em; align-items: center; flex-wrap: wrap; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--action); }
.hero-seal { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); background: rgba(38, 39, 42, .9); color: var(--white); padding: 26px 30px 24px; display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1.5; }
.hero-seal::after { content: ""; width: 34px; height: 2px; background: var(--action); margin-top: 12px; }
.region { background: var(--primary); color: var(--white); padding-block: 0; }
.region-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 34px; }
.region-row > svg { width: 34px; height: 34px; color: #AFC0FF; }
.region h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.region h2 span { color: #AFC0FF; }
.region p { color: var(--on-primary-soft); font-size: 16px; margin-top: 4px; }
.places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.places li { border: 1px solid rgba(255, 255, 255, .28); padding: 7px 14px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--action); background: var(--action); color: var(--white); transition: background .25s, border-color .25s, color .25s; }
.btn:hover { background: var(--action-deep); border-color: var(--action-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Kopfzeile */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.site-head nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15.5px; }
.site-head nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.site-head nav a:hover { color: var(--ink); }
.head-tel { font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.head-tel svg { width: 16px; height: 16px; color: var(--action); }
.head-tel .short { display: none; }

/* Hero */
.hero { padding-block: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(800px, 86vh); }
.hero-text { padding: 88px 56px 72px max(20px, calc((100vw - 1200px) / 2 + 20px)); display: grid; align-content: center; gap: 30px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); font-weight: 800; line-height: 1; overflow-wrap: break-word; }
.hero h1 em { font-style: normal; color: var(--action); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.hero-facts b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.hero-photo { position: relative; min-height: 420px; background: var(--surface); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }

/* Ankauf */
.buy { background: var(--surface); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.buy-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.buy h2, .services h2, .process h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; }
.wanted { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.wanted li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 12px; align-items: center; }
.wanted li svg { width: 18px; height: 18px; color: var(--action); flex: none; }
.condition img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.condition figcaption { background: var(--white); padding: 18px 22px; display: grid; gap: 4px; }
.condition figcaption b { font-family: var(--display); font-stretch: 104%; font-weight: 750; font-size: 20px; }
.condition figcaption span { font-size: 15px; color: var(--muted); }

/* Leistungen */
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.service { padding: 30px 32px 8px 0; display: grid; gap: 14px; align-content: start; }
.service + .service { padding-left: 32px; border-left: 1px solid var(--line); }
.service svg { width: 32px; height: 32px; color: var(--action); }
.service h3 { font-size: 26px; font-weight: 750; }
.service p { color: var(--muted); }

/* Portfolio */
.portfolio { padding-top: 0; }
.portfolio-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.portfolio-head h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; margin-bottom: 10px; }
.more { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; padding-bottom: 4px; border-bottom: 1.5px solid var(--action); }
.more svg { width: 18px; height: 18px; color: var(--action); transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; margin-bottom: 56px; }
.feature figure { overflow: hidden; aspect-ratio: 4 / 3.6; background: var(--surface); }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature figure:hover img { transform: scale(1.03); }
.feature .object-body { grid-column: 1 / -1; }
.feature h3 { font-size: 22px; font-weight: 750; }
.feature p { font-size: 15.5px; color: var(--muted); }
.objects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.object { display: grid; gap: 18px; align-content: start; }
.object figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.object img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.object:hover img { transform: scale(1.04); }
.status { position: absolute; left: 16px; top: 16px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px 6px 26px; }
.status::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--action); }
.object-body { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink); }
.object h3 { font-size: 22px; font-weight: 750; }
.object p { font-size: 15.5px; color: var(--muted); }

/* Ablauf */
.process { background: var(--surface); }
.process h2 { margin-bottom: 56px; max-width: 18ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; padding-top: 22px; border-top: 3px solid var(--action); }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--action); }
.steps h3 { font-size: 22px; font-weight: 750; }
.steps p { font-size: 16px; color: var(--muted); }

/* Über */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; left: -28px; bottom: 36px; max-width: calc(100% - 8px); background: var(--primary); color: var(--white); padding: 20px 28px 20px 22px; display: flex; gap: 18px; align-items: center; box-shadow: 0 18px 40px rgba(26, 26, 26, .28); }
.badge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--action); }
.badge .medal { width: 40px; height: 47px; flex: none; color: #AFC0FF; }
.badge-text { display: grid; gap: 3px; min-width: 0; }
.badge-text small { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #AFC0FF; }
.badge b { font-family: var(--display); font-stretch: 104%; font-weight: 700; font-size: 20px; line-height: 1.15; }
.badge-text span { font-size: 14px; color: var(--on-primary-soft); }
.about-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.about h2 { font-size: clamp(40px, 5.2vw, 72px); font-weight: 800; }
.about-text p { max-width: 58ch; color: var(--muted); font-size: 18px; }
.creds { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.creds div { display: grid; gap: 2px; font-size: 15px; color: var(--muted); }
.creds b { color: var(--ink); font-weight: 600; font-size: 16px; }

/* Kontakt */
.contact { background: var(--action); color: var(--on-primary); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(38px, 5.2vw, 70px); font-weight: 800; }
.contact .lead { color: #E3E8FC; margin-top: 20px; }
.person { display: flex; gap: 18px; align-items: center; margin-top: 36px; }
.person img { width: 76px; height: 76px; object-fit: cover; object-position: 45% 30%; border-radius: 50%; }
.person b { display: block; font-size: 17px; }
.person span { font-size: 15px; color: #E3E8FC; }
.channels { display: grid; gap: 12px; }
.channel { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; background: var(--white); color: var(--ink); text-decoration: none; transition: background .25s; }
.channel:hover { background: var(--surface); }
.channel a { text-decoration: none; }
.channel > svg { width: 24px; height: 24px; color: var(--action); }
.channel .go { width: 20px; height: 20px; color: var(--ink); }
.channel small { display: block; font-size: 14px; color: var(--muted); }
.channel b { font-family: var(--display); font-stretch: 104%; font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; }
.copy-btn { appearance: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 7px 12px; }
.copy-btn:hover { border-color: var(--ink); }
.address { font-size: 15px; color: #E3E8FC; padding-top: 8px; }

/* Fuß */
.site-foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14.5px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-foot .logo .mark { font-size: 34px; }
.site-foot .logo .claim { font-size: 9.5px; }
.site-foot nav { display: flex; gap: 24px; }
.site-foot nav a { color: var(--ink); }

/* Rechtstexte */
.legal-page { padding-block: 72px 112px; }
.legal-page .inner { max-width: 820px; }
.legal-page h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; margin-bottom: 40px; }
.legal-page h2 { font-size: 23px; font-weight: 750; margin: 40px 0 10px; }
.legal-page p, .legal-page li { color: #3A3633; }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 1.2em; display: grid; gap: 4px; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; margin-bottom: 32px; font-weight: 500; }
.back:hover { color: var(--ink); }
.todo { background: #E6EBFD; color: var(--action-deep); padding: 0 .3em; font-weight: 600; }
.note { background: var(--surface); padding: 16px 20px; margin-bottom: 32px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  .object img, .feature img, .more svg { transition: none; }
}
@media (max-width: 1000px) {
  .site-head nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: clamp(48px, 7.2vw, 64px); }
  .hero-text { padding: 56px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px)); }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 4.4; }
  .buy-grid, .about-grid, .contact-grid, .services-head { grid-template-columns: minmax(0, 1fr); }
  .condition { max-width: 520px; }
  .service-list { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 26px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .objects { gap: 16px; }
  .object h3 { font-size: 18px; }
  .portrait { max-width: 480px; }
  .region-row { grid-template-columns: auto minmax(0, 1fr); }
  .places { grid-column: 1 / -1; }
  .badge { left: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .buy h2, .services h2, .process h2, .portfolio-head h2 { font-size: clamp(36px, 10.5vw, 48px); }
  .about h2, .contact h2 { font-size: clamp(40px, 11.5vw, 52px); }
  .condition img { aspect-ratio: 4 / 3.6; }
  .portrait img { aspect-ratio: 4 / 4.4; object-position: 50% 22%; }
  section { padding-block: 72px; }
  .wanted { grid-template-columns: 1fr; }
  .objects { grid-template-columns: 1fr; gap: 36px; }
  .object figure { aspect-ratio: 4 / 4.4; }
  .feature { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .feature figure { aspect-ratio: 4 / 4.4; }
  .object h3 { font-size: 21px; }
  .steps { grid-template-columns: 1fr; }
  .channel { grid-template-columns: auto 1fr; padding: 18px; }
  .channel .copy-btn { grid-column: 2; justify-self: start; }
  .channel .go { display: none; }
  .head-tel { background: var(--action); color: var(--white); min-height: 46px; padding: 0 18px; gap: 9px; font-size: 16px; }
  .head-tel svg { width: 18px; height: 18px; color: var(--white); }
  .head-tel .full { display: none; }
  .head-tel .short { display: inline; }
  .logo { gap: 10px; }
  .logo .mark { font-size: 36px; }
  .logo .claim { font-size: 9px; gap: 3px; }
  .hero-seal { padding: 18px 20px 16px; font-size: 12px; }
  .kicker { font-size: 12px; letter-spacing: .16em; }
  .kicker::before { display: none; }
  .region-row { grid-template-columns: auto minmax(0, 1fr); }
  .places { grid-column: 1 / -1; }
  .badge { left: 14px; right: 14px; bottom: 14px; padding: 16px 18px; gap: 14px; }
  .badge b { font-size: 18px; }
}
