/* ============================================
   FACEL VEGA – Light Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #FAF8F5;
  --bg-1:       #F4F0E8;
  --bg-2:       #EDE8DE;
  --bg-3:       #E4DDD0;
  --bg-4:       #D9D0C0;
  --border:     #D8D0C4;
  --border-mid: #C8BFA8;
  --text-1:     #1C1810;
  --text-2:     #4A4238;
  --text-3:     #7A7060;
  --gold:       #A07030;
  --gold-light: #C49040;
  --gold-dark:  #7A5020;
  --copper:     #8A5030;
  --bordeaux:   #6A1E2E;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --nav-h: 72px;
  --container: 1320px;
  --gutter: clamp(24px, 5vw, 80px);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--white); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--text-1); }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-2); }

.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(60px, 8vw, 120px) 0; }
.section-sm { padding: clamp(40px, 5vw, 80px) 0; }

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}

.divider-center { margin: 24px auto; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-in-out), box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__logo-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-1);
}

.nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover { color: var(--text-1); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--text-1); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  transition: all 0.3s;
  border-radius: 1px;
}

/* ── Mobile Nav ── */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  overflow-y: auto;
  padding: 40px var(--gutter);
  flex-direction: column;
  gap: 8px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav__mobile a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 7vw, 100px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a140c 0%, #241810 30%, #2a1c0e 50%, #181008 100%);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.55;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,14,8,0.95) 0%,
    rgba(20,14,8,0.5) 50%,
    rgba(20,14,8,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  color: #F5F0E8;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(240, 230, 210, 0.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(240, 230, 210, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
}

@keyframes scrollBounce {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Tile Grid ── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.tile {
  background: var(--white);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
}

.tile::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.tile:hover { background: var(--bg-1); }
.tile:hover::before { transform: scaleX(1); }

.tile__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--bg-1);
  transition: border-color 0.3s, background 0.3s;
}

.tile:hover .tile__icon { border-color: var(--gold); background: var(--bg-2); }

.tile__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-1);
}

.tile__text {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: auto;
}

.tile__arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  color: var(--border-mid);
  transition: transform 0.3s, color 0.3s;
  font-size: 1.2rem;
}

.tile:hover .tile__arrow { transform: translate(4px, -4px); color: var(--gold); }

/* ── Page Hero (subpages) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-size: cover;
  background-position: center;
}

.page-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-1) 0%, transparent 40%, var(--bg-1) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Welcome Section ── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.welcome-text h2 { margin-bottom: 20px; }
.welcome-text p { margin-bottom: 16px; }

.welcome-signature {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.signature-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-1);
}

.signature-role {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

/* ── Feature List ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-list li:first-child { border-top: 1px solid var(--border); }

.feature-list__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 2px;
  flex-shrink: 0;
}

.feature-list__text {
  font-size: 0.9rem;
  color: var(--text-2);
}

/* ── History ── */
.history-intro {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
}

.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1px 1fr;
  gap: 0 40px;
  padding: clamp(32px, 4vw, 60px) 0;
  position: relative;
}

.timeline-item + .timeline-item { border-top: 1px solid var(--border); }

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 6px;
  text-align: right;
}

.timeline-line {
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  position: relative;
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}

.timeline-content h3 { margin-bottom: 12px; }
.timeline-content p { color: var(--text-2); }

/* ── Image Block ── */
.img-block {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  border: 1px solid var(--border);
}

.img-block-tall { aspect-ratio: 4/5; }

.img-block img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.img-block:hover img { transform: scale(1.03); }

.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  color: var(--text-3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.img-placeholder svg { opacity: 0.4; color: var(--gold); }

/* ── Model Grid ── */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  box-shadow: var(--shadow-md);
}

.model-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
  overflow: hidden;
}

.model-card:hover { background: var(--bg-1); }

.model-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}

.model-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.model-card:hover .model-card__img img { transform: scale(1.06); }

.model-card__body {
  padding: clamp(20px, 3vw, 32px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.model-card__year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
}

.model-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-1);
}

.model-card__excerpt {
  font-size: 0.83rem;
  color: var(--text-3);
  margin-top: auto;
}

/* ── Specs Table ── */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.spec-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.spec-row:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--border); }
.spec-row:nth-child(even) { padding-left: 40px; }

