/* ============================================================
   Haupt-Design der Website (Dark Mode, Technik/Portfolio)
   ============================================================ */

[hidden] {
  display: none !important;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrainsmono.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080808;
  --bg-deep: #050505;
  --surface: #101010;
  --card: #141414;
  --card-hover: #181818;
  --border: #242424;
  --border-strong: #303030;
  --line: rgba(255, 255, 255, 0.07);
  --primary: #ff6a00;
  --primary-soft: rgba(255, 106, 0, 0.12);
  --primary-glow: rgba(255, 106, 0, 0.35);
  --success: #7cff4f;
  --success-soft: rgba(124, 255, 79, 0.12);
  --text: #f2f2f2;
  --muted: #8c8c8c;
  --faint: #626262;
  --danger: #ff7a66;
  --warning: #ffcd5c;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(255, 106, 0, 0.055), transparent 68%);
  background-size: 64px 64px, 64px 64px, 100% 900px;
  background-repeat: repeat, repeat, no-repeat;
  background-position: center top, center top, center top;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.25;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: #0c0c0c;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 8px;
  border: 2px solid #0c0c0c;
}
::-webkit-scrollbar-thumb:hover {
  background: #383838;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4.5rem 0;
}
@media (min-width: 900px) {
  .section {
    padding: 6rem 0;
  }
}

.section-alt {
  background: #0c0c0c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Grid-Dekor */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 55%, transparent 100%);
}

.layer-pattern {
  background: repeating-linear-gradient(to bottom, rgba(255, 106, 0, 0.05) 0px, rgba(255, 106, 0, 0.05) 2px, transparent 2px, transparent 8px);
}

/* Kopfzeile */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.02rem;
}
.brand-cube {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.35);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.15);
}
.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.18s var(--ease);
}
.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
}
@media (min-width: 1160px) {
  .main-nav {
    display: flex;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-btn {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}
@media (min-width: 1160px) {
  .menu-btn {
    display: none;
  }
}

/* Mobiles Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.mobile-menu.open {
  display: block;
}
.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.mobile-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(86%, 340px);
  background: #0d0d0d;
  border-left: 1px solid var(--border);
  padding: 1.4rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mobile-nav a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 11px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.15s var(--ease);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.mobile-menu .header-cta {
  margin-top: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.35rem;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-decoration: none;
  line-height: 1.3;
}
.btn-primary {
  background: var(--primary);
  color: #0d0d0d;
  box-shadow: 0 4px 18px rgba(255, 106, 0, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 0 26px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 106, 0, 0.45);
  transform: translateY(-1px);
}
.btn-success {
  background: var(--success-soft);
  border-color: rgba(124, 255, 79, 0.35);
  color: var(--success);
}
.btn-success:hover {
  background: rgba(124, 255, 79, 0.18);
  box-shadow: 0 0 22px rgba(124, 255, 79, 0.18);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.card-hover:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--card-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--border);
}
.badge-primary {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(255, 106, 0, 0.3);
}
.badge-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(124, 255, 79, 0.3);
}
.badge-warning {
  background: rgba(255, 200, 60, 0.1);
  color: var(--warning);
  border: 1px solid rgba(255, 200, 60, 0.3);
}
.badge-danger {
  background: rgba(255, 80, 60, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 80, 60, 0.3);
}

/* Sektions-Headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-heading h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.section-heading p {
  color: var(--muted);
  max-width: 640px;
  font-size: 0.98rem;
}
.section-heading.center {
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-heading.center p {
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 5rem;
}
@media (min-width: 900px) {
  .hero {
    padding: 9.5rem 0 7rem;
  }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 106, 0, 0.06), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}
.hero-text h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero-text h1 .accent {
  color: var(--primary);
  text-shadow: 0 0 40px rgba(255, 106, 0, 0.35);
}
.hero-sub {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-stat b {
  font-size: 1.35rem;
  color: var(--text);
  display: block;
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--faint);
}

/* Hero-Visual: animierte Layer */
.hero-visual {
  position: relative;
}
.hv-wrap {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 4/5;
}
.hv-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.3), rgba(255, 106, 0, 0.05));
  border: 1px solid rgba(255, 106, 0, 0.4);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.12);
  animation: hv-float 5s var(--ease) infinite;
}
.hv-layer::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 106, 0, 0.35);
}
.hv-l1 {
  width: 64%;
  height: 14%;
  top: 4%;
}
.hv-l2 {
  width: 74%;
  height: 14%;
  top: 21%;
  animation-delay: 0.6s;
}
.hv-l3 {
  width: 66%;
  height: 14%;
  top: 38%;
  animation-delay: 1.2s;
}
.hv-l4 {
  width: 78%;
  height: 14%;
  top: 55%;
  animation-delay: 0.3s;
}
.hv-l5 {
  width: 60%;
  height: 14%;
  top: 72%;
  animation-delay: 0.9s;
}
.hv-head {
  position: absolute;
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 9%;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border: 1px solid var(--border-strong);
  z-index: 2;
}
.hv-nozzle {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 8%;
  height: 13%;
  background: linear-gradient(180deg, #333, #222);
  border: 1px solid var(--border-strong);
  border-radius: 0 0 50% 50%;
  z-index: 1;
}
.hv-glow {
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.5), transparent 70%);
}
@keyframes hv-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}
.hv-chip {
  position: absolute;
  right: -6%;
  top: 6%;
  background: #111;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--success);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.hv-chip b {
  display: block;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
}

/* Projekt-Karten */
.projects-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}
.project-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #101010;
  overflow: hidden;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}
.project-thumb .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(to bottom, rgba(255, 106, 0, 0.05) 0px, rgba(255, 106, 0, 0.05) 2px, transparent 2px, transparent 9px);
  color: var(--primary);
}
.project-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.project-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-desc {
  color: var(--muted);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-foot {
  margin-top: auto;
  padding-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--faint);
}

