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

:root {
  --bg: #05060a;
  --bg-elevated: #10121a;
  --bg-elevated-soft: #141724;
  --border-subtle: #272a3a;
  --text: #f5f5f7;
  --text-muted: #b3b3c2;
  --gold: #f5d27a;
  --gold-soft: rgba(245, 210, 122, 0.16);
  --danger: #ff6b6b;
  --blue: #4aa3ff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

html,
.brand-gold { color: var(--gold); }
.brand-white { color: #ffffff; }
.brand-wordmark { font-weight: 700; letter-spacing: 0.02em; }

body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171925 0, #05060a 52%, #020307 100%);
  color: var(--text);
}

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

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

/* Topbar */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.98), rgba(5, 6, 10, 0.9));
  border-bottom: 1px solid rgba(245, 210, 122, 0.28);
  z-index: 20;
}

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

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

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: contain;
  background: #000000;
  box-shadow: 0 0 12px rgba(245, 210, 122, 0.6);
  border: 1px solid rgba(245, 210, 122, 0.9);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.topbar-nav a {
  opacity: 0.82;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background var(--transition-fast), opacity var(--transition-fast), transform 120ms ease-out;
}

.topbar-nav a:hover {
  opacity: 1;
  background: rgba(245, 210, 122, 0.16);
  transform: translateY(-1px);
}

/* Burger */

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger-btn span {
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: var(--gold);
  margin: 0 auto;
}

/* Side menu */

.side-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
  z-index: 29;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #05060a;
  border-left: 1px solid var(--border-subtle);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.75);
  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right var(--transition-med);
  z-index: 30;
}

.side-menu.open {
  right: 0;
}

.side-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-close {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
}

.side-menu-nav a {
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.side-menu-nav a:hover {
  background: rgba(245, 210, 122, 0.16);
}

/* Hero */

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 30px;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}

.hero-text {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 20px;
}


.hero-entry-block {
  margin-top: 12px;
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px 24px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-entry-card .entry-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-entry-card .entry-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.hero-entry-card .entry-title {
  font-weight: 600;
}

.hero-entry-card .entry-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Sichtbarer Klick-Hinweis, auch auf Touch-Geräten */
.hero-entry-card {
  position: relative;
}

/* CTA als Teil des Flows (kein Overlay über dem Text) */
.hero-entry-card .entry-inner {
  width: 100%;
  gap: 10px;
}

.hero-entry-card .entry-inner::after {
  content: "Öffnen →";
  display: inline-flex;
  align-self: flex-end;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 210, 122, 0.12);
  border: 1px solid rgba(245, 210, 122, 0.35);
  pointer-events: none;
}
.entry-card:focus-visible {
  outline: 2px solid rgba(245, 210, 122, 0.9);
  outline-offset: 4px;
}

.entry-card:active {
  transform: translateY(0) scale(0.99);
  border-color: rgba(245, 210, 122, 0.85);
}

@media (hover: none) {
  .hero-entry-card {
    border-color: rgba(245, 210, 122, 0.55);
  }

  .hero-entry-card::before {
    opacity: 0.55;
  }
}

.hero-entry .info-toggle {
  align-self: center;
  margin-top: 6px;
}

.hero-selfcheck {
  margin-top: 8px;
  margin-bottom: 18px;
}

.hero-beginner {
  margin-bottom: 16px;
}

.hero-selfcheck .entry-card,
.hero-beginner .entry-card,
.hero-advanced .entry-card {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.hero-beginner .entry-card,
.hero-advanced .entry-card {
  max-width: 620px;
}

.hero-selfcheck .info-panel,
.hero-beginner .info-panel,
.hero-advanced .info-panel,
.hero-selfcheck .info-toggle,
.hero-beginner .info-toggle,
.hero-advanced .info-toggle {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
 max-width: 620px;
}

.entry-card--primary {
  width: 100%;
  max-width: 780px;
  box-shadow: var(--shadow-soft);
  border-width: 1.5px;
}

.entry-card--secondary {
  width: 100%;
  max-width: 620px;
}


.entry-card--compact {
  width: 100%;
  max-width: 460px;
}

.hero-advanced {
  margin-top: 8px;
  margin-bottom: 12px;
}
.entry-icon--plain {
  background: transparent;
  border: none;
  box-shadow: none;
}
.entry-icon--large {
  width: 40px;
  height: 40px;
  font-size: 26px;
}
/* Entry cards */

/* Entry cards */

.entry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;

  max-width: 980px;
  margin: 0 auto;
}

.entry-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 18, 26, 0.98), rgba(10, 12, 20, 0.98));
  border: 1px solid rgba(245, 210, 122, 0.3);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(245, 210, 122, 0.24), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 210, 122, 0.8);
  box-shadow: var(--shadow-soft);
}

.entry-card:hover::before {
  opacity: 1;
}

.entry-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #ffffff, #f5d27a 40%, #94631f 100%);
  box-shadow: 0 0 16px rgba(245, 210, 122, 0.5);
}

.entry-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.entry-title {
  font-weight: 600;
  font-size: 15px;
}

