.section-cad {
  padding: 4rem 0;
  background: #f5f7f2; /* wie bei den anderen Bereichen */
}

.section-cad .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  padding: 2rem 2.5rem;
}

.cad-header {
  margin-bottom: 2.5rem;
}

.cad-grid {
  display: grid;
  gap: 1.75rem;
}

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

.cad-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cad-card ul,
.cad-card ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.cad-cta {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 1.5rem;
}

.cad-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Buttons – an dein globales Button-Design anpassen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #5e7244;
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: #f5f7f2;
  color: #333;
  border-color: #d7ddce;
}

.btn-secondary:hover {
  background: #e8ede1;
}


/* =========================
   Firmenkunden
   ========================= */
/* Abschnitt auf der Startseite */
.firmenkunden-start {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

.firmenkunden-card {
  width: 100%;
  max-width: 1200px;       /* gleiche Breite wie andere weiße Boxen */
  margin: 0 auto;
  padding: 28px 32px;
  background: #ffffff;
  border-radius: 22px;     /* gleiche Rundung wie deine anderen Boxen */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.firmenkunden-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.firmenkunden-text {
  margin-bottom: 12px;
}

.firmenkunden-list {
  margin: 0 0 18px 0;
  padding-left: 18px;
}

/* Button-Zeile */
.firmenkunden-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Kleine, pillenförmige Buttons */
.firmenkunden-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Primärer Button */
.firmenkunden-btn-primary {
  background: #5e7244;          /* dein Grün */
  color: #ffffff;
}

/* Sekundärer Button */
.firmenkunden-btn-ghost {
  background: #ffffff;
  color: #5e7244;
  border-color: #5e7244;
}

/* Mobil: Buttons untereinander, aber immer noch klein */
@media (max-width: 600px) {
  .firmenkunden-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================
   Footer
   ========================= */
.site-footer {
  background-color: #e8ede1;       /* Lux3D helles Grün/Beige */
  color: #444444;
  margin-top: 40px;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.site-footer a {
  color: #444444;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-column {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-column h3,
.footer-column h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #5E7244; /* Lux3D Grün */
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

/* Brand-/Kontaktspalte etwas breiter */
.footer-brand {
  flex: 1.3 1 220px;
}

.footer-contact {
  margin-top: 10px;
}

.footer-opening-hours {
  margin-top: 12px;
  line-height: 1.5;
}

/* CTA-Button im Footer */
.footer-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background-color: #5E7244;
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.footer-cta:hover {
  opacity: 0.9;
}

/* Unterer Bereich */
.footer-bottom {
  border-top: 1px solid #cfd4c8;
  padding-top: 16px;
}

.footer-seo-text {
  margin: 0 0 10px;
  line-height: 1.5;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: #666666;
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-column,
  .footer-brand {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 30px 16px 16px;
  }

  .footer-meta {
    flex-direction: column;
  }
}
.footer-meta {
  display: block;       /* block sorgt für untereinander */
  text-align: center;   /* optional: zentriert */
}

.footer-meta p {
  margin: 5px 0;        /* kleiner Abstand zwischen den Zeilen */
}

/* Startseite – 3D-Druck Ratgeber Teaser */
.home-knowledge-section {
  margin: 2rem auto 2.5rem;
  max-width: 1100px;
  padding: 0 1rem;
}

.home-knowledge-inner {
  display: grid;
 grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  background: linear-gradient(135deg, #e8ede1, #ffffff);
  border-radius: 14px;
  border: 1px solid #dde3d4;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

@media (max-width: 880px) {
  .home-knowledge-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.3rem 1.2rem;
  }
}

.home-knowledge-text h2 {
  color: #5E7244;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.home-knowledge-lead {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #686b65;
}

.home-knowledge-text p {
  margin-bottom: 0.5rem;
}

.home-knowledge-list {
  margin: 0.4rem 0 0.9rem 1.2rem;
  padding-left: 0;
  color: #686b65;
  font-size: 0.93rem;
}

.home-knowledge-list li {
  margin-bottom: 0.25rem;
}

/* Button */
.home-knowledge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background-color: #5E7244;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid #5E7244;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: 0.15s ease;
}

.home-knowledge-btn:hover {
  background-color: #435430;
  border-color: #435430;
  text-decoration: none;
  transform: translateY(-1px);
}

/* rechte Seite */
.home-knowledge-side {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1e4da;
  padding: 1rem 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.03);
  font-size: 0.9rem;
  color: #686b65;
}

.home-knowledge-pill {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(94,114,68,0.08);
  color: #5E7244;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.home-knowledge-subtle {
  font-size: 0.85rem;
  color: #8a8a8a;
  margin-top: 0.3rem;
}


/* =========================
   Basis & Layout
   ========================= */
* {
  box-sizing: border-box;
}

:root {
  --brand: #5E7244;
  --bg: #e8ede1;
  --panel: #ffffff;
  --text: #1a1a1a;
  --muted: #686b65;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Didact Gothic", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card {
  background: #e8ede1;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
  margin-top: 0;
  color: #5e7244;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}
/* ============= Submenü unter "Material" ============= */

.nav-list li {
  position: relative;
}

/* Grundlayout des Submenus */
.submenu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--brand);
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  display: none;
  z-index: 1500;
}

/* Links im Submenu */
.submenu li a {
  display: block;
  padding: 6px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 0;
}

.submenu li a:hover {
  background: rgba(0, 0, 0, 0.18);
}

/* Dropdown bei Hover anzeigen (Desktop) */
.has-submenu:hover > .submenu {
  display: block;
}
@media (max-width: 850px) {
  /* Submenü im mobilen Menü einfach untergeordnet anzeigen */
  .submenu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 12px;
    display: block; /* immer sichtbar, wenn Material sichtbar ist */
  }

  .submenu li a {
    padding: 4px 10px;
    border-radius: 999px;
  }

  .has-submenu > a::after {
    content: "›";
    margin-left: 6px;
    font-size: 0.8rem;
    opacity: 0.8;
  }
}

/* =========================
   Link-Farben (global)
   ========================= */

a {
  color: #5e7244;   /* dunkles Grün */
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #000;      /* etwas dunkler beim Hover */
  text-decoration: underline;
}

a:visited {
  color: #1a1a1a;   /* gleiche Farbe wie normal */
}

/* =========================
   Header & Navigation (FIXED)
   ========================= */
.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.logo span {
  font-weight: 400;
  opacity: 0.8;
}
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;   /* kannst du anpassen */
  width: auto;
  display: block;
}
.logo-img {
  height: 40px;
  width: auto;
  margin-right: 4px;
  border-radius: 6px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff; /* Für Header-Hintergrund passend */
  font-weight: 600;
  gap: 8px; /* Abstand zwischen Logo und Text */
}

.logo-img {
  height: 40px;  /* Anpassen nach Wunsch */
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.05rem;
  color: #fff; 
  letter-spacing: 0.5px;
  display: inline-block;
  font-weight: 700;   /* Hier wird's fett */
}


/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-list a:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.nav-list a.is-active {
  background: #ffffff;
  color: var(--brand);
}

/* Burger-Checkbox (unsichtbar) */
.nav-toggle {
  display: none;
}

/* Burger Button */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* =========================
   Tabelle Material
   ========================= */

.material-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.material-table th,
.material-table td {
  border: 1px solid #dcdcdc;
  padding: 12px 14px;
  text-align: left;
}

.material-table th {
  background-color: #f5f5f5;
  color: #444;
  font-weight: bold;
}

.material-table tr:nth-child(even) {
  background-color: #fafafa;
}


/* =========================
   Mobile Navigation
   ========================= */
@media (max-width: 850px) {

  /* Burger sichtbar */
  .nav-toggle-label {
    display: flex;
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 1001;
  }

  /* Navigation aus dem Flow nehmen und unter den Header legen */
  .main-nav {
    position: absolute;
    top: 44px; /* etwas unterhalb des Headers */
    left: 0;
    right: 0;
    justify-content: center;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
    background: var(--brand);
    padding: 0;                 /* geschlossen: kein Padding */
    max-height: 0;              /* geschlossen: keine Höhe */
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.2s ease;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  /* Aufklappen bei aktivem Burger */
  .nav-toggle:checked ~ .main-nav .nav-list {
    max-height: 500px;
    padding: 12px 0;            /* erst beim Aufklappen Padding */
  }
}

.checkbox-row {
  margin-top: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 4px;
}




/* =========================
   Seiten-Layout
   ========================= */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.page-main {
  margin-top: 16px;
}

/* =========================
   Startseite Layout
   ========================= */
.hero {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.hero-text h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 2rem;
  color: var(--brand);
}

.hero-text p {
  margin: 0 0 10px;
}

.hero-keywords {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

.hero-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid rgba(94, 114, 68, 0.2);
}

.hero-aside {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

.hero-aside h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--brand);
}
/* Nachhaltigkeits-Sektion */
.sustainability-section {
  margin-top: 32px;
}

.sustainability-inner {
  background: var(--panel);
  border-radius: 18px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.sustainability-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.6rem;
}

.sustainability-content p {
  margin-bottom: 10px;
  line-height: 1.55;
}

.sustainability-image {
  display: flex;
  justify-content: flex-end;
}

.sustainability-image img {
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Mobil-Ansicht */
@media (max-width: 800px) {
  .sustainability-inner {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .sustainability-image {
    justify-content: center;
    order: -1; /* Bild oben, Text darunter */
  }

  .sustainability-image img {
    max-width: 280px;
  }
}



/* Generische Sektionen */
.section {
  margin-top: 28px;
}

.section h2 {
  margin: 0 0 10px;
  color: var(--brand);
}

.section p {
  margin: 0 0 10px;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-list li {
  margin-bottom: 8px;
}

/* Karten-Grid (z.B. Materialseite) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.card {
  background: var(--panel);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--brand);
}

/* Kontaktformular */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

label {
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="file"],
select {
  width: 100%;
  padding: 9px 10px;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================
   Footer
   ========================= */
/* =========================
   Footer – schöner mit Nav
   ========================= */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 16px 22px;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
  background: #f7f9f5;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* Links im Footer als kleine „Pills“ */
.site-footer a {
  display: inline-block;
  margin: 0 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(94, 114, 68, 0.08);
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.site-footer a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================
   Konfigurator-Spezifische Styles
   ========================= */

/* Grid-Layout: Viewer + Konfigurator */
#container {
  display: grid;
  grid-template-columns: 1fr; /* mobil: 1 Spalte */
  gap: 20px;
  align-items: start;
}

@media (min-width: 900px) {
  #container {
    grid-template-columns: 1fr 1.3fr;
  }
}

.column {
  background: var(--panel);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

/* Grids für Form */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Viewer */
#stlViewer {
  width: 100%;
  height: 400px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

/* Checkout-Bereich */
#checkoutColumn {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 24px;      /* zusätzlicher Abstand nach oben */
  background: var(--panel);
  border-radius: 12px;
  padding: 20px;
}
/* ===== Warenkorb-Layout ===== */

/* Karton-Optik wie beim Konfigurator */
#cart {
  background: var(--panel);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

/* Verhindert, dass die Tabelle das Layout sprengt */
#cartList {
  width: 100%;
  overflow-x: auto;   /* bei schmalen Displays horizontales Scrollen */
}

/* Buttons im Warenkorb schön umbrechen */
#checkoutColumn .actions {
  margin-top: 20px;
}

@media (max-width: 700px) {
  /* Tabelle darf breiter sein und wird dann gescrollt */
  .cart-table {
    min-width: 600px;
  }

  /* Buttons untereinander und volle Breite */
  #checkoutColumn .actions {
    flex-direction: column;
    align-items: stretch;
  }

  #checkoutColumn .actions a,
  #checkoutColumn .actions button {
    width: 100%;
    text-align: center;
  }
}
/* =========================
   Warenkorb: Tabelle responsive
   ========================= */

