/* ===================================================
   3D PRINTZ – STYLESHEET
   =================================================== */

:root {
  /* Farben */
  --color-bg-dark: #0c0d0f;
  --color-bg-dark-2: #17191c;
  --color-accent: #FFA213;
  --color-accent-light: #FFB94D;
  --color-accent-dark: #CC8110;
  --color-white: #ffffff;
  --color-ink: #24272B;
  --color-gray-700: #4a4d51;
  --color-gray-500: #75787c;
  --color-gray-300: #d6d7d9;
  --color-gray-100: #f4f4f5;
  --color-success: #FFA213;

  /* Typografie */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container-w: 1200px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 12px 32px rgba(17, 25, 46, 0.08);

  /* ---------------------------------------------------------------
     HERO-BILD – hier selbst anpassen, ohne den Rest der CSS-Datei
     zu berühren. Einfach die Werte ändern, speichern, hochladen.
     --------------------------------------------------------------- */
  --hero-img-width: 40%;     /* Größe des Bildes: höherer Wert = größer (z. B. 50%), niedriger = kleiner (z. B. 30%) */
  --hero-img-offset-x: 0px;  /* Nach links/rechts verschieben: negative Zahl = weiter nach rechts raus (z. B. -40px), positive Zahl = weiter nach links (z. B. 40px) */
  --hero-img-offset-y: 0px;  /* Nach oben/unten verschieben: negative Zahl = höher, positive Zahl = tiefer (z. B. 20px) */
}

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

html { scroll-behavior: smooth; }
/* Abschnitte beim Sprung nicht unter dem fixierten Kopfbalken verstecken */
section[id] { scroll-margin-top: 77px; }

body {
  font-family: var(--font-main);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 13px 22px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(255, 162, 19, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 162, 19, 0.42);
}

.btn-block { width: 100%; }

.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(160deg, #ffffff 0%, #f0f0f0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255,255,255,0.4);
  padding: 4px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-name {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.logo-name-3d {
  color: var(--color-accent-light);
}

.logo-name-main {
  color: var(--color-white);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent-light);
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gray-300);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--color-white); }

.nav-link.active {
  color: var(--color-accent-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-accent-light);
}

.btn-nav { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 78% 55%, rgba(255, 162, 19, 0.10), transparent 65%),
    linear-gradient(165deg, var(--color-bg-dark) 0%, var(--color-bg-dark-2) 100%);
  padding-top: 28px;
  padding-bottom: 0;
  position: relative;
  overflow-x: clip;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  padding-bottom: 6px;
  min-height: 340px;
}

.hero-text {
  max-width: 620px;
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 185, 77, 0.4);
  background: rgba(255, 185, 77, 0.12);
  color: var(--color-accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

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

.hero-claim {
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gray-300);
}

.hero-divider {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 18px 0 22px;
}

.hero-desc {
  font-size: 0.97rem;
  color: var(--color-gray-300);
  max-width: 460px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  gap: 22px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 162, 19, 0.15);
  color: var(--color-accent-light);
}

.feature-icon svg { width: 17px; height: 17px; }

.feature-text {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  color: var(--color-gray-300);
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.feature-text strong {
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---- Hero visual (real product photo, single composition) ---- */
.hero-visual {
  position: absolute;
  top: calc(50% + var(--hero-img-offset-y));
  right: var(--hero-img-offset-x);
  transform: translateY(-50%);
  width: var(--hero-img-width);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  z-index: 1;
}

.hero-group-image {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

/* ============ CALCULATOR CARD ============ */
.calc-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 3;
  transform: translateY(40px);
}

.calc-steps,
.calc-upload,
.calc-result {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
}

.calc-steps { border-right: 1px solid var(--color-gray-100); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.calc-result { border-left: 1px solid var(--color-gray-100); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.calc-upload { border-radius: 0; }

.calc-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  margin-bottom: 14px;
}

.calc-steps ol { display: flex; flex-direction: column; gap: 10px; }

.calc-steps li { display: flex; gap: 12px; align-items: flex-start; }

.step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.78rem;
  color: var(--color-gray-500);
  line-height: 1.3;
}

.step-body strong {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-ink);
}

/* Dropzone */
.calc-upload { display: flex; align-items: center; }

.dropzone {
  width: 100%;
  height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-md);
  background: rgba(255, 162, 19, 0.04);
  padding: 24px 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dropzone:hover,
.dropzone.dragover {
  background: rgba(255, 162, 19, 0.09);
  border-color: var(--color-accent-dark);
}

.upload-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  color: var(--color-accent);
}