.entry-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* Code section */

.code-section {
  margin-top:16px;
  margin-bottom: 16px;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(245, 210, 122, 0.06), transparent 52%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 55%),
    linear-gradient(135deg, #151822, #05060a);
  border: 1px solid rgba(245, 210, 122, 0.28);
  box-shadow: var(--shadow-soft);
}

.code-section h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.code-section p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.code-input {
  flex: 1 1 220px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.35);
  background: rgba(3, 4, 8, 0.9);
  color: var(--text);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.code-input::placeholder {
  color: #666a7a;
}

.code-feedback {
  margin-top: 8px;
  min-height: 18px;
  font-size: 14px;
}

.code-feedback.success {
  color: var(--gold);
}

.code-feedback.error {
  color: var(--danger);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform 120ms ease-out,
    box-shadow var(--transition-fast);
  white-space: normal;
}


.btn-gold {
  background: linear-gradient(135deg, #f5d27a, #c18a2f);
  border-color: #f5d27a;
  color: #15110b;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(245, 210, 122, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 0 16px rgba(245, 210, 122, 0.55);
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-gold {
  border-color: rgba(245, 210, 122, 0.85);
  color: var(--gold);
  background: rgba(245, 210, 122, 0.04);
}

.btn-outline-gold.locked {
  position: relative;
}

.btn-outline-gold.locked::before {
  content: "🔒";
  margin-right: 2px;
}

.btn-outline-gold:hover {
  background: rgba(245, 210, 122, 0.12);
}

/* Filters */

.filters {
  margin-top: 4px;
  margin-bottom: 9px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
}

.filters-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filters-label {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  margin-right: 4px;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.35);
  background: transparent;
  color: var(--text-muted);
  padding: 7px 13px;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast),
    transform 120ms ease-out;
}

.filter-btn:hover {
  border-color: rgba(245, 210, 122, 0.7);
  color: var(--text);
}

.filter-btn.active {
  background: rgba(245, 210, 122, 0.18);
  border-color: rgba(245, 210, 122, 0.9);
  color: var(--gold);
  transform: translateY(-1px);
}

/* Tools grid */

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Section headers */


.tools-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px auto 8px;
  width: 100%;
}

.tools-section-icon {
  width: 26px;
  height: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(245, 210, 122, 0.08);
}

.tools-section-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: rgba(245, 210, 122, 0.06);
}

.tools-section-line {
  flex: 1;
  max-width: 260px;
  min-width: 80px;
  height: 2px;
  box-shadow: 0 0 12px rgba(245, 210, 122, 0.5);
}

.tools-section-line-left {
  background: linear-gradient(to left, rgba(245, 210, 122, 0.9), transparent);
}

.tools-section-line-right {
  background: linear-gradient(to right, rgba(245, 210, 122, 0.9), transparent);
}

var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tool-card:hover {
  border-color: rgba(245, 210, 122, 0.7);
  box-shadow: 0 0 12px rgba(245, 210, 122, 0.25);
  transform: translateY(-2px);
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tool-card-main {
  display: block;
}

.tool-kind-icon {
  width: 28px;
  height: 28px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: radial-gradient(circle at 30% 0, #ffffff, #f5d27a 42%, #8b5a16 100%);
}

.tool-card[data-tool-id="warumKrypto"] .tool-kind-icon {
  color: var(--blue);
}

.tool-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tool-kind-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.tool-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-badges {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tool-variant-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
}


.badge {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
}


.badge-free {
  background: #e1e4eb;
  color: #111;
  border-color: transparent;
}




.badge-plus {
  background: var(--gold);
  color: #111;
  border-color: transparent;
}



.tool-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}


.info-btn {
  border-color: var(--gold);
  color: var(--gold);
}



.info-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.tool-card-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Info panel */

.tool-info-panel {
  margin-top: 10px;
  border-radius: 14px;
  background: #0a0c12;
  border: 1px solid rgba(245, 210, 122, 0.25);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.tool-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 12px 18px;
}

.tool-info-block-title {
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 3px;
}

.tool-info-block p {
  margin: 0;
}

/* Footer */

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(1, 1, 3, 0.96);
}

.page-footer a {
  color: var(--text-muted);
  margin-left: 10px;
}

/* Responsive */

@media (max-width: 880px) {
  .desktop-nav {
    display: none;
  }
  .page {
    padding: 80px 14px 64px;
  }
  .entry-row {
    grid-template-columns: minmax(0, 1fr);
  
  max-width: 980px;
  margin: 0 auto;
}
}

@media (max-width: 640px) {
  .page { padding-top: 18px; }

  .tool-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .tool-card-actions {
    align-self: stretch;
  }
  .code-section {
    padding: 16px 14px 18px;
  }
}


.faq-insights-btn {
  margin-top: 6px;
}

.side-menu-nav li { list-style: none !important; }

.faq-insights-btn { margin-top:4px; }


.tools-intro {
  max-width: 100%;
  margin: 0 0 12px 0;
  padding: 0;
}

