* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Sora', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

:root {
  --bg: #fbfcfe;
  --bg-2: #f2f6fb;
  --panel: #ffffff;
  --line: #e3e9f2;
  --ink: #132038;
  --muted: #978e8e;
  --orange: #fe820f;
  --orange-2: #fec068;
  --orange-3: #FF942E;
  --blue: #00a3f7;
  --blue-2: #a1d6f2;
  --blue-3: #55BBF3;
  --danger: #e8483a;
  --green: #3fae5b;

  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --header-bg: rgba(251, 252, 254, 0.80);
  --hero-scrim: linear-gradient(100deg, rgba(251,252,254,0.36) 0%, rgba(251,252,254,0.26) 30%, rgba(251,252,254,0.12) 58%, rgba(251,252,254,0.05) 80%),
                linear-gradient(0deg, rgba(251,252,254,0.8) 0%, rgba(251,252,254,0) 26%);
  --card-shadow: 0 2px 10px -4px rgba(19,32,56,0.08);
  --alert-bg: #fff;
  --footer-bg: #f2f6fb;
  --btn-ghost-bg: #fff;
  --btn-ghost-border: #e3e9f2;
  --ip-row-bg: #fff;
  --mode-card-bg: #fff;
  --tower-card-bg: #fff;
  --step-bg: #fff;
}

body.dark {
  --bg: #0f172a;
  --bg-2: #1e293b;
  --panel: #1e293b;
  --line: #334155;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --orange: #fb923c;
  --orange-2: #fdba74;
  --orange-3: #f97316;
  --blue: #60a5fa;
  --blue-2: #93c5fd;
  --blue-3: #3b82f6;
  --danger: #f87171;
  --green: #4ade80;

  --header-bg: rgba(15, 23, 42, 0.85);
  --hero-scrim: linear-gradient(100deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.4) 40%, rgba(15,23,42,0.2) 70%, rgba(15,23,42,0.05) 90%),
                linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0) 30%);
  --card-shadow: 0 2px 10px -4px rgba(0,0,0,0.6);
  --alert-bg: #1e293b;
  --footer-bg: #0f172a;
  --btn-ghost-bg: #1e293b;
  --btn-ghost-border: #334155;
  --ip-row-bg: #1e293b;
  --mode-card-bg: #1e293b;
  --tower-card-bg: #1e293b;
  --step-bg: #1e293b;
}

body {
  background: var(--bg);
  color: var(--ink);
}

a { 
  color: inherit; 
  text-decoration: none; 
}

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

section { 
  position: relative; 
  z-index: 1; 
}

::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--ink);
}

section.pad { padding: 96px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.top-banner {
  background: linear-gradient(90deg, var(--orange), #ff9a3d);
  color: #fff;
  position: relative;
  z-index: 200;
  overflow: hidden;
}

.top-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px clamp(16px,5vw,40px);
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.top-banner strong { 
  font-family: var(--font-display); 
  letter-spacing: 0.02em; 
}

.top-banner .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot { 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }
.top-banner a.tb-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255,255,255,0.22);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4);
  white-space: nowrap;
  transition: background 0.15s;
}

.top-banner a.tb-link:hover { 
  background: rgba(255,255,255,0.36); 
}

header {
  position: sticky;
  top: 0;
  z-index: 150;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(20px, 5vw, 48px);
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.brand-name span { color: var(--blue-3); }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dark-toggle {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  position: fixed;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--ink);
  font-size: 0.8rem;
  order: 2;
  right: 20px;
  z-index: 999;
}

.dark-toggle:hover {
  background: var(--line);
}

.dark-toggle .icon {
  font-size: 1.1rem;
  line-height: 1;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  order: 1;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(19,32,56,0.35);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: opacity, transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
  transition: background 0.2s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-bottom: 10vw;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(92, 47, 4, 0.29);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(254,130,15,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  font-weight: 600;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  color: var(--orange);
}

.hero h1 .motto {
  display: block;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.06rem;
  color: var(--ink);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff9a3d);
  color: #fff;
}

.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 28px -8px rgba(254,130,15,0.5); 
}

.btn-blue { 
  background: linear-gradient(135deg, var(--blue), #4cc2fb); 
  color: #fff; 
}

.btn-blue:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 28px -8px rgba(0,163,247,0.5); 
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--ink);
  border: 1px solid var(--btn-ghost-border);
}

.btn-ghost:hover { 
  border-color: var(--blue); 
  color: var(--blue); 
}

.ip-row {
  margin-top: 26px;
  display: inline-flex;
  align-items: center; 
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ip-row-bg);
  box-shadow: var(--card-shadow);
  transition: background 0.2s, border-color 0.2s;
}

.ip-row .ip-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.ip-row .ip-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 600;
}

.ip-row button {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-2);
  color: var(--ink);
  border: none;
  border-left: 1px solid var(--line);
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ip-row button:hover { 
  background: var(--orange); 
  color: #fff; 
}

.section-head { 
  max-width: 800px; 
  margin-bottom: 44px; 

}

