:root {
  --bg-color: #0b111b;
  --brand-blue: #2563eb;
  --brand-red: #ef4444;
  --text-dark: #f8fafc;
  --text-medium: #c4cedb;
  --text-light: #ffffff;
  --card-bg: rgba(22, 32, 50, 0.88);
  --card-bg-soft: rgba(28, 40, 61, 0.72);
  --section-alt: rgba(16, 25, 40, 0.76);
  --card-border: 1px solid rgba(191, 203, 219, 0.22);
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.38);
  --font-main: "Segoe UI", "Inter", "Arial", sans-serif;
  --font-body: "Segoe UI", "Inter", "Arial", sans-serif;
  --gradient-blue: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  --gradient-red: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --bg-grad: radial-gradient(1200px 520px at 15% -10%, rgba(59, 130, 246, 0.28), transparent 60%), radial-gradient(900px 480px at 85% -20%, rgba(37, 99, 235, 0.2), transparent 62%), linear-gradient(180deg, #070b12 0%, #0b1220 100%);
  --radius: 12px;
  --focus-ring: 0 0 0 3px rgba(0, 68, 204, 0.35);
  --portal-accent: #18b6ff;
  --portal-accent-strong: #1a6cff;
  --portal-glow: rgba(59, 130, 246, 0.25);
  --portal-surface: rgba(15, 23, 42, 0.88);
  --portal-border: rgba(148, 163, 184, 0.2);
}

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

body {
  overflow-y: auto;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #0b111b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: radial-gradient(900px 420px at 18% 0%, rgba(59, 130, 246, 0.2), transparent 60%),
    radial-gradient(760px 360px at 88% -12%, rgba(239, 68, 68, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(9, 15, 24, 0.94), rgba(9, 15, 24, 1));
  line-height: 1.7;
  font-size: 18px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-dark);
  border: 2px solid var(--brand-blue);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
  z-index: 100;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--focus-ring);
}

.background-glow {
  position: fixed;
  inset: -20% -30% auto -30%;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(26, 108, 255, 0.12), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(24, 182, 255, 0.12), transparent 55%);
  z-index: -2;
  pointer-events: none;
  animation: glowShift 14s ease-in-out infinite;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(12, 20, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 20, 38, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.background-glow,
.ambient-grid,
.hero-bg,
.portal-decor {
  display: none;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card-bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}

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

.brand-logo {
  height: 82px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-tag {
  font-size: 0.82rem;
  color: var(--text-medium);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.2s ease;
}

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

.mobile-menu-toggle {
  display: none;
  border: 2px solid var(--brand-blue);
  background: var(--card-bg);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
}

.quick-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.quick-contact__link,
.quick-contact__wa {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(191, 203, 219, 0.32);
  background: rgba(15, 23, 42, 0.52);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.quick-contact__wa {
  border-color: rgba(34, 197, 94, 0.45);
  color: #dcfce7;
}

.socials {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  display: grid;
  place-items: center;
  color: var(--text-dark);
  background: var(--card-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 68, 204, 0.4);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--portal-border);
  background: var(--card-bg-soft);
  color: var(--text-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.6);
}

.lang-btn.is-active {
  background: var(--brand-blue);
  color: var(--text-light);
  border-color: transparent;
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35);
}

.lang-btn.is-active .lang-flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: transparent;
}

.hero.portal-hero {
  min-height: min(820px, calc(100vh - 40px));
  display: flex;
  align-items: center;
  isolation: isolate;
  background-image: linear-gradient(90deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.74) 42%, rgba(5, 8, 14, 0.3) 100%),
    url("assets/acomtec-hero-background.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.hero.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.74) 42%, rgba(5, 8, 14, 0.3) 100%);
}

.hero.portal-hero .hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 720px);
}

.hero.portal-hero .hero-copy {
  max-width: 720px;
  background: rgba(7, 11, 18, 0.66);
  border-color: rgba(96, 165, 250, 0.22);
}

.hero.portal-hero .portal-decor,
.hero.portal-hero .hero-bg {
  display: none;
}

/* Startseite: die Flow-Linie verbindet Produkt, Lösung und Kontakt als visuelles Markenzeichen. */
.flow-hero {
  background-image: linear-gradient(105deg, rgba(3, 8, 18, 0.96) 0%, rgba(5, 12, 25, 0.86) 54%, rgba(5, 12, 25, 0.58) 100%) !important;
}

.flow-hero::before {
  background:
    radial-gradient(circle at 76% 32%, rgba(24, 182, 255, 0.18), transparent 24%),
    linear-gradient(105deg, rgba(3, 8, 18, 0.94) 0%, rgba(5, 12, 25, 0.76) 56%, rgba(5, 12, 25, 0.42) 100%) !important;
}

.flow-hero .hero-grid {
  grid-template-columns: minmax(0, 620px) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 86px);
}

.flow-hero .hero-copy {
  background: rgba(6, 14, 29, 0.72);
  border-color: rgba(89, 213, 255, 0.28);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.flow-hero .hero-visual {
  display: flex;
  z-index: 1;
}

.flow-hero .hero-eyebrow,
.flow-hero .section-kicker {
  color: #60e7ff;
}

.flow-hero .btn.primary {
  background: #0aaed8;
  box-shadow: 0 12px 28px rgba(10, 174, 216, 0.28);
}

.flow-hero .btn.ghost {
  border-color: rgba(96, 231, 255, 0.76);
  background: rgba(4, 16, 31, 0.42);
}

.flow-hero__line {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-hero__line path {
  fill: none;
  stroke: #30d5ff;
  stroke-width: 2;
  opacity: 0.8;
  filter: drop-shadow(0 0 7px rgba(48, 213, 255, 0.85));
  stroke-dasharray: 16 9;
  animation: flowDash 10s linear infinite;
}

.flow-hero__line circle {
  fill: #baf5ff;
  filter: drop-shadow(0 0 8px #1cc8f1);
  animation: flowPulse 2.4s ease-in-out infinite;
}

.flow-hero__destination {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(96, 231, 255, 0.55);
  border-radius: 999px;
  background: rgba(4, 16, 31, 0.86);
  color: #baf5ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: translateX(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flow-hero__destination b {
  font-size: 1rem;
  line-height: 0.8;
}

.flow-hero__destination:hover {
  background: rgba(13, 61, 82, 0.88);
  border-color: #75ecff;
  transform: translateX(-50%) translateY(-3px);
}

.flow-terminal {
  isolation: isolate;
}

.flow-terminal::before {
  content: "";
  position: absolute;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(72, 210, 255, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 165, 220, 0.16), transparent 66%);
  z-index: -1;
}

.flow-terminal__status {
  position: absolute;
  top: -12px;
  right: 4px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(96, 231, 255, 0.55);
  border-radius: 999px;
  background: #071526;
  color: #8ceeff;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.flow-terminal .glass-card {
  border-color: rgba(96, 231, 255, 0.5);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.5), 0 0 38px rgba(24, 182, 255, 0.15);
}

.flow-solutions {
  position: relative;
}

.flow-solutions::before {
  content: "";
  position: absolute;
  top: 180px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48, 213, 255, 0.72), transparent);
  box-shadow: 0 0 14px rgba(48, 213, 255, 0.7);
  pointer-events: none;
}

.flow-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(145deg, rgba(20, 34, 55, 0.95), rgba(8, 17, 32, 0.92));
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#6df0ff, #227cff);
  opacity: 0.8;
}

.flow-card:hover {
  border-color: rgba(96, 231, 255, 0.66);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 0 24px rgba(24, 182, 255, 0.12);
}

.flow-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.flow-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(96, 231, 255, 0.6);
  border-radius: 50%;
  color: #8ceeff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.flow-card__signal {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #53e5ff);
  box-shadow: 0 0 9px rgba(83, 229, 255, 0.85);
}

.kiosk-flow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, rgba(15, 181, 226, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(7, 19, 35, 0.96), rgba(8, 13, 26, 0.98));
}

.kiosk-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(78, 205, 242, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 205, 242, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

.kiosk-flow__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.kiosk-flow__intro h2 {
  margin: 10px 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.kiosk-flow__intro > p:not(.section-kicker) {
  max-width: 500px;
  margin-bottom: 24px;
  color: var(--text-medium);
}

.kiosk-flow .section-kicker {
  color: #61e7ff;
}

.kiosk-flow .btn.primary {
  background: #0aaed8;
  box-shadow: 0 12px 28px rgba(10, 174, 216, 0.28);
}

.kiosk-flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kiosk-flow__steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, #2bc8ee, #92efff 48%, #2bc8ee);
  box-shadow: 0 0 15px rgba(61, 216, 246, 0.72);
}

.kiosk-step {
  position: relative;
  z-index: 1;
  min-height: 218px;
  padding: 26px 20px 20px;
  border: 1px solid rgba(101, 222, 252, 0.28);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 40, 62, 0.96), rgba(8, 20, 37, 0.94));
}