/* Filament-Karten */
.filament-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .filament-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .filament-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1440px) {
  .filament-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.filament-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
}
.filament-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}
.filament-head-text {
  min-width: 0;
}
.filament-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.filament-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.filament-sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.filament-facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.2rem;
}
.filament-fact {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 0.35rem;
}
.filament-fact i {
  flex: 0 0 5.6rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-family: var(--mono);
}
.filament-fact span {
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.filament-cta {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Filament-Detail */
.wiki-back {
  margin-bottom: 1.2rem;
}
.wiki-detail-head {
  margin-bottom: 1.6rem;
}
.wiki-detail-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
}
.wiki-detail-sub {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.9rem;
}
.wiki-detail-foot {
  margin-top: 2rem;
}
.filament-ratings {
  display: grid;
  gap: 0.6rem;
}
.wiki-shore {
  margin: 0.5rem 0 0.5rem;
}
.shore-current-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: #ffc59e;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}
.shore-current-hint b {
  font-family: var(--mono);
}
.shore-current-hint svg {
  color: var(--primary);
}
.shore-current-tag {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0d0d0d;
  background: var(--primary);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.shore-current-tag svg {
  width: 11px;
  height: 11px;
}
.shore-marker.is-current .shore-marker-dot {
  transform: scale(1.35);
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary), 0 0 0 8px var(--primary-glow);
}
.shore-marker.is-current .shore-marker-label {
  color: #fff;
  font-weight: 800;
}
.shore-foot {
  margin-top: 1.4rem;
}

/* Property Bars */
.rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.rating-label {
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 100px;
}
.rating-bars {
  flex: 1;
  display: flex;
  gap: 3px;
}
.rating-bars span {
  flex: 1;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}
.rating-bars span.on {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}
.rating-bars span.on.success {
  background: var(--success);
  box-shadow: 0 0 8px rgba(124, 255, 79, 0.5);
}

/* Property-Liste (Detail) */
.props {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .props {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }
}
.prop {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.7rem 0.9rem;
}
.prop-label {
  font-size: 0.72rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}
.prop-value {
  font-size: 0.9rem;
  font-weight: 600;
}
.prop-value.success {
  color: var(--success);
}

/* Werkstatt */
.printers-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .printers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.printer-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.printer-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.printer-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.3);
  flex-shrink: 0;
}
.printer-head h3 {
  font-size: 1.05rem;
}

/* TikTok-Karten */
.tiktok-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .tiktok-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .tiktok-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tiktok-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tiktok-preview {
  aspect-ratio: 9/12;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.tiktok-preview .tt-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.4);
  color: var(--primary);
  font-size: 1.2rem;
}
.tiktok-body {
  padding: 1rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.tiktok-body h3 {
  font-size: 0.98rem;
}
.tiktok-body p {
  color: var(--muted);
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tiktok-frame {
  aspect-ratio: 9/12;
  background: #000;
}
.tiktok-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tiktok-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  margin-top: 0.6rem;
}
.tiktok-consent small {
  color: var(--faint);
  font-size: 0.74rem;
}
.tiktok-consent label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
}

/* Shore-Härte-Vergleich */
.shore {
  --shore-inset: 22px;
  --shore-labelw: 152px;
  margin: 0 0 2.5rem;
}
.shore-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.shore-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 64ch;
}
.shore-scroll {
  margin: 0;
}
.shore-canvas {
  padding: 0 24px;
}

/* --- Vergleichstabelle ---
   Eine gemeinsame Fläche: Kopfzeile mit Härtebereichen, darunter drei
   Skalenzeilen (00 / A / D) und eine Vergleichsreihe. Jede Zeile ist ein
   Raster aus fester Beschriftungsspalte links und Skalenbereich rechts –
   dadurch liegen alle Zeilen auf derselben X-Achse. */
.shore-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}
.shore-table-head,
.shore-row,
.shore-row-examples {
  display: grid;
  grid-template-columns: var(--shore-labelw) minmax(0, 1fr);
  align-items: stretch;
}
.shore-row,
.shore-row-examples {
  border-top: 1px solid var(--border);
}

/* Linke Beschriftungsspalte */
.shore-head-label,
.shore-row-head,
.shore-examples-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.85rem 0.9rem 0.85rem 1.05rem;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}
.shore-head-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}
.shore-row-head b,
.shore-examples-head b {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.shore-row-head span,
.shore-examples-head span {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
}

/* Zeile des aktuell gewählten Filaments leicht absetzen */
.shore-row.is-current .shore-row-head {
  background: rgba(255, 106, 0, 0.07);
  box-shadow: inset 3px 0 0 var(--primary);
}
.shore-row.is-current .shore-row-head b {
  color: #ffbd88;
}

/* Rechte Skalenspalte mit feinem 10-%-Raster */
.shore-head-ranges,
.shore-row-field {
  min-width: 0;
  padding: 0.95rem var(--shore-inset) 1.1rem;
}
.shore-row-field {
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10%);
  background-origin: content-box;
}
.shore-track {
  position: relative;
  height: 84px;
}
.shore-track-examples {
  height: 188px;
}

/* Hilfslinien der Vergleichsobjekte laufen durch jede Zeile */
.shore-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Vertikale Hilfslinien an den Alltagsankern: sehr dünn, niedrige Deckkraft,
   Orange nur als dezenter Akzent – sie zeigen die Übereinstimmung der Werte,
   ohne die Skala zu dominieren. */
.shore-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 106, 0, 0.11);
}
.shore-track-examples .shore-guide {
  bottom: auto;
  height: 26px;
  background: repeating-linear-gradient(180deg, rgba(255, 106, 0, 0.42) 0 3px, transparent 3px 7px);
}
.shore-track-examples .shore-guide::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--primary);
}

