@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:          #07090f;
  --bg-card:     #0c101a;
  --bg-raise:    #111827;

  --amber:       #e07c1e;
  --amber-dk:    #c46915;
  --amber-dim:   rgba(224, 124, 30, 0.09);
  --amber-glow:  rgba(224, 124, 30, 0.22);
  --amber-rim:   rgba(224, 124, 30, 0.38);

  --steel:       #5b8db8;

  --text:        #f0ece5;
  --text-mid:    #9aabb9;
  --text-muted:  #5e6f82;
  --text-faint:  #2d3748;

  --border:      rgba(255, 255, 255, 0.06);
  --border-acc:  rgba(224, 124, 30, 0.18);

  --font-disp:   'Bebas Neue', sans-serif;
  --font-body:   'Outfit', sans-serif;
  --font-mono:   'Space Mono', monospace;

  --section-py:  clamp(72px, 10vw, 136px);
  --nav-h:       72px;
  --max-w:       1480px;
  --gutter:      clamp(20px, 5vw, 56px);
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         240ms;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber-dk); border-radius: 99px; }

/* ============================================================
   UTILS
   ============================================================ */
.container {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border-acc);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}

.nav__logo-hexagon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav__logo-forge  { color: var(--amber); }
.nav__logo-sep    { color: var(--border-acc); margin-inline: 1px; font-size: 1rem; }
.nav__logo-storage { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 22px !important;
  background: var(--amber);
  color: var(--bg) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--amber-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 124, 30, 0.28) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1000;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   STANDORTE (SITES)
   ============================================================ */
.sites {
  padding-top: calc(var(--nav-h) + 44px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse 50% 55% at 85% 20%, rgba(224, 124, 30, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #090c14 0%, #07090f 100%);
  border-bottom: 1px solid var(--border);
}

.sites__header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.sites__layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 36px);
  align-items: start;
}

.sites__list {
  display: grid;
  gap: 12px;
}

.site-card {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 24px 22px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.site-card:hover,
.site-card:focus-visible {
  border-color: var(--amber-rim);
  background: #101621;
  transform: translateY(-1px);
  outline: none;
}

.site-card.is-active {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(224, 124, 30, 0.12) 0%, rgba(17, 24, 39, 0.95) 100%);
  box-shadow: inset 3px 0 0 var(--amber);
}

.site-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.site-card__name {
  display: block;
  font-family: var(--font-disp);
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.site-card__meta {
  display: block;
  font-size: 0.84rem;
  color: var(--text-mid);
}

.sites__viewer {
  background: var(--bg-card);
  border: 1px solid var(--border-acc);
  border-top: 2px solid var(--amber);
  padding: clamp(18px, 3vw, 28px);
}

.sites__viewer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sites__viewer-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.sites__viewer-name {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.sites__viewer-head--stacked {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.sites__viewer-head-copy {
  min-width: 0;
}

.sites__viewer-name--large {
  margin-top: 12px;
  font-size: clamp(1.2rem, 3.5vw, 2.8rem);
  line-height: 0.9;
  color: var(--amber);
}

.room-size-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.room-size-filter--in-header {
  justify-content: flex-end;
  margin-top: 0;
}

.room-size-filter__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.room-size-filter__select {
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: #111827;
  padding: 10px 12px;
  font: inherit;
  color-scheme: light;
}

.room-size-filter__select option {
  background: #ffffff;
  color: #111827;
}

.sites__viewer-frame {
  background: #061221;
  width: 80%;
  min-height: 272px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(59, 110, 180, 0.2),
    0 0 48px rgba(6, 18, 33, 0.55);
}

.sites__viewer-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 110, 180, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 110, 180, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(59, 110, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 110, 180, 0.05) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

.sites__viewer-frame::after {
  content: 'FORGE STORAGE · GRUNDRISS · M 1:200';
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px 10px;
  border-top: 1px solid rgba(59, 110, 180, 0.28);
  border-left: 1px solid rgba(59, 110, 180, 0.28);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(59, 110, 180, 0.45);
  pointer-events: none;
  z-index: 2;
}

.sites__viewer-frame > * {
  position: relative;
  z-index: 1;
}

.booking-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
  align-items: stretch;
}

.room-booking-panel {
  background: #0f1520;
  border: 1px solid var(--border);
  padding: 12px;
}

.room-booking-panel__title {
  margin-top: 6px;
  margin-bottom: 10px;
  font-family: var(--font-disp);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.room-booking-panel__details {
  display: grid;
  gap: 1px;
  margin-bottom: 10px;
  background: var(--border);
}

.room-booking-panel__details div {
  min-width: 0;
  background: var(--bg-card);
  padding: 8px 10px;
}

.room-booking-panel__inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.room-booking-panel__details dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.room-booking-panel__details dd {
  min-height: 20px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.82rem;
}

.room-booking-panel__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 8px;
  font: inherit;
}

.room-booking-panel__status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--text-mid);
  font-size: 0.78rem;
  white-space: pre-line;
}

