/* ══════════════════════════════════════
   GASTRORIX · MAIN.CSS
   gastrorix.com · © 2026
══════════════════════════════════════ */

:root {
  --cream:       #F4F1EB;
  --white:       #FFFFFF;
  --dark:        #0A0E13;
  --mid:         #4A5160;
  --mute:        #8A8F9B;
  --border:      #E0DDD6;
  --yellow:      #F5C842;
  --yellow-dark: #D4970A;
  --red:         #C0392B;
  --red-bg:      #FFF5F5;
  --red-border:  #EBBABA;
  --green:       #27AE60;
  --orange:      #E8A020;
  --mono:        'JetBrains Mono', monospace;
  --sans:        'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--dark); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── UTILITIES ── */
.mono    { font-family: var(--mono); }
.lbl     { font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px; color: var(--mute); text-transform: uppercase; }
.lbl-dark{ font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px; color: var(--dark); text-transform: uppercase; }
.lbl-y   { font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px; color: var(--yellow); text-transform: uppercase; }
.lbl-r   { font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px; color: var(--red); text-transform: uppercase; font-weight: 700; }
.text-red    { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-orange { color: var(--orange); }
.text-dark   { color: var(--dark); }
.text-white  { color: var(--white); }
.text-mute   { color: var(--mute); }
.text-light  { color: #A8B0BD; }
.bold        { font-weight: 600; }
.no-wrap     { white-space: nowrap; }
.small       { font-size: 11px; }
.underline-dark { border-bottom: 4px solid var(--dark); }
.highlight-dark { background: var(--dark); color: var(--cream); padding: 0 10px; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.card-divider { height: 1px; background: var(--border); margin: 14px 0; }

/* ── PULSE DOT ── */
.pulse-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80; vertical-align: middle; margin-right: 6px;
  animation: pulse-anim 1.6s infinite;
}
.pulse-dot.yellow { background: var(--yellow); box-shadow: none; }
.pulse-dot.red    { background: var(--red); }
@keyframes pulse-anim {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%     { opacity: 0.6; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

/* ── STATUS BAR ── */
#status-bar {
  background: var(--dark); padding: 6px 40px;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 100;
}
.status-left { display: flex; gap: 20px; align-items: center; }
.status-item { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: #5A6478; }
.status-online { color: #4ADE80; display: flex; align-items: center; gap: 4px; }
.lang-switcher { display: flex; gap: 12px; }
.lang-btn {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: #5A6478;
  background: none; border: none; cursor: pointer; padding: 2px 0;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--yellow); }
.lang-btn:hover  { color: #A8B0BD; }

/* ── LOGO ── */
.logo-mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-word { font-size: 14px; font-weight: 700; letter-spacing: 4px; color: var(--dark); }
.logo-sub  { font-family: var(--mono); font-size: 8px; letter-spacing: 2px; color: var(--mute); margin-top: 2px; }

/* ── NAV ── */
nav {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 40px; display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: sticky; top: 33px; z-index: 99;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  background: var(--dark); color: var(--cream);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 10px 18px; border: none; cursor: pointer;
  text-decoration: none; display: inline-block; transition: background 0.2s;
}
.nav-cta:hover { background: #1A2030; }

/* ── TICKER ── */
.ticker-wrap { background: var(--dark); overflow: hidden; white-space: nowrap; padding: 9px 0; }
.ticker-inner { display: inline-block; animation: ticker-anim 36s linear infinite; }
.ticker-inner span { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--yellow); padding: 0 28px; }
@keyframes ticker-anim { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION COMMON ── */
section { padding: 80px 40px; }
section:nth-child(odd) { background: var(--cream); }
section:nth-child(even) { background: var(--white); }
#hero, #engines, #architektur { background: var(--cream); }
#warroom-live, #lackmus, #schichten { background: var(--white); }
#vergleich { background: var(--cream); }
#cta { background: var(--dark); }
.section-tag { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.section-num { font-family: var(--mono); font-size: 10px; color: var(--border); }
.section-sub { max-width: 560px; margin-bottom: 32px; }
h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; color: var(--dark); font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 14px; }
p { font-family: var(--sans); font-weight: 400; line-height: 1.75; color: var(--mid); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--dark); color: var(--cream);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 14px 26px; border: none; cursor: pointer; text-decoration: none;
  display: inline-block; transition: background 0.2s;
}
.btn-primary:hover { background: #1A2030; }
.btn-secondary {
  background: transparent; color: var(--dark);
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  padding: 14px 26px; border: 2px solid var(--dark); cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--dark); color: var(--cream); }

/* ── HERO ── */
#hero { padding: 96px 40px 80px; border-bottom: 1px solid var(--border); }
.hero-tag  { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards; }
.hero-line { width: 28px; height: 1px; background: var(--dark); }
.hero-title { font-family: var(--sans); font-weight: 700; letter-spacing: -2px; line-height: 0.97; color: var(--dark); font-size: clamp(40px, 5.5vw, 68px); margin-bottom: 28px; opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards; }
.hero-sub   { font-size: 16px; max-width: 560px; margin-bottom: 36px; opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards; }
.hero-btns  { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards; }
.hero-chips { display: flex; gap: 20px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.7s ease 0.5s forwards; }
.hero-chip  { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--mute); }
.hero-chip::before { content: '▪ '; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── WARROOM LIVE ── */
.warroom-panel { border: 1px solid var(--border); background: var(--white); margin-top: 24px; }
.warroom-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.warroom-title-wrap { display: flex; align-items: center; gap: 12px; }
.warroom-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.live-badge { display: flex; align-items: center; gap: 6px; background: #F0FFF4; border: 1px solid #BBF7D0; padding: 3px 10px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--green); font-weight: 700; }
.meta-text { font-size: 10px; color: var(--mute); letter-spacing: 1.5px; }
.warroom-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; padding: 20px 24px 24px; }
.verlust-card { background: var(--red-bg); border: 1px solid var(--red-border); padding: 24px; position: relative; }
.alert-badge { position: absolute; top: 14px; right: 14px; border: 1px solid var(--red); color: var(--red); font-family: var(--mono); font-size: 8px; letter-spacing: 2px; padding: 2px 7px; font-weight: 700; }
.verlust-num  { font-size: 52px; font-weight: 700; color: var(--red); letter-spacing: -2px; line-height: 1; margin: 10px 0 12px; }
.verlust-desc { font-size: 12px; color: var(--mid); line-height: 1.65; }
.score-bar-wrap { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--red-border); }
.score-bar { display: flex; gap: 3px; margin-top: 6px; }
.score-seg { height: 7px; flex: 1; background: var(--border); }
.score-seg.active { background: var(--red); }
.info-card { background: #FAFAF8; border: 1px solid var(--border); padding: 18px; }
.info-num { font-size: 28px; font-weight: 700; color: var(--dark); margin: 6px 0; }
.signal-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 4px 0; }
.dot-r { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.dot-o { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.dot-g { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.signal-queue-item { padding: 6px 0; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 10px; display: flex; justify-content: space-between; align-items: center; }
.signal-queue-item:last-of-type { border-bottom: none; }
.real-data-note { font-family: var(--mono); font-size: 10px; color: var(--mute); text-align: center; margin-top: 12px; letter-spacing: 1.5px; }

/* ── VERGLEICH ── */
.vergleich-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--dark); margin-top: 36px; overflow: hidden; }
.vergleich-col { padding: 36px; }
.light-col { background: var(--white); border-right: 1px solid var(--border); }
.dark-col  { background: var(--dark); }
.dq-stamp  { display: inline-block; border: 1.5px solid var(--red); color: var(--red); font-family: var(--mono); font-size: 9px; letter-spacing: 2px; font-weight: 700; padding: 3px 10px; transform: rotate(-2deg); margin-bottom: 20px; display: block; width: fit-content; }
.auth-stamp{ display: inline-block; border: 1.5px solid var(--yellow); color: var(--yellow); font-family: var(--mono); font-size: 9px; letter-spacing: 2px; font-weight: 700; padding: 3px 10px; transform: rotate(-2deg); margin-bottom: 20px; display: block; width: fit-content; }
.vergleich-title { font-size: 22px; font-weight: 700; margin: 8px 0 20px; }
.vergleich-quote { font-family: var(--mono); font-size: 13px; font-style: italic; line-height: 1.6; padding: 16px 0 16px 18px; margin-bottom: 24px; }
.vergleich-quote.light { color: var(--mute); border-left: 3px solid var(--red-border); }
.vergleich-quote.dark  { color: var(--white); border-left: 3px solid var(--yellow); }
.check-list { list-style: none; }
.check-list li { font-family: var(--mono); font-size: 11px; padding: 5px 0; line-height: 1.5; }
.strike-item { color: #BABABA; text-decoration: line-through; text-decoration-color: rgba(192,57,43,0.35); }
.check-item  { color: #C8CFD9; }
.tick        { color: var(--green); }

/* ── LACKMUS ── */
.lackmus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--dark); margin-top: 36px; }
.lackmus-item { padding: 28px 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.lackmus-item:last-child { border-right: none; }
.lackmus-num { font-size: 36px; font-weight: 700; color: var(--dark); letter-spacing: -1px; margin-bottom: 16px; }
.lackmus-q   { font-size: 14px; line-height: 1.5; color: var(--dark); font-weight: 500; }
.lackmus-close { text-align: center; margin-top: 28px; padding: 20px; background: var(--cream); border: 1px solid var(--border); font-family: var(--mono); font-size: 12px; color: var(--mute); line-height: 1.7; }

/* ── ENGINES ── */
.engines-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 36px; }
.engine-card { background: var(--white); border: 1px solid var(--border); padding: 22px; transition: border-color 0.2s; }
.engine-card:hover { border-color: var(--dark); }
.engine-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.engine-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.engine-desc  { font-size: 12px; color: var(--mid); line-height: 1.65; }
.engine-core { grid-column: span 3; background: var(--dark); border: none; padding: 24px; display: flex; align-items: center; gap: 24px; }
.engine-core-num   { font-size: 48px; font-weight: 700; color: var(--yellow); letter-spacing: -2px; min-width: 64px; }
.engine-core-body  { flex: 1; }
.engine-core-title { font-size: 18px; font-weight: 700; color: var(--white); margin: 6px 0; }
.engine-core-desc  { font-size: 12px; color: #A8B0BD; line-height: 1.65; }

/* ── VIER SCHICHTEN ── */
.schichten-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--dark); margin-top: 36px; }
.schicht-card { padding: 26px; border-right: 1px solid var(--border); }
.schicht-card:last-child { border-right: none; }
.schicht-card.active { background: var(--dark); border-right: 1px solid var(--dark); }
.schicht-title { font-size: 19px; font-weight: 700; line-height: 1.2; margin: 12px 0 10px; }
.schicht-desc  { font-size: 12px; line-height: 1.65; color: var(--mid); }
.schicht-card.active .schicht-desc { color: #A8B0BD; }
.schicht-footer { margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; }
.schicht-card.active .schicht-footer { border-top-color: rgba(245,200,66,0.25); }

/* ── ARCHITEKTUR ── */
.arch-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; margin-top: 24px; }
.arch-list { display: flex; flex-direction: column; gap: 10px; }
.arch-item { background: var(--white); border: 1px solid var(--border); padding: 18px 22px; display: grid; grid-template-columns: 36px 1fr auto; gap: 18px; align-items: center; transition: border-color 0.2s; }
.arch-item:hover { border-color: var(--dark); }
.arch-num       { font-size: 24px; font-weight: 700; color: var(--dark); }
.arch-title-text{ font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.arch-desc      { font-size: 12px; color: var(--mid); }
.arch-ok        { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--green); font-weight: 700; }

/* ── CTA ── */
#cta { padding: 100px 40px; text-align: center; }
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-title { font-size: clamp(30px, 4vw, 52px); color: var(--white); margin: 16px 0; }
.cta-sub   { color: #A8B0BD; max-width: 460px; margin: 0 auto 36px; }
.cta-btns  { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn-cta-primary {
  background: var(--yellow); color: var(--dark);
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 15px 30px; border: none; cursor: pointer; text-decoration: none;
  display: inline-block; transition: background 0.2s;
}
.btn-cta-primary:hover { background: #E8B830; }
.btn-cta-secondary {
  background: transparent; color: var(--white);
  font-family: var(--mono); font-size: 12px; letter-spacing: 2px;
  padding: 15px 30px; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  text-decoration: none; display: inline-block; transition: border-color 0.2s;
}
.btn-cta-secondary:hover { border-color: rgba(255,255,255,0.5); }
.cta-chips { display: flex; justify-content: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.cta-chip  { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: #5A6478; }
.cta-chip::before { content: '▪ '; color: var(--yellow); }

/* ── FOOTER ── */
footer {
  background: var(--cream); border-top: 1px solid var(--border); padding: 36px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-logo   { margin-bottom: 14px; }
.footer-tagline{ font-size: 11px; color: var(--mute); line-height: 1.7; }
.footer-col-title { font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px; color: var(--dark); text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer-links  { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-family: var(--mono); font-size: 11px; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--dark); }
.footer-lang-active { color: var(--dark); font-weight: 700; }

/* ── RIXA ── */
.rixa-wrap   { position: fixed; bottom: 28px; right: 28px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rixa-bubble { background: var(--dark); color: var(--white); font-family: var(--mono); font-size: 11px; line-height: 1.5; padding: 12px 16px; max-width: 240px; border: 1px solid rgba(245,200,66,0.3); opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; }
.rixa-bubble.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rixa-bubble-label { font-size: 9px; letter-spacing: 2px; color: var(--yellow); margin-bottom: 4px; }
.rixa-avatar { width: 56px; height: 56px; cursor: pointer; transition: transform 0.2s; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.rixa-avatar:hover { transform: scale(1.06); }

/* ── SCROLL ANIMATIONS ── */
.fade-up           { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-reveal     { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-reveal-left { opacity: 0; transform: translateX(-20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.scroll-reveal-right{ opacity: 0; transform: translateX(20px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.stagger { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.visible { opacity: 1 !important; transform: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .arch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .warroom-grid  { grid-template-columns: 1fr; }
  .vergleich-grid{ grid-template-columns: 1fr; }
  .engines-grid  { grid-template-columns: 1fr 1fr; }
  .engine-core   { grid-column: span 2; }
  .schichten-grid{ grid-template-columns: 1fr 1fr; }
  .lackmus-grid  { grid-template-columns: 1fr 1fr; }
  footer         { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  #hero { padding: 72px 20px 60px; }
  nav, #status-bar, footer { padding-left: 20px; padding-right: 20px; }
  .engines-grid  { grid-template-columns: 1fr; }
  .engine-core   { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .schichten-grid{ grid-template-columns: 1fr 1fr; }
  footer         { grid-template-columns: 1fr; padding: 28px 20px; }
  .cta-btns      { flex-direction: column; width: 100%; }
  .btn-cta-primary, .btn-cta-secondary { text-align: center; }
  .lackmus-grid  { grid-template-columns: 1fr; }
  .vergleich-col { padding: 24px 20px; }
  .rixa-wrap     { bottom: 16px; right: 16px; }
}
