:root {
  --navy: #12344d;
  --navy-2: #0c2436;
  --navy-3: #1a4a68;
  --gold: #d4a017;
  --gold-2: #e8bc3a;
  --cream: #f4f0e6;
  --paper: #fbfaf7;
  --ink: #15202b;
  --muted: #5a6670;
  --line: rgba(18, 52, 77, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 36, 54, 0.14);
  --radius: 18px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.lead a, .checklist a, .note a, .legal-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.28rem; font-weight: 600; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(12, 36, 54, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img {
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255,255,255,.88); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--gold-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font: inherit; font-weight: 600;
  border-radius: 999px; padding: 13px 24px; transition: .2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-2); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--navy-2) url("../assets/img/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,36,54,.78) 0%, rgba(12,36,54,.42) 55%, rgba(12,36,54,.18) 100%),
    linear-gradient(180deg, rgba(12,36,54,.2) 0%, rgba(12,36,54,.72) 100%);
}
.hero-inner { position: relative; padding: 170px 0 72px; }
.hero h1 { max-width: 14ch; margin-bottom: 16px; }
.hero .lead { color: rgba(255,255,255,.86); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px;
}
.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  color: var(--gold-2);
}
.stat span { font-size: .86rem; color: rgba(255,255,255,.72); }

section { padding: 92px 0; }
.section-head { max-width: 740px; margin-bottom: 42px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: 460px; object-fit: cover; object-position: center 20%; border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li { list-style: none; display: flex; gap: 12px; }
.checklist li::before {
  content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.band { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(12,36,54,.05);
}
.card .num {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold); font-size: 1.5rem; display: block; margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

.specs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--navy); font-weight: 600; background: #f7f4ee; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.note { margin-top: 16px; color: var(--muted); font-size: .92rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  background: #d9d3c6;
}
.gallery .wide {
  grid-row: 1 / span 2;
}
.gallery .wide img { height: 574px; object-position: center 70%; }
.gallery figcaption {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 8px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
}
.fact strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.1;
}
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.visit {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.visit p { color: rgba(255,255,255,.84); max-width: 62ch; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step strong { display: block; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

.owner {
  background: var(--navy-2);
  color: #fff;
}
.owner .lead { color: rgba(255,255,255,.78); }
.owner .split img { object-position: center 35%; height: 420px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.info-box {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 36px 32px;
}
.info-box h2 { margin-bottom: 12px; }
.info-box p, .info-box a { color: rgba(255,255,255,.82); }
.info-box dl { margin-top: 26px; display: grid; gap: 16px; }
.info-box dt { color: var(--gold-2); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.info-box dd { margin-top: 4px; }

form { display: grid; gap: 14px; }
label { font-size: .86rem; font-weight: 600; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 13px 14px; font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { display: none; background: #e9f6ee; color: #1b5e36; border-radius: 12px; padding: 14px 16px; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12,36,54,.05);
}
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card .body { padding: 22px 22px 24px; }
.project-card .tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.project-card p { color: var(--muted); margin: 8px 0 16px; font-size: .95rem; }

.page-hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  color: #fff;
  position: relative;
  background: var(--navy-2) center/cover no-repeat;
}
.page-hero.demo { background-image: url("../assets/img/demo-hof.jpg"); }
.page-hero.hotel { background-image: url("../assets/img/pfahlershof.jpg"); }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,36,54,.25), rgba(12,36,54,.82));
}
.page-hero .inner { position: relative; padding: 150px 0 48px; }
.page-hero .lead { color: rgba(255,255,255,.86); }

.recommend {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 20px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 22px;
}

.legal-hero { background: var(--navy-2); color: #fff; padding: 140px 0 56px; }
.legal-body { padding: 52px 0 88px; max-width: 820px; }
.legal-body h2 { font-size: 1.5rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: 10px; }

.site-footer { background: #08151f; color: rgba(255,255,255,.76); padding: 44px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { padding-top: 18px; font-size: .86rem; color: rgba(255,255,255,.48); }

@media (max-width: 980px) {
  .cards, .steps, .stats, .facts, .split, .specs, .contact-grid, .form-row, .gallery, .project-grid { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-row: auto; }
  .gallery .wide img, .gallery img { height: 260px; }
  .split img { height: 340px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 24px; right: 24px;
    background: var(--navy); flex-direction: column; padding: 18px; border-radius: 16px; gap: 14px;
  }
  .nav.open { display: flex; }
  .cards, .steps, .stats, .facts, .split, .specs, .contact-grid, .form-row, .gallery, .project-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 130px 0 52px; }
  .logo img { height: 44px; }
}
