/* Teppich-Seite nach Nilos Entwurf: Titelband, Kollektionen, Filter, Teppichkarten, Ratgeber, Inspiration */

/* Kollektionen */
.kollektionen{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(14px,2vw,28px);background:var(--filz),linear-gradient(90deg,#E4CDE6 0%,#E9D5EA 100%);border:5px solid #FCF3EA;border-radius:26px;padding:12px clamp(14px,1.6vw,22px) 12px clamp(18px,2vw,30px);margin:18px 0 16px;position:relative;z-index:3;box-shadow:0 0 0 1px #E6D2C4,0 6px 16px rgba(74,40,24,.12)}
.kollektionen h2{display:flex;align-items:center;gap:10px;font-size:clamp(20px,1.75vw,27px);font-weight:700;line-height:1.08}
.kollektionen h2 svg{flex:0 0 auto;width:34px;height:34px}
.kollektionen ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1vw,14px)}
.koll{display:flex;align-items:center;gap:10px;height:100%;min-height:76px;padding:8px 12px 8px 10px;border-radius:18px;background:var(--fond);text-decoration:none;color:var(--braun);font-family:var(--f-titel);font-weight:600;font-size:clamp(14px,1.15vw,17px);line-height:1.15;box-shadow:0 2px 6px rgba(74,40,24,.1),inset 0 0 0 2px rgba(255,255,255,.55)}
.koll img{flex:0 0 auto;width:clamp(54px,4.6vw,72px);height:auto}
.koll:hover{filter:brightness(1.03);box-shadow:0 4px 10px rgba(74,40,24,.16),inset 0 0 0 2px rgba(255,255,255,.7)}
.koll.k-pink,.chip.k-pink{--fond:#F8D0DE}
.koll.k-mint,.chip.k-mint{--fond:#CFE7DC}
.koll.k-gelb,.chip.k-gelb{--fond:#FBE3A6}
.koll.k-rosa{--fond:#F6D2DF}
.chip.k-lila{--fond:#E6D3EC}

/* Filterleiste */
.filterleiste{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:6px 4px 14px;scroll-margin-top:110px}
.filter-titel{display:flex;align-items:center;gap:10px;margin:0;font-family:var(--f-titel);font-weight:600;font-size:17px;color:var(--braun)}
.filter-titel svg{width:28px;height:28px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;background:var(--fond);color:var(--braun);font:600 15px/1 var(--f-titel);padding:9px 16px;border-radius:999px;box-shadow:0 1px 4px rgba(74,40,24,.12),inset 0 0 0 1.5px rgba(255,255,255,.6)}
.chip svg{width:20px;height:20px}
.chip[aria-pressed="true"]{background:var(--pink);color:var(--weiss);box-shadow:0 3px 8px rgba(194,58,89,.3)}
.filter-ende{margin-left:auto;display:flex;align-items:center;gap:14px;padding-left:16px;border-left:1px solid var(--linie)}
.anzahl{font-weight:700;font-size:15px;color:var(--text)}

/* Teppichkarten */
.teppich-raster{list-style:none;margin:0 0 34px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,20px)}
.teppich{position:relative;display:flex;flex-direction:column;background:#FDF7F1;border:1px solid #EEDFD3;border-radius:22px;overflow:hidden;box-shadow:0 0 0 3px rgba(255,255,255,.6),0 6px 14px rgba(74,40,24,.1);min-width:0}
.teppich[hidden]{display:none!important}
.t-bild{position:relative;aspect-ratio:2/1;margin:8px 8px 0;border-radius:16px;overflow:hidden;background:var(--filz),radial-gradient(ellipse at 50% 80%,#EFD9C5 0%,#E7CDB7 100%)}
.t-bild img{width:100%;height:100%;object-fit:cover}
.platzhalter{position:absolute;inset:10px;border:2.5px dashed rgba(122,99,90,.45);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:8px 46px}
.platzhalter b{font-family:var(--f-titel);font-weight:600;font-size:16px;color:var(--braun);line-height:1.15}
.platzhalter span{font-size:13px;font-weight:700;color:var(--text-leise)}
.t-wunsch .t-bild{display:grid;place-items:center;background:var(--filz),linear-gradient(135deg,#E9D5EC,#F3E2EE)}
.t-wunsch .wunsch-symbol{width:52%;height:auto;object-fit:contain}
.t-info{display:flex;flex-direction:column;gap:3px;padding:12px 14px 14px;flex:1}
.teppich h3{font-size:18.5px;font-weight:700;line-height:1.15}
.teppich h3 a{text-decoration:none;color:inherit}
.teppich h3 a::after{content:"";position:absolute;inset:0;z-index:0}
.teppich h3 a:hover{color:var(--pink-dunkel)}
.t-art{margin:0;font-size:14px;color:var(--text);font-weight:600}
.t-mass{display:flex;align-items:center;gap:6px;margin:2px 0 0;font-size:13.5px;color:var(--text-leise);font-weight:700}
.t-mass svg{flex:0 0 auto;width:16px;height:16px;color:var(--braun)}
.t-kauf{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;flex-wrap:wrap}
.t-preis{margin:0;font-family:var(--f-titel);font-weight:700;font-size:22px;color:var(--braun);line-height:1}
.t-preis small{font-size:14px;font-weight:600}
.t-anfrage{font-size:16px}
.teppich .knopf-klein,.teppich .merken{position:relative;z-index:1}
.teppich .merken{position:absolute}
.knopf-klein{text-decoration:none}
.knopf-hell{background:var(--weiss);color:var(--braun);box-shadow:0 1px 4px rgba(74,40,24,.14),inset 0 0 0 1.5px #E7D7CB}
.knopf-hell:hover{background:#FBF2EA}
.leer{text-align:center;font-weight:700;margin:0 0 30px}
.textknopf{border:0;background:none;color:var(--pink-dunkel);font:inherit;text-decoration:underline;cursor:pointer}

/* Vorteile als Karte wie im Entwurf */
.vorteile-karte{background:none;border:0}
.vorteile-karte ul{grid-template-columns:repeat(4,minmax(0,1fr));background:#FDF7F1;border:1px solid #EEDFD3;border-radius:20px;box-shadow:0 0 0 3px rgba(255,255,255,.6),0 4px 12px rgba(74,40,24,.08);padding:12px 8px;margin:0 auto 22px;width:calc(100% - 32px);max-width:calc(var(--breite) - 32px)}

/* Ratgeber-Band */
.ratgeber{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:clamp(12px,1.6vw,24px);background:var(--filz),linear-gradient(90deg,#E4CBE6 0%,#EBD6EA 100%);border:5px solid #FCF3EA;border-radius:26px;padding:14px clamp(16px,2vw,28px);margin-bottom:22px;box-shadow:0 0 0 1px #E6D2C4,0 6px 16px rgba(74,40,24,.12)}
.rat-bild{width:clamp(64px,5.6vw,84px);height:auto}
.rat-text h2{font-size:clamp(21px,1.9vw,29px);font-weight:700;line-height:1.1}
.rat-text h2 .striche{display:inline-block;width:.8em;height:.6em;vertical-align:.25em;margin-left:.2em}
.rat-text p{margin:6px 0 0;font-size:14.5px;line-height:1.4;font-weight:600;color:#3A2219;max-width:26em}
.rat-schritte{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px;counter-reset:s}
.rat-schritte li{display:flex;align-items:center;gap:8px}
.rat-schritte li+li::before{content:"→";font-weight:800;font-size:20px;color:var(--braun)}
.rat-schritte li > div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;background:#FCF0E6;border-radius:16px;padding:8px 8px;width:clamp(118px,9.2vw,138px);height:100px;box-shadow:0 2px 6px rgba(74,40,24,.08)}
.rat-schritte svg{width:30px;height:30px;color:var(--braun)}
.rat-schritte b{font-family:var(--f-titel);font-weight:600;font-size:13.5px;color:var(--braun);line-height:1.15}
.rat-schritte span{font-size:12.5px;color:var(--text);line-height:1.2}
.knopf-ratgeber{align-self:center;border:0;cursor:pointer;font-size:clamp(15px,1.25vw,18px);padding:12px 24px;white-space:nowrap}
.ratgeber .funken{position:absolute;top:-24px;right:20px;width:52px;height:42px}

/* Mehr Inspiration */
.mehr-ideen{display:grid;grid-template-columns:minmax(310px,1fr) minmax(0,2.7fr);align-items:center;gap:clamp(14px,2vw,28px);background:#FDF7F1;border:1px solid #EEDFD3;border-radius:22px;padding:14px clamp(14px,1.6vw,22px) 14px clamp(20px,2.4vw,34px);margin-bottom:40px;box-shadow:0 0 0 3px rgba(255,255,255,.6),0 4px 12px rgba(74,40,24,.08)}
.ideen-text h2{font-size:clamp(21px,1.8vw,27px);font-weight:700;line-height:1.08}
.ideen-text h2 .striche{display:inline-block;width:.8em;height:.6em;vertical-align:.3em;margin-left:.2em}
.ideen-text p{margin:8px 0 12px;font-size:15px;font-weight:600;color:#3A2219}
.knopf-klein-rund{font-size:16px;padding:8px 20px;align-self:flex-start}
.ideen-bilder{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1vw,14px)}
.ideen-bilder li{aspect-ratio:3/2;border-radius:16px;overflow:hidden;box-shadow:0 4px 10px rgba(74,40,24,.12)}
.ideen-bilder img{width:100%;height:100%;object-fit:cover}

/* Größen-Guide */
.guide{border:0;border-radius:24px;padding:22px 24px 18px;max-width:min(640px,calc(100% - 32px));background:#FDF7F1;color:var(--text);box-shadow:0 20px 50px rgba(49,21,7,.3)}
.guide::backdrop{background:rgba(49,21,7,.4)}
.guide-kopf{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.guide h2{font-size:24px;font-weight:700;line-height:1.15}
.guide-zu{flex:0 0 auto;width:40px;height:40px;border-radius:50%;border:0;background:var(--weiss);font:700 26px/1 var(--f-text);color:var(--braun);cursor:pointer;box-shadow:0 1px 4px rgba(74,40,24,.15)}
.guide table{width:100%;border-collapse:collapse;font-size:15px}
.guide th,.guide td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--linie)}
.guide thead th{font-family:var(--f-titel);font-weight:600;color:var(--braun)}
.guide tbody th{font-family:var(--f-titel);font-weight:700;color:var(--braun)}
.guide p{margin:12px 0 0;font-size:14.5px}

@media (max-width:1180px){
  .kollektionen{grid-template-columns:1fr}
  .teppich-raster{grid-template-columns:repeat(3,minmax(0,1fr))}
  .filter-ende{margin-left:0;border-left:0;padding-left:0}
  .ratgeber{grid-template-columns:auto minmax(0,1fr)}
  .rat-schritte{grid-column:1/-1;justify-content:center;flex-wrap:wrap}
  .knopf-ratgeber{grid-column:1/-1;justify-self:center}
  .mehr-ideen{grid-template-columns:1fr}
  .vorteile-karte ul{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}
  .vorteile-karte li:nth-child(3){border-left:0}
}
@media (max-width:860px){
  .kollektionen{margin-top:14px;padding:12px}
  .kollektionen ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .koll{min-height:64px;padding:6px 8px;gap:6px}
  .koll img{width:46px}
  .filter-titel{font-size:15px}
  .chips{gap:8px}
  .chip{font-size:14px;padding:8px 12px}
  .teppich-raster{grid-template-columns:1fr;gap:14px}
  .teppich .knopf-klein{width:auto;padding:9px 14px}
  .teppich .knopf-klein span{display:inline}
  .rat-schritte li+li::before{display:none}
  .rat-schritte li > div{width:140px}
  .rat-text{text-align:left}
  .ideen-bilder{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vorteile-karte ul{grid-template-columns:1fr}
  .vorteile-karte li{border-left:0}
  .guide th,.guide td{padding:8px 4px;font-size:14px}
}

/* Merken unten rechts: oben steht auf den Teppichen der Spruch */
.teppich .merken{top:auto;bottom:8px;right:8px}
.teppich .knopf-klein{align-self:center}
/* Titeltext nicht ins Bild laufen lassen */
@media (min-width:861px){.held-streifen .held-inhalt p{max-width:470px}}