.dropzone-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.dropzone-sub {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  margin-bottom: 16px;
}

.dropzone-meta {
  font-size: 0.7rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* Material-Auswahl */
.material-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-gray-500);
  margin-bottom: 6px;
}

.calc-info-box {
  margin-top: 18px;
  background: var(--color-gray-100);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.71rem;
  line-height: 1.35;
  color: var(--color-gray-500);
}

.calc-info-row svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-accent);
}

.calc-info-row strong { color: var(--color-ink); }

.material-select-row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
}

.color-select-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.color-select-hint {
  font-weight: 500;
  letter-spacing: normal;
  color: var(--color-accent);
  text-transform: none;
  font-size: 0.7rem;
}

.color-select-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.color-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  border: 1px solid rgba(17, 25, 46, 0.12);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s, box-shadow 0.12s;
}

.color-swatch:hover { transform: translateY(-1px); }

.color-swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-accent);
}

.color-swatch-multi {
  background: conic-gradient(from 180deg, #e2352c, #f0791f, #f2c230, #2fa84f, #0b5ff1, #7a3ff0, #e2352c);
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-swatch-multi-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.material-select {
  flex: 1;
  min-width: 0;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5468' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 34px;
  transition: border-color 0.15s ease;
}

.material-select:hover,
.material-select:focus-visible {
  border-color: var(--color-accent);
}

/* Info-Button (i) */
.info-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-gray-100);
  color: var(--color-accent);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.info-btn[hidden] { display: none; }

.info-btn svg { width: 20px; height: 20px; }

.info-btn:hover,
.info-btn:focus-visible {
  background: rgba(255, 162, 19, 0.1);
  border-color: var(--color-accent);
}

/* Info-Tooltip (Popup-Karte) */
.info-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(17, 25, 46, 0.18);
  padding: 14px 16px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.info-tooltip.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.info-tooltip-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.info-tooltip-row {
  font-size: 0.76rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  margin-bottom: 6px;
}

.info-tooltip-row:last-child { margin-bottom: 0; }

.info-tooltip-row strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-gray-500);
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* "Sonstiges" Freitextfeld */
.material-other-field { margin-bottom: 18px; }

.material-other-input {
  width: 100%;
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--color-ink);
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 10px 14px;
  resize: vertical;
  min-height: 56px;
  transition: border-color 0.15s ease;
}

.material-other-input:hover,
.material-other-input:focus-visible {
  border-color: var(--color-accent);
  outline: none;
}

/* Calc result */
.calc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-gray-100);
}

.calc-row dt { color: var(--color-gray-500); }
.calc-row dd { font-weight: 700; color: var(--color-ink); }

.manual-notice {
  background: rgba(255, 162, 19, 0.07);
  border: 1px solid rgba(255, 162, 19, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.manual-notice strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-ink);
  margin-bottom: 3px;
}

.price-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 4px;
}

.price-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}

.price-note {
  font-size: 0.72rem;
  color: var(--color-gray-500);
  margin-bottom: 18px;
}

.calc-minorder-note {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #b56a12;
  background: rgba(240, 121, 31, 0.1);
  border-radius: 5px;
  padding: 3px 8px;
  margin: 6px 0 4px;
}
.calc-minorder-note[hidden] { display: none; }

/* ============ SERVICES ============ */
.services {
  padding: 95px 0 60px;
  background: var(--color-white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 50px;
  position: relative;
}

.section-title .accent { color: var(--color-accent); }

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  margin-bottom: 16px;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  line-height: 1.55;
  max-width: 84%;
  margin-bottom: 16px;
}

.check-list { display: flex; flex-direction: column; gap: 8px; }