/* Härtebereiche oben: absolute Positionen aus den festen globalen Grenzen
   0 / 24.6 / 39.3 / 50.9 / 63.2 / 76.2 / 100 – dadurch sind die sechs
   Bereiche exakt und bewusst ungleich breit. Die Breiten selbst bleiben
   unverändert; nur die optische Trennung der Felder wird erhöht. */
.shore-rangebar {
  position: relative;
  height: 54px;
  background: var(--border);
  overflow: hidden;
}
.shore-range {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.7rem 0.2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}
/* Leicht abwechselnde Hintergrundstufe, damit benachbarte Felder einzeln
   erkennbar bleiben, und dezente Haarline zur Feldgrenze. */
.shore-range:nth-child(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
}
.shore-range:not(:first-child) {
  box-shadow: inset 1px 0 0 rgba(255, 158, 96, 0.16), inset -1px 0 0 rgba(0, 0, 0, 0.28);
}
.shore-range b {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d9d9d9;
}
.shore-range i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.53rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #555555;
}
.shore-range:first-child b {
  color: #e0e0e0;
}
.shore-range:last-child b {
  color: #ffbd88;
}
/* Vergleichsobjekte: gemeinsame Reihe unter den drei Skalen */
.shore-examples {
  position: relative;
  height: 100%;
}
.shore-example {
  position: absolute;
  top: calc(30px + var(--lane) * 78px);
  width: 132px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shore-example-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #161616;
  border: 1px solid var(--border-strong);
  color: #b0b0b0;
}
.shore-example-icon svg {
  width: 19px;
  height: 19px;
}
.shore-example-label {
  margin-top: 0.45rem;
  min-height: 2.6em;
  font-size: 0.74rem;
  line-height: 1.3;
  text-align: center;
  color: #9c9c9c;
}
/* Nur der Balken: er belegt den Ankerbereich der Skala auf der globalen
   Achse. Ticks, Zahlen und Marker liegen als Geschwister direkt in der
   .shore-track und richten sich nach derselben globalen Achse aus. */
.shore-scale {
  position: absolute;
  top: 0;
  height: 84px;
  pointer-events: none;
}
.shore-bar {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 106, 0, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.shore-tick {
  position: absolute;
  top: 16px;
  height: 36px;
  width: 1px;
  background: rgba(255, 255, 255, 0.13);
}
.shore-ticknum {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.1;
  color: #8f8f8f;
}
.shore-ticknum.is-key {
  color: #d6d6d6;
  font-weight: 700;
}
/* Wichtige Ankerwerte: kräftigere Markierung auf dem gemeinsamen 10-%-Raster
 * ohne eigenes Label, wenn der Wert schon auf der 20er-Zahlenreihe steht. */
.shore-ticknum.is-key::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 44px;
  border-radius: 1px;
  background: rgba(255, 158, 96, 0.55);
}
/* Zusätzliche Ankerwerte außerhalb der 20er-Reihe: eigene kleine Markierung
 * mit Label direkt über dem Balken. */
.shore-atick {
  position: absolute;
  top: 14px;
  height: 44px;
  width: 2px;
  transform: translateX(-1px);
  border-radius: 1px;
  background: rgba(255, 158, 96, 0.55);
}
.shore-aticknum {
  position: absolute;
  top: 15px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  color: #dfc0a0;
}
.shore-marker {
  position: absolute;
  top: 36px;
  transform: translate(-50%, -50%);
  z-index: 4;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.shore-marker-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.5);
  border: 2px solid var(--card);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.shore-marker-data .shore-marker-dot {
  width: 17px;
  height: 17px;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.shore-marker:hover .shore-marker-dot,
.shore-marker:focus-visible .shore-marker-dot {
  transform: scale(1.15);
  background: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-glow);
}
.shore-marker.is-active .shore-marker-dot {
  transform: scale(1.28);
  background: var(--primary);
  box-shadow: 0 0 0 7px var(--primary-glow);
}
/* Spalte des aktuell gewählten Filaments: orangefarbener Balken quer über
 * die Skalenleiste, damit der Wert in der Tabelle sofort auffällt. */