.spec-label { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.06em; }
.spec-value { font-family: var(--font-display); font-size: 1rem; color: var(--text-1); text-align: right; }

/* ── Form ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

.form-control {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-1);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  width: 100%;
  border-radius: 2px;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(160, 112, 48, 0.12);
}

.form-control::placeholder { color: var(--text-3); }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

.checkbox-group { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }

.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label { font-size: 0.83rem; color: var(--text-3); line-height: 1.5; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  outline: none;
  border-radius: 2px;
  font-weight: 500;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── Info Box ── */
.info-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: clamp(24px, 3vw, 40px);
}

/* ── Alert ── */
.alert {
  padding: 20px 24px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
  border-radius: 2px;
}

.alert-success {
  border-color: #8aa870;
  background: rgba(100, 150, 80, 0.08);
  color: #3d6a2a;
}

.alert-error {
  border-color: var(--bordeaux);
  background: rgba(106, 30, 46, 0.06);
  color: var(--bordeaux);
}

/* ── Links Page ── */
.links-category { margin-bottom: clamp(40px, 5vw, 70px); }

.links-category h3 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.link-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.9rem;
  transition: color 0.2s;
  gap: 12px;
}

.link-list a:hover { color: var(--gold); }

.link-list a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-mid);
  flex-shrink: 0;
  transition: background 0.2s;
}

.link-list a:hover::before { background: var(--gold); }

/* ── Partners ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  box-shadow: var(--shadow-md);
}

.partner-card {
  background: var(--white);
  padding: clamp(32px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}

.partner-card:hover { background: var(--bg-1); }

.partner-logo {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  background: var(--bg-1);
}

.partner-logo span { font-family: var(--font-display); font-size: 0.9rem; text-align: center; letter-spacing: 0.04em; }
.partner-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-1); }
.partner-desc { font-size: 0.82rem; color: var(--text-3); }

/* ── Contact Info ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block h4 { margin-bottom: 12px; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
}

.contact-line:first-of-type { border-top: 1px solid var(--border); }

.contact-line-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 60px;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-grid .img-block:first-child { grid-column: span 2; aspect-ratio: 2/1; }

/* ── Quote ── */
.quote-block {
  padding: clamp(40px, 5vw, 80px) 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 20px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 20px;
}

.quote-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb span::before { content: '–'; margin-right: 8px; color: var(--border-mid); }

/* ── Footer ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 100px) 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__brand h3 { font-size: 1.4rem; margin-bottom: 12px; }
.footer__brand p { font-size: 0.82rem; color: var(--text-3); max-width: 280px; line-height: 1.6; }

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__links a { font-size: 0.82rem; color: var(--text-3); transition: color 0.2s; }
.footer__links a:hover { color: var(--text-1); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.06em; }

.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.72rem; color: var(--text-3); transition: color 0.2s; letter-spacing: 0.06em; }
.footer__legal a:hover { color: var(--text-1); }

/* ── Utility ── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-serif { font-family: var(--font-display); }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.gap-top { margin-top: var(--nav-h); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }

.max-prose { max-width: 720px; }
.max-prose p { margin-bottom: 20px; }
.max-prose p:last-child { margin-bottom: 0; }

/* ── Energy Park ── */
.ep-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: clamp(40px, 5vw, 80px);
  box-shadow: var(--shadow-md);
}

.ep-stat { background: var(--white); padding: clamp(20px, 3vw, 40px); text-align: center; }

.ep-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.ep-stat__label { font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Page Content Layout ── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 32px); }

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}

@media (max-width: 900px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .welcome-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-row:nth-child(odd) { padding-right: 0; border-right: none; }
  .spec-row:nth-child(even) { padding-left: 0; }
  .ep-stat-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .img-block:first-child { grid-column: span 2; }
  .timeline-item { grid-template-columns: 80px 1px 1fr; gap: 0 20px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .tile-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .ep-stat-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .img-block:first-child { grid-column: span 1; aspect-ratio: 16/9; }
  .timeline-item { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 8px; }
  .timeline-line { display: none; }
  .timeline-year { text-align: left; }
}

/* ── Fade In Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Gesucht Page ── */
.gesucht-hero {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ── Section backgrounds ── */
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-1); }
.bg-medium { background: var(--bg-2); }

/* ── Card ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
