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

:root {
  /* Farben */
  --color-bg-dark: #02050d;
  --color-bg-dark-2: #060a16;
  --color-blue: #0b5ff1;
  --color-blue-light: #4f93ff;
  --color-blue-dark: #0a4cc2;
  --color-white: #ffffff;
  --color-ink: #11192e;
  --color-gray-700: #4a5468;
  --color-gray-500: #6b7587;
  --color-gray-300: #d7dbe4;
  --color-gray-100: #f4f6fa;
  --color-success: #0b5ff1;

  /* 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);
}

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

html { scroll-behavior: smooth; }

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-blue-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-blue);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(29, 111, 224, 0.35);
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(29, 111, 224, 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, #f5f7fb 0%, #e3e8f0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255,255,255,0.4);
  padding: 6px;
}

.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-blue-light);
}

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

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-blue-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-blue-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-blue-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(11, 95, 241, 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(79, 147, 255, 0.4);
  background: rgba(79, 147, 255, 0.12);
  color: var(--color-blue-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-blue-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-blue);
  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(29, 111, 224, 0.15);
  color: var(--color-blue-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;
}

.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: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 68%;
  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: 22px;
}

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

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

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

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

.step-body strong {
  font-size: 0.78rem;
  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-blue);
  border-radius: var(--radius-md);
  background: rgba(29, 111, 224, 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(29, 111, 224, 0.09);
  border-color: var(--color-blue-dark);
}

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

.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;
}

.fdm-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--color-gray-500);
  background: var(--color-gray-100);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 36px;
  margin-bottom: 16px;
}

.fdm-note svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-blue);
}

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

.price-info-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--color-gray-500);
  background: var(--color-gray-100);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 14px;
}

.price-info-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-gray-500);
}

.price-info-note 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-blue);
  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-blue);
}

.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-blue);
}

/* 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-blue);
  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(29, 111, 224, 0.1);
  border-color: var(--color-blue);
}

/* 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-blue);
  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(29, 111, 224, 0.07);
  border: 1px solid rgba(29, 111, 224, 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-blue);
  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-blue); }

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--color-blue);
  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-blue);
  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-blue);
  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(11, 95, 241, 0.06);
  border: 1px solid rgba(11, 95, 241, 0.18);
  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-blue);
}

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

/* ============ ÜBER UNS ============ */
.about-section {
  padding: 80px 0 90px;
  background:
    linear-gradient(90deg, rgba(245,247,250,0.97) 0%, rgba(245,247,250,0.94) 42%, rgba(245,247,250,0.55) 62%, rgba(245,247,250,0.25) 100%),
    url('../images/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.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-blue);
  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(29, 111, 224, 0.12);
  color: var(--color-blue);
}

.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(11, 95, 241, 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(11, 95, 241, 0.1); }
.file-row-active { border-color: var(--color-blue); background: rgba(11, 95, 241, 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-blue);
}
.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-blue); }
.file-row-status-manual { color: #b56a12; 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: #171c2a;
  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-blue);
  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-blue);
}

.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; }

.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-blue);
  background: var(--color-white);
}
.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-blue);
  background: var(--color-white);
}
.qty-btn {
  width: 38px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.qty-btn:hover { background: rgba(11,95,241,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-blue);
  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-blue); 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-blue); }

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

.legal-fill {
  background: rgba(11, 95, 241, 0.08);
  border: 1px dashed var(--color-blue);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--color-blue-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-blue);
  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-blue);
  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; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