.shore-marker.is-current::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: 3px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.2), var(--primary));
  box-shadow: 0 0 12px var(--primary-glow);
}
.shore-marker-label {
  position: absolute;
  top: calc(100% + 6px + var(--lbl, 0) * 17px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #9a9a9a;
  white-space: nowrap;
}
.shore-marker-data .shore-marker-label {
  color: var(--primary);
  font-weight: 700;
}
.shore-marker.is-active .shore-marker-label {
  color: #ffc59e;
}
/* Anzahl der Wiki-Filamente hinter einem gemeinsamen Härtemarker */
.shore-marker-count {
  position: absolute;
  top: calc(100% + 22px + var(--lbl, 0) * 17px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.1rem 0.4rem;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.1);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffb27a;
}
.shore-tip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: min(330px, calc(100vw - 20px));
  padding: 1rem 1.05rem 1.05rem;
  background: #141414;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s var(--ease), visibility 0.16s var(--ease);
}
.shore-tip.is-visible {
  opacity: 1;
  visibility: visible;
}
.shore-tip.is-pinned {
  pointer-events: auto;
}
.shore-tip::before {
  content: "";
  position: absolute;
  left: var(--arrow-x, 50%);
  bottom: -6px;
  width: 11px;
  height: 11px;
  transform: translateX(-50%) rotate(45deg);
  background: #141414;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.shore-tip[data-placement="bottom"]::before {
  bottom: auto;
  top: -6px;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
}
.shore-tip-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.shore-tip.is-pinned .shore-tip-close {
  display: flex;
}
.shore-tip-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.shore-tip-head {
  display: block;
  padding-right: 1.7rem;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.shore-tip-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.shore-tip-row {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #dedede;
}
.shore-tip-row + .shore-tip-row {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.shore-tip-row i {
  display: block;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.15rem;
}
.shore-tip-fil {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.shore-tip-fil-head {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.45rem;
}
.shore-tip-fil-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.shore-tip-fil-item {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 999px;
  color: #ffb27a;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.shore-tip-fil-item:hover {
  background: rgba(255, 106, 0, 0.22);
  color: #fff;
}
.shore-tip-fil-item.is-current {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-glow);
  color: #fff;
}
.shore-tip-fil-cur {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--primary);
}
.shore-tip-fil-cur svg {
  width: 0.72em;
  height: 0.72em;
  vertical-align: -0.08em;
}

/* Einzelnes Filament: alle vorhandenen Angaben im Tooltip */
.shore-tip-fil-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.07);
}
.shore-tip-fil-card.is-current {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-glow);
}
.shore-tip-fil-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.shore-tip-fil-name:hover {
  text-decoration: underline;
}
.shore-tip-fil-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.35;
}
.shore-tip-fil-meta i {
  flex: 0 0 5.4rem;
  font-style: normal;
  color: var(--faint);
}
.shore-tip-fil-meta span {
  min-width: 0;
  color: #c9c9c9;
}
.shore-tip-fil-link {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffb27a;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.shore-tip-fil-link:hover {
  background: rgba(255, 106, 0, 0.22);
  color: #fff;
}
.shore-axis-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem var(--shore-inset) 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a2a2a2;
}
.shore-axis-caption span:first-child {
  color: #c9c9c9;
}
.shore-axis-caption span:last-child {
  color: #ffbd88;
}
.shore-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--faint);
}
.shore-scale-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.05rem;
  background: rgba(255, 205, 92, 0.05);
  border: 1px solid rgba(255, 205, 92, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #c2c2c2;
}
.shore-scale-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--warning);
}
.shore-explain {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}
.shore-explain b {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.shore-explain p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
.shore-explain-hint {
  color: var(--faint) !important;
  font-size: 0.8rem !important;
}
/* Tablet: kompakter, aber weiterhin eine gemeinsame Tabelle */
@media (max-width: 1100px) {
  .shore {
    --shore-labelw: 128px;
    --shore-inset: 18px;
  }
  .shore-range b {
    font-size: 0.62rem;
  }
  .shore-range i {
    font-size: 0.48rem;
  }
}
/* Mobil: eine gemeinsame Skala, horizontal scrollbar – keine Kartenaufteilung */
@media (max-width: 900px) {
  .shore-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .shore-canvas {
    min-width: 1000px;
    padding: 0 18px;
  }
  .shore-table {
    border-radius: 12px;
  }
}

/* Vergleich */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 140px 1fr;
}
@media (min-width: 720px) {
  .compare-row {
    grid-template-columns: 180px repeat(4, 1fr);
  }
  .compare-head {
    grid-template-columns: 180px repeat(4, 1fr);
  }
}
.compare-row > div {
  padding: 0.65rem 0.9rem;
  background: var(--card);
  font-size: 0.85rem;
}
.compare-row > .c-label {
  color: var(--muted);
}
.compare-row > div:not(.c-label) {
  font-weight: 600;
}
.compare-row.alt > div {
  background: #141414;
}

/* Suche & Filter */
.search-box {
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 1.1rem 0;
}
.filter-chip {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filter-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.filter-chip.active {
  background: var(--primary-soft);
  border-color: rgba(255, 106, 0, 0.4);
  color: var(--primary);
}
.filters-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.f-style {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.f-style label {
  font-size: 0.76rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.f-style select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}
select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="search"]:focus {
  outline: none;
  border-color: var(--primary);
}
details > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
details > summary::after {
  content: "▾";
  margin-left: auto;
  color: var(--faint);
  transition: transform 0.2s var(--ease);
}
details[open] > summary::after {
  transform: rotate(180deg);
}

/* Formulare */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field.span {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.84rem;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.72rem 0.95rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  width: 100%;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}
.field small {
  font-size: 0.76rem;
  color: var(--faint);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
}
.field .err-msg {
  font-size: 0.78rem;
  color: var(--danger);
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="search"],
.form-row select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.72rem 0.95rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}
select option,
.form-row select option {
  background-color: #161616;
  color: var(--text);
}
.notice.error {
  background: rgba(255, 80, 60, 0.08);
  border-color: rgba(255, 80, 60, 0.35);
  color: #ffb4a6;
}
.notice code,
#requestId {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.12rem 0.4rem;
  font-family: var(--mono);
  font-size: 0.85em;
  word-break: break-all;
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.checkline input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.checkline a {
  color: var(--primary);
  text-decoration: underline;
}