.check-list li {
  font-size: 0.82rem;
  color: var(--color-gray-700);
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-part {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 8px 14px rgba(17, 25, 46, 0.25));
}

/* ============ MATERIALIEN ============ */
.materials-section {
  padding: 80px 0 90px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.4) 100%),
    url('../images/materials-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-lead {
  text-align: center;
  max-width: 620px;
  margin: -30px auto 46px;
  font-size: 0.88rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.material-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(17, 25, 46, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.material-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.material-card p {
  font-size: 0.8rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  margin-bottom: 8px;
}

.material-uses {
  display: block;
  font-size: 0.72rem;
  color: var(--color-gray-500);
  line-height: 1.5;
}

.materials-multicolor-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 620px;
  margin: 36px auto 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 162, 19, 0.25);
  box-shadow: 0 4px 18px rgba(17, 25, 46, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: var(--color-gray-700);
  line-height: 1.55;
}

.materials-multicolor-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-accent);
}

.materials-multicolor-note strong { color: var(--color-ink); }

/* ============ ÜBER UNS ============ */
.about-section {
  padding: 80px 0 90px;
  background: url('../images/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-grid { max-width: 720px; }

.about-text {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(17, 25, 46, 0.14);
  padding: 40px 44px;
}

.about-text .section-title { text-align: left; }
.about-text .section-title::after { margin: 14px 0 0; }

.about-text p {
  font-size: 0.92rem;
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.about-points li {
  font-size: 0.86rem;
  color: var(--color-gray-700);
  padding-left: 24px;
  position: relative;
}

.about-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--color-gray-100);
  padding: 36px 0 70px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 162, 19, 0.12);
  color: var(--color-accent);
}

.trust-icon svg { width: 19px; height: 19px; }

.trust-text {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  color: var(--color-gray-500);
  line-height: 1.4;
}

.trust-text strong {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--color-ink);
}

/* ============ DATEI-LISTE (Mehrfach-Upload) ============ */
#dz-empty, #dz-loaded { width: 100%; }

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  max-height: 168px;
  overflow-y: auto;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 162, 19, 0.06);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.file-row:hover { background: rgba(255, 162, 19, 0.1); }
.file-row-active { border-color: var(--color-accent); background: rgba(255, 162, 19, 0.12); }
.file-row-error { background: rgba(229, 62, 62, 0.06); }

.file-row-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.file-row-icon svg { width: 100%; height: 100%; }

.file-row-info { flex: 1; min-width: 0; text-align: left; }
.file-row-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-row-meta { font-size: 0.7rem; color: var(--color-gray-500); margin-top: 2px; }
.file-row-price { font-weight: 700; color: var(--color-accent); }
.file-row-status-manual { color: #b56a12; font-weight: 600; }
.file-row-status-document { color: var(--color-accent-dark); font-weight: 600; }
.file-row-status-error  { color: #e53e3e; font-weight: 600; }

.file-row-remove {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
  color: var(--color-gray-500);
  cursor: pointer; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.file-row-remove svg { width: 13px; height: 13px; }
.file-row-remove:hover { color: #e53e3e; background: rgba(229,62,62,0.08); }

/* 3D-Viewer */
.viewer3d-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #1a1b1d;
  cursor: grab;
}
.viewer3d-wrap:active { cursor: grabbing; }
#viewer3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.viewer3d-controls {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(8,11,20,0.65);
  backdrop-filter: blur(4px);
}
.viewer-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-main);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.viewer-btn svg { width: 13px; height: 13px; }
.viewer-btn:hover { background: rgba(255,255,255,0.14); }

.fp-change {
  font-size: 0.72rem;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
}

.calc-mixed-note {
  font-size: 0.74rem;
  color: #b56a12;
  background: rgba(240, 121, 31, 0.08);
  border: 1px solid rgba(240, 121, 31, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ============ KONTAKTFORMULAR ============ */
.contact-section {
  background: var(--color-gray-100);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.contact-lead {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-gray-700);
}
.contact-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  transition: filter 0.15s;
}

.whatsapp-btn:hover { filter: brightness(0.94); }

.whatsapp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact-summary {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 10px;
  padding: 16px 18px;
}
.contact-summary-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 10px;
}
.contact-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-700);
}
.contact-summary-row:last-child { border-bottom: none; }
.contact-summary-row span:last-child { font-weight: 700; color: var(--color-ink); }