.room-booking-panel.is-booked-state .room-booking-panel__details,
.room-booking-panel.is-booked-state #booking-submit {
  display: none;
}

.room-booking-panel.is-booked-state .room-booking-panel__status {
  padding: 10px;
  background: rgba(220, 38, 38, 0.09);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fecaca;
}

.sites__viewer-head--stacked {
  order: 0;
}

.booking-workspace {
  order: 1;
}

.sites__viewer-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sites__viewer-svg {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sites__viewer-svg svg {
  background-color: transparent !important;
}

.sites__viewer-svg svg text {
  pointer-events: none;
  fill: rgba(190, 215, 255, 0.75);
  font-family: var(--font-body);
}

.sites__viewer-svg svg .storage-room-name-label {
  fill: #ffffff;
  paint-order: stroke fill;
  stroke: rgba(10, 18, 36, 0.65);
  stroke-width: 3px;
  stroke-linejoin: round;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sites__viewer-svg svg .storage-room-area-label {
  fill: rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  stroke: rgba(10, 18, 36, 0.55);
  stroke-width: 3px;
  stroke-linejoin: round;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.sites__viewer-error {
  font-size: 0.95rem;
  color: var(--text-mid);
}

.storage-room {
  cursor: pointer;
  pointer-events: all;
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
  /* free, not matching active filter → white */
  fill: rgba(255, 255, 255, 0.88);
  stroke: rgba(59, 110, 180, 0.4);
  stroke-width: 1.5;
}

.storage-room:hover {
  fill: rgba(255, 255, 255, 1);
  stroke: rgba(130, 180, 255, 0.9);
  stroke-width: 2;
}

/* free + matches filter → green */
.storage-room.is-filter-match {
  fill: rgba(34, 197, 94, 0.32);
  stroke: #22c55e;
  stroke-width: 1.5;
}

.storage-room.is-filter-match:hover {
  fill: rgba(34, 197, 94, 0.55);
  stroke: #4ade80;
  stroke-width: 2;
}

/* booked → red (overrides filter-match since booked rooms never get that class) */
.storage-room.is-booked {
  fill: rgba(239, 68, 68, 0.32);
  stroke: #ef4444;
  stroke-width: 1.5;
}

.storage-room.is-booked:hover {
  fill: rgba(239, 68, 68, 0.52);
  stroke: #f87171;
  stroke-width: 2;
}

/* click-selected for booking → amber */
.storage-room.is-selected {
  fill: rgba(224, 124, 30, 0.52);
  stroke: var(--amber);
  stroke-width: 2.5;
}

.sites__tooltip {
  position: fixed;
  z-index: 1200;
  max-width: 320px;
  padding: 12px 14px;
  background: rgba(7, 9, 15, 0.96);
  color: var(--text);
  border: 1px solid var(--amber-rim);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre-line;
  pointer-events: none;
}

.sites__debug {
  margin-top: 14px;
  background: #06080d;
  border: 1px solid var(--border);
  color: var(--text-mid);
}

.sites__debug summary {
  cursor: pointer;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.sites__debug pre {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.sites-page {
  padding-top: var(--nav-h);
  background: var(--bg);
}

.sites-page__hero {
  padding-block: clamp(56px, 8vw, 92px) 36px;
  background:
    radial-gradient(ellipse 44% 50% at 82% 18%, rgba(224, 124, 30, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #090c14 0%, #07090f 100%);
  border-bottom: 1px solid var(--border);
}

.sites-page__intro {
  margin-bottom: 36px;
}

.sites-page__tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sites-page__plan {
  padding-top: 32px;
}

.sites-page__content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);
}

.customer-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-acc);
  padding: clamp(18px, 3vw, 28px);
}

.customer-panel__name {
  margin-top: 10px;
  font-family: var(--font-disp);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.customer-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--border);
}

.customer-panel__grid div {
  min-width: 0;
  background: #0f1520;
  padding: 16px;
}

.customer-panel__grid dt {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.customer-panel__grid dd {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  color: var(--text);
}

.bookings-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-acc);
  padding: clamp(18px, 3vw, 28px);
}

.bookings-panel__head {
  margin-bottom: 18px;
}

.bookings-panel__title {
  margin-top: 10px;
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
}

.bookings-panel__table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
}