/* Ablauf – Schritte */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step-card {
  padding: 1.4rem;
  position: relative;
  counter-increment: step;
}
.step-num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.35);
  color: var(--primary);
  font-weight: 800;
  font-family: var(--mono);
  margin-bottom: 0.9rem;
}
.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.05rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.faq-q .chev {
  margin-left: auto;
  color: var(--primary);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a-inner {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hinweiskarte */
.notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 200, 60, 0.07);
  border: 1px solid rgba(255, 200, 60, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.notice.success {
  background: var(--success-soft);
  border-color: rgba(124, 255, 79, 0.3);
}
.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.notice p {
  margin: 0;
  font-size: 0.88rem;
  color: #dddddd;
}
.notice.success p {
  color: var(--success);
}

/* Gesperrte Hinweise */
.review-note {
  border: 1px dashed rgba(255, 200, 60, 0.4);
  background: rgba(255, 200, 60, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem;
  color: var(--warning);
  margin: 1rem 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translate(-50%, 130%);
  z-index: 200;
  background: #101010;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 13px;
  padding: 0.85rem 1.3rem;
  font-size: 0.9rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease);
  max-width: 92vw;
  text-align: center;
}
.toast.show {
  transform: translate(-50%, 0);
}
.toast.success {
  border-color: rgba(124, 255, 79, 0.4);
  color: var(--success);
}
.toast.error {
  border-color: rgba(255, 80, 60, 0.4);
  color: var(--danger);
}

/* Detail-Seiten Layout */
.detail-hero {
  padding: 8rem 0 3rem;
}
.detail-wrap {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .detail-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #101010;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}
.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  opacity: 0.6;
}
.gallery-thumbs button.active {
  border-color: var(--primary);
  opacity: 1;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.article {
  color: #d5d5d5;
  font-size: 0.95rem;
  line-height: 1.75;
}
.article h3 {
  color: var(--text);
  margin: 1.8rem 0 0.8rem;
  font-size: 1.1rem;
}
.article ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0;
}
.article li {
  margin-bottom: 0.35rem;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.section-title-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2.4rem 0 1.1rem;
}
.section-title-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Quellen */
.sources {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.source-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.source-link:hover {
  border-color: rgba(255, 106, 0, 0.5);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0b0b0b;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
.footer-brand p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 360px;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.footer-social a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--primary);
  border-color: rgba(255, 106, 0, 0.5);
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.8rem;
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  gap: 1.2rem;
}
.notfound-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: transparent;
  background: linear-gradient(180deg, var(--primary), rgba(255, 106, 0, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--mono);
}

/* Karten für Verknüpfungen */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
}
.link-card .thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #101010;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.link-card b {
  display: block;
  margin-bottom: 0.15rem;
}
.link-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Setuplink-Banner */
.setup-banner {
  border: 1px solid rgba(255, 106, 0, 0.4);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* Skeleton */
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #131313 25%, #1a1a1a 45%, #131313 65%);
  background-size: 200% 100%;
  animation: skel 1.4s ease infinite;
}
@keyframes skel {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Empty states */
.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty b {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Responsive Feinheiten */
@media (max-width: 640px) {
  .hero-cta .btn {
    width: 100%;
  }
  .props {
    grid-template-columns: 1fr;
  }
}

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

/* ============================================================
   Druck-Tracker (öffentliche Seite)
   ============================================================ */

.trk-root {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.trk-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  color: var(--muted);
  padding: 2.5rem 0;
}
.trk-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: trk-spin 0.8s linear infinite;
}
@keyframes trk-spin {
  to {
    transform: rotate(360deg);
  }
}
.trk-card {
  padding: 1.4rem;
}
.trk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.trk-head h2 {
  margin: 0.2rem 0 0;
}
.trk-order {
  color: var(--muted);
  font-size: 0.8rem;
}
.trk-order code {
  font-family: var(--mono);
  color: var(--text);
}
.trk-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.trk-progress-bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.trk-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #ffb066);
  transition: width 0.5s var(--ease);
}
.trk-progress-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  min-width: 3.2rem;
  text-align: right;
}
.trk-message {
  margin-top: 1.1rem;
}
.trk-message b {
  display: block;
  margin-bottom: 0.3rem;
}
.trk-h {
  margin: 0 0 0.9rem;
  font-size: 1rem;
}
.trk-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  position: relative;
}
.trk-step {
  position: relative;
  padding: 0 0 1.1rem 1.4rem;
}
.trk-step:last-child {
  padding-bottom: 0;
}
.trk-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: -2px;
  width: 2px;
  background: var(--border-strong);
}
.trk-step:last-child::before {
  display: none;
}
.trk-dot {
  position: absolute;
  left: -5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
}
.trk-step-label {
  color: var(--muted);
}
.trk-done .trk-dot {
  background: var(--success);
  border-color: var(--success);
}
.trk-done .trk-step-label {
  color: var(--text);
}
.trk-done::before {
  background: var(--success);
  opacity: 0.5;
}
.trk-current .trk-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.trk-current .trk-step-label {
  color: var(--text);
  font-weight: 600;
}
.trk-aborted .trk-dot {
  background: var(--danger);
  border-color: var(--danger);
}
.trk-aborted .trk-step-label {
  color: var(--danger);
}
.trk-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.trk-facts span {
  font-size: 0.9rem;
  color: var(--muted);
}
.trk-facts b {
  color: var(--text);
  font-weight: 600;
}
.trk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
}
.trk-shot {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.trk-shot img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease);
}
.trk-shot:hover img {
  transform: scale(1.04);
}
.trk-shot-label {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
}
.trk-meta {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.trk-error {
  text-align: center;
}
.trk-live-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 1rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 var(--success);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 255, 79, 0.5);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(124, 255, 79, 0);
  }
}
.trk-hero {
  padding-bottom: 1rem;
}

/* ============================================================
   DARK INDUSTRIAL MAKER UI (Frontend-Redesign)
   ============================================================ */

/* ---------- Sektionen & technisches Raster ---------- */
.section {
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, #0b0b0b, #0a0a0a);
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 45%, transparent 100%);
}

/* ---------- Technische Sektions-Header ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--primary);
}
.eyebrow::before {
  width: 14px;
  height: 1px;
  border-radius: 0;
  box-shadow: none;
}
.section-heading h2 {
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Layer-Trenner */
.layer-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (min-width: 640px) {
  .layer-divider {
    padding: 0 2rem;
  }
}
.layer-divider::before,
.layer-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 7px, transparent 7px 14px);
}

