/* Persiusufer · Modernes Web-Design 2026 */
@import url('https://rsms.me/inter/inter.css');

:root {
  /* Natürliche Bauland-Palette: Sand + gedämpfte Grüntöne, kein hartes Schwarz */
  --ink:        #2C3A2E;   /* dunkles Waldgrün-Grau für Text (statt Anthrazit) */
  --ink-soft:   #4A5A4C;   /* sekundärer Text — gedämpftes Salbeigrün */
  --ink-mute:   #7E8B7B;   /* Hilfstext — verwaschenes Olive-Grau */
  --line:       #DDD3BD;   /* warme Sand-Linien */
  --paper:      #FBF7EE;   /* warmes Cremeweiß statt reines Weiß */
  --canvas:     #F5EFE0;   /* Sand-Hintergrund */
  --canvas-2:   #ECE3CC;   /* dunklere Sand-Sektion */

  --accent:     #6B8E5C;   /* Salbeigrün als neue Markenfarbe (statt Terracotta) */
  --accent-2:   #4F6F44;   /* tiefes Olivgrün für Hover */
  --accent-soft:#E8EFD7;   /* zarter Hauch-Grünton für Highlights */

  --green:      #5C7F4D;   /* "verfügbar" – passt zur Akzentfarbe */
  --amber:      #B8893D;   /* "reserviert" – warme Erde */
  --gray-st:    #6B7560;   /* "in akquise" – neutrales Salbei-Grau */

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(44,58,46,0.05), 0 1px 3px rgba(44,58,46,0.06);
  --shadow:     0 4px 12px rgba(44,58,46,0.06), 0 10px 32px rgba(44,58,46,0.09);
  --shadow-lg:  0 8px 24px rgba(44,58,46,0.09), 0 30px 60px rgba(44,58,46,0.13);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', system-ui, sans-serif; }
}

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ─── Layout / Container ───────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
@media (min-width: 1100px) { .wrap { padding: 0 48px; } }
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-canvas { background: var(--canvas); }

/* ─── Header ───────────────────────────────────────── */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,238,0.88); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site-header .inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
header .brand { display: flex; align-items: center; gap: 12px; }
header .brand img { height: 30px; width: auto; }
header .brand .name {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
header nav { display: flex; gap: 4px; align-items: center; }
header nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s var(--ease);
}
header nav a:hover { color: var(--ink); background: var(--canvas-2); }
header nav a.cta {
  background: var(--ink); color: var(--paper); margin-left: 8px;
}
header nav a.cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Such-Feld im Header */
header .site-search {
  flex: 1 1 320px; max-width: 380px;
  position: relative; display: flex; align-items: center;
  margin: 0 8px;
}
header .site-search .ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--ink-mute); pointer-events: none;
}
header .site-search input {
  width: 100%; height: 38px;
  padding: 0 14px 0 36px;
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--canvas-2); border: 1px solid var(--line);
  border-radius: 999px; outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
header .site-search input::placeholder { color: var(--ink-mute); }
header .site-search input:focus {
  background: var(--paper); border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107,142,92,0.18);
}
header .site-search input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none;
  height: 16px; width: 16px;
  background: var(--ink-mute); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2' fill='none'/></svg>") center/12px no-repeat;
  cursor: pointer;
}

@media (max-width: 860px) {
  header.site-header .inner { flex-wrap: wrap; gap: 12px; padding: 12px 18px; }
  header .site-search {
    order: 3; flex: 1 1 100%; max-width: 100%; margin: 4px 0 0 0;
  }
}
@media (max-width: 760px) {
  header nav a:not(.cta) { display: none; }
}

/* Leerer Suchstatus */
.search-empty {
  grid-column: 1 / -1;
  padding: 48px 24px; text-align: center;
  color: var(--ink-soft); font-size: 16px;
  background: var(--canvas-2); border-radius: var(--radius-lg);
  margin-top: 8px;
}
.search-empty .link-btn {
  background: none; border: 0; padding: 4px 10px; margin-left: 8px;
  color: var(--accent); font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: underline;
}
.search-empty .link-btn:hover { color: var(--ink); }

/* ─── Hero ─────────────────────────────────────────── */
.hero { padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: 0;
}
.hero .inner { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; padding: 6px 14px; background: var(--accent-soft);
  color: var(--accent); border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 700; color: var(--ink); margin-bottom: 24px; max-width: 16ch;
}
.hero h1 em {
  font-style: normal; color: var(--accent); font-weight: 700;
}
.hero .lead {
  font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-soft);
  max-width: 56ch; line-height: 1.55; margin-bottom: 40px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px; margin-top: 56px; max-width: 920px;
}
.hero-stats > div {
  padding: 24px 0; border-top: 1px solid var(--line);
}
.hero-stats b {
  display: block; font-size: 38px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.hero-stats span { font-size: 14px; color: var(--ink-mute); }

/* ─── Section-Header ───────────────────────────────── */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin-bottom: 16px;
}
.section-head p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; }

