/* ==========================================================================
   LOCAL FONTS (GDPR-COMPLIANT & OFFLINE-READY)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/outfit-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   DESIGN SYSTEM & BASIC STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: hsl(210, 24%, 9%);
  --bg-card-dark: hsl(212, 25%, 14%);
  --bg-light: hsl(210, 20%, 98%);
  --bg-card-light: hsl(0, 0%, 100%);
  --border-light: hsl(210, 14%, 90%);
  --text-dark: hsl(210, 24%, 15%);
  --text-light: hsl(210, 20%, 98%);
  --text-muted: hsl(208, 12%, 50%);

  /* Primary Brand Color (Warm Wood Orange) */
  --primary: hsl(28, 85%, 55%);
  --primary-hover: hsl(28, 90%, 48%);
  --primary-glow: hsla(28, 85%, 55%, 0.35);

  /* Secondary Brand Color (Steel Blue) */
  --secondary: hsl(205, 75%, 45%);
  --secondary-hover: hsl(205, 80%, 38%);
  --secondary-glow: hsla(205, 75%, 45%, 0.25);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacings & Layout */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-card-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

p.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: hsl(210, 10%, 80%);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
  box-shadow: 0 4px 14px var(--secondary-glow);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--secondary-glow);
}

.btn-secondary-light {
  background-color: hsla(0, 0%, 100%, 0.15);
  color: var(--text-light);
  border: 1px solid hsla(0, 0%, 100%, 0.25);
}