/* ---------- Buttons (industriell) ---------- */
.btn {
  border-radius: 9px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(180deg, #ff7c1f, var(--primary));
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 0 26px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Karten mit technischen Eckmarkierungen ---------- */
.card {
  position: relative;
}
.project-card,
.filament-card,
.printer-card,
.tiktok-card {
  --corner: rgba(255, 106, 0, 0.55);
}
.project-card::before,
.filament-card::before,
.printer-card::before,
.tiktok-card::before,
.project-card::after,
.filament-card::after,
.printer-card::after,
.tiktok-card::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.25s var(--ease);
}
.project-card::before,
.filament-card::before,
.printer-card::before,
.tiktok-card::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid var(--corner);
  border-left: 1px solid var(--corner);
}
.project-card::after,
.filament-card::after,
.printer-card::after,
.tiktok-card::after {
  bottom: 9px;
  right: 9px;
  border-bottom: 1px solid var(--corner);
  border-right: 1px solid var(--corner);
}
.project-card.card-hover:hover::before,
.project-card.card-hover:hover::after,
.filament-card.card-hover:hover::before,
.filament-card.card-hover:hover::after,
.printer-card.card-hover:hover::before,
.printer-card.card-hover:hover::after,
.tiktok-card.card-hover:hover::before,
.tiktok-card.card-hover:hover::after {
  opacity: 1;
}

/* Material-Profil: kleine Filamentspule */
.filament-style {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(255, 106, 0, 0.28);
}
.filament-style svg {
  width: 30px;
  height: 30px;
}

/* ---------- Empty States ---------- */
.empty {
  text-align: center;
  padding: 3.2rem 1.5rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  color: var(--primary);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 12px 12px,
    rgba(255, 106, 0, 0.05);
  border: 1px solid rgba(255, 106, 0, 0.22);
}
.empty-figure svg {
  width: 46px;
  height: 46px;
}
.empty-code {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.7rem;
}
.empty b {
  font-size: 1.02rem;
}
.empty p {
  max-width: 460px;
  margin: 0 auto;
  font-size: 0.9rem;
}

/* ---------- Produktionsprozess (So funktioniert's) ---------- */
.steps {
  position: relative;
}
.step-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.step-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 106, 0, 0.15));
  display: none;
}
@media (min-width: 900px) {
  .step-card:not(:last-child)::after {
    display: block;
  }
}
.step-num {
  border-radius: 9px;
  font-size: 0.92rem;
}
.step-card h3 {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  font-size: 0.92rem;
}

