/* ==========================================================================
   Partner-Kutte (Modul "Partner-Kutte"): Denim mit Patches, darunter das
   aufklappbare Futter. Eigene Datei, da style.css generiert ist.
   Masse in px/em: Bootstrap 3 setzt html auf 10px, rem waere irrefuehrend.
   ========================================================================== */
.kutte { position: relative; font-family: "Short Stack", cursive; font-size: 16px; line-height: 1.6; overflow: hidden; }
.kutte *, .kutte *::before, .kutte *::after { box-sizing: border-box; }
.kutte [hidden] { display: none !important; }
.kutte__innen { max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.kutte :focus-visible { outline: 3px solid #e0b04c; outline-offset: 4px; }

.kutte__aussen { position: relative; padding: 50px 0 42px; background-color: #5c7c83; /* Petrol der Produktkacheln (Mittel der drei Bilder) */
  background-image: repeating-linear-gradient(58deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), repeating-linear-gradient(-32deg, rgba(0,0,0,.09) 0 1px, transparent 1px 4px); }
.kutte__aussen::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 9px; border-top: 2px dashed #e0b04c; border-bottom: 2px dashed #e0b04c; opacity: .8; }
.kutte__rocker { display: block; width: 540px; max-width: 100%; height: auto; margin: 0 auto 10px; overflow: visible; }
.kutte__patches { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: center; align-items: center; }
.kutte__patch { width: 168px; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--dreh, 0deg)); transition: transform .22s, filter .22s; filter: drop-shadow(0 3px 2px rgba(0,0,0,.5)); }
.kutte__patch svg { display: block; width: 100%; height: auto; overflow: visible; }
.kutte__patch:hover, .kutte__patch[aria-expanded="true"] { transform: rotate(0) translateY(-5px) scale(1.06); filter: drop-shadow(0 11px 8px rgba(0,0,0,.5)); }
.kutte__stich { stroke-dasharray: 5 4; }
.kutte__patch[aria-expanded="true"] .kutte__stich { animation: kutte-naehen 1.1s linear; }
@keyframes kutte-naehen { from { stroke-dashoffset: 90; } }

.kutte__klappe { perspective: 1400px; background: #17202b; }
.kutte__futter { position: relative; padding: 50px 0 56px; color: #fff; background-color: var(--futter); transform-origin: 50% 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.055) 0 1.5px, transparent 1.5px 46px), repeating-linear-gradient(-45deg, rgba(255,255,255,.055) 0 1.5px, transparent 1.5px 46px), linear-gradient(180deg, rgba(0,0,0,.42), transparent 70px); }
.kutte__futter::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 13px; background: repeating-linear-gradient(90deg, #c9ccd0 0 6px, #6d747b 6px 10px); border-top: 2px solid #14191f; border-bottom: 2px solid #14191f; }
.kutte__futter--auf { animation: kutte-auf .55s cubic-bezier(.2,.8,.25,1); }
@keyframes kutte-auf { from { transform: rotateX(-62deg); } }
.kutte__inhalt { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 42px; align-items: start; }
.kutte__inhalt--allein { grid-template-columns: minmax(0, 520px); justify-content: center; }
.kutte__etikett { min-width: 0; padding: 26px 24px; background: #fbfaf5; color: #5d676b; outline: 2px dashed #cfc7b2; outline-offset: -9px; box-shadow: 0 8px 18px rgba(0,0,0,.35); transform: rotate(-1.2deg); }
.kutte__etikett small { display: block; color: #3f5f65; font-size: 15px; }
.kutte__etikett h3 { margin: 6px 0 12px; color: #23292c; font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
.kutte__etikett p { margin: 0; font-size: 16px; }
.kutte__link { display: inline-block; margin-top: 14px; color: #3f5f65; text-decoration: underline; }

.kutte__stuecke { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 22px; }
.kutte__stuecke li { grid-column: span 3; min-width: 0; }
.kutte__stuecke li:first-child { grid-column: span 6; }
.kutte__stuecke[data-n="2"] li { grid-column: span 3 !important; }
.kutte__stuecke[data-n="4"] li:not(:first-child) { grid-column: span 2; }
.kutte__foto { position: relative; display: block; padding: 9px; background: #fffdf8; box-shadow: 0 9px 18px rgba(0,0,0,.38); transition: transform .22s; }
.kutte__foto:hover { transform: translateY(-4px) rotate(-.5deg); }
.kutte__foto::after { content: ""; position: absolute; top: 3px; right: 3px; bottom: 3px; left: 3px; border: 2px dashed var(--faden); pointer-events: none; }
.kutte__foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kutte__stuecke li:first-child img { aspect-ratio: 16 / 9; }
.kutte__stuecke[data-n="2"] li img { aspect-ratio: 4 / 3; }
.kutte__schild { position: absolute; z-index: 1; left: 22px; bottom: -13px; max-width: calc(100% - 34px); padding: 5px 13px 5px 26px; background: #c99f6b; color: #2c1c0d; font-size: 15px; line-height: 1.25; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.kutte__schild::before { content: ""; position: absolute; left: 11px; top: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: #2c1c0d; }
.kutte__mehr { position: absolute; top: 9px; right: 9px; bottom: 9px; left: 9px; display: flex; align-items: center; justify-content: center; background: rgba(20,25,31,.6); color: #fff; font-size: 34px; }
.kutte__leer { padding: 34px; border: 3px dashed var(--faden); }
.kutte__leer h3 { margin: 0 0 18px; color: #fff; font-size: 26px; }
.kutte__knopf, .kutte__knopf:hover, .kutte__knopf:focus { display: inline-block; padding: 11px 20px; background: var(--faden); color: #23292c; text-decoration: none; }

@media (max-width: 860px) { .kutte__inhalt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .kutte__patch { width: 136px; }
  .kutte__patches { gap: 16px; }
  .kutte__stuecke li, .kutte__stuecke[data-n="2"] li, .kutte__stuecke[data-n="4"] li:not(:first-child) { grid-column: span 6 !important; }
}
@media (prefers-reduced-motion: reduce) { .kutte *, .kutte *::before { animation: none !important; transition: none !important; } }

/* Portfolio: Lederetikett "Gemacht fuer ..." an der Unterkante des Produktbilds */
.kutte { scroll-margin-top: 70px; }
.product-item .fh5co-portfolio { position: relative; }
.produkt-etikett { position: absolute; z-index: 6; left: 16px; top: 284px; max-width: calc(100% - 32px); }
.produkt-etikett a, .produkt-etikett a:hover, .produkt-etikett a:focus { position: relative; display: block; padding: 5px 14px 5px 28px; background: #c99f6b; color: #2c1c0d; font-size: 15px; line-height: 1.25; text-decoration: none; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.produkt-etikett a:hover, .produkt-etikett a:focus { background: #d8b180; }
.produkt-etikett a::before { content: ""; position: absolute; left: 12px; top: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: #2c1c0d; }
@media screen and (max-width: 768px) { .produkt-etikett { top: 384px; } }

/* Footer: Icon fuer CrazyPatterns (kein Zeichen in icomoon vorhanden) */
#fh5co-footer .contact-info li .icon-garn { display: inline-block; width: 1em; height: 1em; vertical-align: -.1em; }
#fh5co-footer .contact-info li .icon-garn svg { display: block; width: 100%; height: 100%; }
