/* ============================================
   Petter Group – petter.group
   Hell & edel · Navy / Gold · 2026
   ============================================ */

:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --alt-bg: #f4f1ea;
  --ink: #22303e;
  --muted: #6a7480;
  --gold: #bf9b5a;
  --gold-soft: rgba(191, 155, 90, 0.12);
  --line: #e8e3d9;
  --navy: #22303e;
  --navy-ink: #f4f2ee;
  --navy-muted: #a8b1bc;
  --header-bg: rgba(251, 250, 248, 0.92);
  --radius: 0px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10151b;
    --surface: #171d26;
    --alt-bg: #141a22;
    --ink: #ebe8e1;
    --muted: #98a1ac;
    --line: #2b323d;
    --navy: #0d1218;
    --header-bg: rgba(16, 21, 27, 0.92);
  }
  :root:not([data-theme="light"]) .brand img,
  :root:not([data-theme="light"]) .simg-logo { filter: brightness(0) invert(1); opacity: 0.92; }
}

[data-theme="dark"] {
  --bg: #10151b;
  --surface: #171d26;
  --alt-bg: #141a22;
  --ink: #ebe8e1;
  --muted: #98a1ac;
  --line: #2b323d;
  --navy: #0d1218;
  --header-bg: rgba(16, 21, 27, 0.92);
}
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); opacity: 0.92; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: 0.01em; line-height: 1.25; }

.display {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.12;
}
.display strong { font-weight: 400; font-style: italic; color: var(--gold); }

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; margin-bottom: 14px; }
.section-title strong { font-weight: 400; font-style: italic; color: var(--gold); }
.section-sub { color: var(--muted); max-width: 680px; margin-bottom: 48px; font-size: 1.05rem; }

/* Goldene Haarlinie wie im Logo */
.rule { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; margin: 0 0 18px; }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--gold); flex: 1; max-width: 64px; }
.rule.left::before { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(34, 48, 62, 0.08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }

.brand img { height: 44px; width: auto; }

.header-right { display: flex; align-items: center; gap: 8px; }

.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--gold); text-decoration: none; }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  height: 40px;
  min-width: 46px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
a.icon-btn { display: inline-flex; }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { box-shadow: 0 8px 28px rgba(191, 155, 90, 0.4); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { box-shadow: 0 8px 28px rgba(34, 48, 62, 0.3); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #22303e;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 15, 21, 0.55) 0%,
    rgba(10, 15, 21, 0.48) 35%,
    rgba(10, 15, 21, 0.72) 68%,
    var(--navy) 100%);
}
.hero .display, .hero p.lead, .hero .eyebrow { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5); }
.hero .hero-content { position: relative; z-index: 2; padding: 120px 0 96px; max-width: 820px; }
.hero .eyebrow {
  color: #dcbb80;
  font-size: 0.85rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin: 26px 0 38px; max-width: 560px; }

.hero-sub {
  min-height: 48vh;
}
.hero-sub .hero-content { padding: 90px 0 64px; }

/* ---------- Sektionen ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--alt-bg); }

/* ---------- Kennzahlen-Band ---------- */
.stats-band { background: var(--navy); color: var(--navy-ink); padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 400; color: var(--gold); line-height: 1.1; }
.stat .lbl { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy-muted); margin-top: 10px; }

/* ---------- Projekt-Karten ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; }

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(34, 48, 62, 0.12); }
.project-card .pimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card .pimg img { width: 100%; height: 100%; object-fit: cover; }
.project-card .pimg .pimg-b {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.project-card.has2:hover .pimg .pimg-b { opacity: 1; }
.project-card .ptag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px;
}
.project-card .ptag.done { background: var(--navy); }
.project-card .pbody { padding: 28px; }
.project-card .ploc { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.project-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin: 8px 0 18px; }

.meta-list { border-top: 1px solid var(--line); }
.meta-list .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.meta-list .row span:first-child { color: var(--muted); }
.meta-list .row span:last-child { font-weight: 600; text-align: right; }

/* ---------- Feature-Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { width: 100%; }
.split .simg { border: 1px solid var(--line); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Ankaufsprofil-Karten ---------- */
.acq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.acq-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 40px 34px; }
.acq-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 20px; }
.acq-card ul { list-style: none; }
.acq-card li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); font-size: 0.95rem; }
.acq-card li:last-child { border-bottom: 0; }
.acq-card li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }

/* ---------- Ankaufs-Wähler (Tabs) ---------- */
.acq-tabs { display: flex; gap: 0; flex-wrap: wrap; }
.acq-tab {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  padding: 18px 34px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--alt-bg);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  margin-right: -1px;
}
.acq-tab:hover { color: var(--gold); }
.acq-tab.active {
  background: var(--surface);
  color: var(--ink);
  border-top: 3px solid var(--gold);
  position: relative;
}
.acq-panel {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 5vw, 56px);
}
.acq-panel.active { display: block; }
.acq-claim {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  max-width: 640px;
}
.check-list {
  list-style: none;
  margin: 30px 0 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 40px;
}
.check-list li { padding-left: 32px; position: relative; color: var(--muted); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.acq-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; max-width: 560px; }

/* ---------- Kriterien-Tabelle ---------- */
.table-scroll { overflow-x: auto; }
.crit-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 640px; }
.crit-table th, .crit-table td { padding: 18px 20px; border: 1px solid var(--line); text-align: left; font-size: 0.95rem; vertical-align: top; }
.crit-table thead th { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.crit-table tbody td:first-child {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.crit-table td { color: var(--muted); }
.crit-table thead th { color: var(--ink); }

/* Mobile-Variante der Kriterien-Tabelle: gestapelte Karten */
.crit-cards { display: none; }
.crit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px 20px;
}
.crit-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 14px; }
.cc-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cc-row:last-child { border-bottom: 0; }
.cc-row span { color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 3px; white-space: nowrap; }
.cc-row strong { font-weight: 600; color: var(--ink); font-size: 0.92rem; text-align: right; }

/* ---------- Prozess-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .n { font-size: 3rem; font-weight: 200; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.02rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 90px 0; text-align: center; }
.cta-band .section-title { color: #fff; }
.cta-band p { color: var(--navy-muted); max-width: 620px; margin: 0 auto 36px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 40px 30px; text-align: center; display: block; transition: transform 0.15s, box-shadow 0.15s; color: var(--ink); }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(34,48,62,0.1); text-decoration: none; }
.contact-card .ci { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; }
.contact-card .ci svg { width: 24px; height: 24px; fill: var(--gold); }
.contact-card h3 { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-card .value { font-weight: 700; font-size: 1.02rem; }

/* ---------- Kontaktformular ---------- */
.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
}
.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  height: 50px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bf9b5a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.contact-form input { height: 50px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .btn { margin-top: 6px; }
.form-note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); letter-spacing: normal; text-transform: none; font-weight: 400; }
.contact-side { display: grid; gap: 20px; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery img:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(34, 48, 62, 0.18); }

