/* Markenabgleich auf Basis des Brandbook-Entwurfs vom 16. Oktober 2025 */
@font-face {
  font-family: "Geomanist";
  src: url("assets/fonts/Geomanist-ExtraLight.otf") format("opentype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist";
  src: url("assets/fonts/Geomanist-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist";
  src: url("assets/fonts/Geomanist-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist";
  src: url("assets/fonts/Geomanist-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist";
  src: url("assets/fonts/Geomanist-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --bg: #1c2963;
  --panel: #1c2963;
  --blue: #69d4ff;
  --ink: #ffffff;
  --muted: #e8f9ffcc;
  --line: #e8f9ff2b;
}

body,
input,
textarea {
  font-family: "Roboto", Arial, sans-serif;
}

body {
  background: #1c2963;
  color: #ffffff;
}

h1,
h2,
h3,
button,
.eyebrow,
.header-caption,
.closing-year,
.seat-heading strong,
.numbers strong {
  font-family: "Geomanist", "Avenir Next", Arial, sans-serif;
}

h1,
h2 {
  font-weight: 500;
}

h1 em,
h2 em {
  font-weight: 200;
}

h3,
.seat-heading strong,
.numbers strong {
  font-weight: 400;
}

.eyebrow,
.header-caption {
  font-weight: 600;
}

.header-caption {
  max-width: 370px;
}

.hero-image {
  background:
    linear-gradient(90deg, #1c2963ed 0%, #1c2963ad 48%, #1c296333),
    linear-gradient(0deg, #1c2963ed, transparent 46%),
    url("assets/renderings/expo-night.jpg") center 54% / cover;
}

.pavilion-image {
  background:
    linear-gradient(90deg, #1c2963f5, #1c2963d1 44%, #1c29631f),
    url("assets/renderings/urban-pavilion.jpg") center / cover;
}

.scale {
  background:
    linear-gradient(90deg, #1c2963f2, #1c2963c7 55%, #1c29636e),
    url("assets/renderings/aerial-network.jpg") center / cover;
  color: #ffffff;
}

.scale .intro,
.scale .fine,
.scale .numbers > div > span {
  color: #e8f9ffcc;
}

.light {
  background: #e8f9ff;
  color: #1c2963;
  --muted: #1c2963b8;
  --line: #1c296329;
}

.light em,
.timeline button.active,
.coming-soon strong {
  color: #1c2963;
}

.light .primary {
  background: #1c2963;
  color: #ffffff;
}

.seat.confirmed,
.primary {
  background: #69d4ff;
  border-color: #69d4ff;
  color: #1c2963;
}

.fields {
  background: linear-gradient(135deg, rgba(105, 212, 255, 0.07), transparent 58%), #1c2963;
}

nav,
dialog,
#role-result {
  background: #1c2963;
}

.vision::after {
  background: linear-gradient(90deg, #1c2963dc, #1c296344 68%, transparent), linear-gradient(0deg, #1c296382, transparent 48%);
}

.hero .eyebrow,
.hero-sub,
.hero-bottom,
.detail,
.pavilion-detail p,
.vision .eyebrow,
dialog > p,
#role-result p,
label {
  color: rgba(232, 249, 255, 0.82);
}

.chapter {
  color: rgba(232, 249, 255, 0.62);
}

.chapter-line,
.seat,
.pavilion-tabs button,
.company-options button,
.role-tags span,
dialog,
input,
textarea {
  border-color: rgba(232, 249, 255, 0.35);
}

.chapter-line {
  background: rgba(232, 249, 255, 0.42);
}

.role-open,
.contact-cta,
.hero .eyebrow span,
.round-link span {
  border-color: rgba(232, 249, 255, 0.45);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 12px 23px;
  border: 1px solid rgba(232, 249, 255, 0.45);
  border-radius: 30px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.contact-cta span {
  margin-left: 22px;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  border-color: #69d4ff;
  color: #69d4ff;
}

.hero .eyebrow span {
  padding: 0;
  border: 0;
}

.timeline button,
.light .timeline-detail p,
.light figcaption,
.light .partner p,
.light .decision-bottom p,
.light .coming-soon {
  color: rgba(28, 41, 99, 0.72);
}

.timeline button.active {
  border-color: #1c2963;
}

.inline-source {
  display: inline-block;
  margin-top: 14px;
  color: #1c2963;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inline-source:hover,
.inline-source:focus-visible {
  color: #31598a;
}

.timeline {
  border-color: rgba(28, 41, 99, 0.18);
}

.timeline-detail > span {
  color: rgba(28, 41, 99, 0.58);
}

.field-list button {
  color: rgba(232, 249, 255, 0.58);
  text-decoration: none;
  text-shadow: none;
  transition: color 220ms ease, text-shadow 220ms ease, transform 220ms ease;
}

.field-list button:hover,
.field-list button:focus-visible,
.field-list button.active,
.field-list button[aria-pressed="true"] {
  color: #69d4ff;
  text-shadow: 0 0 18px rgba(105, 212, 255, 0.48);
}

.field-list button.active,
.field-list button[aria-pressed="true"] {
  transform: translateY(-2px);
}

.city-photo > img {
  filter: brightness(0.7) saturate(0.78);
}

#buehne {
  min-height: 100svh;
  padding-top: clamp(54px, 6.5vh, 78px);
  padding-bottom: clamp(38px, 4.5vh, 58px);
}

#buehne > .eyebrow {
  margin-bottom: 16px;
}

#buehne > h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 4vw, 62px);
}

#buehne > .intro {
  max-width: 1050px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.45;
}

.city-explorer {
  grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
  height: clamp(390px, 48vh, 540px);
  min-height: 390px;
  margin-top: clamp(18px, 2.5vh, 28px);
  align-items: stretch;
  background: #1c2963;
}

.city-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.city-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 24px 26px;
  background: #1c2963;
}

.city-info > .eyebrow {
  margin-bottom: 10px;
}

#format-title {
  min-height: 1.2em;
  margin-bottom: 9px;
  font-size: 26px;
}

#format-copy {
  min-height: 7.5em;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.format-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 13px;
  border: 1px solid rgba(105, 212, 255, 0.62);
  background: linear-gradient(110deg, rgba(105, 212, 255, 0.14), rgba(232, 249, 255, 0.035));
  color: #e8f9ff;
  font-size: 14px;
  line-height: 1.25;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.format-resource[hidden] {
  display: none;
}

.format-resource small {
  display: block;
  margin-bottom: 5px;
  color: #69d4ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.45px;
}

.format-resource b {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
}

.format-resource:hover,
.format-resource:focus-visible {
  border-color: #e8f9ff;
  background: linear-gradient(110deg, rgba(105, 212, 255, 0.24), rgba(232, 249, 255, 0.08));
  transform: translateY(-2px);
}

.format-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  width: 100%;
  margin-top: auto;
}

.format-list button {
  padding: 7px 0;
  line-height: 1.25;
}

#buehne > .fine {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
}

.hotspot {
  background: rgba(28, 41, 99, 0.88);
  border-color: #e8f9ff;
  box-shadow: 0 0 0 8px rgba(105, 212, 255, 0.12);
}

.hotspot.active,
.hotspot:hover {
  color: #1c2963;
  box-shadow: 0 0 0 12px rgba(105, 212, 255, 0.16);
}

.format-list button {
  color: rgba(232, 249, 255, 0.72);
}

.network {
  max-width: 900px;
  height: 620px;
  margin: 42px auto 10px;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(105, 212, 255, 0.2) 25.2%, transparent 25.6%, transparent 50%, rgba(105, 212, 255, 0.18) 50.2%, transparent 50.6%);
}

.network-ring {
  position: absolute;
  inset: 0;
  transform: none;
  animation: none;
}

.network-core {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: min(300px, 42vw);
  height: 112px;
  padding: 22px 30px;
  overflow: hidden;
  background: radial-gradient(ellipse, rgba(105, 212, 255, 0.32), #1c2963);
  border-color: #e8f9ff;
  border-radius: 999px;
  box-shadow: 0 0 90px rgba(105, 212, 255, 0.18);
  font-size: clamp(12px, 1.3vw, 18px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow-wrap: normal;
  text-overflow: ellipsis;
}

.network-ring button {
  z-index: 1;
  width: max-content;
  min-width: 145px;
  max-width: 190px;
  min-height: 48px;
  padding: 12px 18px;
  background: #1c2963;
  border-color: rgba(232, 249, 255, 0.42);
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  animation: none;
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1), top 0.65s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s ease, min-height 0.45s ease, padding 0.45s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  will-change: left, top;
}

.network-label {
  display: block;
  font-family: "Geomanist", "Avenir Next", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.network-copy {
  display: none;
  margin-top: 10px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.network-ring button.active {
  z-index: 3;
  width: min(440px, 56vw);
  min-width: 320px;
  max-width: none;
  min-height: 132px;
  padding: 22px 28px;
  background: #69d4ff;
  border-color: #e8f9ff;
  color: #1c2963;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32), 0 0 0 8px rgba(105, 212, 255, 0.12);
}

.network-ring button:not(.active):hover,
.network-ring button:not(.active):focus-visible {
  border-color: #69d4ff;
  color: #69d4ff;
}

.network-ring button.active .network-copy {
  display: block;
}

.network-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 6px auto 0;
}

.network-controls button {
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(232, 249, 255, 0.48);
  border-radius: 50%;
  font-size: 24px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.network-controls button:hover,
.network-controls button:focus-visible {
  background: #69d4ff;
  color: #1c2963;
  transform: scale(1.06);
}

.context {
  background: #1c2963;
}

.closing-year {
  color: rgba(105, 212, 255, 0.42);
}

.decision .primary,
.closing .text-button {
  background: #69d4ff;
  border: 1px solid #69d4ff;
  border-radius: 3px;
  color: #1c2963;
  font-weight: 600;
}

.closing .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
}

.decision .primary:hover,
.decision .primary:focus-visible,
.closing .text-button:hover,
.closing .text-button:focus-visible {
  background: #e8f9ff;
  border-color: #e8f9ff;
  color: #1c2963;
}

dialog {
  color: #ffffff;
  overflow: auto;
  box-shadow: 0 40px 120px rgba(28, 41, 99, 0.7);
}

dialog::backdrop {
  background: rgba(28, 41, 99, 0.88);
}

input,
textarea {
  background: #1c2963;
  color: #ffffff;
}

.pavilion-tabs button.active,
.company-options button.active {
  background: #69d4ff;
  border-color: #69d4ff;
  color: #1c2963;
}

.partner {
  border-color: rgba(28, 41, 99, 0.16);
}

.partner > img.ihk-logo {
  width: min(290px, 100%);
  height: auto;
  max-height: 90px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left center;
}

.primary:hover {
  filter: none;
  background: #e8f9ff;
  color: #1c2963;
}

.light .primary:hover {
  background: #69d4ff;
  color: #1c2963;
}

.skip {
  background: #ffffff;
  color: #1c2963;
}

.hero-bottom {
  justify-content: flex-end;
}

.hero-bottom span:first-child {
  margin-right: auto;
}

.website-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.seat {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

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

.seat strong {
  margin-bottom: auto;
}

.seat-logo {
  width: 100%;
  height: 36px;
  margin: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.seat small {
  display: block;
  margin-top: 14px;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  opacity: 0.72;
}

.seat.reserved {
  border-color: rgba(105, 212, 255, 0.58);
  background: linear-gradient(145deg, rgba(105, 212, 255, 0.1), rgba(105, 212, 255, 0.02));
}

.seat.reserved small {
  color: var(--blue);
  opacity: 1;
}

.seat.open small {
  color: var(--muted);
}

.seat.is-checking {
  border-color: rgba(232, 249, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(105, 212, 255, 0.22),
    0 16px 34px rgba(4, 19, 55, 0.22);
}

.seat.is-checking::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 16%,
    rgba(232, 249, 255, 0.06) 35%,
    rgba(105, 212, 255, 0.34) 50%,
    rgba(232, 249, 255, 0.06) 65%,
    transparent 84%
  );
  transform: translateX(-115%);
  animation: seat-status-scan 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}

.seat.is-checking small {
  color: #e8f9ff;
  opacity: 1;
  animation: seat-status-pulse 650ms ease-in-out both;
}

@keyframes seat-status-scan {
  to { transform: translateX(115%); }
}

@keyframes seat-status-pulse {
  50% {
    opacity: 0.54;
    letter-spacing: 1.55px;
  }
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(28, 41, 99, 0.16);
  color: rgba(28, 41, 99, 0.72);
}

.coming-soon span {
  font-size: 13px;
}

.coming-soon strong {
  font-size: 12px;
  letter-spacing: 2px;
  color: #1c2963;
}

.custom-company {
  margin-bottom: 12px;
}

.custom-company input {
  padding: 14px 15px;
  font-size: 18px;
}

.contact-recipient {
  margin: 22px 0 0;
  color: rgba(232, 249, 255, 0.76);
  font-size: 13px;
}

.contact-recipient a {
  color: #69d4ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#contact-dialog label {
  margin: 14px 0;
}

@media (max-width: 900px) {
  #buehne {
    min-height: 0;
    padding: 70px 7%;
  }

  .city-explorer {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .city-photo {
    height: clamp(300px, 44vw, 430px);
    min-height: 300px;
  }

  .city-info {
    height: auto;
    min-height: 0;
  }

  #format-copy {
    min-height: 6.2em;
  }
}

@media (max-width: 700px) {
  .network {
    display: block;
    height: 560px;
    min-height: 560px;
    margin: 28px 0 20px;
    background: radial-gradient(ellipse at center, transparent 25%, rgba(105, 212, 255, 0.2) 25.2%, transparent 25.6%, transparent 50%, rgba(105, 212, 255, 0.18) 50.2%, transparent 50.6%);
  }

  .network-core {
    position: absolute;
    width: min(230px, 66vw);
    height: 88px;
    min-height: 88px;
    margin: 0;
    transform: translate(-50%, -50%);
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .network-ring {
    position: absolute;
    inset: 0;
    display: block;
  }

  .network-ring button {
    position: absolute;
    width: max-content;
    min-width: 88px;
    max-width: 112px;
    min-height: 44px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .network-ring button.active {
    width: min(330px, 88vw);
    min-width: 0;
    max-width: 330px;
    min-height: 132px;
    padding: 18px 20px;
    font-size: 12px;
  }

  .network-copy {
    font-size: 11px;
  }

  .network-controls {
    margin-top: 0;
  }

}

@media (max-width: 600px) {
  .contact-cta {
    padding: 10px 13px;
    font-size: 12px;
  }

  .contact-cta span {
    margin-left: 5px;
  }

  .hero-bottom {
    align-items: flex-start;
  }

  .hero-bottom span:first-child {
    margin-right: 0;
  }

  .seat small {
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .coming-soon {
    align-items: flex-start;
  }

  .partner blockquote {
    font-size: 20px;
  }

  #buehne {
    padding: 64px 7%;
  }

  #buehne > h2 {
    font-size: 37px;
  }

  #buehne > .intro {
    font-size: 16px;
  }

  .city-photo {
    height: 260px;
    min-height: 260px;
  }

  .city-info {
    min-height: 0;
    padding: 24px 20px;
  }

  #format-title {
    min-height: 0;
  }

  #format-copy {
    min-height: 0;
  }

  .format-list {
    gap: 0 12px;
  }

  .format-list button {
    font-size: 12px;
  }
}
