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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --gold:    #b89a6a;
  --gold-lt: #d4b98a;
  --dark:    #0c0c0c;
  --dark2:   #141414;
  --dark3:   #1c1c1c;
  --line:    rgba(255,255,255,0.08);
  --text:    rgba(255,255,255,0.82);
  --muted:   rgba(255,255,255,0.45);
  --alert:   #c9604f;
}

body { font-family: 'Inter', sans-serif; font-weight: 300; background: var(--dark); color: #fff; line-height: 1.6; }
a { color: var(--gold-lt); }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 52px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  transition: background .35s, padding .35s;
}
nav.scrolled { background: rgba(12,12,12,0.96); backdrop-filter: blur(10px); padding: 14px 52px; border-bottom: 1px solid rgba(255,255,255,0.05); }
nav.solid { background: rgba(12,12,12,0.96); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; font-size: .95rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.88); line-height: 1.2; }
.nav-logo-text small { display: block; font-size: .6rem; letter-spacing: .28em; color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 300; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--gold-lt); }

/* ── HERO ────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('https://kerberos-immobilien.com/hero.jpg') center/cover no-repeat, var(--dark2); transform: scale(1.05); animation: heroZoom 20s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.8) 100%); }
.hero-content { position: relative; text-align: center; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: 84px; height: 84px; margin-bottom: 28px; filter: drop-shadow(0 4px 24px rgba(0,0,0,.5)); animation: fadeUp 1s ease both; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; text-shadow: 0 2px 30px rgba(0,0,0,.4); animation: fadeUp 1s .15s ease both; }
.hero-subtitle { margin-top: 10px; font-size: clamp(.75rem, 1.5vw, .9rem); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); animation: fadeUp 1s .3s ease both; }
.hero-brand { margin-top: 18px; font-size: .78rem; letter-spacing: .08em; color: var(--muted); animation: fadeUp 1s .4s ease both; }
.btn { display: inline-block; margin-top: 40px; padding: 13px 30px; border: 1px solid var(--gold); color: #fff; background: transparent; text-decoration: none; font-family: 'Inter', sans-serif; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; animation: fadeUp 1s .5s ease both; }
.btn:hover { background: var(--gold); color: var(--dark); }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── PILLARS ─────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--dark2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: 64px 48px; border-right: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--dark3); }
.pillar .num { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.1rem; letter-spacing: .2em; }
.pillar h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.6rem; letter-spacing: .06em; margin: 14px 0 12px; }
.pillar p { color: var(--muted); font-size: .9rem; }

/* ── SECTIONS ────────────────────────── */
section.block { padding: 110px 24px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .04em; line-height: 1.15; margin: 12px 0 22px; }
.lead { color: var(--text); max-width: 640px; }
.alt { background: var(--dark2); }

/* Liegenschaft */
.property { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.facts dd { text-align: right; color: var(--text); }

/* Notfall */
.emergency-note { margin: 0 0 36px; padding: 18px 22px; border-left: 2px solid var(--alert); background: rgba(201,96,79,.08); color: var(--text); font-size: .92rem; max-width: 760px; }
.calls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.call { background: var(--dark); padding: 28px 24px; text-decoration: none; color: inherit; transition: background .2s; }
.call:hover { background: var(--dark3); }
.call .nr { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold-lt); line-height: 1.1; }
.call .lbl { margin-top: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.call .sub { margin-top: 4px; font-size: .78rem; color: var(--muted); }
.call.wide .nr { font-size: 1.5rem; }

/* Formular */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.contact-side p { color: var(--text); margin-bottom: 18px; font-size: .95rem; }
.contact-side .mail { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; text-decoration: none; word-break: break-all; }
.contact-side .hint { color: var(--muted); font-size: .84rem; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label, .legend { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.18);
  color: #fff; font: inherit; font-size: .95rem; padding: 10px 0; outline: none; border-radius: 0; transition: border-color .2s;
}
select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%23b89a6a'/%3E%3C/svg%3E") right 4px center no-repeat; }
select option { background: var(--dark2); color: #fff; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--gold); }
.radios { display: flex; gap: 28px; padding-top: 6px; }
.radios label, .check label { text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); display: flex; align-items: center; gap: 10px; cursor: pointer; }
input[type=radio], input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; }
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.file { position: relative; border: 1px dashed rgba(255,255,255,.2); padding: 16px 12px; text-align: center; font-size: .8rem; color: var(--muted); cursor: pointer; transition: border-color .2s; overflow: hidden; }
.file:hover { border-color: var(--gold); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file.has { border-style: solid; border-color: var(--gold); color: var(--gold-lt); }
.file span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check label { align-items: flex-start; font-size: .84rem; color: var(--muted); }
.check input { margin-top: 3px; flex: none; }
.hidden { position: absolute; left: -9999px; }
form .btn { margin-top: 6px; animation: none; justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); }
.error { color: var(--alert); font-size: .82rem; }

/* Impressum */
.legal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; font-size: .88rem; color: var(--text); }
.legal h4 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 10px; }

footer { padding: 32px 24px; text-align: center; font-size: .72rem; letter-spacing: .08em; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

/* Unterseiten */
.page { padding: 150px 24px 100px; }
.prose { max-width: 760px; margin: 0 auto; color: var(--text); font-size: .95rem; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.45rem; color: #fff; margin: 36px 0 10px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 20px; }

@media (max-width: 900px) {
  nav, nav.scrolled { padding: 14px 16px; }
  .nav-links { gap: 18px; }
  .nav-links li.opt { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 44px 24px; }
  .property, .contact { grid-template-columns: 1fr; gap: 40px; }
  .calls { grid-template-columns: repeat(2, 1fr); }
  .legal { grid-template-columns: 1fr; gap: 28px; }
  section.block { padding: 80px 16px; }
}
@media (max-width: 560px) {
  form { grid-template-columns: 1fr; }
  .files { grid-template-columns: 1fr; }
  .nav-logo-text small { display: none; }
  .call .nr { font-size: 1.8rem; }
  .call.wide .nr { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } * { animation: none !important; } }