/* ---------- Footer (technisch) ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.site-footer::before {
  content: "3DDOME  ·  FDM  ·  MAKER  ·  MATERIALS";
  display: block;
  padding: 1.5rem 1rem 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.36em;
  color: var(--faint);
}

/* ============================================================
   HERO – FDM-Szene
   ============================================================ */

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 78% 38%, rgba(255, 106, 0, 0.075), transparent 62%);
}
.hero.grid-bg {
  mask-image: none;
  -webkit-mask-image: none;
}
.hero-inner {
  gap: 2.5rem;
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a0a0a0;
  margin-bottom: 1rem;
}
.hero-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--primary);
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 1.15rem;
  font-size: 1.06rem;
  max-width: 520px;
  color: #b3b3b3;
  line-height: 1.62;
}
.hero-cta {
  margin-top: 1.8rem;
}
.hero-cta .btn {
  padding: 0.8rem 1.5rem;
}
.hero-cta .btn-primary {
  background: linear-gradient(180deg, #ff8a33, #ff6a00);
  color: #100d0a;
  border-color: rgba(255, 158, 84, 0.55);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.hero-cta .btn-primary:hover {
  background: linear-gradient(180deg, #ff9c4d, #ff7810);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.hero-cta .btn-primary:focus-visible {
  outline: 2px solid #ffe0c2;
  outline-offset: 3px;
}
.hero-cta .btn-secondary {
  background: #171717;
  border-color: #5f5f5f;
  color: #f5f5f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-cta .btn-secondary:hover {
  background: #202020;
  border-color: rgba(255, 106, 0, 0.6);
  color: #ffffff;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.44rem 0.78rem;
  border-radius: 7px;
  border: 1px solid #3a3a3a;
  background: #171717;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c2c2c2;
  white-space: nowrap;
}
.status-chip b {
  color: var(--text);
  font-weight: 600;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(124, 255, 79, 0.7);
  flex-shrink: 0;
}
.status-chip--live {
  color: #a6ff8a;
  border-color: rgba(124, 255, 79, 0.5);
  background: rgba(124, 255, 79, 0.14);
  font-weight: 600;
}
.status-chip--soft {
  color: #9a9a9a;
  border-color: #2f2f2f;
  background: #121212;
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 2.3rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--border-strong);
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.hero-stats .stat span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #909090;
}

/* --- Szene --- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.scene {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 440 / 500;
}
.scene-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.scene-shell-top { fill: url(#shellTop); stroke: rgba(255,255,255,0.10); stroke-width: 1 }
.scene-shell-side { fill: url(#shellSide); stroke: rgba(255,255,255,0.08); stroke-width: 1 }
.scene-shell-body { fill: url(#shellBody); stroke: rgba(255,255,255,0.10); stroke-width: 1 }
.scene-shell-lid { fill: url(#shellTop); stroke: rgba(255,255,255,0.08); stroke-width: 1 }
.scene-shell-seam { stroke: rgba(255,255,255,0.06); stroke-width: 1 }
.scene-top-glass { fill: #0d0d0d; stroke: rgba(255,255,255,0.10); stroke-width: 1 }
.scene-foot { fill: #101010; stroke: rgba(255,255,255,0.08); stroke-width: 1 }
.scene-chamber-wall { fill: url(#chamberWall); stroke: rgba(255,255,255,0.06); stroke-width: 1 }
.scene-chamber-inner { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.05); stroke-width: 1 }
.scene-rail { stroke: rgba(255,255,255,0.12); stroke-width: 2 }
.scene-screw-v { stroke: rgba(255,255,255,0.10); stroke-width: 1; stroke-dasharray: 2 4 }
.scene-led { fill: rgba(255,150,80,0.55); filter: drop-shadow(0 0 4px rgba(255,150,80,0.5)) }
.scene-glass-pane { fill: rgba(205,215,228,0.035); stroke: none }
.scene-glass-refl { fill: url(#glassRefl); opacity: 0.5 }
.scene-glass-refl2 { fill: url(#glassRefl); opacity: 0.28 }
.scene-door-frame { fill: none; stroke: rgba(255,255,255,0.13); stroke-width: 1.2 }
.scene-door-handle { fill: #2b2b2b; stroke: rgba(255,255,255,0.14); stroke-width: 1 }
.scene-led-dot { fill: #ff6a00; opacity: 0.9; filter: drop-shadow(0 0 3px rgba(255,106,0,0.7)) }
.scene-door-hinge { stroke: rgba(255,255,255,0.10); stroke-width: 2 }
.scene-bed {
  fill: #101010;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}
.scene-bed-lip {
  fill: #171717;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}
.scene-bed-grid {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}
.scene-bed-axis {
  stroke: rgba(255, 106, 0, 0.5);
  stroke-width: 1.2;
}
.scene-axis-label {
  font-family: var(--mono);
  font-size: 11px;
  fill: rgba(255, 106, 0, 0.75);
}
.scene-knob {
  fill: #1b1b1b;
  stroke: #333;
}
.travern-face {
  fill: url(#travernBody);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}
.travern-rim {
  fill: #131313;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}
.travern-depth use {
  fill: #262626;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}
.travern-top {
  fill: #2a2a2a;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}
.scene-contact-shadow {
  pointer-events: none;
}
.travern-layers {
  fill: url(#travernLayers);
}
.travern-inscription,
.travern-logo {
  animation: travernInscribe 7s linear infinite;
}
.travern-arc {
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  fill: #d9d9d9;
  text-anchor: middle;
}
.travern-plate {
  font-family: var(--font);
  font-size: 6.2px;
  font-weight: 700;
  letter-spacing: 1.2px;
  fill: #d9d9d9;
}
.travern-red {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 5px;
  fill: #e51b23;
}
.travern-season {
  font-family: var(--font);
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  fill: #e51b23;
}
.travern-emboss {
  fill: #000000;
  opacity: 0.5;
}
.travern-logo-shadow {
  filter: brightness(0);
  opacity: 0.55;
}
.scene-beam {
  fill: #2a2a2a;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
}
.scene-block {
  fill: #1c1c1c;
  stroke: rgba(255,255,255,0.16);
  stroke-width: 1;
}
.scene-vent {
  fill: rgba(255,255,255,0.04);
  stroke: rgba(255,255,255,0.10);
  stroke-width: 1;
}
.scene-fin {
  stroke: #3d3d3d;
  stroke-width: 1.4;
}
.scene-nozzle {
  fill: #3a3a3a;
  stroke: #4a4a4a;
  stroke-width: 1;
}
.scene-tip {
  fill: #eee8df;
}
.scene-glow {
  fill: url(#nozzleGlow);
  transform-box: fill-box;
  transform-origin: center;
  animation: sceneGlow 1.9s ease-in-out infinite;
}
.scene-scan {
  fill: #edf1f5;
  filter: drop-shadow(0 0 5px rgba(226, 236, 245, 0.5));
  transform-box: view-box;
  transform-origin: 220px 404px;
  animation: sceneScanW 7s var(--ease) infinite;
}
.scene-filament {
  fill: none;
  stroke: rgba(224, 231, 238, 0.32);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 5;
  animation: sceneFeed 1.6s linear infinite;
}
.scene-spool {
  fill: #1a1a1a;
  stroke: rgba(224, 231, 238, 0.45);
  stroke-width: 1.5;
}
.scene-spool-core {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(224, 231, 238, 0.45);
  stroke-width: 1;
}

.scene-mask-fill {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sceneMask 7s var(--ease) infinite;
}
.scene-object {
  animation: sceneObjectFade 7s linear infinite;
}
.scene-gantry {
  animation: sceneRise 7s var(--ease) infinite;
}
.scene-head-x {
  animation: sceneX 7s linear infinite;
}
.scene-scan-g {
  animation: sceneScan 7s var(--ease) infinite;
}

@keyframes sceneMask {
  0%,
  6% {
    transform: scaleY(0);
  }
  78%,
  90% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
  }
}
@keyframes sceneObjectFade {
  0%,
  90% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}
@keyframes sceneRise {
  0%,
  6% {
    transform: translateY(211px);
  }
  78%,
  90% {
    transform: translateY(40px);
  }
  100% {
    transform: translateY(211px);
  }
}
@keyframes sceneX {
  0% {
    transform: translateX(0);
  }
  6% {
    transform: translateX(-64px);
  }
  12% {
    transform: translateX(58px);
  }
  18% {
    transform: translateX(-52px);
  }
  24% {
    transform: translateX(46px);
  }
  30% {
    transform: translateX(-40px);
  }
  36% {
    transform: translateX(34px);
  }
  42% {
    transform: translateX(-28px);
  }
  48% {
    transform: translateX(22px);
  }
  54% {
    transform: translateX(-16px);
  }
  60% {
    transform: translateX(11px);
  }
  66% {
    transform: translateX(-6px);
  }
  72% {
    transform: translateX(3px);
  }
  78%,
  100% {
    transform: translateX(0);
  }
}
@keyframes sceneScan {
  0%,
  6% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  78%,
  90% {
    transform: translateY(-167px);
    opacity: 1;
  }
  96%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}
@keyframes sceneScanW {
  0%,
  6% {
    transform: scaleX(1);
  }
  78%,
  90% {
    transform: scaleX(0.03);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes sceneGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
@keyframes sceneFeed {
  to {
    stroke-dashoffset: -22;
  }
}
@keyframes travernInscribe {
  0%,
  30% {
    opacity: 0;
  }
  46%,
  92% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0;
  }
}
/* --- HUD über der Szene --- */
.scene-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--primary);
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 6px;
  padding: 0.24rem 0.5rem;
}
.scene-hud {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.63rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #949494;
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.scene-hud b {
  color: var(--text);
  font-weight: 600;
}
.scene-hud--gcode {
  top: 4%;
  right: -3%;
  display: flex;
  flex-direction: column;
}
.scene-hud--gcode code {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #ababab;
  white-space: nowrap;
}
.scene-hud--specs {
  left: -4%;
  bottom: 1%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.9rem;
}
.scene-hud--specs span {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  white-space: nowrap;
}
.scene-hud--specs span b {
  text-align: right;
}

.scene-status {
  width: min(100%, 430px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: #ababab;
}
.scene-status .scene-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.scene-status .scene-bar i {
  display: block;
  height: 100%;
  width: 68%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #ffb066);
}
.scene-status .scene-demo {
  color: #8a8a8a;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

@media (max-width: 720px) {
  .hero-visual {
    margin-top: 0.5rem;
  }
  .scene-hud--gcode {
    display: none;
  }
  .scene-hud--specs {
    left: 0;
    bottom: 5%;
    font-size: 0.58rem;
  }
  .scene-tag {
    font-size: 0.54rem;
  }
  .scene-door-hinge,
  .scene-screw-v,
  .scene-glass-refl2 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-mask-fill {
    transform: scaleY(1);
    animation: none;
  }
  .scene-object {
    opacity: 1;
    animation: none;
  }
  .scene-gantry {
    transform: translateY(40px);
    animation: none;
  }
  .scene-head-x {
    transform: none;
    animation: none;
  }
  .scene-scan-g {
    transform: translateY(-167px);
    opacity: 1;
    animation: none;
  }
  .scene-scan {
    transform: scaleX(0.03);
    animation: none;
  }
  .scene-glow,
  .scene-filament {
    animation: none;
  }
  .travern-inscription,
  .travern-logo {
    opacity: 1;
    animation: none;
  }
}

/* ---------- Feinschliff Inhalte ---------- */
.foot-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge svg {
  flex-shrink: 0;
}
.filament-style {
  width: 46px;
  height: 46px;
}
.filament-style svg {
  width: 26px;
  height: 26px;
}
.link-card .thumb {
  color: var(--primary);
}
.search-icon svg {
  display: block;
}

/* ---------- Werkstatt-Vorschau (Startseite, kompakt) ---------- */
.section-tight {
  padding: 3rem 0;
}
@media (min-width: 900px) {
  .section-tight {
    padding: 3.75rem 0;
  }
}

.printer-preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .printer-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .printer-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.printer-preview-grid[data-count="1"] {
  max-width: 460px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.printer-preview-grid[data-count="2"] {
  max-width: 700px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .printer-preview-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.printer-mini {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.printer-mini-media {
  height: 84px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 106, 0, 0.09), transparent 60%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--primary);
}
.printer-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.printer-mini-icon svg {
  width: 32px;
  height: 32px;
}
.printer-mini-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.printer-mini-body h3 {
  font-size: 1rem;
  line-height: 1.25;
}
.printer-mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem;
}
.printer-mini-specs .spec {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}
.printer-mini-specs .spec svg {
  color: var(--primary);
  opacity: 0.85;
  flex-shrink: 0;
}
.printer-mini-specs .spec b {
  color: var(--text);
  font-weight: 600;
}
.printer-mini-materials,
.printer-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.printer-mini-note {
  font-size: 0.79rem;
  color: var(--muted);
  border-left: 2px solid rgba(255, 106, 0, 0.45);
  padding-left: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.printer-chip {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  padding: 0.14rem 0.42rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  white-space: nowrap;
}
.printer-chip--more {
  color: var(--primary);
  border-color: rgba(255, 106, 0, 0.35);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  margin-top: 1.75rem;
}
.preview-actions .link-more {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 1px;
}
.preview-actions .link-more:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Detailseite: Bild & Untertitel */
.printer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.printer-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Projekt des Monats (öffentlich) ---------- */
.badge-potm {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(255, 106, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-potm svg {
  flex: none;
}

.potm-hero {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 106, 0, 0.1), transparent 55%),
    var(--card);
  box-shadow: 0 24px 60px -42px var(--primary-glow);
}
@media (min-width: 860px) {
  .potm-hero {
    grid-template-columns: 1.15fr 1fr;
  }
}
.potm-hero-media {
  position: relative;
  min-height: 240px;
  background: var(--surface);
  overflow: hidden;
}
.potm-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.potm-hero:hover .potm-hero-media img {
  transform: scale(1.03);
}
.potm-hero-media .placeholder {
  height: 100%;
  min-height: 240px;
}
.potm-hero-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff8a3d);
  box-shadow: 0 8px 24px -12px var(--primary-glow);
}
.potm-hero-body {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
@media (min-width: 860px) {
  .potm-hero-body {
    padding: 2.2rem 2rem;
    justify-content: center;
  }
}
.potm-hero-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.potm-hero-body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}
.potm-hero-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.potm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0 0.4rem;
}
.potm-hero-body .btn {
  margin-top: 0.3rem;
}

.potm-archive-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .potm-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .potm-archive-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.potm-archive-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.potm-archive-thumb {
  height: 170px;
  overflow: hidden;
  background: var(--surface);
}
.potm-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.potm-archive-item:hover .potm-archive-thumb img {
  transform: scale(1.04);
}
.potm-archive-body {
  padding: 1rem 1.1rem 1.2rem;
}
.potm-archive-month {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.potm-archive-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.potm-archive-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}