/* assets/styles.css */

/*
 * ========================================
 * ROOT & BASE SETUP
 * ========================================
 */

:root {
  /* Colors - Dark Theme */
  --color-background: #0B0F14;
  --color-text: #E6EDF5;
  --color-primary: #35FF8D; /* Neon Green */
  --color-accent: #F7931A; /* Bitcoin Orange */
  --color-surface-glass: rgba(16, 20, 26, 0.6);
  --color-border: rgba(56, 68, 80, 0.7);

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  
  /* Spacing & Sizing */
  --container-width: 1280px;
  --spacing-unit: 8px;
  --header-height: 72px;

  /* Animation */
  --transition-fast: 250ms cubic-bezier(0.215, 0.610, 0.355, 1);
  --transition-slow: 400ms cubic-bezier(0.215, 0.610, 0.355, 1);

  /* Safe Area Insets for Mobile */
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/*
 * ========================================
 * NO-OVERFLOW & GLOBAL RESETS
 * ========================================
 */

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

/* CRITICAL: Prevents horizontal scroll */
html,
body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

p, .copy {
  overflow-wrap: break-word; /* Langwörter/URLs umbrechen */
  word-break: normal;
  hyphens: auto;
}

/*
 * ========================================
 * LAYOUT & CONTAINER
 * ========================================
 */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  /* Responsive padding using clamp() */
  padding-inline: clamp(1rem, 4vw, 3rem); /* 16px, 4vw, 48px */
}

/*
 * ========================================
 * ACCESSIBILITY (A11y) & UX
 * ========================================
 */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-background);
  padding: 8px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Remove default outline and use a better focus indicator */
*:focus {
  outline: none;
}

/* Show focus ring only for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/*
 * ========================================
 * ANIMATIONS & MOTION
 * ========================================
 */
 
/* Wrapper for safe slide-in animations */
.reveal-wrap {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Layer performance optimization */
.gpu-layer {
  contain: paint;
  will-change: transform, opacity;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/*
 * ========================================
 * UTILITIES
 * ========================================
 */

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * BUTTONS
 * ========================================
 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  border: 2px solid transparent;
}

.btn--large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-background);
  box-shadow: 0 0 15px -5px var(--color-primary);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-color: #4aff9d;
  box-shadow: 0 0 25px -5px var(--color-primary);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover {
  background-color: var(--color-surface-glass);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/*
 * ========================================
 * HEADER
 * ========================================
 */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition-fast), border-bottom-color var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background-color: var(--color-surface-glass);
  border-bottom-color: var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--color-text);
}

.desktop-nav { display: none; } /* Hidden on mobile */
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
.desktop-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}
.desktop-nav a:hover::after,
.desktop-nav a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}
.nav-toggle__line {
  width: 30px;
  height: 3px;
  background: var(--color-text);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}
[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: rotate(45deg);
}
[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}
[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: rotate(-45deg);
}


/* Off-Canvas Container */
.mobile-nav-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav-container.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(80vw, 300px);
  height: 100%;
  background-color: var(--color-background);
  padding: 100px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.mobile-nav-container.is-open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
}


/*
 * ========================================
 * HERO SECTION
 * ========================================
 */
.hero {
  padding-block: clamp(4rem, 10vh, 8rem);
  text-align: center;
  position: relative;
  overflow: hidden; /* For gradient */
}

.hero__gradient {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  max-width: 1200px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.15) 0%, rgba(53, 255, 141, 0.05) 40%, transparent 70%);
  z-index: -1;
  animation: hero-gradient-breathe 10s ease-in-out infinite;
}

@keyframes hero-gradient-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.reduced-motion .hero__gradient {
  animation: none;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  max-width: 20ch;
  margin-inline: auto;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 65ch;
  margin-inline: auto;
  margin-top: 1rem;
  color: #b0c4de; /* Softer text color */
}

.hero__cta-group {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__hash-bar {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}
.hash-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.led-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: led-pulse 2s infinite;
}
@keyframes led-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.hero__usp-badges {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.usp-badge {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/*
 * ========================================
 * BREAKPOINTS
 * ========================================
 */

/* Medium screens (tablets) */
@media (min-width: 768px) {
  .nav-toggle, .mobile-nav-container {
    display: none;
  }
  .desktop-nav {
    display: block;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
  .hero {
    padding-block: 8rem;
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * GENERIC SECTION STYLES
 * ========================================
 */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #b0c4de;
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}


/* PASTE THIS INTO YOUR styles.css FILE */

/*
 * ========================================
 * HOW-IT-WORKS SECTION (FINALE VERSION)
 * ========================================
 */
.how-it-works {
  padding-block: clamp(4rem, 10vh, 6rem);
  background-color: #0F131A;
}

/* GEÄNDERT: Klasse umbenannt zu flow-visual-wrapper. Gilt NUR für die Grafik. */
.flow-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.flow-svg {
  width: 100%;
  height: auto;
  display: block;
}

#flow-path-animated {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 3s ease-in-out;
}
/* GEÄNDERT: Selektor angepasst */
.flow-visual-wrapper.visible #flow-path-animated {
  stroke-dashoffset: 0;
}

.btc-icon {
  opacity: 0;
  transition: opacity 0.5s 2.5s;
  offset-path: path('M50 100 C 200 100, 200 50, 350 50 S 500 100, 650 100 S 800 150, 950 150 S 1100 100, 1150 100');
  offset-distance: 0%;
}
/* GEÄNDERT: Selektor angepasst */
.flow-visual-wrapper.visible .btc-icon {
  opacity: 1;
  animation: move-on-path 3s ease-in-out 3s 1 forwards;
}

@keyframes move-on-path {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.flow-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.flow-node {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
}
.flow-node:nth-child(1) { top: calc(50% - 20px); }
.flow-node:nth-child(2) { top: calc(25% - 20px); }
.flow-node:nth-child(3) { top: calc(50% - 20px); }
.flow-node:nth-child(4) { top: calc(75% - 20px); }
.flow-node:nth-child(5) { top: calc(50% - 20px); }

.flow-node__button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
}
.flow-node__button:hover,
.flow-node__button.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-background);
  transform: scale(1.1);
}

.flow-node__label {
  font-weight: bold;
}

/* GEÄNDERT: Das Textfeld ist jetzt eine unabhängige Klasse. */
.flow-details {
  margin-top: 2rem; /* Dieser Abstand beeinflusst die Buttons nicht mehr. */
  padding: 1.5rem;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  min-height: 80px;
  text-align: center;
  transition: opacity var(--transition-fast);
  max-width: 1200px;
  margin-inline: auto; /* Zentriert das Feld */
}

