/* ==========================================================================
   Gewerbepark HOT – zentrales Stylesheet
   Modern, hochwertig, industriell. Schwarz / Anthrazit / Grau / Gold.
   ========================================================================== */

:root {
  --color-black: #0b0b0c;
  --color-anthracite: #18191b;
  --color-dark-gray: #292b2f;
  --color-gray: #6c7075;
  --color-light-gray: #e7e7e4;
  --color-off-white: #f5f4ef;
  --color-white: #ffffff;
  --color-gold: #c6a15b;
  --color-gold-dark: #876a30;
  --color-text-muted: #5f6368;
  --color-muted-on-dark: #b7bab5;

  --font-head: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --header-height: 76px;
  --wrap-max: 1200px;
  --section-pad: clamp(56px, 9vw, 112px);
  --transition: 200ms ease;

  /* Rundungen zentral anpassen: 0px ergibt wieder die eckige Claude-Optik. */
  --radius-ui: 10px;
  --radius-card: 18px;
  --radius-media: 16px;
  --radius-panel: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 16px 38px rgba(11, 11, 12, 0.12);
  --shadow-dark: 0 18px 48px rgba(0, 0, 0, 0.28);
}

/* Basis ------------------------------------------------------------------ */
* { box-sizing: border-box; }

[inert] { pointer-events: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-anthracite);
  background: var(--color-off-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--color-black);
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--color-gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-black); }

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

address { font-style: normal; }
ul, ol { padding-left: 1.3em; }

