@charset "UTF-8";
/* ===== Theme vars ===== */
:root {
  --bg: #f7f3ef;
  --panel: #ffffff;
  --ink: #1a1a1a;
  --muted: #5a5752;
  --line: #e7dfd6;
  --beige: #d1b08c;
  --beige-2: #c6a27d;
  --danger: #e25555;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
  --shadow-1: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-2: 0 14px 36px rgba(0,0,0,0.12);
}

/* ===== Page wrapper ===== */
.information-container {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  padding: 32px 20px;
}

@media (min-width: 992px) {
  .information-container {
    padding: 44px 48px;
  }
}
/* Header */
.contact-container h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: 0.2px;
  margin-bottom: 8px !important;
  color: var(--ink);
}

.contact-info p {
  max-width: 740px;
  color: var(--muted);
  margin: 0 auto 16px;
}

/* Alerts – slimmer, elegant */
.alert-slim {
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

/* ===== Material Grids (asymmetrisch) ===== */
/* Mehr Luft und Flow; bricht aus dem „Kästchen“-Look */
.materials-grid {
  --min: 190px; /* Minimum-Kartenbreite */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--min), 1fr));
  gap: 18px;
  margin: 16px 0 28px;
}

/* Desktop: erste Karte als „Marquee“ (spannt 2 Spalten), wirkt wie Hero */
@media (min-width: 992px) {
  .materials-grid .material-card:first-child {
    grid-column: span 2;
  }
}
/* Kartenstil: weniger Rahmen, mehr Bild, organische Höhen */
.material-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-1);
  padding: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.material-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  background: #fff;
}

/* Bildbereich größer & variabel: verschiedene Aspect Ratios für Rhythmus */
.material-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: #f1ece6;
  border: 1px solid #efe6da;
  /* Basis-Ratio */
  aspect-ratio: 4/3;
}

.material-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%; /* leichte Porträt-Bias */
  transform: translateZ(0);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.material-card:hover .material-thumb img {
  transform: scale(1.03);
}

/* Rhythmus: mache einige höher/schmaler für anti-boxy Look */
.materials-grid .material-card:nth-child(6n+2) .material-thumb {
  aspect-ratio: 3/4;
}

.materials-grid .material-card:nth-child(6n+4) .material-thumb {
  aspect-ratio: 1/1;
}

.materials-grid .material-card:nth-child(6n+5) .material-thumb {
  aspect-ratio: 16/11;
}

/* Placeholder */
.material-thumb--placeholder {
  display: grid;
  place-items: center;
  color: #8b847a;
  height: 100%;
  font-size: 12px;
  letter-spacing: 0.2px;
}

/* Meta minimal, nicht „boxig“ */
.material-meta {
  padding: 0 4px 2px;
}

.material-name {
  font-weight: 650;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 6px;
}

/* Pills: ohne Bullets, schlank, inline, kein „Listenlook“ */
.material-tags {
  display: flex;
  gap: 6px;
  overflow: hidden;
  flex-wrap: nowrap;
}

.material-tag-pill {
  display: inline-block;
  margin: 0;
  font-size: 11px;
  line-height: 1;
  color: #4a3f31;
  background: #f7f3ef;
  border: 1px solid #e0d6c8;
  border-radius: 999px;
  padding: 4px 8px;
}

/* Checkbox unsichtbar, aber zugänglich */
.material-card .material-checkbox {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Selected State: Goldring + Corner-Glyph, ohne harte Kanten */
.material-card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209, 176, 140, 0.22), var(--sh-2);
}

.material-card.is-selected::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  mask: radial-gradient(circle at 50% 50%, #000 62%, transparent 64%);
}

/* ===== Selected designs (preview) ===== */
.sample-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .sample-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .sample-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sample-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.sample-thumb {
  display: block;
  aspect-ratio: 4/3;
  background: #f2eee9;
}

.sample-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-thumb--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  height: 100%;
}

.sample-meta {
  padding: 10px;
}

.sample-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.sample-actions .btn {
  --bs-btn-font-size: 10px;
  --bs-btn-border-radius: 10px;
}

/* Counter */
#sample-counter, #sample-max {
  font-variant-numeric: tabular-nums;
}

/* ===== Collapsible bestsellers ===== */
.collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 0 12px;
}

.collapsible.is-open {
  padding: 16px 12px 22px;
}

/* Bestseller grid cards */
.product-list .row > [class*=col-] {
  margin-bottom: 16px;
}

.product-item-box {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.product-item-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--beige);
}

.product-item-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}

.product-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.35) 100%);
}

.product-info .title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

/* Toggle button */
#toggle-bestsellers-btn {
  border-radius: var(--radius-m);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 10px 16px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

#toggle-bestsellers-btn:hover {
  background: var(--ink);
  color: #fff;
}

/* ===== Form ===== */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  padding: 20px;
}

@media (min-width: 992px) {
  .contact-form {
    padding: 28px;
  }
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

/* Ensure 16px inputs on mobile to avoid zoom */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--beige);
  box-shadow: 0 0 0 3px rgba(209, 176, 140, 0.25);
}

/* Switch (company) */
.form-check-label {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.form-check-input {
  cursor: pointer;
}

/* Submit */
.btn-form-submit {
  display: inline-block;
  border: 1px solid var(--beige);
  background: var(--beige);
  color: #111;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 180px;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-form-submit:hover {
  background: var(--beige-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

/* Small helpers */
.mt-5 {
  margin-top: 2rem !important;
}

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

/*# sourceMappingURL=material-form.css.map */