/* Reduced Motion specific styles */
.reduced-motion .flow-visual-wrapper.visible #flow-path-animated,
.reduced-motion .btc-icon {
  animation: none;
  transition: none;
}
.reduced-motion .btc-icon {
  opacity: 0;
}
.reduced-motion #flow-path-animated {
  stroke-dashoffset: 0;
}

/* Mobil-Anpassungen, die weiterhin sinnvoll sind */
@media (max-width: 767px) {
  .flow-visual-wrapper {
    min-height: 280px; /* Gibt den Buttons auf Mobilgeräten genug Raum */
  }
  .flow-node__button {
      width: 40px;
      height: 40px;
      font-size: 1rem;
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/* ERSETZE DEINEN ALTEN SERVICES-CSS-BLOCK HIERMIT */

/* ========================================
   SERVICES ENTERPRISE – Styles
   ======================================== */
.service-kpis{
  display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:1.25rem 0 2rem 0;
  padding:0; list-style:none;
}
.kpi-chip{
  display:inline-flex; align-items:center; gap:.5rem;
  background: var(--color-surface-glass);
  border:1px solid var(--color-border);
  padding:.5rem .75rem; border-radius: 999px;
  font-size:.9rem; color:#c7d3e0;
}
.kpi-dot{ width:.5rem; height:.5rem; border-radius:50%; background: var(--color-primary); box-shadow:0 0 10px rgba(53,255,141,.35); }
.kpi-dot--ok{ background: var(--color-accent-green); }

.services-grid{
  display:grid; gap:1.25rem; grid-template-columns:1fr;
}
@media (min-width:640px){ .services-grid{ grid-template-columns:repeat(2,1fr);} }
@media (min-width:960px){ .services-grid{ grid-template-columns:repeat(3,1fr);} }

.service-card{
  background: var(--color-surface-glass);
  border:1px solid var(--color-border);
  border-radius:14px; padding:1.25rem;
  display:flex; flex-direction:column; gap:.9rem;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}
@media (hover:hover){
  .service-card:hover{ transform: translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,.28); }
}

.service-card__head{ display:grid; grid-template-columns:auto 1fr; gap:.75rem 1rem; align-items:center; }
.service-card__icon{ width:42px; height:42px; display:grid; place-items:center; color: var(--color-primary); }
.icon-line{ width:28px; height:28px; }

.service-card__title{ font-size:1.15rem; font-weight:700; line-height:1.25; }
.service-card__badges{ grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.25rem; }
.badge{
  font-size:.75rem; padding:.25rem .5rem; border-radius:999px;
  border:1px solid var(--color-border); color:#b9c6d8; background: rgba(255,255,255,.04);
}

.service-card__text{ color:#b0c4de; }
.service-card__outcome{
  border-top:1px solid var(--color-border); padding-top:.75rem; color: var(--color-primary); font-weight:600;
}

.service-details{ border:1px dashed rgba(255,255,255,.08); border-radius:12px; background: rgba(255,255,255,.03); }
.service-summary{
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem; cursor:pointer; padding:.9rem 1rem;
  font-weight:600;
}
.service-summary:focus-visible{ outline:3px solid var(--color-accent-green); outline-offset:4px; border-radius:10px; }
.summary-caret{ transition: transform 200ms ease; }
.service-details[open] .summary-caret{ transform: rotate(180deg); }

.service-details__content{ padding: .5rem 1rem 1rem 1rem; }
.detail-columns{ display:grid; gap:1rem; grid-template-columns:1fr; }
@media (min-width:720px){ .detail-columns{ grid-template-columns:repeat(3,1fr);} }

.detail-list{ margin:.4rem 0 0 0; padding-left:1.2rem; }
.detail-list li{ margin:.25rem 0; }

.service-proof{ display:flex; gap:1rem; margin-top:.75rem; }
.link-ghost{ color:#b9c6d8; text-decoration:none; border-bottom:1px dashed rgba(255,255,255,.25); }
.link-ghost:hover{ color:#fff; }

.service-card__cta{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.5rem; }
.service-card .btn{ min-height:42px; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce){
  .service-card, .summary-caret{ transition:none !important; }
}
/* Sanfter Übergang am Abschnittsbeginn */
#services {
  position: relative;
  isolation: isolate;           /* sichert den Z-Context */
  background: var(--color-surface-glass);
}

/* Gradient-Fade von vorheriger Sektion in #services */
#services::before {
  content: "";
  position: absolute;
  inset: -60px 0 auto 0;        /* ragt 60px nach oben in die vorige Section */
  height: 60px;
  z-index: -1;
  /* passt Farben an deine Palette an: oben = vorherige Section, unten = diese Section */
  background: linear-gradient(
    to bottom,
    var(--color-background) 0%,
    rgba(11, 15, 20, 0.6) 35%,
    var(--color-surface-glass) 100%
  );
  pointer-events: none;
}

/* Falls die vorherige Section dunkler ist: */
.section + #services::before {
  background: linear-gradient(
    to bottom,
    var(--color-background) 0%,
    rgba(11, 15, 20, 0.35) 40%,
    var(--color-surface-glass) 100%
  );
}

/* Sicherheitsnetz gegen horizontales Scrollen */
html, body { overflow-x: hidden; }


/*
 * ========================================
 * SECURITY SECTION
 * ========================================
 */
.security {
  padding-block: clamp(4rem, 10vh, 6rem);
  position: relative;
  overflow: hidden; /* For pseudo-element */
}

.security-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image:
    linear-gradient(var(--color-primary) 1px, transparent 1px),
    linear-gradient(to right, var(--color-primary) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 70%);
}

.security-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

.security-content ul {
  list-style: none;
  padding-left: 0;
  margin-block: 1.5rem;
}

.security-content li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