.wrap { max-width: var(--wrap-max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.wrap-narrow { max-width: 900px; }

/* Sichtbare Fokusmarkierung (kein Entfernen ohne Ersatz) */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.section-dark :focus-visible,
.section-black :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible { outline-color: var(--color-gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  padding: 12px 20px;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

/* Nur mit JavaScript sichtbare Elemente */
.js-only { display: none; }
html.js .js-only { display: inline-block; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 26px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-gold { background: var(--color-gold); color: var(--color-black); }
.btn-gold:hover { background: #d8b877; color: var(--color-black); }
.btn-dark { background: var(--color-anthracite); color: var(--color-off-white); }
.btn-dark:hover { background: var(--color-black); color: var(--color-white); }
.btn-outline-light { border-color: var(--color-gray); color: var(--color-off-white); background: transparent; }
.btn-outline-light:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-outline-dark { border-color: var(--color-dark-gray); color: var(--color-anthracite); background: transparent; }
.btn-outline-dark:hover { background: var(--color-anthracite); color: var(--color-off-white); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--color-gold-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding: 4px 0;
  min-height: 44px;
}
.btn-text:hover { color: var(--color-black); }
.btn-text i { transition: transform var(--transition); }
.btn-text:hover i { transform: translateX(4px); }

/* Eyebrow / Abschnittsköpfe ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 14px;
}
.section-dark .eyebrow, .section-black .eyebrow, .hero .eyebrow, .subpage-head .eyebrow { color: var(--color-gold); }

.section { padding-block: var(--section-pad); }
.section-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-lead { font-size: 1.1rem; color: var(--color-text-muted); }
.section-more { margin-top: clamp(32px, 5vw, 48px); }

.section-light { background: var(--color-off-white); }
.section-white { background: var(--color-white); border-top: 1px solid var(--color-light-gray); }
.section-dark { background: var(--color-anthracite); color: var(--color-light-gray); }
.section-black { background: var(--color-black); color: var(--color-light-gray); }

.section-dark h2, .section-dark h3, .section-black h2, .section-black h3 { color: var(--color-off-white); }
.section-dark p { color: #c9cbc6; }
.section-black .section-lead { color: #a9aca8; }
.section-dark a, .section-black a { color: var(--color-gold); }
.section-dark a:hover, .section-black a:hover { color: #d8b877; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-black);
  border-bottom: 1px solid rgba(198, 161, 91, 0.3);
  transition: background var(--transition), box-shadow var(--transition);
}
.page-home .site-header-transparent {
  position: fixed;
  width: 100%;
  background: linear-gradient(180deg, rgba(11,11,12,0.85), rgba(11,11,12,0.4) 80%, transparent);
  border-bottom-color: transparent;
}
.page-home .site-header-transparent.is-scrolled {
  background: rgba(11, 11, 12, 0.96);
  border-bottom-color: rgba(198, 161, 91, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
}
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--color-off-white); letter-spacing: 0.03em; }
.brand-name strong { color: var(--color-gold); font-weight: 800; }

.main-nav { display: none; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block;
  padding: 12px 14px;
  color: var(--color-light-gray);
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--color-gold); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--color-gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: none;
  align-items: center; gap: 8px;
  color: var(--color-light-gray);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
}
.header-phone:hover { color: var(--color-gold); }
.header-phone i { color: var(--color-gold); }
.btn-header { display: none; padding: 12px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--color-gray);
  color: var(--color-off-white);
  font-size: 1.4rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--color-gold); color: var(--color-gold); }

@media (min-width: 992px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .btn-header { display: inline-block; }
}
@media (min-width: 1200px) {
  .header-phone { display: inline-flex; }
}

/* Offcanvas (mobile Navigation) -------------------------------------------- */
.offcanvas-backdrop {
  position: fixed; inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: rgba(11, 11, 12, 0.6);
  z-index: 140;
  cursor: pointer;
}
.offcanvas-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 90vw);
  background: var(--color-anthracite);
  color: var(--color-off-white);
  z-index: 150;
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 250ms ease, visibility 0s linear 250ms;
  overflow-y: auto;
}
.offcanvas-nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }

.offcanvas-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.offcanvas-close {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--color-gray);
  color: var(--color-off-white);
  font-size: 1.1rem;
  cursor: pointer;
}
.offcanvas-close:hover { border-color: var(--color-gold); color: var(--color-gold); }

.offcanvas-list { list-style: none; margin: 0; padding: 0; display: grid; }
.offcanvas-list a {
  display: block;
  padding: 14px 4px;
  color: var(--color-off-white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 1px solid var(--color-dark-gray);
}
.offcanvas-list a:hover, .offcanvas-list a[aria-current] { color: var(--color-gold); }

.offcanvas-contact { display: grid; gap: 12px; margin-top: auto; }
.offcanvas-contact a { color: var(--color-light-gray); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.offcanvas-contact a i { color: var(--color-gold); }
.offcanvas-contact .btn { justify-self: start; }

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(480px, 78vh, 820px);
  display: flex;
  align-items: center;
  background: var(--color-black);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,12,0.9) 0%, rgba(11,11,12,0.72) 45%, rgba(11,11,12,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-height) + 48px) 72px;
}
.hero h1 { color: var(--color-off-white); max-width: 16ch; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #d5d5cf; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

@media (max-width: 575px) {
  .hero { min-height: 78vh; }
}

/* Originales Logo und Sachsenring-Ausblick ---------------------------------- */
.brand-building {
  flex: 0 0 auto;
  justify-content: center;
  width: 82px;
  height: 56px;
  padding: 7px 10px;
  border-radius: var(--radius-ui);
  background: var(--color-off-white);
}
.brand-building-image { display: block; width: 100%; height: auto; }
.hero-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "eyebrow" "copy"; }
.hero-eyebrow { grid-area: eyebrow; margin-bottom: 0; }
.hero-logo-panel {
  grid-area: logo;
  align-self: start;
  width: min(100%, 460px);
  padding: 22px;
  border-radius: var(--radius-card);
  border-bottom: 3px solid var(--color-gold);
  background: var(--color-off-white);
  box-shadow: var(--shadow-dark);
}
.hero-logo { display: block; width: 100%; height: auto; }
.hero-copy { grid-area: copy; min-width: 0; }
.offcanvas-head .offcanvas-logo-original {
  width: min(230px, 58vw);
  min-width: 0;
  max-width: 100%;
  max-height: none;
  height: auto;
  padding: 13px;
  border-radius: var(--radius-ui);
  background: var(--color-off-white);
}
.offcanvas-head .offcanvas-close { flex: 0 0 44px; }
.anniversary-section {
  background: #eeece5;
  border-top: 4px solid var(--color-gold);
}
.anniversary-head { margin-bottom: clamp(28px, 4vw, 30px); }
.anniversary-head .eyebrow { color: #806329; }
.anniversary-head h2 { text-wrap: wrap; }
.anniversary-head .section-lead { max-width: none; margin-bottom: 0; text-wrap: wrap; }
.anniversary-booking-notice {
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 28px);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-card);
  background: var(--color-off-white);
}
.anniversary-booking-notice h3 { font-size: 1.15rem; line-height: 1.35; }
.anniversary-booking-notice p { margin: 0; }
.anniversary-grid { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
.anniversary-grid > * { min-width: 0; }
.anniversary-number { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 22px; }
.anniversary-number strong {
  font-family: var(--font-head);
  font-size: clamp(2.9rem, 5.5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.anniversary-number span { font-size: 1rem; line-height: 1.4; }
.anniversary-note { padding-left: 16px; border-left: 2px solid #b5a275; font-size: .95rem; color: #575951; margin-bottom: 0; }
.anniversary-photo { margin: 0; }
.anniversary-photo .media-frame { box-shadow: var(--shadow-card); }
.anniversary-photo img { display: block; width: 100%; height: auto; }
.anniversary-offers {
  display: grid;
  gap: 26px;
  list-style: none;
  padding: 30px 0;
  margin: clamp(28px, 4vw, 48px) 0 0;
  border-block: 1px solid #c7c1b3;
}
.anniversary-offers li { min-width: 0; }
.anniversary-offer-number { display: block; margin-bottom: 10px; color: #806329; font-size: .85rem; font-weight: 700; letter-spacing: .1em; }
.anniversary-offers h3 { font-size: 1.1rem; line-height: 1.35; }
.anniversary-offers p { margin-bottom: 0; color: #575951; }
.anniversary-prices {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-card);
  background: var(--color-off-white);
}
.anniversary-prices h3 { font-size: 1.15rem; }
.anniversary-prices p { margin-bottom: 0; color: #575951; font-size: .95rem; }
.anniversary-price-list { display: grid; gap: 24px; margin: 0; }
.anniversary-price-list dt { font-weight: 600; margin-bottom: 8px; }
.anniversary-price-list dd { margin: 0; }
.anniversary-price-list strong { display: block; font-family: var(--font-head); font-size: 1.6rem; }
.anniversary-price-list span { display: block; color: #575951; font-size: .9rem; }
.anniversary-conditions {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.anniversary-conditions-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #c7c1b3;
  border-radius: var(--radius-card);
  background: var(--color-off-white);
}
.anniversary-conditions-card h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.35;
  text-wrap: wrap;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.anniversary-rules,
.anniversary-cancellation { margin: 0; }
.anniversary-rules > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  padding-block: 12px;
}
.anniversary-rules > div:first-child { padding-top: 0; }
.anniversary-rules > div:last-child { padding-bottom: 0; }
.anniversary-rules > div + div,
.anniversary-cancellation > div + div { border-top: 1px solid #dcd8cd; }
.anniversary-rules dt,
.anniversary-cancellation dt { font-weight: 600; }
.anniversary-rules dd { margin: 0; color: #575951; }
.anniversary-cancellation > div + div { margin-top: 18px; padding-top: 18px; }
.anniversary-cancellation dd { margin: 6px 0 0; color: #575951; }
.anniversary-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 28px; }
.anniversary-bottom p { flex: 1 1 320px; max-width: 62ch; margin-bottom: 0; }
.anniversary-bottom .btn { flex: 0 1 auto; }
.development-heading { margin-top: 30px; }
#gewerbepark .split-grid > * { min-width: 0; }
#gewerbepark .benefit-list h3,
.development-heading { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 575px) {
  .hero-logo-panel { width: 100%; }
}
@media (min-width: 576px) {
  .anniversary-price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .anniversary-offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
}
@media (min-width: 992px) {
  .anniversary-grid { grid-template-columns: 1fr 1.1fr; }
  .anniversary-prices { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .anniversary-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .hero-copy h1 { max-width: 20ch; }
}

/* Standortleiste */
.location-bar {
  background: var(--color-anthracite);
  border-block: 1px solid rgba(198, 161, 91, 0.3);
}
.location-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 24px;
}
.location-bar p {
  margin: 0;
  padding: 18px 0;
  color: #c9cbc6;
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 10px;
}
.location-bar i { color: var(--color-gold); }

/* Medienrahmen + KI-Info ----------------------------------------------------- */
.media-frame { position: relative; margin: 0; overflow: hidden; background: var(--color-light-gray); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/*.media-frame-169 { aspect-ratio: 16 / 9; }*/

.media-info { position: absolute; right: 10px; bottom: 10px; z-index: 5; text-align: right; }
.media-info summary {
  list-style: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.65);
  border: 1px solid rgba(231, 231, 228, 0.4);
  color: var(--color-off-white);
  cursor: pointer;
  font-size: 0.95rem;
}
.media-info summary::-webkit-details-marker { display: none; }
.media-info summary:hover { background: rgba(11, 11, 12, 0.85); border-color: var(--color-gold); color: var(--color-gold); }
.media-info[open] summary { border-color: var(--color-gold); color: var(--color-gold); }
.media-info-text {
  display: inline-block;
  margin-top: 6px;
  background: rgba(11, 11, 12, 0.9);
  border: 1px solid var(--color-gray);
  color: var(--color-light-gray);
  font-size: 0.8rem;
  padding: 4px 10px;
  white-space: nowrap;
}

/* News ------------------------------------------------------------------------ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 576px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  box-shadow: 0 1px 0 rgba(11, 11, 12, 0.05);
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: 0 12px 28px rgba(11, 11, 12, 0.12); }
.news-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.news-date { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--color-gold-dark); }
.news-title { font-size: 1.2rem; margin: 0; }
.news-excerpt { color: var(--color-text-muted); font-size: 0.98rem; margin: 0; flex: 1; }
.news-card .btn-text { align-self: flex-start; margin-top: 6px; }

.news-empty {
  display: flex; align-items: center; gap: 16px;
  background: var(--color-white);
  border: 1px dashed var(--color-gray);
  padding: 28px 24px;
  color: var(--color-gray);
}
.news-empty i { font-size: 1.6rem; color: var(--color-gold-dark); }
.news-empty p { margin: 0; }

/* Artikel (Unterseite Aktuelles) */
.news-article {
  display: grid;
  gap: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 32px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
/*.news-article:target { border-color: var(--color-gold); box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.35); }*/
.news-article-media { max-width: 100%; }
.news-article .news-title { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.news-content :is(h3, h4) { margin-top: 1.2em; }
.news-content a { word-break: break-word; }

@media (min-width: 768px) {
  .news-article { grid-template-columns: 280px 1fr; align-items: start; }
  .news-article-media { position: sticky; top: 0px; }
}

/* Mieter ---------------------------------------------------------------------- */
.tenant-directory {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-light-gray);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-off-white);
}
.tenant-directory-entry {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
}
.tenant-directory-entry + .tenant-directory-entry { border-top: 1px solid #dcdad1; }
.tenant-directory-company { min-width: 0; }
.tenant-directory-entry h3 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1rem);
  line-height: 1.4;
  text-wrap: wrap;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.tenant-directory-entry p { min-width: 0; margin: 0; color: var(--color-text-muted); }
.tenant-directory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  font-weight: 600;
}
.tenant-inquiry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-block: 28px clamp(40px, 5vw, 64px);
}
.tenant-inquiry p { flex: 1 1 360px; max-width: 64ch; margin: 0; }
.tenant-inquiry .btn { flex: 0 0 auto; }
@media (min-width: 768px) {
  .tenant-directory-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 40px; }
}

.tenant-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) { .tenant-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .tenant-grid { grid-template-columns: repeat(4, 1fr); } }

.tenant-card { display: grid; gap: 10px; }
.tenant-media { aspect-ratio: 3 / 2; border: 1px solid var(--color-light-gray); background: var(--color-off-white); }
.tenant-name { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); text-align: center; }
.tenant-name a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* Gewerbepark / Vorteile -------------------------------------------------------- */
.split-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 992px) {
  .split-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .split-grid-lage { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
}

.benefit-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(198, 161, 91, 0.35);
  border: 1px solid rgba(198, 161, 91, 0.35);
}
.benefit-list li { background: #202225; padding: 26px 28px; }
.benefit-list h3 { font-size: 1.05rem; color: var(--color-gold); display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.benefit-list p { margin: 0; font-size: 0.95rem; color: #a9aca8; }

/* Galerie ------------------------------------------------------------------------ */
.gallery-block { margin-top: clamp(48px, 7vw, 80px); }
.gallery-heading { color: var(--color-off-white); margin-bottom: 28px; }

.gallery-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(120px, 20vw, 180px);
  grid-auto-flow: dense;
  gap: 14px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item-tall { grid-row: span 2; }

.gallery-media { width: 100%; height: 100%; background: var(--color-dark-gray); }
.gallery-open {
  display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  cursor: pointer;
  background: transparent;
  position: relative;
}
.gallery-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-zoom {
  position: absolute; left: 10px; bottom: 10px;
  z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(11, 11, 12, 0.65);
  border: 1px solid rgba(231, 231, 228, 0.4);
  color: var(--color-off-white);
  font-size: 0.85rem;
  opacity: 0.85;
}
.gallery-open:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { border-color: var(--color-gold); color: var(--color-gold); }

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  width: 100%;
}
.lightbox::backdrop { background: rgba(11, 11, 12, 0.88); }
.lightbox-inner { position: relative; background: var(--color-anthracite); padding: 16px; }
.lightbox-img { width: 100%; height: auto; max-height: 74vh; object-fit: contain; background: var(--color-black); }
.lightbox-caption {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 14px 4px 4px;
  color: var(--color-light-gray);
  font-size: 0.95rem;
}
.lightbox-count { color: var(--color-gold); white-space: nowrap; }
.lightbox-controls {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex; justify-content: space-between;
  padding: 0 4px;
  pointer-events: none;
}
.lightbox-btn {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(11, 11, 12, 0.75);
  border: 1px solid var(--color-gray);
  color: var(--color-off-white);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
.lightbox-close { position: absolute; top: -20px; right: -8px; }
@media (max-width: 575px) { .lightbox-close { top: 4px; right: 4px; } }

/* Lage / Karte ---------------------------------------------------------------------- */
.address-block {
  font-size: 1.15rem;
  line-height: 1.6;
  border-left: 2px solid var(--color-gold);
  padding-left: 20px;
  margin-bottom: 24px;
  color: var(--color-dark-gray);
}
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

.map-block { width: 100%; }
/* Schematische, rein dekorative Kartenansicht */
.map-consent {
  aspect-ratio: 4 / 5;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border: 1px solid #d5d4ce;

  background-color: #ecebe6;
  background-image: url('../images/map-schematic.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: grid;
  place-items: center;

  padding: clamp(20px, 4vw, 40px);
}

/* Ruhige Aufhellung, damit der Hinweis gut lesbar bleibt */
.map-consent::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(245, 244, 239, 0.10) 0 28%,
      rgba(245, 244, 239, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(11, 11, 12, 0.05)
    );
}

.map-consent-inner {
  position: relative;
  z-index: 1;
  max-width: 52ch;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-card);
  background: rgba(245, 244, 239, 0.92);
  box-shadow:
    0 18px 45px rgba(11, 11, 12, 0.14);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Gleiche Höhe nach dem Laden der echten Karte */
.map-frame {
  aspect-ratio: 4 / 5;
}

.map-consent-inner { max-width: 52ch; text-align: center; display: grid; gap: 14px; justify-items: center; }
.map-consent-inner > i { font-size: 2rem; color: var(--color-gold-dark); }
.map-consent-note { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }
.map-consent-missing { margin: 0; font-size: 0.9rem; color: #6b5313; font-weight: 600; }
.map-consent-fallback { margin: 0; font-size: 0.95rem; }
.map-consent-fallback a { color: #76591f; font-weight: 600; }
.map-consent-fallback a:hover { color: var(--color-black); }

.map-frame { aspect-ratio: 16 / 10; width: 100%; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Kontakt ---------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

@media (min-width: 992px) {

  .map-consent {
    aspect-ratio: 16 / 10;
  }
  .contact-layout {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }

  .contact-details {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

.contact-details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #35383c;
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #1c1e20 0%, var(--color-anthracite) 100%);
  box-shadow: var(--shadow-dark);
}

.contact-details-head {
  padding: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid #34373b;
}

.contact-details-kicker {
  margin: 0 0 8px;
  color: var(--color-gold);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details-head h3 {
  margin-bottom: 12px;
  color: var(--color-off-white);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.contact-details-head > p:last-child {
  margin: 0;
  color: var(--color-muted-on-dark);
  font-size: 0.98rem;
}

.contact-detail-list,
.contact-phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-detail-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px clamp(22px, 3vw, 32px);
  border-bottom: 1px solid #34373b;
  transition: background-color var(--transition);
}

.contact-detail-item:last-child {
  border-bottom: 0;
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: var(--radius-ui);
  background: rgba(198, 161, 91, 0.08);
  color: var(--color-gold);
}

.contact-detail-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-detail-content {
  min-width: 0;
}

.contact-detail-content h4 {
  margin: 2px 0 9px;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail-content address,
.contact-detail-content p {
  margin: 0;
  color: #d4d6d1;
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-phone-list {
  display: grid;
  gap: 12px;
}

.contact-phone-list li {
  display: grid;
  gap: 1px;
}

.contact-channel-label {
  color: var(--color-muted-on-dark);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-phone-list a,
.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--color-off-white);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.contact-phone-list a:hover,
.contact-email:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.contact-email {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-muted {
  color: var(--color-muted-on-dark) !important;
}

.contact-form-wrap {
  min-width: 0;
}

@media (max-width: 575px) {
  .contact-detail-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding-inline: 20px;
  }

  .contact-detail-icon {
    width: 42px;
    height: 42px;
  }
}

/* Formular */
.contact-form-box {
  max-width: 100%;
  background: var(--color-anthracite);
  border: 1px solid #35383c;
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 4vw, 40px);
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.contact-form-title { color: var(--color-off-white); margin-bottom: 8px; }

.contact-form { display: grid; gap: 20px; }
.form-grid-2 { display: grid; gap: 20px; }
@media (min-width: 576px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.92rem; font-weight: 600; color: #c9cbc6; }
.req { color: var(--color-gold); }
.optional, .hint-objekt { color: var(--color-muted-on-dark); font-weight: 400; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--color-black);
  border: 1px solid var(--color-gray);
  color: var(--color-off-white);
  font: inherit;
  padding: 12px 14px;
  min-height: 48px;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row ::placeholder { color: var(--color-muted-on-dark); opacity: 1; }
.form-row :is(input, select, textarea):focus-visible { outline: 3px solid var(--color-gold); outline-offset: 1px; border-color: var(--color-gold); }
.form-row [aria-invalid="true"] { border-color: #c0554d; }

.field-error {
  margin: 0;
  color: #e8a49e;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 6px;
}

.form-consent .consent-line { display: flex; gap: 12px; align-items: flex-start; }
.form-consent input[type="checkbox"] { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--color-gold); flex-shrink: 0; }
.form-consent label { font-weight: 400; line-height: 1.5; }

.form-status {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-status p { margin: 0; }
.form-status ul { margin: 8px 0 0; }
.form-status i { font-size: 1.2rem; margin-top: 1px; }
.form-success { background: rgba(105, 150, 100, 0.15); border: 1px solid #6a9664; color: #c2dbbe; }
.form-error { background: rgba(192, 85, 77, 0.12); border: 1px solid #c0554d; color: #e8c3bf; }
.form-error a { color: #f0d5d2; }

/* Honeypot: für Besucher unsichtbar, für Screenreader über aria-hidden entfernt */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Unterseiten ---------------------------------------------------------------------- */
.subpage-head {
  background: var(--color-black);
  color: var(--color-light-gray);
  padding: clamp(32px, 6vw, 64px) 0 clamp(28px, 5vw, 48px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.3);
}
.subpage-head h1 { color: var(--color-off-white); margin-bottom: 0.3em; }
.subpage-lead { color: #a9aca8; max-width: 62ch; margin: 0; }

.breadcrumb-nav { margin-bottom: 20px; font-size: 0.88rem; }
.breadcrumb-nav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--color-muted-on-dark); }
.breadcrumb-nav li + li::before { content: '/'; margin-right: 8px; color: var(--color-muted-on-dark); }
.breadcrumb-nav a { color: #c9cbc6; }
.breadcrumb-nav a:hover { color: var(--color-gold); }

/* Rechtstexte */
.legal-content h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-notice {
  display: flex; gap: 14px;
  background: #fdf6e7;
  border: 1px solid var(--color-gold);
  padding: 18px 20px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}
.legal-notice i { color: var(--color-gold-dark); font-size: 1.2rem; }
.legal-notice p { margin: 0; }
mark.todo {
  background: #fdeeC8;
  color: #6b5313;
  font-weight: 600;
  padding: 1px 6px;
}

/* Footer ---------------------------------------------------------------------------- */
.site-footer {
  background: #060607;
  color: #a9aca8;
  border-top: 1px solid rgba(198, 161, 91, 0.3);
  padding-top: clamp(40px, 6vw, 64px);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand { font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand a { color: white; text-decoration: none; }
.footer-brand a:hover { color: var(--color-gold); }
.footer-about p { max-width: 40ch; }
.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted-on-dark);
  margin-bottom: 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-list a, .to-top {
  color: #c9cbc6;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px;
}
.footer-list a:hover, .to-top:hover { color: var(--color-gold); }
.footer-list i { color: var(--color-gold); font-size: 0.9rem; }
.footer-address { margin-bottom: 14px; line-height: 1.7; }
.footer-muted { color: var(--color-muted-on-dark); display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-muted i { color: var(--color-muted-on-dark); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #1d1f21;
  padding-block: 20px;
  font-size: 0.88rem;
  color: var(--color-muted-on-dark);
}
.footer-bottom p { margin: 0; }

/* Einblend-Animation (progressive Verbesserung) ------------------------------------- */
html.js .reveal {
  transform: translateY(18px);
  transition: transform 500ms ease;
}
html.js .reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Technische Überarbeitung: Rundungen, lokale SVG-Icons, Lightbox & Motion
   ========================================================================== */

html {
  scroll-padding-top: calc(var(--header-height) + 18px);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

[hidden] {
  display: none !important;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
}

:focus-visible {
  border-radius: var(--radius-ui);
}

.skip-link,
.btn,
.nav-toggle,
.offcanvas-close,
.lightbox-btn,
.form-status,
.legal-notice,
.media-info-text {
  border-radius: var(--radius-ui);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  text-align: center;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn .icon,
.btn-text .icon {
  transition: transform var(--transition);
}

.btn-text:hover .icon,
.btn-text:focus-visible .icon,
.btn:hover .icon,
.btn:focus-visible .icon {
  transform: translateX(3px);
}

.brand-mark {
  border-radius: var(--radius-ui);
}

.brand-logo,
.offcanvas-logo,
.footer-logo {
  display: block;
  width: auto;
  max-width: min(240px, 48vw);
  max-height: 58px;
  object-fit: contain;
}

.footer-logo {
  max-width: 230px;
  margin-bottom: 18px;
}

.nav-toggle,
.offcanvas-close,
.lightbox-btn {
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.offcanvas-backdrop {
  opacity: 0;
  transition: opacity 250ms ease;
}

html.js .offcanvas-backdrop:not([hidden]) {
  opacity: 1;
}

.offcanvas-nav {
  border-radius: var(--radius-panel) 0 0 var(--radius-panel);
  box-shadow: var(--shadow-dark);
}

.hero-media,
.media-frame,
.news-card,
.news-article,
.news-empty,
.tenant-media,
.benefit-list,
.benefit-list li,
.map-consent,
.map-frame,
.contact-box,
.contact-form-box,
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  border-radius: var(--radius-card);
}

.hero-media {
  border-radius: 0;
}

.media-frame,
.news-card,
.news-article,
.tenant-media,
.map-consent,
.map-frame,
.contact-box,
.contact-form-box {
  overflow: hidden;
}

.news-card,
.tenant-card,
.benefit-list li,
.contact-box,
.map-consent,
.contact-form-box {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.news-card {
  box-shadow: 0 8px 24px rgba(11, 11, 12, 0.06);
}

.news-card .media-frame {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.news-card-body {
  padding: clamp(22px, 3vw, 28px);
}

.news-article {
  box-shadow: 0 12px 34px rgba(11, 11, 12, 0.06);
}

.news-article-media {
  border-radius: var(--radius-media);
  overflow: hidden;
}

.news-image-open,
.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2, .75, .2, 1), filter 300ms ease;
}

.media-zoom-icon,
.gallery-zoom {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 12, 0.74);
  color: var(--color-off-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.lightbox-trigger:hover .media-zoom-icon,
.lightbox-trigger:focus-visible .media-zoom-icon {
  color: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.06);
}

.media-info {
  right: 12px;
  bottom: 12px;
}

.media-info summary {
  width: 38px;
  height: 38px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.media-info-text {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.tenant-media img {
  transition: transform 360ms ease, filter 360ms ease;
}

.benefit-list {
  gap: 10px;
  padding: 10px;
  border: 0;
  background: rgba(198, 161, 91, 0.4);
}

.benefit-list li {
  border-radius: calc(var(--radius-card) - 2px);
}

/* Einheitliche Galerie: ausschließlich Querformat */
.gallery-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  grid-auto-flow: row;
  gap: clamp(14px, 2vw, 22px);
}

.gallery-item,
.gallery-item-tall {
  min-width: 0;
  grid-row: auto;
}

.gallery-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-media);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.gallery-open {
  border-radius: inherit;
}

.gallery-open img {
  position: static;
}

@media (min-width: 576px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.map-consent,
.map-frame {
  border-radius: var(--radius-panel);
  box-shadow: 0 14px 36px rgba(11, 11, 12, 0.1);
}

.map-consent-inner > .icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--color-gold-dark);
}

.contact-box {
  border-top-width: 3px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.contact-box h3 .icon,
.location-bar .icon,
.benefit-list .icon,
.footer-list .icon,
.header-phone .icon,
.offcanvas-contact .icon {
  color: var(--color-gold);
}

.contact-form-box {
  max-width: 100%;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-dark);
}

.contact-form-heading {
  margin-bottom: 24px;
}

.contact-form-heading p,
.field-hint {
  color: var(--color-muted-on-dark);
  font-size: 0.9rem;
  margin: 0;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  border-radius: var(--radius-ui);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-row :is(input, select, textarea):focus-visible {
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.18);
}

.objekt-fields {
  padding: 0;
  border-radius: var(--radius-card);
  transition: background-color var(--transition), padding var(--transition);
}

.objekt-fields.is-relevant {
  padding: 18px;
  background: rgba(198, 161, 91, 0.07);
  border: 1px solid rgba(198, 161, 91, 0.25);
}

.form-status .icon,
.field-error .icon,
.legal-notice .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12em;
}

.legal-notice,
.news-empty {
  border-radius: var(--radius-card);
}

mark.todo {
  border-radius: 5px;
}

/* Browserunabhängige Overlay-Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: clamp(12px, 3vw, 36px);
  border: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  max-height: calc(100dvh - clamp(24px, 6vw, 72px));
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid rgba(198, 161, 91, 0.36);
  border-radius: var(--radius-panel);
  background: rgba(24, 25, 27, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  transform: translateY(12px) scale(0.985);
  transition: transform 220ms ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: none;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
}

.lightbox-figure {
  /* Einzelbilder bleiben mittig, auch wenn beide Navigationspfeile fehlen. */
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  margin: 0;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: min(76dvh, 850px);
  object-fit: contain;
  border-radius: var(--radius-media);
  background: var(--color-black);
  transition: opacity 160ms ease;
}

.lightbox-img.is-loading {
  opacity: 0.35;
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 4px 2px;
  color: var(--color-light-gray);
  font-size: 0.95rem;
}

.lightbox-count {
  color: var(--color-gold);
  white-space: nowrap;
}

.lightbox-origin {
  position: absolute;
  right: 12px;
  bottom: 52px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 12, 0.8);
  color: var(--color-off-white);
  font-size: 0.8rem;
}

.lightbox-btn {
  position: static;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-gray);
  background: rgba(11, 11, 12, 0.78);
  color: var(--color-off-white);
  cursor: pointer;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-black);
  color: var(--color-gold);
  transform: scale(1.04);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  border-radius: var(--radius-pill);
}

@media (max-width: 767px) {
  .lightbox {
    padding: 10px;
  }

  .lightbox-dialog {
    width: 100%;
    padding: 10px;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lightbox-figure {
    grid-column: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }

  .lightbox-prev:hover,
  .lightbox-prev:focus-visible,
  .lightbox-next:hover,
  .lightbox-next:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-meta {
    padding-inline: 4px;
    padding-right: 58px;
    font-size: 0.88rem;
  }

  .lightbox-origin {
    bottom: 60px;
  }
}

@media (max-width: 479px) {
  .lightbox-meta {
    display: grid;
    gap: 4px;
    padding-right: 0;
  }

  .lightbox-origin {
    right: 8px;
    bottom: 70px;
  }
}

/* Ruhige Hover- und Fokusbewegungen nur bei präzisen Zeigegeräten */
@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11, 11, 12, 0.18);
  }

  .section-dark .btn:hover,
  .section-black .btn:hover,
  .site-header .btn:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  }

  .news-card:hover,
  .news-card:focus-within,
  .contact-box:hover,
  .contact-box:focus-within,
  .benefit-list li:hover,
  .benefit-list li:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
  }

  .lightbox-trigger:hover img,
  .lightbox-trigger:focus-visible img {
    transform: scale(1.045);
    filter: contrast(1.04);
  }

  .tenant-card:hover .tenant-media img,
  .tenant-card:focus-within .tenant-media img {
    transform: scale(1.035);
  }

  .contact-detail-item:hover,
  .contact-detail-item:focus-within {
    background: rgba(198, 161, 91, 0.055);
  }
}

/* Einblendungen bleiben ohne JavaScript vollständig sichtbar. */
html.js .reveal {
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

html.js .reveal.is-visible {
  will-change: auto;
}

@keyframes hero-content-in {
  from { transform: translateY(16px); }
  to { transform: none; }
}

html.js .page-home .hero-content > * {
  animation: hero-content-in 620ms both;
}

html.js .page-home .hero-content > *:nth-child(2) { animation-delay: 70ms; }
html.js .page-home .hero-content > *:nth-child(3) { animation-delay: 140ms; }
html.js .page-home .hero-content > *:nth-child(4) { animation-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .page-home .hero-content > * { animation: none; }
  .lightbox,
  .lightbox-dialog,
  .lightbox-img,
  .lightbox-trigger img { transition: none; }
}

.hero-image-open {
  position: absolute;
  left: clamp(16px, 4vw, 32px);
  bottom: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 12, 0.68);
  color: var(--color-off-white);
  font: 600 0.82rem/1 var(--font-body);
  cursor: zoom-in;
  backdrop-filter: blur(6px);
  transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.hero-image-open:hover,
.hero-image-open:focus-visible {
  border-color: var(--color-gold);
  background: rgba(11, 11, 12, 0.9);
  color: var(--color-gold);
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .hero-image-open span:not(.visually-hidden) { display: none; }
  .hero-image-open { width: 42px; justify-content: center; padding-inline: 0; }
}

/* Die allgemeine .btn-Regel darf den mobilen Header-CTA nicht einblenden. */
.btn-header { display: none; }
@media (min-width: 992px) {
  .btn-header { display: inline-flex; }
}

/* ==========================================================================
   Zusätzliche Bilder innerhalb einer aktuellen Meldung
   In assets/css/style.css am Dateiende ergänzen.
   ========================================================================== */

.news-article-gallery {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: clamp(4px, 1vw, 12px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--color-light-gray);
}

.news-gallery-heading {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.news-gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 0;
}

.news-gallery-item {
  min-width: 0;
}

.news-gallery-media {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-media);
  background: var(--color-light-gray);
  box-shadow: 0 8px 24px rgba(11, 11, 12, 0.08);
}

.news-gallery-open {
  height: auto;
  border-radius: inherit;
}

.news-gallery-open img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* News-Bilder vollständig und ohne Beschnitt zeigen. */
.news-card .media-frame img,
.news-article-media img {
  height: auto;
  object-fit: contain;
}
.news-image-open { height: auto; }
.news-image-open:hover img,
.news-image-open:focus-visible img,
.news-gallery-open:hover img,
.news-gallery-open:focus-visible img {
  transform: none;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .news-gallery-media {
    transition:
      transform 260ms ease,
      box-shadow 260ms ease,
      border-color 260ms ease;
  }

  .news-gallery-media:hover,
  .news-gallery-media:focus-within {
    transform: translateY(-3px);
    border-color: rgba(198, 161, 91, 0.7);
    box-shadow: 0 14px 32px rgba(11, 11, 12, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-gallery-media,
  .news-gallery-open img {
    transition: none;
  }

  .news-gallery-media:hover,
  .news-gallery-media:focus-within {
    transform: none;
  }
}