.kiosk-step__number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  border: 2px solid #9af2ff;
  border-radius: 50%;
  background: #0b2238;
  color: #aaf4ff;
  box-shadow: 0 0 0 7px rgba(33, 201, 239, 0.1), 0 0 16px rgba(62, 220, 249, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.kiosk-step h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.kiosk-step p {
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.55;
}

.setup-finder {
  background: linear-gradient(150deg, rgba(12, 29, 48, 0.92), rgba(6, 15, 29, 0.96));
}

.setup-finder__heading {
  max-width: 720px;
}

.setup-finder .section-kicker,
.setup-result__kicker {
  color: #65e7ff;
}

.setup-finder__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.setup-choice,
.setup-result {
  border: 1px solid rgba(103, 226, 255, 0.24);
  border-radius: 14px;
  background: rgba(8, 22, 39, 0.88);
}

.setup-choice {
  padding: 22px;
}

.setup-choice h3 {
  margin-bottom: 16px;
  color: #d8f8ff;
  font-size: 1rem;
}

.setup-choice__options {
  display: grid;
  gap: 9px;
}

.setup-option {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 31, 51, 0.82);
  color: var(--text-medium);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.setup-option:hover {
  border-color: rgba(104, 230, 255, 0.68);
  transform: translateX(3px);
}

.setup-option.is-active {
  border-color: #68e6ff;
  background: linear-gradient(90deg, rgba(14, 153, 190, 0.38), rgba(16, 55, 83, 0.76));
  color: #effdff;
  box-shadow: inset 3px 0 #68e6ff, 0 0 14px rgba(55, 218, 248, 0.1);
}

.setup-result {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(120deg, rgba(10, 51, 75, 0.96), rgba(8, 23, 41, 0.98));
}

.setup-result::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#76efff, #147fe5);
}

.setup-result__kicker {
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.setup-result__text {
  max-width: 760px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 700;
}

.setup-result__benefits {
  margin-bottom: 18px;
  color: #b9d8e0;
  font-size: 0.9rem;
}

.kiosk-demo {
  background: radial-gradient(circle at 50% 42%, rgba(19, 181, 228, 0.16), transparent 36%), linear-gradient(155deg, #071526, #0b1b30);
}

.kiosk-demo .section-kicker {
  color: #68eaff;
}

.kiosk-demo__heading {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.kiosk-demo .kiosk-demo__layout {
  display: block;
}

.kiosk-demo__scene {
  position: relative;
  width: min(100%, 900px);
  min-height: 0;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(102, 230, 255, 0.22);
  border-radius: 22px;
  background: #071526;
  box-shadow: inset 0 0 45px rgba(25, 195, 235, 0.08);
}

.kiosk-demo__scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 18%;
  right: 8%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 224, 255, 0.22), transparent 66%);
  filter: blur(5px);
  animation: kioskTerminalGlow 4.5s ease-in-out infinite;
  pointer-events: none;
}

.kiosk-demo__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 27, 0.02), rgba(4, 14, 27, 0.42));
  pointer-events: none;
}

.kiosk-demo__scene img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  animation: kioskSceneFloat 7s ease-in-out infinite;
}

.kiosk-demo__terminal {
  position: absolute;
  z-index: 3;
  top: 2.5%;
  left: 45.5%;
  width: 29.5%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  transform: perspective(900px) rotateY(-3deg) rotateZ(0.6deg);
  transform-origin: center;
}

.kiosk-demo__screen {
  padding: clamp(5px, 0.65vw, 8px);
  border: 0;
  border-radius: 3px;
  background: #09223a;
  box-shadow: inset 0 0 18px rgba(75, 220, 248, 0.12);
}

.kiosk-demo__bar {
  display: flex;
  justify-content: space-between;
  padding-bottom: clamp(5px, 0.8vw, 9px);
  border-bottom: 1px solid rgba(111, 231, 255, 0.3);
  color: #aaf4ff;
  font-size: clamp(0.42rem, 0.8vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.kiosk-demo__bar span:last-child {
  color: #72eea9;
}

.kiosk-demo__view {
  display: none;
  animation: kioskScreenIn 0.32s ease both;
}

.kiosk-demo__view.is-active {
  display: block;
}

.kiosk-demo__view--success {
  min-height: 0;
  padding: clamp(10px, 1.4vw, 16px);
  text-align: center;
}

.kiosk-demo__check {
  display: grid;
  place-items: center;
  width: clamp(24px, 3vw, 38px);
  height: clamp(24px, 3vw, 38px);
  margin: 0 auto clamp(5px, 0.8vw, 8px);
  border: 2px solid #7bf1ad;
  border-radius: 50%;
  color: #9bf8c0;
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  font-weight: 800;
  box-shadow: 0 0 0 9px rgba(63, 225, 142, 0.1), 0 0 24px rgba(79, 236, 156, 0.6);
  animation: kioskCheckPulse 1.6s ease-in-out infinite;
}

.kiosk-demo__view--success h3 {
  margin-bottom: clamp(4px, 0.6vw, 6px);
  font-size: clamp(0.6rem, 1.1vw, 0.92rem);
}

.kiosk-demo__group {
  margin-top: clamp(8px, 1.4vw, 14px);
}

.kiosk-demo__group h3 {
  margin-bottom: clamp(5px, 0.8vw, 8px);
  font-size: clamp(0.48rem, 0.9vw, 0.78rem);
}

.kiosk-demo__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3px, 0.6vw, 6px);
}

.kiosk-demo__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: clamp(4px, 0.7vw, 7px);
  border: 1px solid rgba(164, 192, 215, 0.26);
  border-radius: 10px;
  background: rgba(13, 33, 54, 0.86);
  color: var(--text-medium);
  font: inherit;
  font-size: clamp(0.42rem, 0.85vw, 0.72rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.kiosk-demo__option::after {
  content: "";
  flex: 0 0 auto;
  width: clamp(7px, 1vw, 10px);
  height: clamp(7px, 1vw, 10px);
  margin-left: 7px;
  border: 1px solid rgba(159, 236, 250, 0.72);
  border-radius: 50%;
  background: transparent;
}

.kiosk-demo__option:hover {
  border-color: #6ee9ff;
  transform: translateY(-2px);
}

.kiosk-demo__option.is-active {
  border-color: #73edff;
  background: linear-gradient(145deg, rgba(18, 169, 207, 0.55), rgba(17, 66, 97, 0.9));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(140, 243, 255, 0.25), 0 0 19px rgba(42, 215, 245, 0.18);
}

.kiosk-demo__option.is-active::after {
  background: #b2f5ff;
  box-shadow: 0 0 8px #54e3ff;
}

.kiosk-demo__option:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
}

.kiosk-demo__order {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(5px, 0.8vw, 8px);
  margin-top: clamp(9px, 1.2vw, 13px);
  padding-top: clamp(7px, 1vw, 10px);
  border-top: 1px solid rgba(111, 231, 255, 0.22);
}

.kiosk-demo__order > p:first-child {
  flex: 1 1 100%;
  color: #d9f9ff;
  font-size: clamp(0.42rem, 0.85vw, 0.72rem);
  font-weight: 700;
}

.kiosk-demo__order .btn {
  min-height: 0;
  padding: clamp(4px, 0.7vw, 7px) clamp(6px, 0.9vw, 10px);
  border-width: 1px;
  font-size: clamp(0.42rem, 0.8vw, 0.68rem);
}

.kiosk-demo__order .btn.primary {
  background: #0baed6;
}

.kiosk-demo__order .btn:disabled {
  cursor: wait;
  opacity: 0.82;
}

.kiosk-demo__success {
  display: block;
  margin: 0 0 20px;
  color: #8ef3b8;
  font-weight: 700;
}

.kiosk-demo__screen.is-processing {
  animation: kioskProcessing 0.7s linear infinite;
}

/* Die Illustration bleibt dekorativ; die Demo ist ein eigenständiges, gut lesbares Terminal. */
.kiosk-demo__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.kiosk-demo__scene {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 3;
  margin: 0;
}

.kiosk-demo__scene img {
  position: absolute;
  inset: 0;
  object-position: center;
}

