/* =====================================================================
   Katja Glas — Shop-Bereich im Stil der Startseite
   =====================================================================
   Das Standard-Shop-CSS ist bewusst nuechtern, damit es zu jedem Shop
   passt. Hier wird es an die abgenommene Gestaltung angeglichen:
   heller Bildgrund, Serifenschrift, gedaempftes Messing, viel Luft.

   WICHTIGSTE AENDERUNG: Produktbilder stehen auf HELLEM Grund.
   Aus PLAN-WEBSITE-KATJA.md: "Heller, leicht warmer Grund … klares Glas
   wirkt darauf klar statt matschig". Auf dunklem Grund verschwindet
   farbloses Glas — bei einer Glasblaeserin ist das der teuerste Fehler.

   Bewusst NICHT gemacht: Schatten, Verlaeufe, Animationen ueber das
   Noetigste hinaus. Igor am 18.08. zur ersten Fassung: "etwas ueberladen".
   ===================================================================== */

/* ── Schrift: Serife fuer alles, was Ueberschrift ist ───────────────── */
.product-card__title,
.product__title,
.category-card__name,
.page-head h1,
.adm-h1 {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    letter-spacing: -.01em;
}

.page-head h1 { font-size: clamp(30px, 4.5vw, 52px); }

/* ── Produktkachel ──────────────────────────────────────────────────── */
.product-card {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Der helle Kasten ist die Vitrine. Glas braucht Licht dahinter.
   Die Bogenform (oben halbrund, unten gerade) gibt der Kachel eine
   Silhouette, ohne dass Rahmen oder Schatten noetig waeren — das
   Motiv steht wie in einer Nische. Vorbild: Stefans Referenzbild. */
.product-card__media {
    background: var(--vitrine, #F7F4ED);
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
}

/* Formatfuellend statt eingepasst: Im Referenzbild traegt jedes Motiv
   die Bogenflaeche selbst. "contain" liesse das Produkt darin schwimmen
   und der helle Kasten wuerde als leere Flaeche dominieren.
   Beschnitten wird seitlich — die Motive sind zentriert aufgenommen. */
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .9s cubic-bezier(.2, .7, .3, 1);
}

.product-card:hover .product-card__media img { transform: scale(1.06); }

/* Kachel als Spalte, Preis unten: dadurch stehen die Preise einer Reihe
   auf einer Linie, auch wenn ein Titel zweizeilig umbricht. */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.product-card__body {
    padding: 20px 2px 0;
    background: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__price { margin-top: auto; }

.product-card__title {
    font-size: 25px;
    line-height: 1.2;
    color: var(--schrift, #F0EAE0);
}

.product-card__price {
    padding-top: 10px;
    font-family: var(--sans, system-ui, sans-serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--messing, #C2A063);
}

.product-card__subtitle { color: var(--schrift2, #A89F92); }

/* Mehr Luft zwischen den Kacheln — der Rohrer-Stil lebt von Abstand. */
.product-grid { gap: clamp(24px, 3.5vw, 44px); }

/* ── Filterspalte ───────────────────────────────────────────────────── */
.filters__label {
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--messing, #C2A063);
}

.filters__list a { color: var(--schrift2, #A89F92); text-decoration: none; }
.filters__list a:hover { color: var(--messing-hell, #DCC28E); }

.catalog { gap: clamp(32px, 5vw, 72px); }

/* ── Produktseite ───────────────────────────────────────────────────── */
.product__main { gap: clamp(32px, 5vw, 72px); }

.product__title { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }

.product__price {
    font-family: var(--serif, Georgia, serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--messing-hell, #DCC28E);
}

.product__description {
    max-width: 56ch;
    color: var(--schrift2, #A89F92);
    font-size: 18px;
    line-height: 1.8;
}

/* Auch hier: Hauptbild und Miniaturen auf hellem Grund. */
.product__media img,
.product__thumb img {
    background: var(--vitrine, #F7F4ED);
    object-fit: contain;
}

.product__media img { padding: 0; aspect-ratio: 3 / 4; object-fit: cover; }
.product__thumb img { padding: 8px; }

/* ── Schaltflaechen: Umriss statt Flaeche, wie auf der Startseite ───── */
.btn--primary {
    background: none;
    color: var(--schrift, #F0EAE0);
    border: 1px solid var(--messing, #C2A063);
    border-radius: 0;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    padding: 20px 40px;
    transition: background .3s, color .3s;
}

.btn--primary:hover {
    background: var(--messing, #C2A063);
    color: var(--tiefe, #1A1815);
}

/* ── Kategoriekacheln auf der Shop-Uebersicht ───────────────────────── */
.category-card {
    background: none;
    border: 1px solid var(--linie, #3B3730);
    border-radius: 0;
    transition: border-color .3s;
}

.category-card:hover { border-color: var(--messing, #C2A063); }
.category-card__count { color: var(--messing, #C2A063); }

/* ── Warenkorb-Schublade an die Farben angleichen ───────────────────── */
.cart-drawer__panel {
    background: var(--nacht, #26231F);
    color: var(--schrift, #F0EAE0);
    border-left: 1px solid var(--linie, #3B3730);
}

.cart-drawer__head { border-bottom: 1px solid var(--linie, #3B3730); }
.cart-drawer__head h2 { font-family: var(--serif, Georgia, serif); font-weight: 300; }

/* ── Auf schmalen Geraeten nicht zu grosszuegig werden ──────────────── */
@media (max-width: 720px) {
    .product-card__title { font-size: 21px; }
}


/* ── Startseite: dieselbe Form fuer die drei Stuecke ─────────────────── */
/* 28.08.2026: Bogen oben entfernt — Katja wollte die Bilder rechteckig. */
.rahmen {
    border-radius: 4px;
    aspect-ratio: 3 / 4;
    padding: 0;
}

.rahmen img { width: 100%; height: 100%; object-fit: cover; }

.stueck h3,
.stueck .preis { text-align: center; }

/* ── Produktseite: Hauptbild, seit 28.08.2026 rechteckig statt Bogen ─── */
.product__media img {
    border-radius: 4px;
}

.product__thumb img { border-radius: 3px; }

/* ── Textseiten (Impressum, Versand, Widerruf, AGB …) ──────────────────
   Die Zwischenueberschriften erben sonst die Groesse der Startseiten-
   Abschnitte (bis 58px) — auf einer Rechtstextseite wirkt das schreiend
   und macht das Ueberfliegen schwerer statt leichter. */
.prose h1 {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 1.2rem;
}

.prose h2 {
    font-family: var(--serif, Georgia, serif);
    font-weight: 400;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.3;
    margin: 2.4rem 0 .6rem;
    color: var(--messing-hell, #DCC28E);
}

.prose h3 { font-size: 17px; margin: 1.6rem 0 .4rem; }

.prose p,
.prose li {
    color: var(--schrift2, #A89F92);
    font-size: 17px;
    line-height: 1.8;
}

.prose p { margin-bottom: .9rem; }
.prose strong { color: var(--schrift, #F0EAE0); font-weight: 600; }

.prose ul,
.prose ol { margin: .6rem 0 1.2rem 1.3rem; }
.prose li { margin-bottom: .35rem; }

.prose a { color: var(--messing, #C2A063); }

/* =====================================================================
   Drei Bausteine aus Stefans Vorlagen-Liste (19.08.)
   =====================================================================
   Value Icons, Collection List und Promo Cards — uebersetzt in etwas,
   das zu Handwerk passt: keine bunten Symbole, keine Kacheln mit
   Schatten, sondern feine Linien und viel Abstand. Igor am 18.08.:
   "etwas ueberladen" — das ist die Messlatte.
   ===================================================================== */

/* ── Vertrauenszeile ────────────────────────────────────────────────── */
.werte {
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
    padding: clamp(28px, 4vw, 44px) 0;
}

.werte ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(20px, 3vw, 48px);
}

.werte li { display: flex; flex-direction: column; gap: 6px; }

.werte__wort {
    font: 500 12px/1.4 var(--sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--messing);
}

.werte__satz {
    font: 400 15.5px/1.65 var(--sans);
    color: var(--schrift2);
}

/* ── Warengruppen ───────────────────────────────────────────────────── */
.gruppen__reihe {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 44px);
}

.gruppe {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid var(--linie);
    text-decoration: none;
    color: var(--schrift);
    font: 300 19px/1 var(--serif);
    transition: border-color .3s, color .3s;
}

.gruppe:hover { border-color: var(--messing); color: var(--messing-hell); }

.gruppe__zahl {
    font: 500 11px/1 var(--sans);
    letter-spacing: .12em;
    color: var(--schrift3);
}

/* ── Zwei Hinweisblöcke ─────────────────────────────────────────────── */
.hinweise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

.hinweis {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--linie);
    text-decoration: none;
    transition: border-color .3s;
}

.hinweis:hover { border-color: var(--messing); }

.hinweis__oben {
    font: 500 11px/1 var(--sans);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--messing);
}

.hinweis__titel {
    font: 300 clamp(26px, 3vw, 34px)/1.15 var(--serif);
    color: var(--schrift);
}

.hinweis__text {
    font: 400 16px/1.75 var(--sans);
    color: var(--schrift2);
    max-width: 42ch;
}

.hinweis__mehr {
    margin-top: auto;
    padding-top: 14px;
    font: 500 11px/1 var(--sans);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--schrift2);
}

.hinweis:hover .hinweis__mehr { color: var(--messing); }

/* ── Häufige Fragen ───────────────────────────────────────────────────
   Aufklappbar mit <details> — ohne JavaScript, mit Tastatur bedienbar
   und von Vorlesegeräten korrekt angesagt. */
.faq { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--linie); }

.faq__punkt { border-bottom: 1px solid var(--linie); }

.faq__punkt summary {
    cursor: pointer;
    list-style: none;
    padding: clamp(18px, 2.5vw, 26px) 46px clamp(18px, 2.5vw, 26px) 0;
    position: relative;
    font: 300 clamp(19px, 2vw, 23px)/1.35 var(--serif);
    color: var(--schrift);
    transition: color .25s;
}

.faq__punkt summary::-webkit-details-marker { display: none; }
.faq__punkt summary:hover { color: var(--messing-hell); }

/* Eigenes Zeichen statt Browser-Dreieck: liegt rechts, wo das Auge
   beim Überfliegen der Fragen ohnehin landet. */
.faq__punkt summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font: 300 26px/1 var(--sans);
    color: var(--messing);
}

.faq__punkt[open] summary::after { content: "–"; }

.faq__antwort {
    padding: 0 46px clamp(20px, 3vw, 30px) 0;
    max-width: 62ch;
    font: 400 17px/1.8 var(--sans);
    color: var(--schrift2);
}
