/* =====================================================
   3D-Print Business – Apple.com-inspiriertes Design-System
   Minimalistisch, viel Weißraum, Schwarz/Weiß-Sektionen,
   ein Blauton als einzige Akzentfarbe, sanfte Scroll-Reveals.
   ===================================================== */

:root {
  --white: #ffffff;
  --black: #1d1d1f;
  --black-soft: rgba(29, 29, 31, 0.9);
  --dark: #1d1d1f;
  --gray-bg: #f5f5f7;
  --gray: #86868b;
  --gray-light: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-on-dark: #2997ff;
  --card-border: #d2d2d7;

  --nav-height: 44px;
  --radius: 18px;
  --radius-pill: 980px;
  --maxw: 1120px;

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ---- Nav (fixed, immer dunkel + verschwommen wie apple.com) ---- */
.nav-apple {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(29, 29, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot { color: var(--blue-on-dark); }

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* ---- Warenkorb-Icon in der Nav ---- */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  margin-left: 12px;
}

.cart-toggle svg { width: 21px; height: 21px; }

.cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--blue-on-dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Hamburger nur mobil sichtbar */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background: var(--dark);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  padding: 28px 24px;
}

.side-menu.open { transform: translateX(0); }

.side-menu .brand {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.side-menu .brand .dot { color: var(--blue-on-dark); }

.side-menu nav a {
  display: block;
  padding: 14px 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-menu nav a:hover,
.side-menu nav a.active { color: var(--blue-on-dark); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, 0.65);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 734px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---- Section building blocks ---- */
.section-apple {
  padding: 120px 24px;
}

.section-apple.dark { background: var(--black); color: var(--white); }
.section-apple.light { background: var(--white); color: var(--dark); }
.section-apple.gray { background: var(--gray-bg); color: var(--dark); }

.section-apple .inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---- Hero (Vollbild, wie apple.com Produktseiten) ---- */
.hero-apple {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 60px) 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-apple.dark { background: var(--black); color: var(--white); }
.hero-apple.light { background: var(--white); color: var(--dark); }
.hero-apple.gray { background: var(--gray-bg); color: var(--dark); }

.eyebrow {
  color: var(--gray);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px;
}

.hero-apple h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  max-width: 900px;
}

.hero-apple p.lead {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 400;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.4;
}

.hero-apple .cta {
  margin-top: 28px;
  display: inline-flex;
  gap: 28px;
  align-items: center;
}

/* ---- Buttons (Apple-Pill) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover { background: var(--blue-hover); }

.btn.ghost {
  background: transparent;
  color: var(--blue);
  padding: 12px 4px;
}

.btn.ghost::after { content: " \2192"; }
.btn.ghost:hover { text-decoration: underline; }

.hero-apple.dark .btn.primary { background: var(--white); color: var(--black); }
.hero-apple.dark .btn.primary:hover { background: var(--gray-light); }
.hero-apple.dark .btn.ghost { color: var(--blue-on-dark); }

.btn.large { padding: 17px 34px; font-size: 19px; }
.btn:hover {
  transform: scale(1.09);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn:active { transform: scale(1.03); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ---- Section header (Eyebrow + H2 + Text) ---- */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 14px;
  line-height: 1.08;
}
.section-head p {
  color: var(--gray);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 620px;
  margin: 0 auto;
}

.section-apple.dark .section-head p,
.section-apple.dark .eyebrow { color: rgba(255, 255, 255, 0.6); }

/* ---- Placeholder / description block ---- */
.placeholder-block {
  background: var(--gray-bg);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--gray);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
}

.section-apple.dark .placeholder-block {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Photo placeholder (camera icon) ---- */
.photo-slot {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--card-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
  background: var(--gray-bg);
  transition: transform 0.5s var(--ease);
}

.photo-slot svg { width: 40px; height: 40px; stroke: var(--blue); }
.photo-slot span { font-size: 0.85rem; }

/* Sobald ein echtes Foto drin ist: Rahmen weg, Bild wird 1:1 angezeigt
   (object-fit: contain, damit nichts vom Foto abgeschnitten wird) */
.photo-slot.has-photo {
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-bg);
}

.photo-slot.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  transition: transform 0.4s var(--ease);
}

.photo-slot.has-photo:hover img { transform: scale(1.03); }

/* ---- Foto-Lightbox (Klick zum Vergrößern, wie bei den Produkten) ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  padding: 30px;
}

.lightbox-overlay.open { display: flex; }

.lightbox-box {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 85vh;
  line-height: 0;
}

.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(29, 29, 31, 0.6);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.lightbox-close:hover { background: rgba(29, 29, 31, 0.8); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.photo-grid .photo-slot:hover { transform: scale(1.03); }

/* ---- Sticky process section (Herstellung) ---- */
.process-wrap {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}