/* Formular */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 36px 32px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row { display: flex; gap: 16px; }
.form-row-2 > .form-group { flex: 1; }

/* ---------- Anfrageformular: Abschnitte ---------- */
.cf-section {
  padding: 4px 0 6px;
}
.cf-section + .cf-section {
  border-top: 1px solid var(--color-gray-100);
  padding-top: 22px;
  margin-top: 4px;
}
.cf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cf-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.cf-section-hint {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}
.cf-opt {
  font-weight: 400;
  color: var(--color-gray-500);
  margin-left: 2px;
}

/* Umschalter Privat / Unternehmen */
.cf-segment {
  display: inline-flex;
  background: var(--color-gray-100);
  border: 1.5px solid var(--color-gray-300);
  border-radius: 999px;
  padding: 3px;
}
.cf-segment input { position: absolute; opacity: 0; pointer-events: none; }
.cf-segment label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gray-700);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.cf-segment input:checked + label {
  background: var(--color-bg-dark);
  color: var(--color-white);
}
.cf-segment input:focus-visible + label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cf-business {
  background: var(--color-gray-100);
  border-radius: 10px;
  padding: 14px 14px 0;
  margin-bottom: 18px;
}
.cf-business .form-group input { background: var(--color-white); }

.cf-row-addr .cf-grow,
.cf-row-order .cf-grow { flex: 1 1 auto; min-width: 0; }
.cf-row-addr .cf-narrow { flex: 0 0 110px; }
.cf-row-order .cf-qty { flex: 0 0 170px; }
.cf-row-order .btn-attach { align-self: stretch; justify-content: center; min-height: 44px; }

.cf-legal-note {
  font-size: 0.74rem;
  color: var(--color-gray-500);
  line-height: 1.55;
  text-align: center;
  margin: 12px 0 0;
}
.cf-legal-note a { color: var(--color-gray-700); text-decoration: underline; }

@media (max-width: 960px) {
  .cf-row-addr, .cf-row-order { flex-direction: row; gap: 12px; }
}
@media (max-width: 480px) {
  .cf-row-addr .cf-narrow { flex-basis: 84px; }
  .cf-row-order { flex-direction: column !important; gap: 0 !important; }
  .cf-row-order .cf-qty { flex-basis: auto; }
  .cf-section-head { align-items: flex-start; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-700);
  letter-spacing: 0.02em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--color-ink);
  background: var(--color-gray-100);
  border: 1.5px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
}

.form-attach-hint {
  font-size: 0.74rem;
  color: var(--color-gray-500);
  margin: -2px 0 2px;
  font-weight: 400;
}

.btn-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--color-gray-100);
  border: 1.5px dashed var(--color-gray-300);
  border-radius: 8px;
  padding: 9px 16px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-attach svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }
.btn-attach:hover { border-color: var(--color-accent); background: var(--color-white); }

#cf-file-list.file-list {
  margin-top: 4px;
  margin-bottom: 0;
  max-height: 140px;
}
#cf-file-list.file-list:empty { display: none; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Stückzahl-Eingabe mit +/- Buttons */
.quantity-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--color-gray-300);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-gray-100);
  transition: border-color 0.15s;
}
.quantity-input-wrap:focus-within {
  border-color: var(--color-accent);
  background: var(--color-white);
}
.qty-btn {
  width: 38px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.qty-btn:hover { background: rgba(255,162,19,0.08); }
.quantity-input-wrap input[type="number"] {
  flex: 1;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  padding: 11px 4px;
  -moz-appearance: textfield;
}
.quantity-input-wrap input[type="number"]::-webkit-outer-spin-button,
.quantity-input-wrap input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Datenschutz-Checkbox */
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.form-check label {
  font-size: 0.78rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  cursor: pointer;
}
.link-inline { color: var(--color-accent); text-decoration: underline; }

/* Submit-Button Loading-State */
.btn-submit.loading .btn-label::after { content: ' …'; }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }

/* Feedback-Meldungen */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.83rem;
  line-height: 1.5;
  margin-top: 14px;
}
/* WICHTIG: ohne diese Regel überschreibt "display: flex" oben das
   [hidden]-Attribut (gleiche Selektor-Spezifität wie die Browser-
   Standardregel [hidden]{display:none}, Autoren-CSS gewinnt sonst
   immer) – die Erfolgs-/Fehlermeldung wäre sonst IMMER sichtbar,
   auch ohne dass das Formular abgeschickt wurde. */
.form-feedback[hidden] { display: none; }
.form-feedback svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.form-success { background: rgba(16,185,129,0.1); color: #065f46; }
.form-success svg { color: #059669; }
.form-error { background: rgba(239,68,68,0.1); color: #7f1d1d; }
.form-error svg { color: #dc2626; }
.cf-error-detail {
  font-size: 0.72rem;
  color: #7f1d1d;
  opacity: 0.75;
  margin-top: 4px;
  font-family: monospace;
  word-break: break-word;
}

/* ============ RECHTS-/INFOSEITEN ============ */
.legal-hero {
  background: var(--color-bg-dark);
  padding: 130px 0 40px;
}

.legal-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
}

.legal-hero p {
  color: var(--color-gray-300);
  margin-top: 10px;
  font-size: 0.9rem;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 100px;
}

.legal-content h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 36px 0 14px;
  color: var(--color-ink);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--color-ink);
}

.legal-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
}

.legal-content li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 6px;
}

.legal-content a { color: var(--color-accent); }

.legal-content strong { color: var(--color-ink); }

.legal-fill {
  background: rgba(255, 162, 19, 0.08);
  border: 1px dashed var(--color-accent);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--color-accent-dark);
  font-style: normal;
  font-weight: 600;
}

.legal-todo-banner {
  background: rgba(240, 121, 31, 0.1);
  border: 1px solid rgba(240, 121, 31, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: #7a3e0a;
  line-height: 1.6;
  margin-bottom: 30px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: 10px;
}

.back-home-link:hover { text-decoration: underline; }

/* ============ 404 ============ */
.notfound-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
}

.notfound-code {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.notfound-section h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 14px 0 10px;
}

.notfound-section p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
  margin-bottom: 26px;
}


.site-footer {
  background: var(--color-bg-dark);
  padding: 28px 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-gray-500);
}

.footer-legal-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-legal-nav a {
  color: var(--color-gray-300);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.15s;
}