.btn-secondary-light:hover {
  background-color: hsla(0, 0%, 100%, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
}

.btn-outline:hover {
  background-color: rgba(9, 15, 23, 0.03);
  border-color: var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Outline button for dark backgrounds (e.g. hero) - .btn-outline uses dark
   text/border which becomes near-invisible on hover over a dark backdrop. */
.btn-outline-light {
  background-color: transparent;
  border: 1.5px solid hsla(0, 0%, 100%, 0.4);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: hsla(0, 0%, 100%, 0.12);
  border-color: hsla(0, 0%, 100%, 0.8);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 15, 23, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url('images/favicon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand:hover::before {
  transform: scale(1.1) rotate(-8deg);
}

.brand-wood {
  color: var(--text-light);
  margin-left: 10px;
}

.brand-works {
  color: var(--primary);
}

.brand-tld {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.1rem;
  margin-left: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  position: relative;
  color: hsl(210, 10%, 80%);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Micro-Interaction: Unterstrich gleitet von links ein */
.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.nav-menu a.nav-highlight {
  color: var(--primary);
  font-weight: 600;
}

.nav-menu a.nav-highlight:hover {
  text-shadow: 0 0 10px var(--primary-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Language Switcher Dropdown */
.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: none;
  color: hsl(210, 10%, 80%) !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-light) !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.lang-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  min-width: 70px;
  box-shadow: var(--shadow-md);
  z-index: 200;
  overflow: hidden;
}

.lang-dropdown a {
  display: block;
  padding: 8px 15px;
  color: hsl(210, 10%, 80%) !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.lang-dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light) !important;
}

.lang-switch:hover .lang-dropdown {
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, hsl(210, 24%, 9%) 0%, hsl(210, 24%, 6%) 100%);
  color: var(--text-light);
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtile, langsam driftende Licht-Aura im Hero (Ambient Motion) */
.hero::before {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(600px circle at 22% 28%, var(--primary-glow), transparent 62%),
    radial-gradient(720px circle at 78% 72%, var(--secondary-glow), transparent 62%);
  opacity: 0.22;
  pointer-events: none;
  animation: heroGlow 16s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45; /* Subtle opacity so text is highly readable */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 3rem;
}

.hero-meta-points {
  display: flex;
  gap: 30px;
}

.meta-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: hsl(210, 10%, 75%);
}

.meta-point svg {
  color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value-container {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Hero Media Tab Switching & Simulator */
.hero-media-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .hero-media-tabs {
    justify-content: center;
  }
}

.media-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.media-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.media-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.simulator-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-card-dark);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

#simulatorCanvas {
  background-color: #0b0f19;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 100%;
  height: auto;
  display: block;
}

.simulator-controls {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.simulator-stats {
  display: flex;
  gap: 30px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.simulator-stats strong {
  color: var(--primary);
}

/* ==========================================================================
   LAYOUT SECTIONS & CARDS
   ========================================================================== */

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  max-width: 600px;
  margin: 0 auto 60px;
}

.pre-title {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-sec {
  padding: 80px 0;
  background:
    radial-gradient(circle at 20% 15%, hsla(28, 85%, 55%, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 80% 85%, hsla(28, 85%, 55%, 0.22) 0%, transparent 55%),
    hsl(0, 0%, 100%);
}

.testimonials-grid {
  align-items: stretch;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: hsla(0, 0%, 100%, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: hsla(28, 85%, 55%, 0.3);
}

.testimonial-quote-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--primary);
  opacity: 0.12;
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.65;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: hsl(0, 0%, 100%);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px hsla(28, 85%, 45%, 0.3);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author-info strong {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author-info span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 767px) {
  .testimonials-sec {
    padding: 60px 0;
  }
  .testimonial-card {
    padding: 30px 26px 26px;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

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

.card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.icon-orange { background-color: hsla(28, 85%, 55%, 0.12); color: var(--primary); }
.icon-blue { background-color: hsla(205, 75%, 45%, 0.12); color: var(--secondary); }
.icon-green { background-color: hsla(145, 65%, 42%, 0.12); color: hsl(145, 65%, 35%); }
.icon-purple { background-color: hsla(270, 60%, 50%, 0.12); color: hsl(270, 60%, 45%); }
.icon-teal { background-color: hsla(180, 70%, 40%, 0.12); color: hsl(180, 70%, 35%); }

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   MATERIALS
   ========================================================================== */

.materials-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
  flex: 0 0 auto;
  width: 64%;
  min-width: 0;
  cursor: pointer;
  opacity: 0.4;
  transform: scale(0.86);
  filter: grayscale(45%) brightness(0.75);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  cursor: default;
  z-index: 2;
}

.material-item {
  position: relative;
  overflow: hidden;
  height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.material-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 6s ease;
}

.carousel-slide.active .material-img {
  transform: scale(1.06);
}

.material-content {
  position: relative;
  z-index: 1;
  background: linear-gradient(0deg, rgba(9, 15, 23, 0.85) 0%, rgba(9, 15, 23, 0.55) 60%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 50px 40px 36px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active .material-content {
  opacity: 1;
}

.material-item h4 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.material-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50px;
  background-color: hsl(210, 14%, 82%);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot:hover {
  background-color: var(--primary);
}

.carousel-dot.active {
  width: 28px;
  background-color: var(--primary);
}

@media (max-width: 767px) {
  .materials-carousel {
    gap: 10px;
  }
  .carousel-track {
    gap: 12px;
  }
  .carousel-slide {
    width: 84%;
  }
  .material-item {
    height: 380px;
  }
  .material-content {
    padding: 30px 22px 24px;
  }
  .material-item h4 {
    font-size: 1.35rem;
  }
  .material-item p {
    font-size: 0.9rem;
  }
  .carousel-arrow {
    width: 42px;
    height: 42px;
  }
  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   SUCCESSOR SECTION (Strategischer Hebel)
   ========================================================================== */

/* Projektzukunft / Partnerschaft – bewusst zurückhaltend gestaltet.
   Der Block soll auffindbar, aber nicht aufmerksamkeitsstark sein: kein
   Gradient-Panel, keine Buttons, kleinere Typo, schmale zentrierte Spalte.
   Grund: eine prominente Nachfolgersuche verunsichert Kaufinteressenten. */
.successor-sec {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.successor-box {
  display: block;
}

.successor-box-quiet {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.successor-box-quiet .successor-content h2 {
  color: var(--text-dark, inherit);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.successor-box-quiet .successor-content p {
  color: var(--text-muted, hsl(210, 8%, 45%));
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.successor-note {
  font-size: 0.9rem;
}

.successor-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.badge-accent {
  display: inline-block;
  background-color: hsla(28, 85%, 55%, 0.15);
  border: 1px solid hsla(28, 85%, 55%, 0.4);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing-grid {
  align-items: stretch;
  /* Seit dem Entfall der portablen USB-Version stehen hier zwei Karten.
     Ohne Begrenzung zoege der auto-fit-Grid sie auf halbe Bildschirmbreite
     auseinander; 840px halten die Proportionen der urspruenglichen Dreierreihe. */
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card-light);
  border-radius: var(--radius-md);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  position: relative;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-head {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.pricing-head h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-head p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 35px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.pricing-features li::before {
  content: '✓';
  color: hsl(145, 65%, 42%);
  font-weight: 800;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.55;
  text-decoration: line-through;
}

.pricing-features li.disabled::before {
  content: '✕';
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(205, 75, 45, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: rgba(205, 75, 45, 0.02);
}

.faq-answer p {
  padding: 0 25px 20px;
  margin: 0;
  font-size: 0.95rem;
  color: hsl(210, 15%, 30%);
  line-height: 1.6;
}

/* Active FAQ Item state */
.faq-item.active {
  border-color: var(--secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

/* ==========================================================================
   PAYMENT MODAL
   ========================================================================== */

.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 15, 23, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.payment-modal.active {
  display: flex;
}

.payment-modal-content {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.payment-modal-close:hover {
  color: var(--text-dark);
}

.payment-modal h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.payment-modal-desc {
  font-size: 0.95rem;
  color: hsl(210, 15%, 35%);
  margin-bottom: 25px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.paypal-btn {
  background-color: #0079c1;
  color: #ffffff;
}

.paypal-btn:hover {
  background-color: #008be0;
  box-shadow: 0 0 15px rgba(0, 121, 193, 0.4);
}

.payment-modal-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   DOWNLOAD & DEMO
   ========================================================================== */

.download-sec {
  background: linear-gradient(rgba(9, 15, 23, 0.9), rgba(9, 15, 23, 0.9)), url('images/woodworks_hero.png');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.download-box {
  max-width: 700px;
  margin: 0 auto;
}

.download-box h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.download-box p {
  color: hsl(210, 10%, 80%);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.download-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.details-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.details-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.details-item h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.details-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-form-card {
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-card-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: hsl(210, 24%, 6%);
  color: hsl(210, 10%, 75%);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  color: hsl(210, 10%, 70%);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  color: var(--text-light);
}

.footer-social-link svg {
  flex-shrink: 0;
}

.footer-links h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  color: hsl(210, 10%, 70%);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-links a.footer-highlight {
  color: var(--primary);
  font-weight: 600;
}

.footer-links a.footer-highlight:hover {
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Widerrufsbutton: gesetzlich muss der Widerruf leicht auffindbar und von
   jeder Seite aus erreichbar sein. Daher im Footer (= auf allen Seiten)
   bewusst als deutlich sichtbarer Button statt als normaler Textlink. */
.footer-links a.footer-withdraw {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.6rem 1rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm, 8px);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-links a.footer-withdraw::before {
  content: "↩";
  font-size: 1.05em;
  line-height: 1;
}

.footer-links a.footer-withdraw:hover,
.footer-links a.footer-withdraw:focus-visible {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .footer-links a.footer-withdraw:hover,
  .footer-links a.footer-withdraw:focus-visible {
    transform: none;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE BREAKPOINTS)
   ========================================================================== */

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    transform: none;
  }

  .hero-image:hover {
    transform: none;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(9, 15, 23, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 100px 40px 40px;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 105;
  }

  .nav-menu.active {
    right: 0;
  }

  .section {
    padding: 60px 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 2.5rem;
  }

  .footer-grid {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }
}

/* ==========================================================================
   MOTION & ANIMATIONS
   Dezente Bewegung als Teil der Premium-Anmutung:
   1. Hero-Entrance (gestaffeltes Aufsteigen beim Laden, rein CSS)
   2. Scroll-Reveal (Klassen werden von js/main.js per IntersectionObserver
      gesetzt - ohne JS bleibt alles sichtbar)
   3. prefers-reduced-motion deaktiviert saemtliche Bewegung
   ========================================================================== */

/* --- 1. Hero-Entrance --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > *,
  .hero-image-wrapper {
    opacity: 0;
    animation: riseIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.35s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.45s; }
  .hero-content > *:nth-child(6) { animation-delay: 0.55s; }
  .hero-image-wrapper { animation-delay: 0.4s; animation-duration: 0.9s; }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 2. Scroll-Reveal (gesetzt durch js/main.js) --- */
.fade-in-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. Barrierefreiheit: Bewegung reduzieren --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero::before {
    animation: none;
  }

  .fade-in-hidden {
    opacity: 1;
    transform: none;
  }
}

/* --- 4. Software Box Verpackungsdesign (Holzthematik) --- */
.software-box-container {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  margin-top: 10px;
  position: relative;
}
.software-box-container::after {
  content: "";
  position: absolute;
  bottom: 14px;
  width: 72px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(9, 15, 23, 0.3) 0%, transparent 75%);
  filter: blur(1.5px);
  z-index: 0;
}
.software-box {
  width: 104px;
  height: 132px;
  border-radius: 5px 8px 8px 5px;
  position: relative;
  /* Premium Wood Cut Optimization Layout SVG and Shading Gradient */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 100%),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTMwIiB2aWV3Qm94PSIwIDAgMTAwIDEzMCI+CiAgPHBhdGggZD0iTS0xMCwxMCBRMzAsNSA1MCwyNSBUMTEwLDE1IE0tMTAsMzUgUTIwLDMwIDYwLDUwIFQxMTAsNDAgTS0xMCw2MCBRNDAsNTUgNTAsNzUgVDExMCw2NSBNLTEwLDg1IFEzMCw4MCA3MCwxMDAgVDExMCw5MCBNLTEwLDExMCBRNDAsMTA1IDUwLDEyNSBUMTEwLDExNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9IjAuMDYiLz4KICA8cGF0aCBkPSJNLTEwL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IGZvbnQtZmFtaWx5PSJtb25vc3BhY2UiIG9wYWNpdHk9IjAuMiI+W1JFTU5BTlRdPC90ZXh0Pgo8L3N2Zz4="),
    linear-gradient(145deg, var(--wood-start) 0%, var(--wood-mid) 60%, var(--wood-end) 100%);
  border: 1px solid var(--wood-border);
  box-shadow: -10px 14px 20px rgba(9, 15, 23, 0.25),
              inset 1px 1px 0 rgba(255, 255, 255, 0.15),
              inset -3px 0 5px rgba(9, 15, 23, 0.12);
  transform: perspective(600px) rotateY(-18deg) rotateX(8deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 11px;
  color: var(--wood-text);
  font-family: var(--font-heading);
  overflow: hidden;
  z-index: 1;
}
.software-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.2) 48%, transparent 62%);
  pointer-events: none;
}
.product-card:hover .software-box,
.pricing-card:hover .software-box {
  transform: perspective(600px) rotateY(-24deg) rotateX(10deg) translateY(-8px);
  box-shadow: -15px 22px 28px rgba(9, 15, 23, 0.32),
              inset 1px 1px 0 rgba(255, 255, 255, 0.2),
              inset -3px 0 5px rgba(9, 15, 23, 0.12);
}
.software-box-spine {
  position: absolute;
  width: 15px;
  height: 100%;
  top: 0;
  left: -15px;
  transform-origin: right center;
  transform: rotateY(-90deg);
  border-radius: 5px 0 0 5px;
  background-image: 
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTMwIiB2aWV3Qm94PSIwIDAgMTAwIDEzMCI+CiAgPHBhdGggZD0iTS0xMCwxMCBRMzAsNSA1MCwyNSBUMTEwLDE1IE0tMTAsMzUgUTIwLDMwIDYwLDUwIFQxMTAsNDAgTS0xM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tb25vc3BhY2UiIG9wYWNpdHk9IjAuMjUiPjgwMHg0MDA8L3RleHQ+CiAgPHRleHQgeD0iNjkiIHk9IjgiIGZvbnQtc2l6ZT0iMy41IiBmb250LWZhbWlseT0ibW9ub3NwYWNlIiBvcGFjaXR5PSIwLjI1Ij4zNTB4NjUwPC90ZXh0PgogIDx0ZXh0IHg9IjY5IiB5PSI3MyIgZm9udC1zaXplPSIzLjIiIGZvbnQtZmFtaWx5PSJtb25vc3BhY2UiIG9wYWNpdHk9IjAuMiI+W1JFTU5BTlRdPC90ZXh0Pgo8L3N2Zz4="),
    linear-gradient(180deg, var(--wood-start) 0%, var(--wood-end) 100%);
}
.box-logo {
  font-size: 0.76rem;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  z-index: 1;
}
.box-logo::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wood-text);
  opacity: 0.8;
  flex-shrink: 0;
}
.box-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 6px 0 5px 0;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.box-brand-wood {
  font-weight: 400;
  opacity: 0.85;
}
.box-brand-works {
  font-weight: 800;
}
.box-logo, .box-title, .box-footer {
  text-shadow: -0.5px -0.5px 0px rgba(0, 0, 0, 0.3), 0.5px 0.5px 0px var(--wood-text-shadow);
}
.box-capacity {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.box-capacity span {
  width: 9px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0.5px 0.5px 1px rgba(0, 0, 0, 0.3), 0.5px 0.5px 0px var(--wood-text-shadow);
}
.box-capacity span.filled {
  background: var(--wood-text);
  box-shadow: -0.5px -0.5px 0px rgba(0, 0, 0, 0.2), 0.5px 0.5px 0px var(--wood-text-shadow);
}
.box-footer {
  font-size: 0.6rem;
  opacity: 0.85;
  text-align: right;
  position: relative;
  z-index: 1;
}

/* Wood Species Configurations */

/* 1. DIY: Pine Wood (Kiefer/Fichte) */
.software-box {
  --wood-start: #fbf0dc;
  --wood-mid: #ebdcb9;
  --wood-end: #d0be9a;
  --wood-text: #533e24;
  --wood-text-shadow: rgba(255, 255, 255, 0.7);
  --wood-border: rgba(83, 62, 36, 0.25);
}

/* 2. PRO 3k: Oak Wood (Eiche) */
.software-box.commercial {
  --wood-start: #dfb88e;
  --wood-mid: #c59768;
  --wood-end: #a4784a;
  --wood-text: #412812;
  --wood-text-shadow: rgba(255, 255, 255, 0.45);
  --wood-border: rgba(65, 40, 18, 0.25);
}

/* 3. PRO 6k: Cherry Wood (Kirschbaum) */
.software-box.tier-2 {
  --wood-start: #d37c59;
  --wood-mid: #b45a38;
  --wood-end: #913c1d;
  --wood-text: #371508;
  --wood-text-shadow: rgba(255, 255, 255, 0.35);
  --wood-border: rgba(55, 21, 8, 0.3);
}

/* 4. PRO 10k: Mahogany Wood (Mahagoni) */
.software-box.tier-3 {
  --wood-start: #a74837;
  --wood-mid: #873121;
  --wood-end: #631c11;
  --wood-text: #2c0804;
  --wood-text-shadow: rgba(255, 255, 255, 0.25);
  --wood-border: rgba(44, 8, 4, 0.35);
}

/* 5. PRO 20k: Walnut Wood (Nussbaum) */
.software-box.tier-4 {
  --wood-start: #785d4f;
  --wood-mid: #5b4236;
  --wood-end: #3f2a20;
  --wood-text: #21110c;
  --wood-text-shadow: rgba(255, 255, 255, 0.2);
  --wood-border: rgba(33, 17, 12, 0.4);
}

/* 6. PRO Unlimited: Ebony & Gold (Ebenholz & Gold) */
.software-box.tier-unlimited {
  --wood-start: #2c2c2c;
  --wood-mid: #181818;
  --wood-end: #090909;
  --wood-text: #fbbf24;
  --wood-text-shadow: rgba(0, 0, 0, 0.95);
  --wood-border: rgba(251, 191, 36, 0.4);
  box-shadow: -10px 14px 20px rgba(9, 15, 23, 0.35),
              inset 1px 1px 0 rgba(255, 255, 255, 0.1),
              inset -3px 0 5px rgba(9, 15, 23, 0.2),
              0 0 20px rgba(251, 191, 36, 0.35) !important;
}
.software-box.tier-unlimited .box-logo::before {
  background: #fbbf24;
}
.software-box.tier-unlimited .box-capacity span.filled {
  background: #fbbf24;
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.8), -0.5px -0.5px 0px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HINWEIS AUF EIN EINGESTELLTES PRODUKT
   Ersetzt die Preiskarte der portablen USB-Stick-Version ("WoodWorks to go").
   Bewusst ruhig gehalten: der Text traegt, nicht die Optik.
   ========================================================================== */
.discontinued-note {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 30px 34px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--text-muted);
  border-radius: var(--radius-md);
  background-color: var(--bg-card-light);
  box-shadow: 0 2px 10px rgba(9, 15, 23, 0.04);
}
.discontinued-note h3 {
  margin: 0 0 14px 0;
  font-size: 1.15rem;
  color: var(--text-dark);
}
.discontinued-note p {
  margin: 0 0 12px 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.discontinued-note p:last-child {
  margin-bottom: 0;
}
.discontinued-note .discontinued-note-tail {
  color: var(--text-dark);
  font-weight: 500;
}

.discontinued-inline {
  display: block;
  margin: 34px 0 0;
  padding: 18px 22px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.discontinued-inline strong {
  color: var(--text-dark);
}
.discontinued-inline a {
  white-space: nowrap;
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .discontinued-note {
    padding: 22px 20px;
  }
  .discontinued-inline a {
    white-space: normal;
  }
}

/* ==========================================================================
   RUECKFALLANZEIGE DER KASSE
   Erscheint, wenn die Bestelldaten nach einer bereits eingezogenen Zahlung
   nicht an /scripts/form.php uebermittelt werden konnten. Bewusst ruhig und
   nicht rot: Der Kunde hat nichts falsch gemacht, seine Zahlung ist gueltig.
   ========================================================================== */
.order-fallback {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  background-color: var(--bg-card-light);
  box-shadow: 0 4px 16px rgba(9, 15, 23, 0.08);
}
.order-fallback h3 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-dark);
}
.order-fallback p {
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.order-fallback a {
  color: var(--primary);
  text-decoration: underline;
}
.order-fallback .order-fallback-text {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm, 6px);
  background-color: #fff;
  color: var(--text-dark);
  resize: vertical;
}
.order-fallback .order-fallback-note {
  margin: 10px 0 0 0;
  font-size: 0.82rem;
}

/* ==========================================================================
   PROTECTED EMAIL ADDRESSES
   Visible text comes from CSS generated content (attr()), which browsers
   do not include in a text selection / clipboard copy. The real address
   is only assembled client-side on click (see main.js).
   ========================================================================== */
.email-protected {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.email-protected::before {
  content: attr(data-user) "@" attr(data-domain);
}
a.email-protected {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Honeypot-Feld gegen Spam-Bots (Kontakt-, Registrierungs-, Bestell- und
   Widerrufsformular). Bewusst nicht per display:none versteckt - manche Bots
   ueberspringen solche Felder gezielt. Aus dem Sichtfeld geschoben, dazu im
   Markup aria-hidden und tabindex="-1", damit weder Tastatur noch Screenreader
   je darauf landen. Ist das Feld befuellt, verwirft scripts/form.php die
   Nachricht lautlos. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