/* ─── Objekt-Cards Grid ────────────────────────────── */
.objekte-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
/* obj-card ist jetzt ein <a> — komplette Kachel klickbar.
   Slider-Pfeile + Dots stoppen Bubbling per JS, sodass sie nicht navigieren. */
.obj-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: block; color: inherit; text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.obj-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.obj-card:hover .body h3 { color: var(--accent); }
.obj-card:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
.obj-card .imgwrap {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--canvas-2);
}
.obj-card .imgwrap .slides {
  position: absolute; inset: 0;
}
.obj-card .imgwrap .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.obj-card .imgwrap .slide.active { opacity: 1; pointer-events: auto; }
.obj-card .badge {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px; background: rgba(251,247,238,0.96); backdrop-filter: blur(8px);
  border-radius: 999px; font-size: 12px; font-weight: 600;
}
/* Pfeil-Navigation links/rechts auf der Kachel */
.obj-card .imgwrap .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(251,247,238,0.94); color: var(--ink);
  border: 1px solid rgba(44,58,46,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 12px rgba(44,58,46,0.20);
  opacity: 0; transition: opacity 0.2s var(--ease), background 0.15s;
  z-index: 2; padding: 0 0 2px 0;
}
.obj-card .imgwrap .nav.prev { left: 10px; }
.obj-card .imgwrap .nav.next { right: 10px; }
.obj-card:hover .imgwrap .nav { opacity: 1; }
.obj-card .imgwrap .nav:hover { background: var(--paper); color: var(--accent); }
/* Mobil: Pfeile dauerhaft sichtbar, da kein Hover */
@media (hover: none) {
  .obj-card .imgwrap .nav { opacity: 0.9; }
}

/* Dots — klickbar, prominent */
.obj-card .dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; padding: 6px 11px;
  background: rgba(44,58,46,0.55); border-radius: 999px;
  backdrop-filter: blur(6px); z-index: 2;
}
.obj-card .dots .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(251,247,238,0.55); transition: background 0.2s, transform 0.2s;
  cursor: pointer; border: 0; padding: 0;
}
.obj-card .dots .dot:hover { background: rgba(251,247,238,0.85); }
.obj-card .dots .dot.active { background: var(--paper); transform: scale(1.25); }
.obj-card .body { padding: 24px 24px 26px; display: block; color: inherit; }
.obj-card .body h3 {
  font-size: 21px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 6px;
}
.obj-card .body .lage {
  font-size: 15px; color: var(--ink-soft); margin-bottom: 18px;
  line-height: 1.5;
}
.obj-card .body .lage .plzort {
  font-size: 14px; color: var(--ink-mute);
}
.obj-card .body .eckdaten {
  display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
  justify-content: space-between; align-items: flex-start;
}
.obj-card .body .eckdaten b {
  display: block; color: var(--ink); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 2px;
}
.obj-card .body .eckdaten .prqm { text-align: center; }
.obj-card .body .eckdaten .prqm b { color: var(--ink-soft); font-weight: 600; }
.obj-card .body .eckdaten .preis { text-align: right; }
.obj-card .body .eckdaten .preis b { color: var(--accent); }
.obj-card .body .eckdaten span > span {
  font-size: 12px; color: var(--ink-mute); font-weight: 500;
  display: block; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.05em;
}

.badge.status-verfügbar { background: rgba(92,127,77,0.95); color: var(--paper); }
.badge.status-reserviert { background: rgba(184,137,61,0.95); color: var(--paper); }
.badge.status-verkauft { background: rgba(127,68,55,0.95); color: var(--paper); }
.badge.status-in_akquise { background: rgba(107,117,96,0.95); color: var(--paper); }

/* Bebauungs-Typ-Badge — oben rechts auf der Card, neutral-dunkler Ton */
.obj-card .badge-bebauung {
  position: absolute; top: 16px; right: 16px;
  padding: 5px 12px;
  background: rgba(44,58,46,0.92); color: var(--paper);
  backdrop-filter: blur(8px);
  border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 1;
}

/* ─── Detail-Hero ──────────────────────────────────── */
.detail-hero {
  position: relative; height: 65vh; min-height: 460px; max-height: 720px;
  overflow: hidden; background: var(--canvas-2);
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(44,58,46,0.85) 100%);
}
.detail-hero .content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 28px 48px;
}
.detail-hero .content .wrap {
  max-width: 1240px; margin: 0 auto;
}
.detail-hero .content .badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
  background: rgba(255,255,255,0.96); color: var(--ink);
}
.detail-hero h1 {
  color: white; font-size: clamp(32px, 5vw, 56px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 12px;
  max-width: 20ch;
}
.detail-hero .lage {
  color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 500;
}

/* ─── Detail Body ──────────────────────────────────── */
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-mute); margin-bottom: 32px;
  font-weight: 500;
}
.detail-back:hover { color: var(--accent); }