/* ---------- Partner ---------- */
.partner-row { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-row a {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 32px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s;
}
.partner-row a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* ---------- Sticky-CTA-Leiste ---------- */
.cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: rgba(13, 18, 24, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(191, 155, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.cta-bar-label {
  color: #f4f2ee;
  font-family: var(--serif);
  font-size: 1.02rem;
}
.btn-sm { padding: 11px 24px; font-size: 0.72rem; }
body:has(.cta-bar) .site-footer { padding-bottom: 110px; }
@media (max-width: 640px) {
  .cta-bar-label { display: none; }
  .cta-bar { gap: 10px; }
  .cta-bar .btn-sm { flex: 1; text-align: center; }
}

/* ---------- Karte Berlin-Brandenburg ---------- */
.map-wrap { max-width: 680px; margin: 0 auto; position: relative; }
.m-pt { cursor: pointer; }

/* Hover-Kachel (Airbnb-Stil) */
.map-tip {
  position: absolute;
  width: 200px;
  transform: translate(-50%, -100%);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(20, 28, 38, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}
.map-tip.show { opacity: 1; visibility: visible; }
.map-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px; height: 12px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.map-tip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.map-tip .t-body { padding: 12px 14px; }
.map-tip .t-name { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.map-tip .t-loc { color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.m-land { fill: var(--surface); stroke: var(--gold); stroke-width: 1.5; }
.m-berlin { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1; }
.m-region { fill: var(--line); font-family: var(--font); font-size: 26px; font-weight: 700; letter-spacing: 0.5em; }
.m-berlin-lbl { fill: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0.3em; }
.m-dot { fill: var(--gold); }
.m-dot.m-done { fill: none; stroke: var(--gold); stroke-width: 2; }
.m-hq { fill: var(--ink); }
.m-lbl { fill: var(--ink); font-family: var(--font); font-size: 14.5px; font-weight: 600; }
.m-note { fill: var(--muted); font-family: var(--font); font-size: 13px; font-style: italic; }
.m-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 22px; color: var(--muted); font-size: 0.88rem; }
.m-leg { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.leg-dot, .leg-ring, .leg-hq { display: inline-block; width: 13px; height: 13px; flex-shrink: 0; }
.leg-dot { border-radius: 50%; background: var(--gold); }
.leg-ring { border-radius: 50%; border: 2px solid var(--gold); background: none; box-sizing: border-box; }
.leg-hq { width: 11px; height: 11px; background: var(--ink); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
  .m-dot:not(.m-done) { animation: dot-pulse 2.4s ease-in-out infinite; }
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: 2rem; margin-bottom: 28px; font-weight: 300; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 14px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-ink); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; margin-bottom: 48px; }
.site-footer h4 { font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer a { color: var(--navy-ink); font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer .addr { color: var(--navy-muted); font-size: 0.95rem; font-style: normal; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--navy-muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--navy-muted); margin-left: 18px; }
.footer-bottom a:first-child { margin-left: 0; }

/* ============================================
   MOBILE-Feinschliff
   ============================================ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }

  /* Header: kompakt & luftig */
  .header-inner { height: 62px; gap: 6px; }
  .brand img { height: 30px; }
  .icon-btn { height: 36px; min-width: 38px; padding: 0 9px; font-size: 0.78rem; }
  .main-nav { top: 62px; }

  /* Hero: zentriert, mit Luft und klarem Rhythmus */
  .hero { min-height: 88svh; align-items: center; }
  .hero .hero-content {
    padding: 110px 4px 64px;
    text-align: center;
    margin: 0 auto;
  }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.24em; margin-bottom: 18px; }
  .hero-sub { min-height: auto; }
  .hero-sub .hero-content { padding: 120px 4px 48px; }
  .display { font-size: clamp(2.1rem, 9.5vw, 2.7rem); line-height: 1.14; }
  .hero p.lead { font-size: 0.98rem; line-height: 1.65; margin: 20px auto 30px; max-width: 34ch; }
  .hero .btn-row { gap: 12px; justify-content: center; }
  .hero .btn-row .btn { flex: 1 1 100%; text-align: center; }

  /* Buttons generell voll klickbar */
  .btn { padding: 14px 24px; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }

  /* Sektionen: weniger Leerraum, mehr Inhalt im Blick */
  .section { padding: 56px 0; }
  .section-sub { margin-bottom: 30px; }
  /* Kennzahlen: ein zentrierter Stapel mit feinen Trennlinien */
  .stats-band { padding: 20px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 26px 0; }
  .stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .stat .num { font-size: 2.6rem; }
  .stat .lbl { font-size: 0.7rem; letter-spacing: 0.2em; margin-top: 6px; }

  /* Bilder & Karten */
  .photo-band img { height: 220px; }
  .project-card .pbody { padding: 20px; }
  .split { gap: 28px; }
  .card, .acq-card, .contact-card { padding: 24px 20px; }

  /* Kriterien: Tabelle raus, Karten rein */
  .crit-desktop { display: none; }
  .crit-cards { display: grid; gap: 14px; margin-top: 28px; }

  /* Ankaufs-Tabs: gestapelt statt gequetscht */
  .acq-tabs { flex-direction: column; }
  .acq-tab { width: 100%; text-align: left; border-bottom: 0; margin-right: 0; }
  .acq-tab.active { border-top: 3px solid var(--gold); }
  .acq-panel { padding: 26px 20px; }
  .acq-claim { font-size: 1.3rem; }

  /* Prozess-Schritte & Kontakt */
  .steps { gap: 22px; }
  .step .n { font-size: 2.2rem; }
  .contact-side { gap: 14px; }

  /* Footer */
  .footer-grid { gap: 26px; margin-bottom: 28px; }
  .site-footer { padding: 40px 0 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }

  /* Karte */
  .m-legend { gap: 14px; font-size: 0.8rem; }
  .map-tip { width: 170px; }

  /* Galerie: 1 Spalte auf ganz kleinen Screens */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

@media (max-width: 380px) {
  .brand img { height: 26px; }
  .icon-btn { min-width: 34px; padding: 0 7px; }
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
  }
  .hero .eyebrow  { animation: fade-up 0.7s 0.1s both; }
  .hero .display  { animation: fade-up 0.7s 0.25s both; }
  .hero p.lead    { animation: fade-up 0.7s 0.4s both; }
  .hero .btn-row  { animation: fade-up 0.7s 0.55s both; }

  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.in { opacity: 1; transform: none; }
}
.btn:active { transform: scale(0.97); }
.project-card:active, .contact-card:active { transform: scale(0.99); }