.section-head h2 { 
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); 
  margin-top: 10px; 
}

.section-head p { 
  margin-top: 12px; 
  color: var(--muted); 
  font-size: 1.02rem; 
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 100px;
}

.bg-tint { 
  background: var(--bg-2); 
  transition: background 0.2s; 
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mode-card {
  background: var(--mode-card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

a.mode-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 16px 30px -14px rgba(19,32,56,0.22);
}

.mode-top { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.mode-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.mode-status .dot { width: 6px; height: 6px; border-radius: 50%; }
.status-live { color: var(--green); background: rgba(63,174,91,0.1); border: 1px solid rgba(63,174,91,0.3); }
.status-live .dot { background: var(--green); animation: pulseDot 1.5s infinite; }
.status-soon { color: var(--orange); background: rgba(254,130,15,0.09); border: 1px solid rgba(254,130,15,0.28); }
.status-soon .dot { background: var(--orange); }
.status-planned { color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); }
.status-planned .dot { background: var(--muted); }
.mode-card h3 { font-size: 1.1rem; }
.mode-card p { color: var(--muted); font-size: 0.9rem; }
.mode-card.mode-live { border-color: rgba(63,174,91,0.35); box-shadow: 0 10px 26px -16px rgba(63,174,91,0.35); }
.mode-link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}

.tower-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tower-card {
  background: var(--tower-card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.tower-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(19,32,56,0.22); }
.tower-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-bg, #eaf4fe);
  margin-bottom: 16px;
}
.tower-card .icon svg { width: 22px; height: 22px; }
.tower-card .tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tower-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tower-card p { color: var(--muted); font-size: 0.92rem; }
.tower-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-c, var(--blue));
}

.tower-card-more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-style: dashed;
  background: var(--bg-2);
}
.tower-card-more::before { display: none; }
.tower-card-more:hover { transform: none; box-shadow: none; border-color: var(--blue); }
.tower-card-more .more-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel);
  border: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.tower-card:has(.tower-3d) .icon { display: none; }

.tower-3d {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent-c, #00a3f7) 16%, transparent), transparent 72%), var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
}
.tower-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.tower-3d.grabbing { cursor: grabbing; }
.tower-3d::after {
  content: "↻ drehen";
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  pointer-events: none;
  opacity: 0.75;
}
.tower-3d.tower-3d-failed { display: none; }
.tower-3d.tower-3d-failed + .tag { margin-top: 0; }
.tower-card:has(.tower-3d.tower-3d-failed) .icon { display: flex; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  cursor: pointer;
  background: var(--bg-2);
  transition: border-color 0.2s;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gcap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(19,32,56,0.75), transparent);
}
.gallery-item.wide { grid-column: span 2; }

#lightbox {
  position: fixed; inset: 0;
  background: rgba(19,32,56,0.86);
  display: none;
  align-items: center; justify-content: center;
  z-index: 400;
  padding: 30px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: min(920px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
#lightbox button {
  position: absolute; top: 22px; right: 26px;
  background: rgba(255,255,255,0.14);
  color: #fff; border: 1px solid rgba(255,255,255,0.3);
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
}

.alert-band {
  background: linear-gradient(135deg, #fff3e6, #eaf4fe);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
  transition: background 0.2s, border-color 0.2s;
}
body.dark .alert-band {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}
.alert-box {
  background: var(--alert-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px,5vw,52px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 50px -20px rgba(19,32,56,0.18);
  transition: background 0.2s, border-color 0.2s;
}
.alert-icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: rgba(232,72,58,0.1);
  border: 1px solid rgba(232,72,58,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.alert-icon svg { width: 30px; height: 30px; }
.alert-body .eyebrow { color: var(--danger); }
.alert-body h2 { font-size: clamp(1.4rem,2.8vw,2rem); margin-top: 8px; }
.alert-body p { color: var(--muted); margin-top: 10px; max-width: 56ch; }
.alert-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step {
  padding: 26px 22px;
  border-radius: 14px;
  background: var(--step-bg);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.step .step-num {
  font-family: var(--font-mono); color: var(--blue); font-size: 0.78rem;
  margin-bottom: 8px; display: block; font-weight: 700;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
  background: var(--footer-bg);
  transition: background 0.2s, border-color 0.2s;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 96px; left: 0; right: 0;
    background: var(--panel);
    flex-direction: column; align-items: flex-start;
    padding: 24px clamp(20px,5vw,48px);
    border-bottom: 1px solid var(--line);
    display: none; gap: 18px;
    transition: background 0.2s;
  }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line); color: var(--ink);
    border-radius: 8px; padding: 8px 10px; cursor: pointer;
  }
  .nav-actions .dark-toggle .label { display: none; }
  .tower-grid { grid-template-columns: repeat(2,1fr); }
  .mode-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .alert-box { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
  .tower-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .ip-row { flex-wrap: wrap; }
  .top-banner-inner { font-size: 0.85rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero h1 .motto { 
    font-size: 1.25rem;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