.process-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-height) + 60px);
  flex: 0 0 42%;
  width: 42%;
  align-self: flex-start;
}

.process-sticky .photo-slot {
  aspect-ratio: 1 / 1;
  position: relative;
}

@media (min-width: 641px) {
  .process-sticky .photo-slot { transition: transform 0.5s var(--ease); }
  .process-sticky .photo-slot.pulse { transform: scale(1.04); }
}

/* Bildstapel: alle vier Fotos liegen übereinander, nur das aktive ist sichtbar */
.process-photo-stack { cursor: default; }

.photo-slot.has-photo img.process-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transform: none;
  transition: opacity 1.5s var(--ease);
}

.photo-slot.has-photo img.process-photo.active { opacity: 1; }
.photo-slot.has-photo:hover img.process-photo { transform: none; }

.process-sticky .step-index {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border-radius: 999px;
  padding: 4px 12px;
}

.process-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-step h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step p { color: var(--gray); font-size: 18px; line-height: 1.5; }

/* Sticky-Scroll-Effekt (Bild bleibt stehen, Text wird beim aktiven Schritt hervorgehoben)
   nur auf größeren Bildschirmen – auf dem Handy reicht eine ruhige, statische Liste. */
@media (min-width: 641px) {
  .process-step {
    opacity: 0.25;
    transform: translateX(-12px) scale(0.97);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .process-step.active {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  .process-step h3 { transition: color 0.5s var(--ease); }
  .process-step.active h3 { color: var(--blue); }
}

@media (max-width: 640px) {
  .process-wrap { flex-direction: column; gap: 30px; }
  .process-sticky { position: static; flex: none; width: auto; max-width: 420px; margin: 0 auto; }
  .process-step { min-height: auto; margin-bottom: 40px; }
}

/* ---- Support-Seite: Buttons + Copy-Panels ---- */
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 10px 0 50px;
}

.copy-panel {
  display: none;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 34px;
  margin: 0 auto 26px;
  max-width: 640px;
}

.copy-panel.open { display: block; }

.copy-panel h3 { margin-top: 0; font-size: 22px; font-weight: 600; }
.copy-panel .hint { color: var(--gray); margin-bottom: 18px; font-size: 15px; }

.copy-box {
  width: 100%;
  min-height: 190px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--dark);
  background: var(--white);
  resize: vertical;
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.copy-btn {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: var(--blue);
  color: var(--white);
  transition: background 0.2s var(--ease);
}

.copy-btn:hover { background: var(--blue-hover); }
.copy-btn.copied { background: #1d8a3e; }

.send-btn {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: 1px solid var(--blue);
  cursor: pointer;
  background: transparent;
  color: var(--blue);
  transition: 0.2s var(--ease);
}

.send-btn:hover { background: var(--blue); color: var(--white); }

.copy-email { color: var(--gray); font-size: 0.92rem; }
.copy-email strong { color: var(--dark); }

.form-warning {
  display: none;
  color: #d70015;
  font-size: 0.86rem;
  margin-top: 10px;
}

.form-warning.show { display: block; }

/* ---- Search bar (Produkte) ---- */
.search-wrap { position: relative; margin: 0 auto 50px; max-width: 560px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-bg);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
}

.search-suggestions {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 20;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.search-suggestions.open { display: block; }

.search-suggestions li {
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--dark);
  font-size: 0.98rem;
}

.search-suggestions li:hover,
.search-suggestions li.active { background: var(--gray-bg); color: var(--blue); }

.search-bar svg { width: 20px; height: 20px; stroke: var(--gray); flex-shrink: 0; }

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--dark);
  width: 100%;
  font-family: inherit;
}

.search-bar input::placeholder { color: var(--gray); }

.no-results { text-align: center; color: var(--gray); margin-bottom: 30px; }

/* ---- Product grid (Apple-Produktkacheln) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

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

.product-card {
  background: var(--gray-bg);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  text-align: center;
  padding-bottom: 30px;
}

.product-card:hover { background: #ececee; transform: translateY(-4px); }

.product-card .photo-slot {
  border-radius: 14px;
  border: none;
  aspect-ratio: 1/1;
  background: transparent;
  margin: 14px;
  width: calc(100% - 28px);
}

.product-card:hover .photo-slot { transform: scale(1.04); }

.product-info { padding: 26px 28px 28px; }
.product-info h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.product-info p { color: var(--gray); font-size: 15px; margin: 0 0 14px; }
.product-info .price { margin-bottom: 16px; }

.add-to-cart-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
}

.add-to-cart-btn:hover { transform: none; box-shadow: none; }

.add-to-cart-btn.added { background: #2fa84f; }

.add-to-cart-btn:disabled {
  background: var(--gray-light);
  color: var(--gray);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.modal-body .add-to-cart-btn { width: 100%; margin-top: 16px; }
.price { color: var(--gray); font-weight: 400; font-size: 18px; }

/* ---- Modal (product detail) ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.modal .photo-slot { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/9; }
.modal-body { padding: 30px; }
.modal-title { font-size: 26px; font-weight: 600; }
.modal-desc { color: var(--gray); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(29, 29, 31, 0.6);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

/* ---- Footer (kleinteilig, ruhig, wie apple.com) ---- */
footer {
  background: var(--gray-bg);
  border-top: 1px solid var(--card-border);
  padding: 26px 24px;
  text-align: center;
  color: var(--gray);
  font-size: 12px;
}