.footer-legal-nav a:hover { color: var(--color-white); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero-inner { display: block; min-height: 0; }
  .hero-text { max-width: 100%; }
  .hero-visual {
    position: relative;
    top: auto; right: auto; transform: none;
    width: 100%;
    height: 340px;
    margin-top: 20px;
    justify-content: center;
  }
  .hero-group-image { width: 100%; max-width: 760px; }
  .calc-card { grid-template-columns: 1fr; transform: translateY(0); margin-top: 32px; }
  .calc-steps { border-right: none; border-bottom: 1px solid var(--color-gray-100); }
  .calc-result { border-left: none; border-top: 1px solid var(--color-gray-100); }
  .services { padding-top: 70px; }
  .services-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .section-lead { margin-top: 0; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero-features { flex-direction: column; gap: 16px; }
  .trust-inner { grid-template-columns: 1fr; }
  .service-card p { max-width: 100%; }
  .form-row-2 { flex-direction: column; gap: 0; }
  .about-text { padding: 28px 24px; }
  .hero-inner { background-position: 60% center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.cf-section .file-list:not(:empty) { margin-bottom: 18px; }
@media (max-width: 960px) { .form-group:empty { display: none; } }

/* =================================================================
   FAQ-Seite (faq.html)
   ================================================================= */
.faq-hero {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 72px 0 56px;
  text-align: center;
}
.faq-eyebrow {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.faq-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.faq-lead { color: #b9bcc1; font-size: 1rem; margin: 0 auto 28px; max-width: 640px; line-height: 1.6; text-wrap: balance; }
.faq-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.faq-search svg {
  position: absolute; left: 18px; top: 50%;
  width: 20px; height: 20px; transform: translateY(-50%);
  color: var(--color-gray-500);
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 16px 20px 16px 50px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.faq-search input:focus { outline: none; border-color: var(--color-accent); }

.faq-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 88px;
  align-items: start;
}
.faq-sidebar { position: sticky; top: 104px; }
.faq-cats { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--color-gray-300); }
.faq-cat-link {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 0 9px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--color-gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.faq-cat-link:hover { color: var(--color-ink); }
.faq-cat-link.active { color: var(--color-ink); border-left-color: var(--color-accent); }
.faq-cat-count {
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-gray-500);
  background: var(--color-gray-100);
  border-radius: 999px; padding: 2px 8px;
}

.faq-group { scroll-margin-top: 100px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group-title {
  font-size: 1.2rem; font-weight: 800; color: var(--color-ink);
  margin: 0 0 16px; letter-spacing: -0.005em;
}
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  scroll-margin-top: 100px;
}
.faq-item:hover { border-color: #bfc1c4; }
.faq-item[open] { border-color: var(--color-accent); box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-weight: 700; font-size: 0.98rem; color: var(--color-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 12px; }
.faq-answer { padding: 0 20px 20px; color: var(--color-gray-700); font-size: 0.93rem; line-height: 1.7; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 0 0 12px; padding-left: 20px; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer strong { color: var(--color-ink); }

.faq-table-wrap { overflow-x: auto; margin: 4px 0 12px; border: 1px solid var(--color-gray-300); border-radius: 10px; }
.faq-table-wrap:focus-visible { outline: 2px solid var(--color-accent); }
.faq-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 640px; }
.faq-table th, .faq-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-gray-100); vertical-align: top; }
.faq-table thead th { background: var(--color-gray-100); color: var(--color-gray-700); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.faq-table tbody th { color: var(--color-ink); white-space: nowrap; }
.faq-table tbody tr:last-child th, .faq-table tbody tr:last-child td { border-bottom: none; }
.faq-table .nowrap { white-space: nowrap; }
.faq-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.faq-pill-yes { background: #e6f6ec; color: #1f7a45; }
.faq-pill-mid { background: #fff3dd; color: #8a5a00; }
.faq-pill-no { background: #fde8e8; color: #a12828; }
.faq-footnote { font-size: 0.78rem; color: var(--color-gray-500); }
.faq-empty { background: var(--color-gray-100); border-radius: 10px; padding: 18px 20px; color: var(--color-gray-700); }
.faq-item mark { background: rgba(255,162,19,0.28); color: inherit; border-radius: 3px; padding: 0 1px; }

.faq-cta {
  margin-top: 56px;
  background: var(--color-bg-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.faq-cta h2 { font-size: 1.25rem; margin: 0 0 6px; }
.faq-cta p { margin: 0; color: #b9bcc1; font-size: 0.92rem; }
.faq-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.faq-btn-secondary {
  background: transparent; color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.faq-btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .faq-sidebar {
    position: sticky; top: 76px; z-index: 20;
    background: var(--color-gray-100);
    margin: 0 -20px 24px; padding: 10px 20px;
    border-bottom: 1px solid var(--color-gray-300);
  }
  .faq-cats { display: flex; gap: 6px; overflow-x: auto; border-left: none; scrollbar-width: none; }
  .faq-cats::-webkit-scrollbar { display: none; }
  .faq-cat-link {
    white-space: nowrap; border: 1.5px solid var(--color-gray-300); border-radius: 999px;
    padding: 7px 12px; margin: 0; background: var(--color-white); font-size: 0.82rem;
  }
  .faq-cat-link.active { border-color: var(--color-bg-dark); background: var(--color-bg-dark); color: var(--color-white); }
  .faq-cat-count { display: none; }
  .faq-group, .faq-item { scroll-margin-top: 150px; }
  .faq-hero { padding: 48px 0 40px; }
  .faq-cta { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .faq-item summary::after, .faq-item, .faq-cat-link { transition: none; } }