.bookings-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.bookings-table th {
  position: sticky;
  top: 0;
  background: #111827;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  z-index: 1;
}

.bookings-table td {
  font-size: 0.88rem;
  color: var(--text-mid);
  background: var(--bg-card);
}

.bookings-table tbody tr:hover td {
  background: #101621;
  color: var(--text);
}

.bookings-table tbody tr[data-location] {
  cursor: pointer;
}

.bookings-table tbody tr.is-selected td {
  background: rgba(224, 124, 30, 0.14);
  color: var(--text);
}

.bookings-table tbody tr.is-hidden {
  display: none;
}

.bookings-table tbody tr:last-child td {
  border-bottom: none;
}

.booking-delete {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1;
}

.booking-delete:hover {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.booking-delete:disabled {
  cursor: wait;
  opacity: 0.55;
}

.sites-page__plan .sites__viewer-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 95% 75%, rgba(224, 124, 30, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 15% 25%, rgba(91, 141, 184, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 79px, rgba(190, 32, 32, 0.018) 79px, rgba(86, 33, 140, 0.018) 80px),
    repeating-linear-gradient(90deg,  transparent, transparent 79px, rgba(255,255,255,0.018) 79px, rgba(255,255,255,0.018) 80px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 80px;
  max-width: 760px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.15s both;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1.5px;
  background: var(--amber);
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero__headline {
  font-family: var(--font-disp);
  font-size: clamp(4.5rem, 11vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  animation: fadeUp 0.9s 0.3s both;
}

.hero__headline .hl-forge   { color: var(--amber); display: block; }
.hero__headline .hl-fuer    { color: var(--text); display: block; }
.hero__headline .hl-security { color: var(--text-muted); display: block; }

.hero__divider {
  width: 52px;
  height: 3px;
  background: var(--amber);
  margin-block: 36px;
  animation: growWidth 0.8s 0.55s both;
  transform-origin: left;
}

.hero__description {
  max-width: 480px;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.5s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.65s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary { background: var(--amber); color: var(--bg); }
.btn--primary:hover {
  background: var(--amber-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 124, 30, 0.32);
}

.btn--ghost   { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--amber-rim); color: var(--amber); }

.btn--full { width: 100%; justify-content: center; }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   HERO DOOR (CSS art)
   ============================================================ */
.hero__door {
  position: absolute;
  right: clamp(-60px, calc(50vw - 680px), 40px);
  top: 50%;
  transform: translateY(-52%);
  width: clamp(200px, 28vw, 400px);
  height: clamp(280px, 40vw, 570px);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(224, 124, 30, 0.28) 0px,
      rgba(224, 124, 30, 0.28) 2px,
      rgba(224, 124, 30, 0.06) 2px,
      rgba(224, 124, 30, 0.06) 28px
    );
  border: 1.5px solid rgba(224, 124, 30, 0.22);
  border-bottom: 3px solid rgba(224, 124, 30, 0.35);
  pointer-events: none;
  animation: fadeIn 1.4s 0.8s both;
}

.hero__door::before {
  content: '';
  position: absolute;
  inset: -1px;
  box-shadow: inset 0 0 40px rgba(224, 124, 30, 0.05), 0 0 80px -30px rgba(224, 124, 30, 0.2);
}

.hero__door-lock {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__door-lock-shackle {
  width: 28px;
  height: 18px;
  border: 3px solid rgba(224, 124, 30, 0.55);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
}

.hero__door-lock-body {
  width: 44px;
  height: 34px;
  background: rgba(224, 124, 30, 0.12);
  border: 2px solid rgba(224, 124, 30, 0.55);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__door-lock-body::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(224, 124, 30, 0.7);
  box-shadow: 0 0 8px rgba(224, 124, 30, 0.5);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--bg-card);
  border-block: 1px solid var(--border-acc);
  padding-block: 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
  gap: 1px;
}

.stats__item {
  background: var(--bg-card);
  padding: 36px 32px;
  text-align: center;
  transition: background var(--dur) var(--ease);
}

.stats__item:hover { background: #0f1520; }

.stats__number {
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.stats__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SHARED SECTION HEADER
   ============================================================ */
section { padding-block: var(--section-py); }

.section__header { margin-bottom: clamp(40px, 7vw, 72px); }

.section__title {
  font-family: var(--font-disp);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section__title em {
  font-style: normal;
  color: var(--amber);
}

.section__subtitle {
  margin-top: 18px;
  max-width: 520px;
  color: var(--text-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.72;
}

/* ============================================================
   EINHEITEN (UNITS)
   ============================================================ */
.units { background: var(--bg); }

.units__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.unit-card {
  background: var(--bg-card);
  padding: 36px 28px 44px;
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease);
}

.unit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}

.unit-card:hover::after   { transform: scaleX(1); }
.unit-card:hover          { background: #0f1522; }
.unit-card.is-featured    { background: #0e1320; }

.unit-card__visual {
  height: 90px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.unit-card__visual .box {
  background: var(--amber-dim);
  border: 1px solid var(--border-acc);
  transition: background var(--dur) var(--ease);
}

.unit-card:hover .unit-card__visual .box { background: rgba(224, 124, 30, 0.16); }

.unit-card__size {
  font-family: var(--font-disp);
  font-size: 2.8rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.unit-card__name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.unit-card__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.62;
  font-weight: 300;
  margin-bottom: 18px;
}

.unit-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.unit-card__tags li {
  font-size: 0.68rem;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.unit-card__price {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-family: var(--font-disp);
  font-size: 1.3rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease);
}

.unit-card:hover .unit-card__price { color: var(--amber); }

/* ============================================================
   VORTEILE (FEATURES)
   ============================================================ */
.features {
  background: #08090f;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(224, 124, 30, 0.045) 0%, transparent 65%);
  pointer-events: none;
}

.features__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

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

.features__aside .section__subtitle { max-width: 340px; }

.features__counter {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-acc);
}

.features__counter-num {
  font-family: var(--font-disp);
  font-size: 4rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.features__counter-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 30px 26px;
  transition: background var(--dur) var(--ease);
}

.feature-card:hover { background: #101621; }

.feature-card__icon {
  font-size: 1.3rem;
  color: var(--amber);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  line-height: 1;
  opacity: 0.8;
}

.feature-card__title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--text);
}

.feature-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   PREISE (PRICING)
   ============================================================ */
.pricing { background: var(--bg); }

.pricing__header-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.pricing__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  background: var(--bg-raise);
  box-shadow:
    0 0 0 1px var(--amber-rim),
    0 -1px 0 1px var(--amber-rim),
    0 40px 80px -30px rgba(224, 124, 30, 0.2);
  z-index: 2;
}

.pricing-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--amber);
  color: var(--bg);
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-card__name {
  font-family: var(--font-disp);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__size {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing-card__amount {
  font-family: var(--font-disp);
  font-size: 3.8rem;
  line-height: 1;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.pricing-card__currency {
  font-size: 1.4rem;
  color: var(--amber);
  font-family: var(--font-disp);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-card__period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  align-self: flex-end;
  margin-bottom: 6px;
}

.pricing-card__sep {
  width: 32px;
  height: 1px;
  background: var(--border-acc);
  margin-bottom: 24px;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.855rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '→';
  color: var(--amber);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ============================================================
   STANDORT (LOCATION)
   ============================================================ */
.location {
  background: #080b12;
  border-block: 1px solid var(--border);
}

.location__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
}

.location__map {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location__map::before,
.location__map::after {
  content: '';
  position: absolute;
  background: var(--border);
  pointer-events: none;
}

.location__map::before { top: 50%; left: 0; right: 0; height: 1px; }
.location__map::after  { left: 50%; top: 0; bottom: 0; width: 1px; }

.location__map-pin {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-muted);
}

.location__map-pin-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  opacity: 0.5;
}

.location__map-pin p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.location__map-crosshair {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.location__map-crosshair::before,
.location__map-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(224, 124, 30, 0.12);
}

.location__map-crosshair::before { width: 2px; height: 40px; }
.location__map-crosshair::after  { width: 40px; height: 2px; }

.location__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location__detail {}

.location__detail-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 7px;
}

.location__detail-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
}

.location__detail-value a { color: var(--amber); }
.location__detail-value a:hover { text-decoration: underline; }

/* ============================================================
   KONTAKT (CONTACT)
   ============================================================ */
.contact { background: var(--bg); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contact__aside-title {
  font-family: var(--font-disp);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 20px;
}

.contact__aside-title em {
  font-style: normal;
  color: var(--amber);
  display: block;
}

.contact__aside-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 320px;
}

.contact__aside-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__aside-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact__aside-info-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact__aside-info-value {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 400;
}

.contact__aside-info-value a { color: var(--amber); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border-acc);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form-title {
  font-family: var(--font-disp);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--amber-rim);
  box-shadow: 0 0 0 3px rgba(224, 124, 30, 0.07);
}

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

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

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235e6f82' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

.alert {
  padding: 13px 16px;
  font-size: 0.85rem;
  border-left: 3px solid;
  line-height: 1.5;
}

.alert--success { border-color: #4ade80; background: rgba(74, 222, 128, 0.06); color: #4ade80; }
.alert--error   { border-color: #f87171; background: rgba(248, 113, 113, 0.06); color: #f87171; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand-name {
  font-family: var(--font-disp);
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 14px;
}

.footer__brand-name span { color: var(--amber); }

.footer__brand-desc {
  font-size: 0.855rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.72;
  max-width: 260px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

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

.footer__links a {
  font-size: 0.855rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color var(--dur) var(--ease);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.footer__copyright {
  font-size: 0.77rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer__legal {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__legal a {
  font-size: 0.77rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color var(--dur) var(--ease);
}

.footer__legal a:hover { color: var(--text); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes growWidth {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .units__grid { grid-template-columns: repeat(2, 1fr); }
  .features__layout { grid-template-columns: 1fr; }
  .features__aside  { position: static; }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .customer-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-workspace { grid-template-columns: 1fr; }
  .sites__layout    { grid-template-columns: 1fr; }
  .sites-page__tabs { grid-template-columns: 1fr; }
  .location__layout { grid-template-columns: 1fr; }
  .contact__layout  { grid-template-columns: 1fr; }
  .pricing__grid    { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .pricing__header-layout { flex-direction: column; align-items: flex-start; }

  .sites__viewer-frame {
    min-height: 144px;
    padding: 14px;
  }
  .sites__viewer-image {
    width: auto;
    max-width: 100%;
    max-height: 52vh;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(7, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
  }

  .nav__links.is-open { display: flex; }
  .nav__links a       { font-size: 1.3rem; }
  .nav__toggle        { display: flex; }

  .hero__door { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .customer-panel__grid { grid-template-columns: 1fr; }
  .sites__viewer { display: flex; flex-direction: column; }
  .sites__viewer-head--stacked { order: 1; align-items: flex-start; }
  .booking-workspace { order: 0; }
  .sites__debug { order: 2; }
  .sites-page__plan .sites__viewer-image { width: 100%; }
  .sites__viewer { padding: 12px; }
  .sites__viewer-head { margin-bottom: 10px; gap: 8px; }
  .sites__viewer-name--large { margin-top: 6px; font-size: clamp(1rem, 5vw, 1.8rem); }
  .room-size-filter { gap: 8px; }
  .room-size-filter--in-header { justify-content: flex-start; width: 100%; }
  .room-size-filter__select { min-width: 0; width: 100%; }
  .sites__viewer-frame { width: 100%; min-height: 192px; padding: 6px; }
  .units__grid  { grid-template-columns: 1fr; }
  .stats__grid  { grid-template-columns: 1fr; }
}