.security-content li::before {
  content: '✓';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.security-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.security-icon-container {
  position: relative;
  width: 150px;
  height: 150px;
  color: var(--color-primary);
}

.security-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.security-icon.active-icon {
  opacity: 1;
  transform: scale(1);
}

/*
 * ========================================
 * BREAKPOINTS (Ergänzungen)
 * ========================================
 */

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .security-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * HARDWARE SECTION
 * ========================================
 */
.hardware {
  padding-block: clamp(4rem, 10vh, 6rem);
  background-color: #0F131A;
}

.hardware-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

/* Interaktive Miner-Karte */
.hardware-card-wrapper {
  perspective: 1000px; /* For 3D hover effect */
}

.hardware-card {
  position: relative;
  background: linear-gradient(145deg, #1a1f26, #12161b);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 280px;
}

@media (hover: hover) {
    .hardware-card:hover {
        transform: rotateY(5deg) rotateX(2deg) scale(1.02);
    }
}

.hardware-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8899a6;
  font-weight: bold;
  margin-bottom: 2rem;
}

.miner-led {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: led-blink 3s infinite steps(1, end);
}
@keyframes led-blink {
  0%, 100% { background-color: #1a4d30; box-shadow: none; }
  50% { background-color: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
  51% { background-color: #1a4d30; box-shadow: none; }
  53% { background-color: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
  54% { background-color: #1a4d30; box-shadow: none; }
  56% { background-color: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
}
.reduced-motion .miner-led { animation: none; }

.hardware-card__body {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
}

.miner-fan {
  width: 90px;
  height: 90px;
  background-color: #080a0d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.miner-fan__blade {
  position: absolute;
  width: 15%;
  height: 80%;
  background-color: #2c333a;
  border-radius: 40%;
}
.miner-fan__blade:nth-child(2) { transform: rotate(120deg); }
.miner-fan__blade:nth-child(3) { transform: rotate(240deg); }

.hardware-card.spin-fans .miner-fan,
.hardware-card:hover .miner-fan {
  animation: fan-spin 0.5s ease-out 1;
}
@keyframes fan-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.reduced-motion .miner-fan { animation: none !important; }

/* Deko-Element */
.hardware-card__grill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 30px;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100% 10px;
}

/* Rechte Spalte */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 2rem;
}
.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table td:last-child {
  text-align: right;
  color: var(--color-primary);
}

.price-box {
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-block: 2rem;
}
.price-box__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-box__item:not(:last-child) {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--color-border);
}
.price-box__item--highlight {
  font-weight: bold;
}
.price-box__item .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-accent);
}
.price-box__item--highlight .price {
  color: var(--color-primary);
}

.disclaimer {
  font-size: 0.9rem;
  color: #8899a6;
}

/* Breakpoint Anpassung */
@media (min-width: 960px) {
  .hardware-container {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * PREISE SECTION
 * ========================================
 */
.preise {
  padding-block: clamp(4rem, 10vh, 6rem);
}

/* "Hilf mir wählen"-Assistent */
.pricing-wizard {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.pricing-wizard__title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.pricing-wizard__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.wizard-question {
  display: flex;
  flex-direction: column;
}
.wizard-question label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.wizard-question select {
  padding: 12px;
  background-color: #1a1f26;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
}

/* Preis-Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.pricing-tier {
  position: relative;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.7; /* Default dimmed state */
}

.pricing-tier.highlighted {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 30px -8px var(--color-primary);
}

.pricing-tier__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
}
.pricing-tier__name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-tier__price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.pricing-tier__price .per-kwh {
  font-size: 1rem;
  font-weight: 400;
  color: #b0c4de;
}
.pricing-tier__desc {
  color: #b0c4de;
  margin-bottom: 2rem;
  min-height: 4.5em; /* Ensure same height */
}
.pricing-tier__features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  text-align: left;
}
.pricing-tier__features li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}
.pricing-tier__features li::before {
  content: '✓';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.pricing-tier .btn {
  width: 100%;
}

.addons {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: var(--color-surface-glass);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  color: #b0c4de;
}
.addons h4 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}


/* Breakpoints */
@media (min-width: 500px) {
  .pricing-wizard__form {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-tier--recommended {
    transform: scale(1.05); /* Make recommended slightly bigger by default on desktop */
  }
  .pricing-tier {
    opacity: 1; /* No dimming by default on desktop */
    transform: scale(1);
  }
  .pricing-tier.dimmed {
    opacity: 0.6;
    transform: scale(0.95);
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * KALKULATOR SECTION
 * ========================================
 */
.kalkulator {
  padding-block: clamp(4rem, 10vh, 6rem);
}

.kalkulator-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* Linke Spalte: Eingaben */
.calc-form {
  margin-block: 2rem;
}
.form-group {
  margin-bottom: 2rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 1rem;
}
.range-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.range-group output {
  background: var(--color-background);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-weight: bold;
  color: var(--color-primary);
  min-width: 100px;
  text-align: center;
}

/* Custom Range Slider Styles */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #1a1f26;
  border-radius: 5px;
  outline: none;
  border: 1px solid var(--color-border);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  border: 3px solid var(--color-background);
  box-shadow: 0 0 10px var(--color-primary);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  border: 3px solid var(--color-background);
}

.assumptions {
  font-size: 0.9rem;
  color: #8899a6;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
  margin-top: 2rem;
}
.assumptions a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Rechte Spalte: Ergebnisse */
.kalkulator-outputs {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background-color: var(--color-accent);
  color: white;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  transform: rotate(5deg);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.discount-badge.visible {
  opacity: 1;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.result-item {
  background: var(--color-background);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.result-item .label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #b0c4de;
}
.result-item .value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--color-text);
}
.result-item--highlight {
  background: #1c3d2c; /* Neon green background */
  border-color: var(--color-primary);
}
.result-item--highlight .value {
  color: var(--color-primary);
}

.bar-chart-container {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
}
.bar-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bar-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.bar {
  height: 24px;
  width: 100%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ertrag-bar { background-color: var(--color-primary); }
.strom-bar { background-color: var(--color-accent); }

.tco-metrics {
  margin-top: 2rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 2rem;
}
.tco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tco-item { /* Re-use result-item styling */
  background: #1a1f26;
  padding: 1rem;
  border-radius: 8px;
}
.tco-item .label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #b0c4de;
}
.tco-item .value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}


/* Breakpoints */
@media (min-width: 960px) {
  .kalkulator-container {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 500px) {
    .results-grid, .tco-grid {
        grid-template-columns: 1fr;
    }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * STANDORTE SECTION
 * ========================================
 */
.standorte {
  padding-block: clamp(4rem, 10vh, 6rem);
  background-color: #0F131A;
}

.locations-container {
  --turkey-color: rgba(247, 147, 26, 0.4); /* Bitcoin Orange, warm */
  --scandinavia-color: rgba(53, 255, 141, 0.4); /* Neon Green, cool */
  --bg-gradient-start: var(--turkey-color);
  --bg-gradient-end: var(--scandinavia-color);
  
  display: grid;
  grid-template-columns: 1fr;
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-image: radial-gradient(circle at 0% 50%, var(--bg-gradient-start), transparent 50%),
                    radial-gradient(circle at 100% 50%, var(--bg-gradient-end), transparent 50%);
  transition: --bg-gradient-start 0.6s, --bg-gradient-end 0.6s;
}

/* Hover/Active states for gradient switch */
.locations-container.turkey-active {
  --bg-gradient-start: var(--turkey-color);
  --bg-gradient-end: transparent;
}
.locations-container.scandinavia-active {
  --bg-gradient-start: transparent;
  --bg-gradient-end: var(--scandinavia-color);
}


.location-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-slow);
}
.location-panel:focus {
    outline: none; /* Handled by container focus */
}

.location-panel:first-child {
  border-bottom: 1px solid var(--color-border);
}

.location-panel__content {
  position: relative;
  z-index: 2;
}

.location-panel__title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.location-panel[data-location="turkey"] .location-panel__title { color: var(--color-accent); }
.location-panel[data-location="scandinavia"] .location-panel__title { color: var(--color-primary); }

.location-panel__desc {
  color: #b0c4de;
  margin-bottom: 2rem;
  max-width: 45ch;
}
.location-panel__badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.badge {
  display: inline-block;
  padding: 8px 12px;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: fit-content;
}
.location-panel h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* Interactivity Enhancements */
@media (hover: hover) {
  .location-panel:hover {
    background-color: rgba(255, 255, 255, 0.03);
  }
}

.location-panel.active {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Breakpoints */
@media (min-width: 960px) {
  .locations-container {
    grid-template-columns: 1fr 1fr;
  }
  .location-panel:first-child {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * OPERATIONS COCKPIT SECTION
 * ========================================
 */
.cockpit {
  padding-block: clamp(4rem, 10vh, 6rem);
}

.cockpit-demo {
  background: radial-gradient(ellipse at top left, rgba(53, 255, 141, 0.1), transparent 50%), 
              var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cockpit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cockpit-item {
  background: var(--color-background);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}
.cockpit-item label {
  display: block;
  font-size: 0.9rem;
  color: #b0c4de;
  margin-bottom: 0.5rem;
}
.cockpit-item .value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Hashrate Sparkline */
.hashrate-chart .value { color: var(--color-primary); }
.sparkline {
  width: 100%;
  height: 60px;
}
#sparkline-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}
.cockpit-demo.visible #sparkline-path {
  animation: draw-sparkline 2s ease-out forwards;
}
@keyframes draw-sparkline {
  to { stroke-dashoffset: 0; }
}

/* Temperatur Band */
.temp-band .band-container {
  position: relative;
  padding-right: 110px; /* Space for the tooltip */
}
.temp-band .band {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #35a2ff, #35ff8d 60%, #f7931a 80%, #ff3535 95%);
}
.temp-marker {
  position: absolute;
  top: -4px;
  width: 20px;
  height: 20px;
  background-color: var(--color-text);
  border: 3px solid var(--color-background);
  border-radius: 50%;
  transform: translateX(-50%);
}
.automation-tooltip {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  background: #1a1f26;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.6;
}
.band-container:hover .automation-tooltip {
  opacity: 1;
}

/* Uptime Ticker */
.uptime-ticker .value {
  color: var(--color-primary);
  text-shadow: 0 0 10px var(--color-primary);
  animation: pulse-glow 3s infinite ease-in-out;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ===========================
   TRUST CENTER – Layout/Look
   =========================== */
.trust-center {
  padding-block: clamp(4rem, 10vh, 6rem);
  background-color: #0F131A;
  position: relative;
  isolation: isolate;
}
.trust-center .section-title { text-align: center; }
.trust-center .section-subtitle { text-align: center; color: #b0c4de; }

/* Badges row */
.trust-badges {
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  justify-content: center;
}
.badge-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.04);
  color: var(--color-text);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.badge-chip em { font-style: normal; opacity: .7; }
.badge-chip .chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(53,255,141,.45);
}
@media (hover:hover){
  .badge-chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); }
}

/* KPI grid */
.trust-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
}
.kpi-head { display:flex; justify-content:space-between; align-items:center; gap: .75rem; margin-bottom: .75rem;}
.kpi-head h3 { font-size: 1.05rem; font-weight: 700; }
.kpi-meta { font-size: .85rem; color: #9ab0c9; }
.kpi-text { color: #b0c4de; }
.kpi-note { margin-top: .6rem; font-size: .85rem; color: #9ab0c9; }

/* Gauge (pure CSS) */
.kpi-card--gauge { position: relative; }
.gauge {
  --size: 160px;
  width: var(--size); height: var(--size);
  margin-inline: auto; position: relative;
}
/* GAUGE (PURE CSS) - KORRIGIERT */
.gauge-arc {
  --val: 99.97; /* default */
  --deg: calc((var(--val) / 100) * 358deg); /* GEÄNDERT: Fast voller Kreis */
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, /* Startet oben in der Mitte */
      var(--color-primary) 0 var(--deg),
      rgba(255,255,255,.08) var(--deg) 358deg); /* GEÄNDERT */
  mask:
    radial-gradient(circle 80px at 50% 50%, transparent 60%, black 60.1%);
  transition: background .6s ease;
  transform: rotate(0deg); /* Stellt sicher, dass es gerade ist */
}
.gauge-center {
  position: absolute; inset: 23%;
  display: grid; place-items: center;
  text-align: center;
}
.gauge-value { font-size: 1.35rem; }
.gauge-sub { font-size: .8rem; color: #9ab0c9; }

/* SLOs */
.slo-list { list-style:none; padding:0; margin:0; display:grid; gap:.5rem; }
.slo-label { color:#b0c4de; }
.slo-val { color: var(--color-primary); font-weight:700; float:right; }

/* Trust grid */
.trust-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.trust-item {
  position: relative; overflow: hidden;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px; padding: 1.25rem;
}
.trust-item::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, rgba(53,255,141,.25), rgba(53,255,141,0));
}
.trust-item__icon { font-size: 1.4rem; margin-bottom: .5rem; opacity: .9; }
.trust-item__title { font-size: 1.1rem; margin: 0 0 .5rem; font-weight: 700; }
.muted { color:#9ab0c9; }

/* Audit timeline */
.audit-timeline { list-style:none; padding:0; margin:0; display:grid; gap:.75rem; }
.audit-timeline li { display:grid; grid-template-columns:auto 1fr; gap:.6rem; align-items:start; }
.status {
  display:inline-flex; align-items:center; height: 24px; padding: 0 .6rem;
  border-radius: 999px; font-size: .8rem; font-weight:700;
  border:1px solid var(--color-border); background: rgba(255,255,255,.04);
}
.status--done { color:#7fe39e; }
.status--run  { color:#ffcc66; }
.status--plan { color:#8fb3ff; }

/* Process steps */
.process-steps { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; }
.process-steps li { padding: .35rem .6rem; border-radius:8px; border:1px dashed var(--color-border); }
.process-steps li:not(:last-child)::after {
  content:"→"; margin-left:.5rem; color: var(--color-primary);
}

/* Policy points */
.policy-points { list-style:none; padding:0; display:grid; gap:.4rem; }
.policy-points li::before {
  content:""; display:inline-block; width:8px; height:8px; border-radius:50%;
  background: var(--color-primary); margin-right:.5rem; box-shadow:0 0 6px rgba(53,255,141,.45);
}

/* Downloads */
.trust-downloads {
  margin-top: 2rem; text-align: center; padding: 1.5rem;
  border: 1px dashed var(--color-border); border-radius: 12px;
}
.trust-downloads .last-update { margin-top:.75rem; color:#9ab0c9; font-size:.85rem; }

/* Drawers / Modals */
.trust-drawer {
  position: fixed; inset: 0; display: grid; place-items: end center;
  background: transparent; z-index: 10000; pointer-events: none;
}
.trust-drawer[aria-hidden="false"] { pointer-events: auto; }
.trust-drawer__backdrop {
  position: absolute; inset:0; background: rgba(0,0,0,.35); opacity:0; transition: opacity .2s ease;
}
.trust-drawer[aria-hidden="false"] .trust-drawer__backdrop { opacity: 1; }

.trust-drawer__panel {
  width: min(92vw, 560px);
  background: var(--color-surface-glass);
  border:1px solid var(--color-border); border-radius: 16px 16px 0 0;
  transform: translateY(8%); opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding-bottom: .5rem;
}
.trust-drawer[aria-hidden="false"] .trust-drawer__panel {
  transform: translateY(0); opacity: 1;
}
.drawer-head {
  display:flex; justify-content:space-between; align-items:center; padding: 1rem 1.25rem;
  border-bottom:1px solid var(--color-border);
}
.drawer-close {
  appearance:none; border:1px solid var(--color-border); background: rgba(255,255,255,.05);
  color: var(--color-text); border-radius: 8px; padding: .35rem .5rem; cursor: pointer;
}
.drawer-form, .drawer-body { padding: 1rem 1.25rem; display:grid; gap:.9rem; }
.drawer-form label span { display:block; margin-bottom:.25rem; color:#b0c4de; }
.drawer-form input, .drawer-form select, .drawer-form textarea {
  width:100%; background: rgba(255,255,255,.04); border:1px solid var(--color-border); color:var(--color-text);
  padding:.6rem .7rem; border-radius:10px;
}
.drawer-actions { display:flex; gap:.6rem; margin-top:.3rem; }
.drawer-note { font-size:.85rem; color:#9ab0c9; }

/* Tiny links */
.tiny-links { display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.6rem; }
.link-ghost { color:#9ab0c9; text-decoration:none; border-bottom:1px dashed rgba(255,255,255,.25); }
.link-ghost:hover { color:#fff; border-bottom-color: rgba(255,255,255,.4); }

/* Responsive */
@media (min-width: 640px){
  .trust-kpi-grid { grid-template-columns: 1.2fr 1fr; }
  .kpi-card--gauge { grid-column: 1 / 2; }
}
@media (min-width: 960px){
  .trust-kpi-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce){
  .trust-drawer__panel { transition: none !important; }
  .trust-drawer__backdrop { transition: none !important; }
}


/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * TESTIMONIALS SECTION
 * ========================================
 */
.testimonials {
  padding-block: clamp(4rem, 10vh, 6rem);
  overflow: hidden;
}
.testimonial-marquee-wrapper {
  margin-top: 3rem;
  mask-image: linear-gradient(to right,
    transparent 0%, black 10%, black 90%, transparent 100%
  );
}
.testimonial-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.reduced-motion .testimonial-marquee {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

.testimonial-card {
  flex-shrink: 0;
  width: 400px; /* Breite der Karten */
  margin-right: 2rem;
  padding: 2rem;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-style: italic;
}
.testimonial-card cite {
  font-weight: bold;
  color: var(--color-primary);
}
/* Auf Mobilgeräten kein Marquee, sondern simple Liste */
@media (max-width: 767px) {
  .testimonial-marquee-wrapper { mask-image: none; }
  .testimonial-marquee { animation: none; flex-direction: column; width: 100%; }
  .testimonial-card { width: 100%; margin: 0 0 1.5rem 0; }
  .testimonial-card:nth-child(n+4) { display: none; } /* Verstecke Duplikate */
}

/*
 * ========================================
 * FAQ SECTION
 * ========================================
 */
.faq {
  padding-block: clamp(4rem, 10vh, 6rem);
  background-color: #0F131A;
}
.faq-container {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-answer {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr; /* Animierbarer Zustand */
  transition: grid-template-rows 0.3s ease-out;
}
.faq-answer[hidden] {
  display: none; /* JS fallback und initialer Zustand */
}
.faq-answer > p {
  padding-bottom: 1.5rem;
  color: #b0c4de;
}
.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* FAQ Icon Animation */
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: var(--color-primary);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease-out;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }


/*
 * ========================================
 * CTA BANNER SECTION
 * ========================================
 */
.cta-banner {
  background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
  padding-block: clamp(3rem, 8vh, 5rem);
  color: var(--color-background);
}
.cta-banner__container {
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
}
.cta-banner p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block: 1rem 2rem;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Spezifische Button-Styles für den Banner */
.cta-banner .btn--primary {
  background-color: var(--color-background);
  color: var(--color-primary);
}
.cta-banner .btn--secondary {
  border-color: var(--color-background);
  color: var(--color-background);
}
.cta-banner .btn--secondary:hover {
  background-color: rgba(11, 15, 20, 0.2);
}


/*
 * ========================================
 * FOOTER
 * ========================================
 */
.main-footer {
  background-color: #080a0d;
  padding-top: clamp(3rem, 8vh, 5rem);
  font-size: 0.9rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column li {
  margin-bottom: 0.5rem;
}
.footer-column a {
  color: #b0c4de;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-column a:hover {
  color: var(--color-primary);
}
.footer-about p {
  color: #b0c4de;
  margin-bottom: 1rem;
}
.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: #8899a6;
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * CONSENT BANNER
 * ========================================
 */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  z-index: 9999;
  border-top: 1px solid var(--color-border);
  padding-block: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.consent-banner:not([hidden]) {
  transform: translateY(0);
}

.consent-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.consent-text p {
  color: #b0c4de;
  margin: 0;
}
.consent-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* assets/styles.css - UPDATE FÜR AGB-SEITE */

.agb-content {
  max-width: 850px; /* Etwas breiter für besseren Lesefluss */
  margin-inline: auto;
  
  /* NEU: Das ist der "Fenster"-Stil */
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.agb-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}
/* Erster H2 hat keinen Abstand nach oben */
.agb-content h2:first-of-type {
    margin-top: 0;
}

.agb-content p {
  line-height: 1.7;
  color: #b0c4de;
}

/* assets/styles.css - KORREKTUR FÜR MOBILE AGB-SEITE */

/*
 * ========================================
 * MOBILE FIXES FÜR UNTERSEITEN
 * ========================================
 */

@media (max-width: 600px) {
  .page-header {
    /* Weniger Abstand auf kleinen Geräten */
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .downloads-section {
    padding: 1.5rem; /* Kompakteres Padding */
  }

  .downloads-buttons {
    flex-direction: column; /* Buttons untereinander stapeln */
    align-items: stretch;  /* Buttons auf volle Breite strecken */
  }

  .downloads-buttons .btn {
    width: 100%; /* Sicherstellen, dass die Buttons die volle Breite einnehmen */
  }
}

/* ================================================================== */
/* FINALE ENTERPRISE-OPTIMIERUNG FÜR "HOW-IT-WORKS" AUF MOBILGERÄTEN */
/* ================================================================== */

@media (max-width: 767px) {

  /* 1. Verstecke die Desktop-Elemente (die SVG-Linie und das animierte Icon) */
  .how-it-works .flow-svg,
  .how-it-works .btc-icon {
    display: none;
  }

  /* 2. Setze die Container auf ein normales, vertikales Layout zurück */
  .how-it-works .flow-visual-wrapper {
    position: static; /* Entfernt das absolute Positionierungs-Verhalten */
    min-height: 0;    /* min-height wird nicht mehr gebraucht */
    margin-top: 2rem;
  }

  .how-it-works .flow-nodes {
    position: static;      /* Entfernt das absolute Positionierungs-Verhalten */
    flex-direction: column; /* Ordnet die Schritte untereinander an */
    align-items: stretch;  /* Streckt die Elemente auf volle Breite */
    height: auto;
    gap: 1rem;             /* Abstand zwischen den Schritten */
  }

  /* 3. Style die einzelnen Schritte als saubere Listeneinträge */
  .how-it-works .flow-node {
    position: static;      /* Entfernt das absolute Positionierungs-Verhalten */
    transform: none;       /* Entfernt die x-Verschiebung */
    width: 100%;
    
    /* NEU: Jeder Schritt ist jetzt eine Flexbox-Zeile (Icon + Text) */
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: 8px;
  }

  /* 4. Passe den Button und das Label an das neue Layout an */
  .how-it-works .flow-node__button {
    margin: 0;          /* Entfernt den alten Abstand */
    flex-shrink: 0;     /* Verhindert, dass der Button schrumpft */
  }
  
  .how-it-works .flow-node__label {
    font-size: 1rem;
    font-weight: 500;
  }
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * KONTAKT SEITE
 * ========================================
 */
.contact-page .page-content {
  padding-block: clamp(3rem, 8vh, 5rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* Linke Spalte (Info) */
.contact-info {
  padding-right: 2rem;
}
.contact-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}
.contact-subtitle {
  font-size: 1.1rem;
  color: #b0c4de;
  margin-block: 1rem 2rem;
}
.info-box {
  background: var(--color-surface-glass);
  border-left: 3px solid var(--color-primary);
  padding: 1.5rem;
  margin-block: 2rem;
  border-radius: 0 8px 8px 0;
}
.info-box h3 {
  margin-top: 0;
}
.info-box ul {
  padding-left: 20px;
  color: #b0c4de;
}

/* Rechte Spalte (Formular) */
.contact-form-wrapper {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.form-group, .form-step {
  margin-bottom: 1.5rem;
}
.form-group-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .form-group-grid {
    grid-template-columns: 1fr 1fr;
  }
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px;
  background-color: var(--color-background);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px -2px var(--color-primary);
}
textarea {
  resize: vertical;
}
.hidden { display: none; }

/* Live Angebot Box */
.live-angebot {
  display: grid;
  gap: 1rem;
  background: var(--color-background);
  border-radius: 12px;
  padding: 1.5rem;
  margin-block: 2rem;
}
.angebot-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 1rem;
}
.angebot-item:last-child { border-bottom: none; padding-bottom: 0; }
.angebot-item .label { color: #b0c4de; }
.angebot-item .value { font-size: 1.5rem; font-weight: bold; color: var(--color-text); }
.angebot-item.highlight .value { color: var(--color-primary); }

/* Submit Button */
.submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.submit-btn .arrow {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}
.submit-btn:hover .arrow {
  transform: translateX(5px);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #8899a6;
  text-align: center;
  margin-top: 1rem;
}

/* assets/styles.css - ERGÄNZUNGEN */

/*
 * ========================================
 * SUCCESS MODAL ("DANKE"-FENSTER)
 * ========================================
 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(11, 15, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.success-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.success-modal__content {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  max-width: 500px;
  margin: 1rem;
  box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}

.success-modal__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-background);
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  animation: pop-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-modal__content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.success-modal__content p {
  color: #b0c4de;
  margin-bottom: 2rem;
}

/* assets/styles.css - ERGÄNZUNG */

/*
 * ========================================
 * MOBILE HEADER OPTIMIERUNG
 * ========================================
 */

/* "Hosting anfragen" Button im Header standardmäßig ausblenden */
.main-header .header-actions .btn--primary {
  display: none;
}

/* Button erst ab der Tablet-Größe (768px) wieder einblenden */
@media (min-width: 768px) {
  .main-header .header-actions .btn--primary {
    display: inline-block; /* Oder 'flex', je nach Layout */
  }
}

/* assets/styles.css - ERGÄNZUNG */

/* ERSETZE DEN ALTEN .price-ticker BLOCK HIERMIT */

/*
 * ========================================
 * LIVE PRICE TICKER (RESPONSIVE VERSION)
 * ========================================
 */
.price-ticker {
  --ticker-bg: var(--color-surface-glass);
  --ticker-border: var(--color-border);
  --ticker-text: var(--color-text);
  --ticker-text-muted: #94A3B8;
  --ticker-green: var(--color-primary);
  --ticker-red: #f87171;
  --ticker-accent: var(--color-accent);
  --ticker-speed: 8s; /* Schnellere Geschwindigkeit für Mobilgeräte */
  --ticker-height: 42px;
  --ticker-gap: 32px;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--ticker-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background-color: var(--ticker-bg);
  border-top: 1px solid var(--ticker-border);
  color: var(--ticker-text);
  display: flex;
  align-items: center;
  z-index: 1001;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.price-ticker__mask {
  width: 100%;
  height: var(--ticker-height);
  overflow: hidden;
}

/* Standard (Mobile): Animierte Laufschrift */
.price-ticker__lane {
  display: flex;
  align-items: center;
  gap: var(--ticker-gap);
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll var(--ticker-speed) linear infinite;
}
.price-ticker__lane.is-paused {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Desktop-Ansicht (> 1024px): Statische Leiste */
@media (min-width: 1024px) {
  .price-ticker__mask {
    mask-image: none; /* Blenden an den Seiten entfernen */
  }
  .price-ticker__lane {
    animation: none; /* Animation stoppen */
    width: 100%;
    justify-content: space-evenly; /* Elemente gleichmäßig verteilen */
  }
  .price-ticker__pause {
    display: none; /* Pause-Button auf Desktop ausblenden */
  }
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.quote-item__symbol { font-weight: 700; color: var(--ticker-accent); }
.quote-item__val { font-variant-numeric: tabular-nums; }
.quote-item__chg { font-variant-numeric: tabular-nums; font-size: 13px; padding: 2px 6px; border-radius: 6px; font-weight: 700; }
/* Ersetze die alten .is-up und .is-down Regeln mit diesen */

.quote-item.is-up .quote-item__chg {
  color: var(--color-background); /* Dunkler Text für maximalen Kontrast */
  background: var(--ticker-green);  /* Knalliges, solides Grün */
}

.quote-item.is-down .quote-item__chg {
  color: var(--color-background); /* Dunkler Text für maximalen Kontrast */
  background: var(--ticker-red);    /* Knalliges, solides Rot */
}

.price-ticker__pause { appearance: none; background: transparent; border: 1px solid transparent; color: var(--ticker-text-muted); margin-inline: 8px; padding: 6px 10px; border-radius: 8px; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.price-ticker__pause:hover, .price-ticker__pause:focus-visible { color: var(--ticker-text); border-color: var(--ticker-border); outline: none; }

@media (max-width: 480px) {
  .price-ticker { --ticker-height: 38px; --ticker-gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .price-ticker__lane { animation: none; }
  .price-ticker__pause { display: none; }
  .price-ticker__mask { mask-image: none; }
}

/* assets/styles.css - ERGÄNZUNG */

/*
 * ========================================
 * OPERATIONS SNAPSHOT SECTION
 * ========================================
 */
.ops-snapshot {
  background-color: var(--color-background);
  padding-block: clamp(4rem, 10vh, 6rem);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.ops-snapshot__header {
  text-align: center;
  margin-bottom: 3rem;
}

/* KPI Grid */
.ops-snapshot__kpis {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 3rem;
}
.kpi-card {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
}
.kpi-card .label {
  display: block;
  font-size: 0.9rem;
  color: #b0c4de;
  margin-bottom: 0.5rem;
}
.kpi-card .value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
}
#kpi-alerts.has-alerts {
    color: var(--color-accent);
}

/* Miner Grid */
.miners-grid-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}
.miners-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Anpassungen an unserer bestehenden .hardware-card für diese Sektion */
.hardware-card--status {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.4s;
}
.hardware-card--status.is-warning {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px -5px var(--color-accent);
}
.hardware-card--status.is-error {
  border-color: #f87171;
  box-shadow: 0 0 20px -5px #f87171;
}

.status-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--color-background);
  z-index: 10;
}
.status-badge.is-ok { background-color: var(--color-primary); }
.status-badge.is-warning { background-color: var(--color-accent); }
.status-badge.is-error { background-color: #f87171; color: white; }

/* Status-Varianten für LED und Lüfter */
.miner-led.is-warning {
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: none; /* Deaktiviert das Blinken für Dauerleuchten */
}
.miner-led.is-error {
  background-color: #f87171;
  box-shadow: 0 0 8px #f87171;
  animation: led-blink 1s infinite steps(1, end); /* Schnelles Blinken */
}
.miner-fan.is-off {
  animation: none !important;
}

.ops-snapshot__disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: #8899a6;
  margin-top: 2rem;
}
/* OPTIMIERUNG: Miner-Grid auf Mobilgeräten ausblenden */
@media (max-width: 767px) {
  .ops-snapshot__miners {
    display: none;
  }
}

/* assets/styles.css - ERGÄNZUNG */

/*
 * ========================================
 * LIVE MINING FEED (FOMO TOASTS)
 * ========================================
 */
.live-feed {
  position: fixed;
  inset: auto 16px 16px auto;  /* Position: unten rechts auf Desktop */
  z-index: 9998;
  pointer-events: none;      /* Klicks gehen durch, außer auf die Toasts selbst */
  max-width: min(92vw, 380px);
}

/* Auf Mobilgeräten: unten zentriert */
@media (max-width: 640px){
  .live-feed {
    inset: auto 0 calc(16px + env(safe-area-inset-bottom)) 0;
    display: flex;
    justify-content: center;
  }
}

.live-feed__toast {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  width: min(92vw, 380px);
  color: var(--color-text);
  
  /* ANGEPASST: Nutzt dein "Glass Panel"-Design */
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  
  border-radius: 14px;
  padding: 10px 12px 10px 10px;
  margin: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  pointer-events: auto;
  overflow: hidden;
  isolation: isolate;
  transform: translateX(32px);
  opacity: 0;
}

/* Animationen (GPU-freundlich) */
.live-feed__toast--in {
  animation: fomo-in 320ms cubic-bezier(.22,.9,.32,1.2) forwards,
             fomo-glow 1600ms ease-out 80ms 1;
}
.live-feed__toast--out {
  animation: fomo-out 260ms ease forwards;
}

@keyframes fomo-in{
  from{ transform: translateX(42px) translateY(6px); opacity:0; filter: blur(2px); }
  to  { transform: translateX(0) translateY(0); opacity:1; filter: blur(0); }
}
@keyframes fomo-out{
  to{ transform: translateX(28px) translateY(4px); opacity:0; filter: blur(2px); }
}
@keyframes fomo-glow{
  0% { box-shadow: 0 0 0 rgba(53,255,141,0); }
  12% { box-shadow: 0 0 24px rgba(53,255,141,.45); }
  100% { box-shadow: 0 10px 28px rgba(0,0,0,.35); }
}

/* Coin-Icon */
/* Ersetze die alte .live-feed__coin Regel mit dieser */

.live-feed__coin {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex; /* Sorgt dafür, dass das SVG-Icon perfekt passt */
  justify-content: center;
  align-items: center;
}

/* Der Ripple-Effekt bleibt unverändert */
.live-feed__coin::after{
  content:"";
  position:absolute;
  inset: -4px;
  border-radius:50%;
  border: 2px solid rgba(247,147,26,.35);
  animation: ripple 1200ms ease-out 1;
}
@keyframes ripple{
  from{ transform: scale(.7); opacity:.7; }
  to  { transform: scale(1.25); opacity:0; }
}

/* Partikel-Effekt */
.live-feed__trail {
  position:absolute; inset: -20% -40% auto auto; height: 2px;
  /* ANGEPASST: Nutzt deine Primärfarbe */
  background: linear-gradient(90deg, rgba(53,255,141,0), rgba(53,255,141,.8), rgba(53,255,141,0));
  filter: drop-shadow(0 0 6px var(--color-primary));
  transform: translateX(40%);
  animation: trail 900ms ease-out 1;
  pointer-events:none;
}
@keyframes trail{
  from{ opacity:.0; transform: translateX(60%); }
  40% { opacity:1; }
  to  { opacity:0; transform: translateX(-30%); }
}

/* Textbereich */
.live-feed__title {
  font-weight: 700;
  font-family: var(--font-family-base); /* ANGEPASST: Deine Schriftart */
  font-size: .98rem;
}
.live-feed__text {
  color: #b0c4de; /* ANGEPASST: Deine muted-Textfarbe */
  font-size: .9rem; line-height: 1.35;
}
.live-feed__highlight {
  color: var(--color-primary); /* ANGEPASST: Deine Primärfarbe */
  text-shadow: 0 0 10px rgba(53,255,141,.35);
}

/* Buttons */
.live-feed__btn {
  appearance:none; border:1px solid var(--color-border); background: rgba(255,255,255,.05);
  color: #b0c4de; padding: 6px 8px; border-radius: 10px; cursor:pointer;
  transition: all .15s ease;
}
.live-feed__btn:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.live-feed__btn[aria-pressed="true"] {
    background: rgba(53,255,141,.2);
    color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce){
  .live-feed__toast--in, .live-feed__toast--out, .live-feed__coin::after, .live-feed__trail{
    animation: none !important;
  }
}

/* assets/styles.css - ERGÄNZUNG */

/*
 * ========================================
 * COMMUNITY & TRANSPARENCY HUB
 * ========================================
 */
.community-hub {
  background-color: var(--color-background);
  padding-block: clamp(4rem, 10vh, 6rem);
  border-top: 1px solid var(--color-border);
}
.community-hub__header {
  text-align: center;
  margin-bottom: 3rem;
}
.community-hub__legal {
  text-align: center;
  font-size: 0.9rem;
  color: #8899a6;
  margin-top: 2rem;
  max-width: 70ch;
  margin-inline: auto;
}

/* Grid-Layout */
.community-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .community-grid { grid-template-columns: 1fr; }
}

/* Panel-Styling */
.community-panel {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: clip;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  flex-shrink: 0;
}
.panel-head strong {
  font-weight: 700;
}
.chip {
  appearance: none;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.05);
  color: #b0c4de;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  font-size: .9rem;
}
.chip:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.chip.is-active {
  background: rgba(53,255,141,.1);
  color: var(--color-primary);
  border-color: rgba(53,255,141,.3);
}

/* Chat-Fenster */
.chat-scroll {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  overflow-y: auto;
}
.chat-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: flex-start;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--color-border);
}
.chat-bubble {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  border-radius: 12px 12px 12px 4px;
}
.chat-bubble .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-size: .85rem;
  color: #8899a6;
}
.chat-bubble .msg { color: var(--color-text); }
.chat-row.is-operator .chat-bubble { border-color: rgba(53,255,141,.4); }
.chat-row.is-operator .meta b { color: var(--color-primary); }
.chat-row.is-status .chat-bubble { border-style: dashed; opacity:.9; }
.panel-foot {
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  flex-shrink: 0;
}
.input-ghost {
  width: 100%;
  min-height: 38px;
  border: 1px dashed var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
}
.cursor {
  width: 10px;
  height: 18px;
  margin-left: 6px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50%{ opacity:0; } }

/* KPIs & Updates */
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
}
.kpi-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem;
}
.kpi-label { font-size: 0.9rem; color: #b0c4de; }
.kpi-value { font-size: 1.75rem; font-weight: 700; margin-top: 4px; color: var(--color-text); }
.kpi-meta { font-size: .85rem; color: #8899a6; margin-top: 6px; }
.kpi-bars { display: flex; height: 12px; gap: 4px; margin-top: 8px; border-radius: 6px; overflow: hidden; }
.kpi-bar { height: 100%; width: var(--v); background-color: var(--c); }
.updates-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.updates-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px;
  background: var(--color-background);
  font-size: 0.9rem;
}
.updates-list li .badge {
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: bold;
}
.updates-list .badge--ok { color: var(--color-background); background-color: var(--color-primary); }
.updates-list .badge--info { color: #0c4a6e; background-color: #7dd3fc; }
.updates-list .badge--warn { color: #78350f; background-color: #fbbf24; }

/* Schritt 2: Füge diesen CSS-Block ans Ende deiner assets/styles.css */

/*
 * ========================================
 * CONSENT BANNER STYLES (NEUER VERSUCH)
 * ========================================
 */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  
  background-color: var(--color-surface-glass);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-block: 1.5rem;
  
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.consent-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.consent-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.consent-text p {
  color: #b0c4de;
  margin: 0;
  max-width: 60ch;
}

.consent-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-partners {
    background: #0a0a0a;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
  }
  .footer-partners .footer-title {
    color: #bbb;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  .footer-partners .partner-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .footer-partners .partner-links li {
    display: inline;
  }
  .footer-partners .partner-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-partners .partner-links a:hover {
    color: #fff;
  }