/* sorgt dafür, dass die Tabelle in der Karte bleibt
   und auf kleinen Bildschirmen horizontal gescrollt
   werden kann, statt das Layout zu sprengen */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

/* Grundlayout der Tabelle (Fallback, falls oben überschrieben wird) */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

/* Auf kleineren Screens etwas kompakter +
   Zeilen nicht umbrechen, damit Spalten lesbar bleiben */
@media (max-width: 768px) {
  .cart-table {
    min-width: 650px;      /* Tabelle darf breiter als der Screen sein */
  }

  .cart-table th,
  .cart-table td {
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;   /* keine hässlichen Zeilenumbrüche in den Spalten */
  }
}

/* Buttons & Form Controls (Konfigurator) */
select,
input,
button {
  font-family: inherit;
}

button {
  background-color: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 9px 14px;
}

button:hover {
  filter: brightness(0.95);
}

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

.price {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  margin-top: 12px;
  color: #333;
}

.panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 16px;
  padding: 16px;
}

/* Viereck Farbanzeige */
.color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #ffffff;
  flex: 0 0 24px;
}

/* Stückzahl-Zeile */
.quantity-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quantity-row input {
  max-width: 120px;
}

/* Preisbox */
.price-box {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #d9ded1;
  border-radius: 10px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.price-box strong {
  color: #2f3b2f;
  font-size: 22px;
}

/* Cart Table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.cart-table th,
.cart-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  color: #333;
}
.cart-table th {
  background: #f7f7f7;
}
.cart-table tr:last-child td {
  border-bottom: none;
}

.total {
  margin-top: 8px;
  font-weight: 700;
  color: #333;
}

/* Bearbeitungszeit / Queue-Box */
.status-card {
  background: #f7f8f9;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 10px 0 18px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.status-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.icon-clock {
  display: inline-flex;
  line-height: 0;
  color: #2f3b2f;
}
.status-card strong {
  color: #000;
  font-weight: 600;
}
.status-card small {
  font-size: 13px;
  color: #666;
}

/* Warenkorb Icon */
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

/* ======================
   INFO BOX STYLING
   ====================== */
.info-section {
  margin-top: 40px;
}

.info-title {
  text-align: center;
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(94, 114, 68, 0.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.info-box h3 {
  margin-top: 0;
  color: var(--brand);
  font-size: 1.2rem;
}

.info-box p,
.info-box ul {
  margin: 8px 0 0 0;
  color: #444;
  font-size: 0.97rem;
  line-height: 1.45;
}

.info-box ul {
  padding-left: 18px;
}

.info-box-wide {
  grid-column: span 2;
}

@media (max-width: 700px) {
  .info-box-wide {
    grid-column: span 1;
  }
}

/* =========================
   Startseiten 3D-Card
   ========================= */

.hero-aside-3d {
  background: transparent;
  border: none;
  padding: 0;
}

.fdm-card {
  position: relative;
  border-radius: 22px;
  padding: 16px 18px 14px;
  background: radial-gradient(circle at top left,
      #5E7244 0%,
      #3c4a2d 40%,
      #1f2616 100%
  );
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  color: #f5f7f2;
  overflow: hidden;
}

.fdm-card::before {
  content: "";
  position: absolute;
  inset: 40% 18% auto 18%;
  height: 40%;
  background: radial-gradient(circle, rgba(94, 114, 68, 0.55), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  filter: blur(4px);
}

/* Header */
.fdm-card-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 10px;
  z-index: 2;
}

.fdm-card-title {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.fdm-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #cfd6c4;
}

.fdm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7ce26b;
  box-shadow: 0 0 8px rgba(124, 226, 107, 0.9);
}

/* Viewer-Bereich */
.fdm-card-view {
  position: relative;
  margin-top: 4px;
  margin-bottom: 12px;
  border-radius: 16px;
  padding: 10px;
  background: radial-gradient(circle at top, rgba(232, 237, 225, 0.06), rgba(0, 0, 0, 0.7));
  box-shadow: inset 0 0 0 1px rgba(232, 237, 225, 0.05);
}

.fdm-card-frame {
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(232, 237, 225, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    inset 0 0 40px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.fdm-card-frame::before,
.fdm-card-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(232, 237, 225, 0.12),
    transparent
  );
}

.fdm-card-frame::before {
  top: 33%;
}

.fdm-card-frame::after {
  bottom: 33%;
}

/* Canvas */
#fdmCardCanvas {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 12px;
}

/* Footer */
.fdm-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.78rem;
  color: #cbd2c4;
  line-height: 1.25;
}

.fdm-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.fdm-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 19, 16, 0.9);
  box-shadow:
    0 0 0 1px rgba(148, 173, 111, 0.5),
    0 0 12px rgba(148, 173, 111, 0.4);
  font-weight: 500;
}

@media (max-width: 700px) {
  #fdmCardCanvas {
    height: 190px;
  }
}
