/* Schaffler Immobilien – Pitch-Mockup
   Palette: Off-White / Anthrazit / Bronze. Fonts self-hosted (DSGVO). */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #f7f4ef;
  --panel: #ede7dc;
  --ink: #26282b;
  --muted: #62625d;
  --line: #ded7ca;
  --bronze: #8a6a3f;
  --bronze-dark: #6f532e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-dark); margin-bottom: 20px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.ph { color: var(--muted); font-style: normal; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; font: 500 .9rem/1 var(--sans); letter-spacing: .06em; text-decoration: none; padding: 18px 32px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,239,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 600 1.55rem/1 var(--serif); letter-spacing: .02em; }
.brand__sub { font: 500 .62rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-dark); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: .92rem; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.lang { display: flex; gap: 8px; font-size: .8rem; letter-spacing: .1em; padding-left: 28px; border-left: 1px solid var(--line); }
.lang span[aria-current] { color: var(--ink); font-weight: 500; }
.lang span { color: var(--muted); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); width: 46px; height: 46px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--bronze-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Image placeholders (CSS only, no stock photos) */
.img-ph { position: relative; overflow: hidden; background: var(--panel); }
.img-ph::before { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,40,43,0) 45%, rgba(38,40,43,.22)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.35) 46px 48px),
    linear-gradient(160deg, #d9cfbd 0%, #b9a98b 55%, #8c7a5b 100%); }
.img-ph--dark::before { background:
    linear-gradient(180deg, rgba(38,40,43,0) 30%, rgba(0,0,0,.35)),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(255,255,255,.07) 64px 66px),
    linear-gradient(160deg, #4b4a46 0%, #33343a 100%); }
.img-ph__tag { position: absolute; left: 16px; bottom: 14px; font: 500 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hero__img { aspect-ratio: 4 / 5; }

/* Intro */
.intro { border-top: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 112px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.facts strong { display: block; font: 500 1.9rem/1.1 var(--serif); color: var(--bronze-dark); margin-bottom: 6px; }
.facts span { font-size: .88rem; color: var(--muted); line-height: 1.4; display: block; }

/* Featured Objekt */
.feature { background: var(--panel); }
.feature__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature__img { aspect-ratio: 5 / 4; }
.badge { display: inline-block; font: 500 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--bronze); color: var(--bronze-dark); padding: 7px 12px; margin-bottom: 22px; }
.feature h2 { margin-bottom: 20px; }
.specs { list-style: none; margin: 28px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { text-align: right; }

/* Objekt types */
.types__head { max-width: 640px; margin-bottom: 56px; }
.types__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.type { padding: 36px 28px 36px 0; border-bottom: 1px solid var(--line); }
.type + .type { padding-left: 28px; border-left: 1px solid var(--line); }
.type__no { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; color: var(--bronze-dark); display: block; margin-bottom: 28px; }
.type h3 { margin-bottom: 12px; }
.type p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA */
.cta { background: var(--ink); color: #f1ede5; text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 20px; }
.cta p { color: #bdb8ad; max-width: 52ch; margin: 0 auto 36px; }
.cta .eyebrow { color: #c9a972; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 112px); }
.contact address { font-style: normal; margin-top: 32px; display: grid; gap: 20px; }
.contact address b { display: block; font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-dark); margin-bottom: 8px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: .82rem; letter-spacing: .04em; margin-bottom: 8px; }
.field label small { color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #b9b2a3; border-radius: 0; padding: 10px 0; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze); border-bottom-width: 2px; padding-bottom: 9px; }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.consent input { margin-top: 4px; accent-color: var(--bronze-dark); width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: start; }
.form__note { font-size: .78rem; color: var(--muted); margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 44px; font-size: .88rem; color: var(--muted); }
.footer__in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* Scroll reveal (only when JS is active) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* Tablet */
@media (max-width: 960px) {
  .types__grid { grid-template-columns: 1fr 1fr; }
  .type:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__grid, .feature__grid, .intro__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 16 / 11; }
  .feature__img { order: -1; }
}

/* Mobile */
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; text-align: center; }
  .lang { padding: 18px 0 0; border: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .types__grid { grid-template-columns: 1fr; }
  .type, .type + .type { padding: 28px 0; border-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .hero__cta { flex-direction: column; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