/* Altes Detail-Grid bleibt für Fallback, neue Struktur darunter */
.detail-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Neues Detail-Layout: oben 2 Spalten (Eckdaten | Kontakt-Box),
   darunter Galerie + Prosa auf voller Breite — kein Whitespace rechts mehr */
.detail-top {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  align-items: start; margin-bottom: 56px;
}
.detail-eckdaten-col { min-width: 0; }
.detail-contact-col { min-width: 0; }
.detail-contact-col .kontakt-box { position: sticky; top: 100px; margin: 0; }
@media (max-width: 920px) {
  .detail-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .detail-contact-col .kontakt-box { position: static; }
}

.detail-prose { max-width: 880px; }
.detail-prose h2 { margin-top: 48px; }
.detail-prose h2:first-child { margin-top: 0; }
.detail-prose p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.detail-prose ul {
  color: var(--ink-soft); font-size: 16px; line-height: 1.8;
  padding-left: 24px; margin-top: 12px;
}
.detail-prose .gallery { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) {
  .detail-prose .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .detail-prose .gallery { grid-template-columns: 1fr; }
}

.eckdaten-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.eckdaten-grid > div {
  padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.eckdaten-grid > div:nth-child(2n) { border-right: none; }
.eckdaten-grid > div:nth-last-child(-n+2) { border-bottom: none; }
.eckdaten-grid .label {
  font-size: 12px; color: var(--ink-mute); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 6px; font-weight: 500;
}
.eckdaten-grid .val {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.eckdaten-grid .val.preis { color: var(--accent); font-size: 22px; }
.eckdaten-grid .val.small { font-size: 14px; font-weight: 500; line-height: 1.4; }

.detail h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 56px 0 20px;
}

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); transition: transform 0.4s var(--ease);
}
.gallery img:hover { transform: scale(1.02); }

.callout {
  background: var(--canvas); padding: 28px 30px; border-radius: var(--radius);
  border-left: 3px solid var(--accent); margin: 24px 0;
}
.callout p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.callout b { color: var(--ink); }

/* ─── Kontakt-Box (Sticky-Sidebar) ─────────────────── */
.kontakt-box {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); padding: 32px;
  position: sticky; top: 100px;
}
.kontakt-box h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px;
}
.kontakt-box .sub {
  font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5;
  margin-bottom: 28px;
}
.kontakt-box .item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.kontakt-box .item:last-of-type { border-bottom: none; }
.kontakt-box .item .icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  flex-shrink: 0;
}
.kontakt-box .item .label {
  font-size: 12px; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;
}
.kontakt-box .item .val { font-size: 15px; font-weight: 500; color: var(--paper); }
.kontakt-box .item .val a { color: var(--paper); }
.kontakt-box .item .val a:hover { color: var(--accent-soft); }
.kontakt-box .cta {
  display: block; background: var(--accent); color: var(--paper);
  padding: 16px; border-radius: 10px; text-align: center;
  font-weight: 600; font-size: 15px; margin-top: 24px;
  transition: all 0.2s var(--ease);
}
.kontakt-box .cta:hover { background: var(--accent-2); transform: translateY(-1px); }

/* ─── USP-Block (Startseite) ───────────────────────── */
.usp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.usp { }
.usp .icon {
  width: 48px; height: 48px; background: var(--accent-soft); color: var(--accent);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.usp h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px;
}
.usp p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ─── Footer ───────────────────────────────────────── */
footer.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 80px 0 32px; margin-top: 0;
}
footer.site-footer .wrap { max-width: 1240px; }
footer.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
}
@media (max-width: 800px) { footer.site-footer .cols { grid-template-columns: 1fr 1fr; } }
footer .brand-block .logo { height: 32px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
footer .brand-block p { font-size: 14.5px; line-height: 1.6; max-width: 340px; }
footer h4 {
  color: white; font-size: 13px; font-weight: 600; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
footer a {
  color: rgba(255,255,255,0.7); display: block;
  padding: 5px 0; font-size: 14.5px; transition: color 0.2s;
}
footer a:hover { color: var(--paper); }
footer .legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ─── Legal-Pages ──────────────────────────────────── */
.legal-page { padding: 80px 0; max-width: 720px; margin: 0 auto; }
.legal-page h1 {
  font-size: 44px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
  margin: 40px 0 12px; color: var(--ink);
}
.legal-page p, .legal-page li {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px;
}
.legal-page a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ─── Mikro-Interaktionen ──────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .obj-card, .kontakt-box .cta, header nav a.cta { will-change: transform; }
}

/* ─── Kontakt-Seite ─────────────────────────────────── */
.kontakt-layout {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: start;
}
@media (max-width: 880px) { .kontakt-layout { grid-template-columns: 1fr; gap: 32px; } }

.kontakt-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative; box-sizing: border-box;
}
@media (max-width: 540px) { .kontakt-form { padding: 24px; } }

