:root {
  --navy: #132c3a;
  --navy-2: #1d4353;
  --gold: #b18743;
  --gold-dark: #8e692e;
  --cream: #f7f3ea;
  --sand: #ebe1cf;
  --white: #fffdfa;
  --ink: #243942;
  --muted: #66777d;
  --line: rgba(19, 44, 58, .15);
  --shadow: 0 22px 65px rgba(19, 44, 58, .13);
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.65rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: white; padding: 12px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 250, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 245px; flex: 0 0 auto; }
.brand img { width: 100%; height: 76px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { text-decoration: none; color: var(--navy); font-size: .93rem; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-dark); }
.nav-cta { border: 1px solid var(--gold); padding: 10px 16px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; width: 46px; height: 46px; padding: 11px; color: var(--navy); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: .2s; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(10, 29, 40, .9) 0%, rgba(10, 29, 40, .66) 38%, rgba(10, 29, 40, .08) 72%), url('../images/hero-chiemgau.webp') center/cover no-repeat;
  color: white;
}
.hero-content { padding: 100px 0 112px; max-width: 720px; }
.hero .eyebrow { color: #e4c98f; }
.hero h1 { color: white; max-width: 720px; }
.hero p { max-width: 610px; margin: 25px 0 34px; font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: white; color: var(--navy); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.hero-note { position: absolute; right: 34px; bottom: 28px; font-size: .8rem; opacity: .82; }

section { padding: 105px 0; }
.intro-grid, .split, .guide-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 92px); align-items: center; }
.portrait-wrap { position: relative; }
.portrait-wrap::before { content: ""; position: absolute; inset: -18px 24px 22px -18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.portrait-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.signature-line { display: flex; gap: 18px; align-items: center; margin-top: 24px; color: var(--navy); font-family: var(--serif); font-size: 1.22rem; }
.signature-line::before { content: ""; width: 54px; height: 1px; background: var(--gold); }

.services { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { margin-top: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.card-number { display: block; margin-bottom: 40px; color: var(--gold); font: 400 1rem var(--serif); }
.card p { color: var(--muted); margin-top: 14px; }
.card a { color: var(--gold-dark); font-weight: 700; text-decoration: none; }

.image-band { min-height: 520px; background: linear-gradient(90deg, rgba(19,44,58,.9), rgba(19,44,58,.25)), url('../images/haus-modern.webp') center/cover no-repeat; display: grid; align-items: center; color: white; }
.image-band h2 { color: white; max-width: 700px; }
.image-band p { max-width: 580px; margin: 22px 0 30px; }

.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 52px; counter-reset: process; margin-top: 52px; }
.process-item { position: relative; padding: 24px 0 0 54px; border-top: 1px solid var(--line); counter-increment: process; }
.process-item::before { content: "0" counter(process); position: absolute; left: 0; top: 20px; color: var(--gold); font: 400 1.05rem var(--serif); }
.process-item p { margin-top: 10px; color: var(--muted); }

.guide { background: var(--navy); color: white; overflow: hidden; }
.guide h2, .guide h3 { color: white; }
.guide .eyebrow { color: #e4c98f; }
.guide-copy p { color: #d8e0e3; }
.guide-cover { position: relative; justify-self: center; }
.guide-cover img { width: min(410px, 80vw); border-radius: 10px; box-shadow: 0 34px 85px rgba(0,0,0,.33); transform: rotate(-2deg); }
.guide-cover::after { content: "Kostenfrei"; position: absolute; right: -22px; top: 30px; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-weight: 800; transform: rotate(8deg); }

.soft { background: var(--cream); }
.verrentung-note { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 48px; border: 1px solid rgba(177,135,67,.42); border-radius: var(--radius); background: rgba(255,253,250,.7); }

.cta { padding: 82px 0; background: var(--sand); text-align: center; }
.cta h2 { max-width: 850px; margin-inline: auto; }
.cta p { max-width: 680px; margin: 20px auto 28px; }

.site-footer { padding: 62px 0 28px; background: #0d2430; color: #d9e2e5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-logo { width: 245px; padding: 8px 12px; border-radius: 8px; background: #fff; }
.site-footer h3 { color: white; font: 700 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { color: #d9e2e5; text-decoration: none; }
.site-footer a:hover { color: #e4c98f; }
.footer-links { display: grid; gap: 7px; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .83rem; color: #9eb0b8; }

.page-hero { padding: 92px 0 78px; background: var(--cream); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); max-width: 900px; }
.page-hero p { max-width: 720px; margin-top: 22px; }
.page-image { width: 100%; max-height: 600px; object-fit: cover; }
.content-section h2, .content-section h3 { margin-bottom: 20px; }
.content-section ul { padding-left: 1.2rem; }
.content-section li { margin: .55rem 0; }
.feature-list { display: grid; gap: 16px; margin: 28px 0; }
.feature { padding: 20px 22px; border-left: 3px solid var(--gold); background: var(--cream); }
.text-columns { columns: 2; column-gap: 50px; }
.text-columns p { break-inside: avoid; }

.form-card { padding: clamp(24px, 5vw, 46px); border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin: 0 0 6px; color: var(--navy); font-size: .9rem; font-weight: 700; }
input, textarea {
  width: 100%;
  min-height: 50px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #bdc6c8;
  border-radius: 9px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(177,135,67,.25); border-color: var(--gold); }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 2px 0 20px; font-size: .86rem; font-weight: 400; }
.checkbox input { min-height: auto; width: 18px; height: 18px; margin: 3px 0 0; }
.form-status { padding: 12px 14px; margin-bottom: 18px; border-radius: 8px; background: #f8e5e2; color: #7f271d; }
.form-hint { color: var(--muted); font-size: .82rem; }
.hp-field { position: absolute !important; left: -10000px !important; }
.contact-details { display: grid; gap: 20px; }
.contact-detail { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-detail small { display: block; color: var(--gold-dark); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail a { text-decoration: none; font-size: 1.18rem; color: var(--navy); }

.legal { padding: 70px 0 100px; }
.legal h2 { margin: 42px 0 14px; font-size: 1.8rem; }
.legal h3 { margin: 28px 0 10px; font: 700 1.1rem var(--sans); }
.legal a { color: var(--gold-dark); }
.notice { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; inset: 92px 0 auto; padding: 22px 24px 28px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px 0; }
  .nav-cta { text-align: center; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .split, .guide-grid, .contact-grid { grid-template-columns: 1fr; }
  .guide-cover { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 76px; }
  .brand { width: 188px; }
  .brand img { height: 60px; }
  .nav { top: 76px; }
  .hero { min-height: 720px; background-position: 66% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,29,40,.42), rgba(10,29,40,.93) 72%); }
  .hero-content { position: relative; padding: 170px 0 66px; align-self: end; }
  .hero-note { display: none; }
  section { padding: 72px 0; }
  .card-grid, .process-list, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .card-number { margin-bottom: 20px; }
  .image-band { min-height: 600px; align-items: end; padding-bottom: 55px; background-position: 58% center; }
  .verrentung-note { grid-template-columns: 1fr; padding: 28px 24px; }
  .text-columns { columns: 1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 64px 0 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