footer a { color: var(--gray); }
footer a:hover { text-decoration: underline; }

/* ---- Warenkorb-Panel (Slide-in von rechts) ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, 0.5);
  z-index: 1350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 430px;
  max-width: 92vw;
  background: var(--white);
  z-index: 1400;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
}

.cart-panel.open { transform: translateX(0); }

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-panel-head h3 { font-size: 20px; font-weight: 600; margin: 0; }

.cart-close {
  background: var(--gray-bg);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
}

.cart-empty { color: var(--gray); font-size: 14px; }

.cart-items {
  list-style: none;
  margin: 0;
  padding: 0 14px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-gutter: stable;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "info remove" "qty subtotal";
  gap: 6px 14px;
  padding-bottom: 14px;
  padding-right: 4px;
  border-bottom: 1px solid var(--card-border);
}

.cart-item-info { grid-area: info; display: flex; flex-direction: column; }
.cart-item-name { font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 12px; color: var(--gray); }

.cart-item-remove {
  grid-area: remove;
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 13px;
  align-self: start;
  justify-self: end;
}

.cart-item-remove:hover { color: var(--black); }

.cart-item-qty {
  grid-area: qty;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--gray-bg); }

.cart-item-subtotal {
  grid-area: subtotal;
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
}

.cart-panel-footer {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  margin-top: 16px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.cart-checkout { width: 100%; }
.cart-checkout:disabled {
  background: var(--gray-light);
  color: var(--gray);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---- Bestell-Tracking-Seite ---- */
.tracking-input-row {
  display: flex;
  gap: 12px;
}

.tracking-input-row input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.tracking-input-row input:focus { border-color: var(--blue); }

.tracking-hint { color: var(--gray); font-size: 13px; margin-top: 10px; }

.tracking-result {
  margin-top: 30px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--gray-bg);
  text-align: center;
}

.tracking-status-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  background: var(--gray-light);
  margin-bottom: 14px;
}

.tracking-status-badge.status-received { background: #fef3cd; color: #8a6d00; }
.tracking-status-badge.status-printing { background: #cfe8ff; color: #0058b3; }
.tracking-status-badge.status-ready { background: #d7f5df; color: #1a7a37; }
.tracking-status-badge.status-shipped { background: #1d1d1f; color: var(--white); }

.tracking-order-number { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.tracking-meta { color: var(--gray); font-size: 14px; margin: 0; }

.tracking-error {
  margin-top: 24px;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

.tracking-error a { color: var(--blue); text-decoration: underline; }

/* ---- Kundenfotos & Bewertungen (Startseite) ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.reviews-empty {
  color: var(--gray);
  text-align: center;
  grid-column: 1 / -1;
  padding: 30px 0;
}

.review-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.review-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }

.review-body { padding: 20px 22px; }
.review-text { font-size: 15px; color: var(--dark); margin: 0 0 10px; line-height: 1.5; }
.review-name { font-size: 13px; color: var(--gray); font-weight: 600; margin: 0; }

.reviews-cta { text-align: center; margin-top: 40px; }

/* ---- Formular: Bewertung einreichen ---- */
.review-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, 0.7);
  z-index: 1250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.review-form-overlay.open { display: flex; }

.review-form-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 34px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.review-form-box h3 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.review-form-box .hint { color: var(--gray); font-size: 13px; margin: 0 0 22px; }

.review-form-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gray-bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

#review-form { display: flex; flex-direction: column; gap: 16px; }

#review-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

#review-form input[type="text"],
#review-form textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  outline: none;
  resize: vertical;
}

#review-form input[type="text"]:focus,
#review-form textarea:focus { border-color: var(--blue); }

#review-form input[type="file"] { font-size: 13px; font-weight: 400; }

.review-form-error { color: #d70015; font-size: 13px; margin: 0; }
.review-form-success { text-align: center; padding: 20px 0; color: var(--dark); }