.kontakt-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 0 0 4px 0;
}
@media (max-width: 540px) { .kontakt-form .form-row { grid-template-columns: 1fr; } }

.kontakt-form .form-field {
  display: block; margin-bottom: 18px; min-width: 0;
}
.kontakt-form .form-field:last-of-type { margin-bottom: 24px; }

.kontakt-form .form-field label {
  display: block; width: 100%;
  font-size: 13px !important; line-height: 1.4;
  color: var(--ink-soft); font-weight: 500;
  margin: 0 0 6px 0; padding: 0;
  letter-spacing: 0; text-transform: none;
}

.kontakt-form .form-field input,
.kontakt-form .form-field textarea {
  display: block; width: 100%; box-sizing: border-box;
  font-family: inherit; font-size: 15.5px; line-height: 1.4;
  padding: 12px 14px; margin: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--canvas); color: var(--ink);
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.kontakt-form .form-field input:hover,
.kontakt-form .form-field textarea:hover { border-color: var(--ink-mute); }
.kontakt-form .form-field input:focus,
.kontakt-form .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  background: var(--paper); box-shadow: 0 0 0 3px rgba(107,142,92,0.20);
}
.kontakt-form .form-field input::placeholder,
.kontakt-form .form-field textarea::placeholder { color: var(--ink-mute); opacity: 1; }
.kontakt-form .form-field textarea {
  resize: vertical; min-height: 140px;
}

.kontakt-form .form-note {
  font-size: 13px; color: var(--ink-mute); line-height: 1.5;
  margin: 0 0 22px 0;
}
.kontakt-form .form-note a { color: var(--accent); border-bottom: 1px solid currentColor; }

.kontakt-form .form-submit {
  display: inline-block;
  background: var(--ink); color: var(--paper);
  border: none; padding: 16px 28px; border-radius: 10px;
  font-family: inherit; font-size: 15.5px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kontakt-form .form-submit:hover {
  background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow);
}

/* Kontakt-Direkt Sidebar (auf /kontakt.html) */
.kontakt-direkt {
  background: var(--canvas); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--line);
}
.kontakt-direkt h3 {
  font-size: 17px; font-weight: 600; margin-bottom: 8px;
}
.kontakt-direkt .sub {
  font-size: 14px; color: var(--ink-mute); line-height: 1.5;
  margin-bottom: 20px;
}
.kontakt-direkt .item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.kontakt-direkt .item:last-child { border: none; }
.kontakt-direkt .item .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  flex-shrink: 0;
}
.kontakt-direkt .item .label {
  font-size: 12px; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px;
}
.kontakt-direkt .item .val { font-size: 15px; font-weight: 500; color: var(--ink); }
.kontakt-direkt .item .val a { color: var(--ink); }
.kontakt-direkt .item .val a:hover { color: var(--accent); }

/* Lightbox entfernt — Bilder werden direkt in der Kachel als Slider gezeigt */

/* ─── Detail-Mapbox 3D-Flight Hero ─────────────────────────────── */
.detail-mapbox {
  position: relative; width: 100%;
  height: 70vh; min-height: 480px; max-height: 720px;
  background: #0a1428;
  overflow: hidden;
}
.detail-mapbox #mb-map {
  position: absolute; inset: 0;
}
.detail-mapbox .mb-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 48px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,20,40,0.65) 100%);
  color: white; z-index: 2; pointer-events: none;
}
.detail-mapbox .mb-overlay .badge {
  display: inline-block; background: rgba(251,247,238,0.95);
  color: var(--ink); padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.detail-mapbox .mb-overlay h1 {
  font-size: clamp(26px, 3.6vw, 42px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 4px;
  color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.detail-mapbox .mb-overlay .lage {
  font-size: 15px; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.detail-mapbox .mb-replay {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  padding: 8px 14px; font: inherit; font-size: 13.5px;
  background: rgba(251,247,238,0.94); color: var(--ink);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.detail-mapbox .mb-replay:hover { background: var(--paper); color: var(--accent); }

/* Mapbox-Hero ersetzt den statischen Detail-Hero visuell;
   alten Hero ausblenden, wenn Mapbox aktiv ist */
.detail-mapbox + .detail-hero { display: none; }