.tools-intro-title {
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.tools-intro-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}


.subsection-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 28px;
  margin-bottom: 14px;}



.tools-intro .subsection-title {
  margin-bottom: 6px;
}

.tools-intro-subtitle {
  margin-top: 0;
  margin-bottom: 16px;
}



.entry-row-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

section {
  padding-top: 16px;
}


.badge-einzelkauf {
  background: var(--gold);
  color: #111;
  border-color: transparent;
}

.badge-ondemand {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

/* Info chevron */
.info-btn .info-chevron {
  display: inline-block;
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}


/* Stronger card separation */
.tool-card {
  margin-top: 12px;
  padding: 12px 14px 12px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(30, 32, 46, 0.96), rgba(8, 10, 18, 0.98));
  border: 1px solid rgba(245, 210, 122, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.tools-section-header + .tool-card {
  margin-top: 18px;
}


.badge-separator {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 4px;
}

.tool-info-btn {
  border: 1px solid rgba(255,255,255,0.6) !important;
  color: rgba(255,255,255,0.9) !important;
}


/* Neutral styling for Info-Button (white outline instead of gold) */
.btn.info-btn {
  border-color: rgba(255,255,255,0.7) !important;
  color: rgba(255,255,255,0.9) !important;
}

.btn.info-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.9) !important;
}



.info-toggle {
  margin-top: 6px;
  margin-bottom: 4px;
  padding: 3px 10px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.8);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  cursor: pointer;
}

.info-toggle:hover {
  background: rgba(245, 210, 122, 0.09);
  color: #ffffff;
}

.info-panel {
  display: none;
  margin-top: 6px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245, 210, 122, 0.8);
  background: radial-gradient(circle at 0 0, rgba(245, 210, 122, 0.06), #05070d 55%);
  font-size: 13px;
  line-height: 1.6;
}

.info-panel.open {
  display: block;
}

.info-panel ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.info-panel li {
  margin-bottom: 4px;
}
/* Hero & Tools intro notes */

.hero-note {
  margin-top: 4px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.tools-intro-note {
  margin-top: 6px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* R4X global Header */

.r4x-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px 6px 16px;
  border-bottom: 3px solid var(--gold);
  background: #000000;
  position: sticky;
  top: 0;
  z-index: 40;
}

.r4x-header--light {
  background: #ffffff;
}

.r4x-header--dark {
  background: #000000;
}

.r4x-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.r4x-logo-link {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}

.r4x-logo-link:focus-visible {
  outline: 2px solid rgba(245, 210, 122, 0.9);
  outline-offset: 4px;
}

.r4x-logo {
  width: 2cm;
  height: 2cm;
  object-fit: contain;
}

.r4x-header-main-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.r4x-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: radial-gradient(circle at 30% 30%, #444 0, #000 40%, #000 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 3px 8px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.08s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  filter: brightness(0.97);
}

.r4x-header-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.08s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #000000;
}

.hamburger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.hamburger-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #000000;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-soft);
  padding: 8px 0;
  min-width: 230px;
  max-height: 70vh;
  overflow-y: auto;
  display: none;
  z-index: 50;
}

.hamburger-menu.open {
  display: block;
}

.hamburger-menu a {
  display: block;
  padding: 6px 16px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
}

.hamburger-menu a:hover {
  background: #202020;
}

@media (max-width: 768px) {
  .r4x-header {
    padding: 8px 10px 6px 10px;
    gap: 10px;
  }

  .r4x-nav {
    gap: 4px;
  }

  .nav-btn {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .r4x-logo {
    width: 1.6cm;
    height: 1.6cm;
  }
}

/* Back to top button */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.9);
  background: rgba(5, 6, 10, 0.9);
  color: var(--gold);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  font-size: 20px;
  z-index: 60;
}

.back-to-top.visible {
  display: flex;
}


.code-lead {
  margin-top: 4px;
  margin-bottom: 6px;
  font-weight: 600;
}


.filter-status {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  min-height: 18px;
}

.filter-status--active {
  color: var(--gold);
}

.filter-status-note {
  font-weight: 500;
}

.filter-reset-btn {
  border: none;
  background: none;
  color: var(--gold);
  font-size: 11px;
  margin-left: 8px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 900px) {
  .hero-entry-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-entry-block .entry-icon {
  background: transparent;
  border: none;
  box-shadow: none;
}


/* Per-Bereich Varianten für visuelle Orientierung */
.tool-card--orientierung {
  background: radial-gradient(circle at top left, rgba(40, 32, 18, 0.9), rgba(8, 10, 18, 0.98));
}

.tool-card--wissen {
  background: radial-gradient(circle at top left, rgba(24, 28, 44, 0.96), rgba(8, 10, 18, 0.98));
}

.tool-card--anwendung {
  background: radial-gradient(circle at top left, rgba(30, 40, 26, 0.9), rgba(8, 10, 18, 0.98));
}

.tool-card--analyse {
  background: radial-gradient(circle at top left, rgba(44, 32, 44, 0.9), rgba(8, 10, 18, 0.98));
}