.kiosk-demo__terminal {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(118, 235, 255, 0.5);
  border-radius: 26px;
  background: linear-gradient(145deg, #183550, #071522 58%);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45), 0 0 48px rgba(25, 200, 239, 0.14);
  transform: none;
}

.kiosk-demo__screen {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(112, 225, 255, 0.24);
  border-radius: 17px;
  background: linear-gradient(155deg, #0d2a42, #081728 70%);
}

.kiosk-demo__bar {
  padding-bottom: 17px;
  font-size: 0.72rem;
}

.kiosk-demo__group {
  margin-top: 24px;
}

.kiosk-demo__group h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.kiosk-demo__options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kiosk-demo__option {
  min-height: 70px;
  padding: 12px;
  font-size: 0.86rem;
}

.kiosk-demo__order {
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
}

.kiosk-demo__order > p:first-child {
  flex: 1 1 330px;
  font-size: 0.9rem;
}

.kiosk-demo__order .btn {
  min-height: auto;
  padding: 12px 18px;
  border-width: 2px;
  font-size: 0.92rem;
}

.kiosk-demo__view--success {
  min-height: 300px;
  padding: 50px 24px 24px;
}

.kiosk-demo__check {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  font-size: 2rem;
}

.kiosk-demo__view--success h3 {
  margin-bottom: 9px;
  font-size: 1.5rem;
}

/* Interaktive Flächen liegen unsichtbar auf den echten Schaltflächen des Terminalbilds. */
.kiosk-demo__layout {
  display: block;
}

.kiosk-device {
  position: relative;
  width: min(100%, 590px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(116, 235, 255, 0.25);
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.5), 0 0 42px rgba(33, 200, 239, 0.1);
}

.kiosk-device__image {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.kiosk-device.is-changing .kiosk-device__image {
  opacity: 0.62;
  transform: scale(0.985);
}

.kiosk-device__hotspots {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 2;
}

.kiosk-device__hotspots.is-active {
  display: block;
}

.kiosk-device__hotspot {
  position: absolute;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.kiosk-device__hotspot:hover {
  background: rgba(21, 186, 228, 0.12);
  box-shadow: inset 0 0 0 2px rgba(53, 211, 243, 0.58);
}

.kiosk-device__hotspot.is-selected {
  box-shadow: inset 0 0 0 3px rgba(18, 179, 231, 0.8), 0 0 10px rgba(40, 211, 244, 0.3);
}

.kiosk-device__hotspot:focus-visible {
  outline: 3px solid #53e5ff;
  outline-offset: 2px;
}

.kiosk-device__hotspot--product-1 { top: 50%; left: 34%; width: 14%; height: 13%; }
.kiosk-device__hotspot--product-2 { top: 50%; left: 49%; width: 13%; height: 13%; }
.kiosk-device__hotspot--product-3 { top: 50%; left: 63%; width: 13%; height: 13%; }
.kiosk-device__hotspot--next { top: 65%; left: 34%; width: 41%; height: 7%; }
.kiosk-device__hotspot--payment-1 { top: 23%; left: 34%; width: 42%; height: 9%; }
.kiosk-device__hotspot--payment-2 { top: 33%; left: 34%; width: 42%; height: 9%; }
.kiosk-device__hotspot--payment-3 { top: 43%; left: 34%; width: 42%; height: 9%; }
.kiosk-device__hotspot--confirm { top: 65%; left: 34%; width: 42%; height: 7%; }
.kiosk-device__hotspot--restart { top: 61%; left: 41%; width: 28%; height: 7%; }

.kiosk-device figcaption {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 12px;
  max-width: 55%;
  padding: 6px 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.64);
  color: #d8f7fb;
  font-size: 0.72rem;
}

/* Wiederkehrende Flow-Sprache für Unterseiten. */
.live-demo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(24, 190, 231, 0.14), transparent 36%),
    linear-gradient(155deg, #06111f, #0b1b30 58%, #071422);
}
.live-demo__heading { max-width: 790px; margin-inline: auto; text-align: center; }
.live-demo__heading .section-kicker { color: #68eaff; }
.live-demo__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 720px); margin: 34px auto 26px; padding: 6px; border: 1px solid rgba(106, 225, 250, 0.2); border-radius: 16px; background: rgba(3, 15, 28, 0.72); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.live-demo__tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 11px; background: transparent; color: #82a6b5; font: inherit; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.live-demo__tabs button span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #3c6879; border-radius: 8px; font-size: .63rem; font-weight: 900; }
.live-demo__tabs button strong { font-size: .86rem; }
.live-demo__tabs button:hover { color: #dffaff; }
.live-demo__tabs button.is-active { background: linear-gradient(135deg, rgba(13, 164, 201, .82), rgba(15, 80, 116, .92)); color: #fff; box-shadow: 0 8px 24px rgba(3, 164, 202, .2), inset 0 1px rgba(255,255,255,.12); }
.live-demo__tabs button.is-active span { border-color: #8cecff; background: rgba(3,35,53,.4); }
.live-demo__stage { position: relative; width: min(100%, 1100px); margin: 0 auto; }
.live-demo__panel { display: none; animation: liveDemoIn .34s ease both; }
.live-demo__panel.is-active { display: block; }
.live-demo__panel.kiosk-demo { padding: 22px; background: transparent; }
.live-demo__panel .kiosk-demo__layout { display: block; }
.live-demo__continue { display: none; align-items: center; justify-content: center; gap: 12px; width: min(100%, 590px); min-height: 52px; margin: 15px auto 0; border: 1px solid rgba(113, 231, 253, .5); border-radius: 12px; background: linear-gradient(135deg, #0ba7cf, #11658d); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(6, 173, 211, .2); }
.live-demo__panel.is-complete .live-demo__continue { display: flex; animation: kioskScreenIn .3s ease both; }
.live-demo__continue strong { font-size: 1.2rem; transition: transform .18s ease; }
.live-demo__continue:hover strong { transform: translateX(4px); }
@keyframes liveDemoIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .live-demo__tabs { gap: 4px; padding: 4px; }
  .live-demo__tabs button { gap: 6px; padding-inline: 7px; }
  .live-demo__tabs button strong { font-size: .7rem; }
  .live-demo__tabs button span { width: 23px; height: 23px; }
  .live-demo__panel.kiosk-demo { padding: 8px 0; }
}

.system-journey {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(24, 190, 231, 0.15), transparent 38%),
    linear-gradient(155deg, #06111f, #0b1b30 58%, #071422);
}

.system-journey__heading { max-width: 780px; margin-inline: auto; text-align: center; }
.system-journey__heading .section-kicker { color: #68eaff; }
.system-board {
  position: relative;
  isolation: isolate;
  width: min(100%, 1100px);
  height: 720px;
  margin: 46px auto 0;
  overflow: hidden;
  border: 1px solid rgba(102, 226, 255, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(rgba(75, 202, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 202, 236, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 43% 38%, rgba(17, 137, 181, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(11, 32, 53, 0.98), rgba(4, 15, 27, 0.98));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 34px 80px rgba(0, 0, 0, 0.42);
}
.system-board::before { content: "ACOMTEC CONNECT"; position: absolute; top: 20px; left: 24px; color: rgba(137, 235, 255, 0.42); font-size: 0.67rem; font-weight: 900; letter-spacing: 0.22em; }
.system-board__glow { position: absolute; z-index: 0; top: 18%; left: 27%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(28, 192, 232, 0.11); filter: blur(52px); pointer-events: none; }
.system-board__flows { position: absolute; inset: 0 0 100px; z-index: 1; width: 100%; height: calc(100% - 100px); overflow: visible; pointer-events: none; }
.system-flow { fill: none; stroke: rgba(110, 193, 216, 0.19); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 11; vector-effect: non-scaling-stroke; transition: stroke 0.25s ease, filter 0.25s ease; }
.system-board.route-cash .system-flow--cash,
.system-board.route-card .system-flow--card,
.system-board.is-tse .system-flow--tse,
.system-board.is-complete .system-flow--dashboard { stroke: #51dcf7; filter: drop-shadow(0 0 6px rgba(57, 218, 249, 0.9)); animation: systemFlow 0.65s linear infinite; }

.system-node { position: absolute; z-index: 2; display: grid; justify-items: center; opacity: 0.56; transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease; }
.system-node--register { top: 145px; left: 31%; width: 36%; opacity: 1; }
.system-node--cash { top: 430px; left: 9%; width: 24%; }
.system-node--card { top: 436px; left: 45%; width: 18%; }
.system-node--tse { top: 52px; left: 69%; width: 15%; }
.system-node--dashboard { top: 210px; left: 72%; width: 25%; }
.system-board.route-cash .system-node--cash,
.system-board.route-card .system-node--card,
.system-board.is-tse .system-node--tse,
.system-board.is-complete .system-node--dashboard { opacity: 1; filter: drop-shadow(0 0 18px rgba(49, 210, 241, 0.22)); transform: translateY(-4px); }
.system-node__label { display: grid; gap: 2px; margin-top: 11px; color: #f3fcff; text-align: center; }
.system-node__label strong { font-size: 0.82rem; }
.system-node__label span { color: #86a8b6; font-size: 0.68rem; }

.system-register { width: min(100%, 360px); perspective: 900px; }
.system-register__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; border: 1px solid #34536a; border-bottom: 0; border-radius: 18px 18px 0 0; background: linear-gradient(145deg, #2a4255, #111f2a); color: #bceefa; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.15em; }
.system-register__top i { width: 7px; height: 7px; border-radius: 50%; background: #53e899; box-shadow: 0 0 9px #53e899; }
.system-register__screen { min-height: 178px; padding: 15px; border: 7px solid #192935; border-radius: 0 0 13px 13px; background: linear-gradient(145deg, #e9f7fa, #bddde5); color: #163447; box-shadow: inset 0 0 20px rgba(6, 72, 96, 0.2), 0 20px 35px rgba(0, 0, 0, 0.34); }
.system-register__receipt small { color: #54717f; font-size: 0.61rem; font-weight: 800; text-transform: uppercase; }
.system-register__receipt div, .system-register__total { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 0.72rem; }
.system-register__total { align-items: center; margin: 12px 0; padding-top: 10px; border-top: 1px dashed #8aadb8; font-weight: 800; }
.system-register__total strong { color: #087ca1; font-size: 1.15rem; }
.system-register__view { display: none; animation: kioskScreenIn 0.22s ease both; }
.system-register__view.is-active { display: block; }
.system-register__view > button, .system-register__view > div button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border: 0; border-radius: 7px; background: linear-gradient(135deg, #0aa5cc, #11759a); color: #fff; font: inherit; font-size: 0.72rem; cursor: pointer; box-shadow: 0 5px 14px rgba(0, 121, 159, 0.24); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.system-register__view > button { width: 100%; }
.system-register__view > button:hover, .system-register__view > div button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 121, 159, 0.32); }
.system-register__view p { margin: 0 0 7px; color: #426675; font-size: 0.66rem; font-weight: 800; }
.system-register__view > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.system-register__view button:disabled { opacity: 0.55; cursor: wait; }
.system-register__stand { width: 42%; height: 18px; margin: 0 auto; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, #13232e, #385163, #13232e); box-shadow: 0 10px 0 -5px #172733; }

.system-cashdro { position: relative; width: 130px; height: 146px; padding: 13px; border: 2px solid #52616b; border-radius: 15px 15px 9px 9px; background: linear-gradient(120deg, #52606a, #1c2932 45%, #35434d); box-shadow: inset -9px 0 15px rgba(0,0,0,.28), 0 16px 25px rgba(0,0,0,.32); }
.system-cashdro > b { color: #d8e6ea; font-size: 0.67rem; font-style: italic; }
.system-cashdro__screen { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-top: 8px; padding: 0 7px; border-radius: 4px; background: #061a25; color: #8eeaff; font-size: 0.58rem; box-shadow: inset 0 0 8px #000; }
.system-cashdro__screen i { width: 5px; height: 5px; border-radius: 50%; background: #64757c; }
.system-cashdro__slot { width: 67px; height: 13px; margin: 18px auto 0; border-radius: 3px; background: #071016; box-shadow: inset 0 4px 4px #000, 0 0 0 5px #46535b; }
.system-cashdro__tray { width: 82px; height: 20px; margin: 22px auto 0; border-radius: 3px 3px 9px 9px; background: #101a20; box-shadow: inset 0 7px 7px #05090b; }
.system-cashdro__note { position: absolute; z-index: 2; top: 60px; left: 42px; width: 48px; height: 24px; padding: 3px; border: 1px solid #3b9765; border-radius: 2px; background: #a8dfbd; color: #26704a; font-size: 0.62rem; font-weight: 900; opacity: 0; }
.system-board.route-cash .system-cashdro__note { animation: systemNote 1.15s ease 0.15s both; }

.system-card-reader { position: relative; width: 105px; height: 146px; padding: 10px; border: 2px solid #52616b; border-radius: 17px; background: linear-gradient(145deg, #3d4d59, #15232c); box-shadow: inset -8px 0 12px rgba(0,0,0,.28), 0 16px 25px rgba(0,0,0,.32); transform: rotate(-4deg); }
.system-card-reader__screen { display: grid; place-items: center; height: 55px; border-radius: 5px; background: #b9e2d9; color: #194d4a; box-shadow: inset 0 0 7px rgba(0,0,0,.22); }
.system-card-reader__screen small { font-size: 0.68rem; font-weight: 900; }
.system-card-reader__screen span { font-size: 0.48rem; letter-spacing: -2px; transform: rotate(90deg); }
.system-card-reader__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 3px 5px; }
.system-card-reader__keys i { height: 7px; border-radius: 2px; background: #84919a; box-shadow: 0 1px #070b0d; }
.system-card-reader__ok { width: 24px; height: 6px; margin-left: auto; border-radius: 2px; background: #3aca70; }
.system-card-reader__card { position: absolute; z-index: -1; top: 34px; right: -50px; width: 58px; height: 38px; border-radius: 5px; background: linear-gradient(135deg, #1bc1e4, #12658f); box-shadow: 0 9px 18px rgba(0,0,0,.3); opacity: 0; }
.system-card-reader__card::before { content: ""; position: absolute; top: 9px; left: 8px; width: 12px; height: 9px; border-radius: 2px; background: #e4c66f; }
.system-board.route-card .system-card-reader__card { animation: systemCard 1.2s ease 0.1s both; }

.system-tse { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border: 2px solid #486274; border-radius: 17px; background: linear-gradient(145deg, #18344a, #0a1825); box-shadow: inset 0 0 18px rgba(50, 202, 235, 0.1), 0 15px 25px rgba(0,0,0,.3); }
.system-tse span { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #507083; border-radius: 50%; color: #6f92a1; font-weight: 900; transition: 0.25s ease; }
.system-tse i { position: absolute; width: 10px; height: 3px; border-radius: 2px; background: #66808e; }
.system-tse i:nth-of-type(1), .system-tse i:nth-of-type(2) { left: -7px; }
.system-tse i:nth-of-type(3), .system-tse i:nth-of-type(4) { right: -7px; }
.system-tse i:nth-of-type(1), .system-tse i:nth-of-type(3) { top: 20px; }
.system-tse i:nth-of-type(2), .system-tse i:nth-of-type(4) { bottom: 20px; }
.system-board.is-tse .system-tse span { border-color: #5bed9b; color: #72f2aa; box-shadow: 0 0 0 8px rgba(63, 225, 142, 0.1), 0 0 22px rgba(79, 236, 156, 0.55); }

.system-dashboard { width: min(100%, 250px); padding: 13px; border: 1px solid #35576c; border-radius: 12px; background: linear-gradient(145deg, #102c42, #071722); box-shadow: inset 0 0 18px rgba(35, 184, 218, 0.08), 0 17px 28px rgba(0,0,0,.3); }
.system-dashboard__top { display: flex; justify-content: space-between; color: #70dff3; font-size: 0.55rem; font-weight: 900; letter-spacing: 0.09em; }
.system-dashboard__top i { width: 6px; height: 6px; border-radius: 50%; background: #546d78; }
.system-dashboard__metrics { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 7px; margin-top: 10px; }
.system-dashboard__metrics > div { position: relative; display: grid; gap: 2px; padding: 8px; border-radius: 7px; background: rgba(22, 63, 85, 0.68); }
.system-dashboard__metrics small { color: #82a5b3; font-size: 0.52rem; }
.system-dashboard__metrics strong { color: #e9fbff; font-size: 0.68rem; }
.system-dashboard__change { position: absolute; top: 5px; right: 5px; color: #61eba0; font-size: 0.5rem; font-weight: 900; opacity: 0; transform: translateY(4px); transition: 0.3s ease; }
.system-dashboard__bars { display: flex; align-items: end; gap: 5px; height: 42px; margin-top: 10px; padding: 6px 7px 0; border-bottom: 1px solid rgba(99, 209, 233, 0.24); }
.system-dashboard__bars i { flex: 1; height: 30%; border-radius: 2px 2px 0 0; background: linear-gradient(#42d2ec, #157ba4); transition: height 0.5s ease; }
.system-dashboard__bars i:nth-child(2) { height: 55%; }.system-dashboard__bars i:nth-child(3) { height: 42%; }.system-dashboard__bars i:nth-child(4) { height: 70%; }.system-dashboard__bars i:nth-child(5) { height: 58%; }
.system-board.is-complete .system-dashboard__top i { background: #5bed9b; box-shadow: 0 0 7px #5bed9b; }
.system-board.is-complete .system-dashboard__change { opacity: 1; transform: translateY(0); }
.system-board.is-complete .system-dashboard__bars i:nth-child(5) { height: 92%; background: linear-gradient(#6aefa5, #199a62); }

.system-board__footer { position: absolute; z-index: 4; right: 20px; bottom: 18px; left: 20px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 18px; align-items: center; padding: 12px 14px; border: 1px solid rgba(99, 214, 238, 0.18); border-radius: 14px; background: rgba(5, 18, 30, 0.88); backdrop-filter: blur(10px); }
.system-board__status { display: flex; align-items: center; gap: 9px; color: #b8d4de; font-size: 0.76rem; }
.system-board__status i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #38cdea; box-shadow: 0 0 9px #38cdea; }
.system-board.is-complete .system-board__status { color: #8df0b7; font-weight: 800; }
.system-board.is-complete .system-board__status i { background: #58e899; box-shadow: 0 0 10px #58e899; }
.system-board__steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.system-board__steps li { display: grid; grid-template-columns: 20px auto; gap: 5px; align-items: center; color: #5e7b88; font-size: 0.59rem; }
.system-board__steps li span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #3c5b69; border-radius: 50%; font-size: 0.55rem; }
.system-board__steps li.is-active { color: #87eaff; }
.system-board__steps li.is-active span { border-color: #4ddcf6; background: rgba(39, 192, 224, 0.2); box-shadow: 0 0 10px rgba(61, 218, 246, 0.35); }
.system-board__steps li.is-done { color: #6fdca0; }
.system-board__steps li.is-done span { border-color: #45d58a; background: #178451; color: transparent; }
.system-board__steps li.is-done span::after { content: "✓"; color: #fff; }
.system-board__reset { padding: 8px 11px; border: 1px solid #3f687a; border-radius: 8px; background: transparent; color: #a8cad5; font: inherit; font-size: 0.68rem; cursor: pointer; }
.system-board__reset:hover { border-color: #61dff7; color: #fff; }

@keyframes systemFlow { to { stroke-dashoffset: -18; } }
@keyframes systemNote { 0% { opacity: 0; transform: translateY(28px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-19px) scale(.88); } }
@keyframes systemCard { 0% { opacity: 0; transform: translateX(25px) rotate(10deg); } 35% { opacity: 1; } 100% { opacity: 1; transform: translateX(-33px) rotate(-3deg); } }

.security-board__showcase {
  position: relative;
  margin: 0;
  border: 1px solid rgba(99, 229, 255, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.security-board__image { display: block; width: 100%; height: auto; }
.security-board__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.security-line {
  fill: none;
  stroke: #51dcf7;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 26 54;
  filter: drop-shadow(0 0 6px rgba(81, 220, 247, 0.85));
  animation: securityLineFlow 1.6s linear infinite;
}
.security-line--left { animation-duration: 2.6s; }
.security-line--right { animation-duration: 3.4s; }

@keyframes securityLineFlow { to { stroke-dashoffset: -80; } }

@media (prefers-reduced-motion: reduce) {
  .security-line { animation: none; }
}

.security-board {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(99, 229, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 34, 55, 0.95), rgba(8, 17, 32, 0.92));
}
.security-board__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(99, 229, 255, 0.28);
  border-radius: 14px;
  background: radial-gradient(circle at 15% 20%, rgba(43, 200, 238, 0.14), transparent 60%), #040b14;
}
.security-board__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    180deg,
    rgba(99, 229, 255, 0.05) 0px,
    rgba(99, 229, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}
.security-board__main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(99, 229, 255, 0.16), transparent);
  animation: securityScan 3.2s linear infinite;
  pointer-events: none;
}
.security-board__main.is-switching { animation: securityFlash 0.4s ease; }
.security-board__badge { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; color: #ff5c6c; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; }
.security-board__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5c6c; box-shadow: 0 0 9px #ff5c6c; animation: securityPulse 1.4s ease infinite; }
.security-board__label { position: relative; z-index: 2; color: #eaf8ff; font-weight: 800; font-size: 1.05rem; transition: opacity 0.2s ease, transform 0.2s ease; }
.security-board__label.is-updating { opacity: 0; transform: translateY(-4px); }
.security-board__time { position: relative; z-index: 2; color: #6fa3b5; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.security-board__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.security-cam {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.7);
  color: #a8cad5;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.security-cam svg { width: 26px; height: 26px; fill: currentColor; opacity: 0.75; transition: opacity 0.2s ease; }
.security-cam:hover { border-color: rgba(99, 229, 255, 0.5); color: #d9f4ff; }
.security-cam:hover svg { opacity: 1; }
.security-cam.is-active {
  border-color: #2bc8ee;
  background: rgba(43, 200, 238, 0.12);
  color: #fff;
  transform: translateY(-2px);
  animation: securityActiveGlow 2.2s ease infinite;
}
.security-cam.is-active svg { opacity: 1; }
.security-board__status { margin: 0; color: #b8d4de; font-size: 0.78rem; }

@keyframes securityPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes securityScan { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes securityFlash { 0% { filter: brightness(2.2); } 100% { filter: brightness(1); } }
@keyframes securityActiveGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(43, 200, 238, 0.35), 0 0 16px rgba(43, 200, 238, 0.2); }
  50% { box-shadow: 0 0 0 1px rgba(43, 200, 238, 0.55), 0 0 28px rgba(43, 200, 238, 0.45); }
}

.security-flow {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 6px;
}
.security-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.security-flow__node span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 50%;
  background: rgba(10, 20, 36, 0.7);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.security-flow__node strong { color: #a8cad5; font-size: 0.64rem; font-weight: 700; text-align: center; white-space: nowrap; }
.security-flow__node.is-active { opacity: 1; }
.security-flow__node.is-active span {
  border-color: #2bc8ee;
  background: rgba(43, 200, 238, 0.16);
  box-shadow: 0 0 0 5px rgba(43, 200, 238, 0.12), 0 0 16px rgba(43, 200, 238, 0.4);
  animation: securityNodePop 0.4s ease;
}
.security-flow__node.is-active strong { color: #d9f4ff; }
.security-flow__line {
  flex: 1 1 auto;
  height: 2px;
  min-width: 16px;
  background: rgba(148, 163, 184, 0.22);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.security-flow__line.is-active {
  background: linear-gradient(90deg, #2bc8ee, #92efff 48%, #2bc8ee);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(61, 216, 246, 0.6);
  animation: securityFlowLine 1s linear infinite;
}
@keyframes securityNodePop { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes securityFlowLine { to { background-position: -200% 0; } }

@media (max-width: 560px) {
  .security-flow__node strong { display: none; }
  .security-flow__node span { width: 28px; height: 28px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .security-board__main::after,
  .security-cam.is-active,
  .security-flow__node.is-active span,
  .security-flow__line.is-active { animation: none; }
}

@media (max-width: 900px) {
  .system-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; height: auto; padding: 58px 18px 18px; overflow: visible; }
  .system-board__flows, .system-board__glow { display: none; }
  .system-node { position: relative; top: auto; left: auto; width: auto; min-height: 205px; padding: 18px 12px; border: 1px solid rgba(91, 199, 224, 0.14); border-radius: 16px; background: rgba(6, 24, 39, 0.62); }
  .system-node--register { grid-column: 1 / -1; min-height: 285px; }
  .system-node--dashboard { grid-column: 1 / -1; }
  .system-dashboard { width: min(100%, 330px); }
  .system-board__footer { position: relative; right: auto; bottom: auto; left: auto; grid-column: 1 / -1; grid-template-columns: 1fr auto; }
  .system-board__steps { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}

@media (max-width: 560px) {
  .system-board { grid-template-columns: 1fr; padding-inline: 12px; }
  .system-node--register, .system-node--dashboard, .system-board__footer { grid-column: auto; }
  .system-board__footer { grid-template-columns: 1fr; text-align: center; }
  .system-board__status { justify-content: center; }
  .system-board__steps { grid-column: auto; grid-row: auto; flex-wrap: wrap; }
  .system-board__steps li b { display: none; }
  .system-board__reset { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .system-flow, .system-cashdro__note, .system-card-reader__card { animation-duration: 0.01ms !important; }
}

/* Bildbasierte Systemreise: Das Motiv liefert die Geräte, echte DOM-Buttons die Funktion. */
.system-board--image {
  height: auto;
  aspect-ratio: 3 / 2;
  background: #020d1e;
}
.system-board--image::before { z-index: 4; color: rgba(169, 238, 255, 0.72); }
.system-board__image { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.system-control {
  position: absolute;
  z-index: 5;
  top: 11.3%;
  left: 28.4%;
  width: 24.8%;
  min-height: 18.5%;
  padding: clamp(7px, 1.05vw, 13px);
  border: 0;
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(8, 35, 61, 0.91), rgba(7, 45, 72, 0.86));
  box-shadow: inset 0 0 24px rgba(29, 166, 202, 0.1);
  clip-path: polygon(1% 0, 98% 2.5%, 100% 100%, 0 98%);
  transform: perspective(900px) rotateY(-1.5deg) rotateZ(0.8deg);
  transform-origin: center;
}
.system-control__brand { display: flex; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px solid rgba(118, 221, 241, 0.18); color: #9eeeff; font-size: clamp(0.44rem, 0.68vw, 0.61rem); font-weight: 900; letter-spacing: 0.13em; }
.system-control__brand i { width: 7px; height: 7px; border-radius: 50%; background: #61e9a0; box-shadow: 0 0 8px #61e9a0; }
.system-control__view { display: none; padding-top: clamp(5px, 0.72vw, 9px); animation: kioskScreenIn 0.22s ease both; }
.system-control__view.is-active { display: block; }
.system-control__view small { color: #8bb5c4; font-size: clamp(0.46rem, 0.72vw, 0.64rem); font-weight: 800; }
.system-control__total { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: clamp(4px, 0.6vw, 7px) 0; color: #c9e5ec; font-size: clamp(0.48rem, 0.72vw, 0.64rem); }
.system-control__total strong { color: #72eaff; font-size: clamp(0.72rem, 1.2vw, 1.05rem); }
.system-control__view > button,
.system-control__methods button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: clamp(25px, 2.8vw, 34px); border: 1px solid rgba(115, 232, 255, 0.42); border-radius: 4px; background: linear-gradient(135deg, rgba(13, 174, 212, 0.94), rgba(21, 107, 149, 0.96)); color: #fff; font: inherit; font-size: clamp(0.48rem, 0.72vw, 0.66rem); cursor: pointer; box-shadow: inset 0 1px rgba(255, 255, 255, 0.12); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease; }
.system-control__view > button { width: 100%; }
.system-control__view > button:hover,
.system-control__methods button:hover { transform: translateY(-1px); filter: brightness(1.14); box-shadow: 0 0 16px rgba(2, 180, 220, 0.32); }
.system-control__methods { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 8px; }
.system-control__methods button:disabled { cursor: wait; opacity: 0.58; }

.system-indicator { position: absolute; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(105, 225, 249, 0.54); border-radius: 999px; background: rgba(3, 18, 34, 0.88); color: #c9f8ff; font-size: clamp(0.5rem, 0.78vw, 0.7rem); opacity: 0; transform: translateY(8px) scale(0.94); transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.system-indicator span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0f8fb5; color: #fff; font-weight: 900; }
.system-indicator--cash { top: 46%; left: 7%; }
.system-indicator--card { top: 61%; left: 48%; }
.system-indicator--tse { top: 13%; left: 69%; }
.system-indicator--dashboard { top: 48%; left: 73%; }
.system-board--image.route-cash .system-indicator--cash,
.system-board--image.route-card .system-indicator--card,
.system-board--image.is-tse .system-indicator--tse,
.system-board--image.is-complete .system-indicator--dashboard { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 0 0 6px rgba(45, 203, 234, 0.11), 0 0 25px rgba(42, 207, 239, 0.45); }
.system-board--image.is-complete .system-indicator--dashboard,
.system-board--image.is-complete .system-indicator--tse { border-color: #6aeca2; box-shadow: 0 0 0 6px rgba(66, 220, 134, 0.11), 0 0 25px rgba(61, 224, 136, 0.4); }
.system-board--image.is-complete .system-indicator--dashboard span,
.system-board--image.is-complete .system-indicator--tse span { background: #188c55; }
.system-board--image .system-board__footer { background: rgba(2, 15, 31, 0.93); }

@media (max-width: 900px) {
  .system-board.system-board--image { display: block; height: auto; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; }
  .system-board--image .system-board__footer { position: absolute; right: 14px; bottom: 12px; left: 14px; display: grid; grid-template-columns: 1fr auto; }
  .system-board--image .system-board__steps { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
  .system-board.system-board--image { display: flex; flex-direction: column; aspect-ratio: auto; }
  .system-board__image { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .system-control { position: relative; top: auto; left: auto; order: 2; width: auto; min-height: 0; margin: 0 10px 10px; padding: 14px; transform: none; }
  .system-control__brand, .system-control__view small, .system-control__total { font-size: 0.72rem; }
  .system-control__total strong { font-size: 1.05rem; }
  .system-control__view > button, .system-control__methods button { min-height: 44px; font-size: 0.76rem; }
  .system-indicator { display: none; }
  .system-board--image .system-board__footer { position: relative; right: auto; bottom: auto; left: auto; order: 3; display: grid; grid-template-columns: 1fr; margin: 0 10px 10px; }
  .system-board--image .system-board__steps { grid-column: auto; grid-row: auto; }
}

.flow-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(24, 182, 255, 0.14), transparent 25%),
    linear-gradient(145deg, rgba(6, 15, 29, 0.34), rgba(6, 15, 29, 0)) !important;
}

.flow-page > .container {
  position: relative;
  z-index: 1;
}

.flow-page .section-heading {
  position: relative;
}

.flow-page .section-kicker {
  color: #63e5ff;
}

.flow-page .gallery-card,
.flow-page .reference-card,
.flow-page .portal-card,
.flow-page .legal-card,
.flow-page .contact-info,
.flow-page .contact-form {
  position: relative;
  border-color: rgba(116, 223, 255, 0.24);
  background: linear-gradient(145deg, rgba(19, 34, 55, 0.92), rgba(8, 17, 32, 0.9));
}

.flow-page .gallery-card::before,
.flow-page .reference-card::before,
.flow-page .portal-card::before,
.flow-page .legal-card::before,
.flow-page .contact-info::before,
.flow-page .contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5ae8ff, transparent);
  opacity: 0.75;
}

.flow-page .gallery-card:hover,
.flow-page .reference-card:hover,
.flow-page .portal-card:hover,
.flow-page .legal-card:hover {
  border-color: rgba(99, 229, 255, 0.65);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), 0 0 24px rgba(24, 182, 255, 0.12);
}

.flow-page .gallery-thumb {
  border: 1px solid rgba(99, 229, 255, 0.28);
  background: radial-gradient(circle at 50% 50%, rgba(20, 188, 233, 0.22), rgba(12, 24, 43, 0.35));
  color: #9bf0ff;
}

.flow-page .btn.primary {
  background: #0aaed8;
  box-shadow: 0 12px 28px rgba(10, 174, 216, 0.22);
}

.flow-page .btn.ghost {
  border-color: rgba(99, 229, 255, 0.68);
  background: rgba(5, 18, 33, 0.46);
}

/* Referenzen: Die Signallinie ist direkt an die vier Praxisbeispiele gebunden. */
.flow-references::before,
.flow-references::after {
  display: none;
}

.reference-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  height: 36px;
  margin: -14px 0 18px;
}

.reference-flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #51e3ff 10%, #51e3ff 90%, transparent);
  box-shadow: 0 0 14px rgba(81, 227, 255, 0.8);
}

.reference-flow span {
  position: relative;
  justify-self: center;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 2px solid #aaf3ff;
  border-radius: 50%;
  background: #0d2138;
  box-shadow: 0 0 0 6px rgba(29, 199, 238, 0.1), 0 0 14px rgba(43, 212, 248, 0.85);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}


.hero-copy {
  background: rgba(16, 25, 40, 0.68);
  border: 1px solid rgba(191, 203, 219, 0.24);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .hero-background-video {
    display: none;
  }

  .hero.portal-hero::before {
    display: none;
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .hero.portal-hero {
    min-height: auto;
    padding: 78px 0 86px;
    background-position: 62% center;
  }

  .hero.portal-hero .hero-copy {
    background: rgba(7, 11, 18, 0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video {
    display: none;
  }

  .hero.portal-hero::before {
    display: none;
  }
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin: 14px 0;
  color: var(--text-dark);
}

.anniversary-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: nowrap;
}

.anniversary-mark {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  width: fit-content;
  padding: 2px 0 18px;
  border-bottom: 1px solid rgba(255, 210, 103, 0.48);
}

.anniversary-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd86b 25%, #fff3b0 50%, #c98712 75%, transparent);
  box-shadow: 0 0 15px rgba(255, 196, 54, 0.7);
}

.anniversary-logo {
  display: block;
  flex: 0 1 190px;
  width: clamp(140px, 15vw, 190px);
  max-width: 34%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.82)) drop-shadow(0 0 10px rgba(255, 45, 62, 0.34));
  animation: anniversaryLogoFloat 3.2s ease-in-out infinite;
  will-change: transform, filter;
}

.anniversary-mark > strong {
  color: #f7c449;
  font-size: clamp(5rem, 9vw, 7.6rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
  background: linear-gradient(115deg, #8d5705 0%, #f4bd38 24%, #fff4ae 44%, #d89516 64%, #ffdc68 82%, #9b6107 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(91, 50, 0, 0.78)) drop-shadow(0 0 17px rgba(255, 191, 41, 0.58));
  animation: anniversaryGoldShine 3.2s ease-in-out infinite;
}

.anniversary-mark > span {
  display: grid;
  gap: 2px;
  padding-left: clamp(14px, 2vw, 22px);
  border-left: 2px solid #e3a924;
}

.anniversary-mark b {
  color: #e8fbff;
  font-size: clamp(0.95rem, 1.6vw, 1.28rem);
  line-height: 1.15;
  letter-spacing: 0.17em;
}

.anniversary-mark b:first-child {
  color: #ffd35e;
  text-shadow: 0 0 14px rgba(255, 190, 39, 0.58);
  animation: anniversaryGoldLabel 3.2s ease-in-out infinite;
}

@keyframes anniversaryGoldShine {
  0%, 100% {
    background-position: 100% center;
    filter: drop-shadow(0 3px 0 rgba(91, 50, 0, 0.78)) drop-shadow(0 0 14px rgba(255, 191, 41, 0.5));
  }

  50% {
    background-position: 0 center;
    filter: drop-shadow(0 3px 0 rgba(91, 50, 0, 0.78)) drop-shadow(0 0 28px rgba(255, 208, 82, 0.88));
  }
}

@keyframes anniversaryGoldLabel {
  0%, 100% {
    color: #f4bd38;
    text-shadow: 0 0 10px rgba(255, 190, 39, 0.42);
  }

  50% {
    color: #fff0a0;
    text-shadow: 0 0 24px rgba(255, 206, 76, 0.82);
  }
}

@keyframes anniversaryLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.82)) drop-shadow(0 0 9px rgba(255, 45, 62, 0.3));
  }

  50% {
    transform: translateY(-6px) scale(1.025);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 18px rgba(255, 45, 62, 0.62));
  }
}

@media (prefers-reduced-motion: reduce) {
  .anniversary-mark > strong,
  .anniversary-mark b:first-child,
  .anniversary-logo {
    animation: none;
  }
}

.hero-copy .anniversary-title {
  display: grid;
  gap: 2px;
  margin: clamp(25px, 4vw, 40px) 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.anniversary-title span:last-child {
  color: #72e8ff;
}

.anniversary-thanks {
  margin: 0;
  color: #bdd5df;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
}

.anniversary-actions {
  margin-top: 26px;
}

.anniversary-metrics {
  margin-top: 20px;
}

.hero-sub {
  color: var(--text-medium);
  margin-bottom: 22px;
}

.hero-eyebrow {
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16rem;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 24px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 203, 219, 0.24);
  background: rgba(15, 23, 42, 0.44);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ffebee;
  color: var(--brand-red);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--brand-red);
}

.btn {
  border-radius: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand-red);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
  position: relative;
  overflow: hidden;
}

.btn.danger {
  background: #991b1b;
  color: #ffffff;
  border-color: rgba(248, 113, 113, 0.55);
}

.btn.ghost {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: var(--card-bg);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn.primary:hover::after {
  transform: translateX(120%);
}

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

.hero-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-card {
  width: min(100%, 460px);
  background: var(--card-bg);
  border: 1px solid rgba(191, 203, 219, 0.28);
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.34);
  transform: rotate(-1deg);
  animation: float 6s ease-in-out infinite;
}

.glass-video {
  width: 100%;
  display: block;
  border-radius: 10px;
  background: #0b1220;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5252;
}

.dot.yellow {
  background: #ffca28;
}

.dot.green {
  background: #66bb6a;
}

.ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 2rem;
}

.ui-item {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  color: var(--text-medium);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #e3f2fd;
  display: grid;
  place-items: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
}

.ui-item.active {
  background: #e3f2fd;
  color: var(--text-dark);
  border: 1px solid var(--brand-blue);
}

.ui-graph {
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 10px;
}

.bar {
  width: 20px;
  background: var(--brand-blue);
  border-radius: 4px 4px 0 0;
}

.bar:nth-child(2) {
  background: var(--brand-red);
  opacity: 0.8;
}

.floating-badge {
  position: absolute;
  background: var(--card-bg);
  padding: 0.9rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid #eeeeee;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: drift 7s ease-in-out infinite;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.floating-badge.hero-badge {
  position: static;
  animation: none;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.dot-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: inline-block;
}

.badge-1 {
  top: 10%;
  right: -20px;
}

.badge-2 {
  bottom: 10%;
  left: -20px;
  animation-delay: 1.2s;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.status-pill {
  background: #e3f2fd;
  color: var(--text-dark);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-bg {
  position: absolute;
  inset: 10% -20% auto -20%;
  height: 420px;
  background: radial-gradient(circle at 30% 20%, rgba(0, 68, 204, 0.06), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(211, 47, 47, 0.08), transparent 55%);
  z-index: -1;
  opacity: 0.8;
  animation: glowShift 12s ease-in-out infinite;
}

.section {
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.section.alt {
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.72), rgba(22, 32, 50, 0.68));
}

.portal-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background: transparent;
}

.portal-hero .section-kicker {
  color: var(--portal-accent-strong);
}

.portal-hero h1 {
  color: var(--text-dark);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
}

.portal-hero p {
  color: var(--text-medium);
}

.portal-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portal-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(24, 182, 255, 0.45), rgba(24, 182, 255, 0));
  filter: blur(4px);
  opacity: 0.7;
  transform: translateY(var(--parallax-offset, 0));
  transition: transform 0.2s ease-out;
}

.portal-orb.orb-1 {
  top: 10%;
  left: 8%;
}

.portal-orb.orb-2 {
  top: 35%;
  right: 4%;
  width: 320px;
  height: 320px;
}

.portal-orb.orb-3 {
  bottom: 8%;
  left: 40%;
  width: 200px;
  height: 200px;
  opacity: 0.55;
}

.portal-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      120deg,
      rgba(11, 20, 38, 0.08),
      rgba(11, 20, 38, 0.08) 1px,
      transparent 1px,
      transparent 90px
    ),
    repeating-linear-gradient(
      20deg,
      rgba(24, 182, 255, 0.08),
      rgba(24, 182, 255, 0.08) 1px,
      transparent 1px,
      transparent 120px
    );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 40px;
}

.section-kicker {
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-medium);
}

.cards,
.reference-grid,
.portal-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.reference-card,
.portal-card,
.legal-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #eeeeee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.legal-facts-intro { margin: 0 0 14px; font-weight: 700; }
.legal-facts { display: grid; gap: 10px; margin: 0 0 14px; }
.legal-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.legal-facts dt { margin: 0; color: var(--text-medium); font-weight: 600; font-size: 0.85rem; }
.legal-facts dd { margin: 0; }
.legal-facts dd a { color: inherit; }
.flow-page .legal-facts dt { color: #8fb6c4; }
@media (max-width: 480px) {
  .legal-facts > div { grid-template-columns: 1fr; gap: 2px; }
}

.gallery-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #eeeeee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.reference-card:hover,
.portal-card:hover,
.legal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 68, 204, 0.35);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 68, 204, 0.35);
}

.gallery-thumb {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 68, 204, 0.12), rgba(211, 47, 47, 0.12));
  display: grid;
  place-items: center;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.gallery-thumb--photo {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #0b1220;
}

.gallery-thumb--top {
  object-position: top center;
}

.partner-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  display: grid;
  gap: 10px;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reference-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.reference-cta,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partner-logo {
  width: min(160px, 100%);
  height: 60px;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-size: 0.95rem;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 68, 204, 0.35);
}

.slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid #eeeeee;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.slider-track {
  display: grid;
}

.slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  inset: 0;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.slide img {
  width: 100%;
  height: clamp(340px, 52vw, 560px);
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg-soft);
  color: var(--text-dark);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-btn:hover {
  background: var(--card-bg);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.news-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

.news-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.news-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 30, 0.55);
}

.news-panel {
  position: relative;
  width: min(880px, 92vw);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  animation: popIn 0.4s ease;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.news-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
}

.news-close {
  border: none;
  background: #f0f2f6;
  color: var(--text-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.news-content {
  display: grid;
  gap: 16px;
}

.news-card {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 16px;
  background: var(--card-bg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 6px;
}

.news-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.news-card p {
  color: var(--text-medium);
}

.news-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-weight: 600;
}

.news-card--featured {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  border-color: rgba(218, 164, 42, 0.48);
  background: linear-gradient(135deg, rgba(255, 246, 213, 0.96), var(--card-bg) 62%);
  box-shadow: 0 14px 34px rgba(137, 90, 0, 0.15);
}

.news-image {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border-radius: 10px;
  background: #020202;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(222, 167, 44, 0.34);
}

.news-card__copy {
  min-width: 0;
}

.news-card--featured .news-date {
  color: #9a6505;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-card--featured h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

@media (max-width: 620px) {
  .news-panel {
    padding: 18px;
  }

  .news-card--featured {
    grid-template-columns: 1fr;
  }

  .news-image {
    width: min(100%, 260px);
    max-height: 430px;
    margin-inline: auto;
  }
}

.tse-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: var(--card-bg);
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  width: min(360px, 90vw);
}

.tse-widget summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  list-style: none;
}

.tse-widget summary::-webkit-details-marker {
  display: none;
}

.tse-widget details[open] summary {
  margin-bottom: 8px;
}

.tse-widget p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.tse-widget ul {
  list-style: none;
  margin: 8px 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-medium);
}

.tse-widget ul li::before {
  content: "-";
  color: var(--brand-red);
  margin-right: 6px;
}

@keyframes popIn {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.card ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.card ul li::before {
  content: "-";
  color: var(--brand-red);
  margin-right: 8px;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.portal-tag {
  background: #ffebee;
  color: var(--brand-red);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.portal-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 16px;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  box-shadow: 0 20px 50px rgba(12, 20, 38, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.portal-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%);
  animation: sweep 8s ease-in-out infinite;
  pointer-events: none;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-medium);
}

input,
textarea {
  color: var(--text-dark);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(11, 20, 38, 0.12);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--card-bg-soft);
}

.form-link {
  font-size: 0.85rem;
  color: var(--portal-accent-strong);
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portal-hero .btn.primary {
  background: linear-gradient(135deg, #1a6cff 0%, #18b6ff 100%);
  box-shadow: 0 12px 30px rgba(26, 108, 255, 0.25);
}

.portal-strip {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.portal-chip {
  background: var(--card-bg-soft);
  border: 1px solid rgba(11, 20, 38, 0.08);
  border-radius: 999px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(12, 20, 38, 0.08);
  backdrop-filter: blur(10px);
}

.portal-chip-label {
  font-size: 0.85rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}

.portal-chip-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}

.contact-details span {
  font-size: 0.85rem;
  color: var(--text-medium);
}

.hours {
  background: var(--card-bg-soft);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 12px;
  padding: 16px;
}

.hours h3 {
  margin: 0 0 6px;
  color: var(--text-dark);
}

.hours p {
  margin: 0;
  color: var(--text-medium);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox a {
  color: #51dcf7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox a:hover { color: #92efff; }

.legal-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.legal-terms-section {
  background: var(--section-alt);
}

.legal-translation-notice {
  display: none;
  padding: 18px 20px;
  border: 1px solid rgba(96, 213, 238, 0.3);
  border-radius: 12px;
  background: rgba(10, 50, 70, 0.34);
  color: #cbeaf1;
}

html:not([lang="de"]) .legal-translation-notice {
  display: block;
}

html:not([lang="de"]) .legal-terms-card {
  display: none;
}

.legal-terms {
  max-width: 980px;
  margin: 0 auto;
}

.legal-terms-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid #eeeeee;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.legal-terms-card h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.legal-terms-card h3:first-of-type {
  margin-top: 0;
}

.legal-terms-card p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-terms-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: #0d1b2a;
  color: var(--text-light);
  padding: 50px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.sticky-cta {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  background: var(--brand-red);
  color: var(--text-light);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(211, 47, 47, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(211, 47, 47, 0.28);
}

.before-after-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

body:has(.cookie-banner.is-visible) .sticky-cta {
  bottom: 104px;
}

body:has(.cookie-banner.is-visible) .tse-widget {
  bottom: 104px;
}

.video-card {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.35);
  max-width: 860px;
  margin: 0 auto;
}

.video-frame {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #0b1220;
}

.before-after-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid #eeeeee;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.before-after-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.before-after-images figure {
  display: grid;
  gap: 6px;
}

.before-after-images img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.before-after-images figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: var(--text-medium);
}









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

.faq-item {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--card-bg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-red);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 8px;
  color: var(--text-medium);
}

.guide-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.guide-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid #eeeeee;
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.guide-tag {
  font-size: 0.75rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
}

.guide-meta {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.location-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.location-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid #eeeeee;
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.map-embed,
.map-placeholder {
  width: 100%;
  min-height: 260px;
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.map-embed {
  border: 0;
}

.map-placeholder {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(191, 203, 219, 0.24);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(239, 68, 68, 0.12));
}

.promo-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 60;
}

.promo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 30, 0.55);
}

.promo-panel {
  position: relative;
  width: min(520px, 92vw);
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  animation: popIn 0.4s ease;
  display: grid;
  gap: 14px;
}

.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.promo-title {
  font-size: 1.6rem;
  color: var(--text-dark);
}

.promo-body {
  color: var(--text-medium);
}

.promo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-close {
  border: none;
  background: #f0f2f6;
  color: var(--text-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}


.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(920px, 94vw);
  background: var(--card-bg);
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner__content p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.cookie-banner__content a {
  color: var(--text-dark);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 880px) {
  .before-after-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    text-align: center;
  }

  body:has(.cookie-banner.is-visible) .sticky-cta,
  body:has(.cookie-banner.is-visible) .tse-widget {
    display: none;
  }

  .promo-actions {
    flex-direction: column;
  }
}

@media (max-width: 880px) {
  .header-inner {
    gap: 14px;
    padding: 12px 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .quick-contact {
    order: 2;
  }

  .socials {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .brand-logo {
    height: 76px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .brand-logo {
    height: 70px;
  }

  .quick-contact {
    width: 100%;
    order: 3;
  }

  .quick-contact__link,
  .quick-contact__wa {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tse-widget {
    right: 12px;
    left: 12px;
    bottom: 74px;
    width: auto;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glowShift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -250;
  }
}

@keyframes flowPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes kioskSceneFloat {
  0%,
  100% {
    transform: scale(1.02) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-9px);
  }
}

@keyframes kioskTerminalGlow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes kioskScreenIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes kioskCheckPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes kioskProcessing {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(83, 232, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 42px rgba(83, 232, 255, 0.24);
  }
}

@media (max-width: 900px) {
  .reference-flow {
    display: none;
  }

  .kiosk-flow__grid {
    grid-template-columns: 1fr;
  }

  .setup-finder__panel {
    grid-template-columns: 1fr;
  }

  .setup-result {
    grid-column: auto;
  }

  .kiosk-demo__layout {
    display: block;
  }

  .kiosk-demo__scene {
    width: min(100%, 640px);
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .kiosk-demo__scene img {
    position: relative;
    inset: auto;
    height: 340px;
    border: 1px solid rgba(102, 230, 255, 0.22);
    border-radius: 22px;
  }

  .kiosk-demo__scene::before,
  .kiosk-demo__scene::after {
    border-radius: 22px;
  }

  .kiosk-demo__terminal {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 560px);
    margin: 22px auto 0;
    padding: 12px;
    border: 1px solid rgba(118, 235, 255, 0.5);
    border-radius: 18px;
    background: linear-gradient(145deg, #183550, #071522 58%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4), 0 0 32px rgba(25, 200, 239, 0.14);
    transform: none;
  }

  .kiosk-demo__screen {
    padding: 18px;
    border-radius: 12px;
  }

  .kiosk-demo__bar {
    padding-bottom: 12px;
    font-size: 0.7rem;
  }

  .kiosk-demo__group {
    margin-top: 18px;
  }

  .kiosk-demo__group h3 {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  .kiosk-demo__options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .kiosk-demo__option {
    padding: 10px;
    font-size: 0.78rem;
  }

  .kiosk-demo__order {
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
  }

  .kiosk-demo__order > p:first-child,
  .kiosk-demo__order .btn {
    font-size: 0.82rem;
  }

  .flow-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .flow-terminal {
    max-width: 520px;
    margin: 12px auto 0;
  }

  .flow-hero__line {
    display: none;
  }


  .flow-hero__destination {
    bottom: 18px;
  }

  .flow-solutions::before {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .contact-info h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.08;
  }

  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14rem;
  }

  .cards,
  .reference-grid,
  .gallery-grid,
  .portal-grid,
  .partner-grid,
  .contact-grid,
  .location-grid,
  .sectors-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card,
  .reference-card,
  .gallery-card,
  .portal-card,
  .legal-card,
  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .btn {
    min-height: 46px;
    justify-content: center;
  }

  .site-header {
    position: sticky;
  }

  .brand-logo {
    height: 58px;
  }

  .nav {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .quick-contact__link,
  .quick-contact__wa {
    min-height: 42px;
  }

  .hero.portal-hero {
    padding: 42px 0 68px;
  }

  .hero-copy {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .anniversary-lockup {
    gap: 10px;
  }

  .anniversary-mark {
    gap: 8px;
  }

  .anniversary-mark > strong {
    font-size: clamp(3.6rem, 18vw, 4.6rem);
  }

  .anniversary-mark > span {
    padding-left: 8px;
  }

  .anniversary-mark b {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .anniversary-logo {
    flex-basis: 100px;
    width: 100px;
    max-width: 31%;
  }

  .hero-copy .anniversary-title {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-strip span {
    width: 100%;
    justify-content: center;
  }

  .kiosk-device {
    width: 100%;
    border-radius: 14px;
  }

  .kiosk-device figcaption {
    position: static;
    max-width: none;
    margin: 10px;
    text-align: center;
    font-size: 0.76rem;
  }

  .kiosk-device__hotspot--product-1,
  .kiosk-device__hotspot--product-2,
  .kiosk-device__hotspot--product-3 {
    min-height: 44px;
  }

  .news-panel,
  .promo-panel,
  .sector-panel {
    width: min(100% - 24px, 560px);
    max-height: min(82vh, 760px);
    overflow-y: auto;
  }

  .kiosk-demo__options {
    grid-template-columns: 1fr;
  }

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

  .kiosk-flow__steps {
    grid-template-columns: 1fr;
  }

  .kiosk-flow__steps::before {
    top: 38px;
    bottom: 38px;
    left: 26px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(#2bc8ee, #92efff 48%, #2bc8ee);
  }

  .kiosk-step {
    min-height: auto;
  }

  .flow-hero .hero-visual {
    display: none;
  }

  .flow-hero__line {
    display: none;
  }

  .flow-hero__destination {
    position: relative;
    bottom: auto;
    left: auto;
    width: fit-content;
    margin: -44px auto 22px;
    transform: none;
  }

  .flow-hero__destination:hover {
    transform: translateY(-3px);
  }

  .flow-card__top {
    margin-bottom: 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .reference-card:hover,
  .gallery-card:hover,
  .portal-card:hover,
  .sector-card:hover {
    transform: none;
  }
}

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

input::placeholder,
textarea::placeholder {
  color: var(--text-medium);
}

.sectors-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sector-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background-image: var(--bg, linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(239, 68, 68, 0.22)));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
  display: flex;
  align-items: flex-end;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.02) 0%, rgba(7, 11, 18, 0.38) 70%, rgba(7, 11, 18, 0.58) 100%);
}

.sector-card__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.sector-card .card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 18px;
  margin: 14px;
  border-radius: 14px;
  background: rgba(7, 11, 18, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
}

.sector-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.sector-card .card-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .sector-card {
    min-height: 220px;
  }
  .sector-card .card-content {
    margin: 12px;
    padding: 16px;
  }
}

.sector-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.6);
}

.sector-card:hover .card-content {
  background: rgba(7, 11, 18, 0.72);
}

.sector-card.is-bg-deferred::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
  background-size: 28px 28px;
  opacity: 0.5;
}

.sw-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(900px 420px at 15% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(760px 360px at 88% -18%, rgba(37, 99, 235, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.35) 0%, rgba(7, 11, 18, 0.72) 100%);
  backdrop-filter: blur(6px);
}

.sector-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 70;
}

.sector-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sector-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
}

.sector-panel {
  position: relative;
  width: min(980px, 92vw);
  background: var(--card-bg);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.6);
  animation: popIn 0.35s ease;
  display: grid;
  gap: 18px;
}

.sector-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.sector-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
}

.sector-sub {
  color: var(--text-medium);
  margin-top: 8px;
}

.sector-close {
  border: none;
  background: var(--card-bg-soft);
  color: var(--text-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.sector-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sector-shot {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(7, 11, 18, 0.6);
}

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

@media (max-width: 640px) {
  .sector-panel {
    padding: 18px;
  }
  .sector-close {
    width: 30px;
    height: 30px;
  }
}

.portal-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--text-medium);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.portal-actions .btn {
  padding: 10px 18px;
}

.portal-actions .btn.ghost {
  border-color: rgba(148, 163, 184, 0.4);
}

.portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.portal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--text-dark);
}

.portal-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-dark);
  background: rgba(148, 163, 184, 0.12);
}

.status-pill.status-ok {
  background: rgba(34, 197, 94, 0.28);
  border-color: rgba(34, 197, 94, 0.45);
  color: var(--text-light);
}

.status-pill.status-warn {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
  color: var(--text-light);
}

.status-pill.status-info {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.55);
  color: var(--text-light);
}
.status-pill.status-error {
  background: rgba(148, 163, 184, 0.35);
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text-light);
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.88rem;
}

.portal-table th,
.portal-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-medium);
}

.portal-table th {
  font-weight: 600;
  color: var(--text-dark);
}

.portal-table td .status-pill {
  font-size: 0.7rem;
}

.portal-form-block {
  margin-top: 24px;
  padding: 22px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.danger-zone {
  display: grid;
  gap: 12px;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(69, 10, 10, 0.38);
}

.danger-zone h3 {
  margin-bottom: 6px;
}

.danger-zone p {
  color: var(--text-medium);
  max-width: 760px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 82px;
  z-index: 5;
  margin-top: 8px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(14px);
}

.admin-nav-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(22, 32, 50, 0.86);
  color: var(--text-medium);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-nav-btn.is-active {
  border-color: rgba(37, 99, 235, 0.65);
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.admin-nav-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.65);
  color: #ffffff;
}

.admin-section {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 0;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.admin-section-head h2 {
  margin: 0 0 6px;
}

.admin-section select {
  margin-right: 8px;
  margin-top: 6px;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px);
  gap: 14px;
  align-items: end;
}

.admin-filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: var(--card-bg-soft);
  color: var(--text-dark);
}

.table-meta {
  margin: 12px 0 0;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.admin-action-btn {
  border-color: rgba(253, 186, 116, 0.8);
}

.upload-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-medium);
}

.upload-box input[type="file"] {
  color: var(--text-medium);
}

.portal-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.portal-form-grid input,
.portal-form-grid select,
.portal-form-grid textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: var(--card-bg-soft);
  color: var(--text-dark);
  font-family: inherit;
}

.portal-form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.import-status {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(102, 112, 133, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.import-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.import-status__head span {
  color: var(--text-medium);
  font-size: 0.92rem;
  text-align: right;
}

.import-status__bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.import-status__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
  transition: width 0.25s ease, background 0.25s ease;
}

.import-status.is-loading .import-status__bar span {
  width: 65%;
  animation: import-progress 1.2s ease-in-out infinite;
}

.import-status.is-success .import-status__bar span {
  width: 100%;
  background: #16a34a;
}

.import-status.is-error .import-status__bar span {
  width: 100%;
  background: #dc2626;
}

.import-status__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.import-status__grid span {
  padding: 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-medium);
  font-size: 0.92rem;
}

.import-status__grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text-dark);
  font-size: 1.25rem;
}

#adminImportCredentials {
  width: 100%;
  margin-top: 12px;
}

@keyframes import-progress {
  0% {
    transform: translateX(-70%);
  }
  50% {
    transform: translateX(35%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 720px) {
  .admin-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav-btn {
    width: 100%;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    display: grid;
  }
}
