/*
 * funkelgut — Stylesheet der Site.
 *
 * Mobile first; ab 48rem greift das Desktop-Layout. Die Werte stammen aus den
 * Entwürfen des Design-Projekts "Handcrafted jewellery shop redesign",
 * Richtung 1a ("Minimalistische Galerie").
 */

:root {
    --fg-bg: #fdfcfb;
    --fg-ink: #232320;
    --fg-text: #6b675f;
    --fg-meta: #8a867d;
    --fg-nav: #5a564f;
    --fg-accent: #a3987e;
    --fg-sold: #b3a48a;
    --fg-card: #efece6;
    --fg-placeholder: #e3dfd5;
    --fg-on-dark: #f3f1ec;
    --fg-on-dark-muted: #c9c5ba;
    --fg-rule: rgba(0, 0, 0, .08);
    --fg-rule-strong: rgba(0, 0, 0, .15);

    --fg-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --fg-sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fg-gutter: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.fg {
    margin: 0;
    background: var(--fg-bg);
    color: var(--fg-ink);
    font-family: var(--fg-sans);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

/* Bewusst ohne .fg davor: als Elementselektor hebt die Regel nur die
   Browservorgabe auf und überstimmt keine der Link-Klassen weiter unten. */
a {
    color: inherit;
}

/* Ebenfalls ohne .fg: sonst schlüge der Reset jede spätere Abstandsangabe. */
h1,
h2,
h3,
p,
dl,
dd {
    margin: 0;
}

/* ---------------------------------------------------------------- Bausteine */

.fg-eyebrow {
    font: 400 11px/1 var(--fg-sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-accent);
}

.fg-button {
    display: block;
    text-align: center;
    padding: 16px;
    border: 1px solid var(--fg-ink);
    font: 500 12px var(--fg-sans);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fg-ink);
    text-decoration: none;
    background: transparent;
}

.fg-button--solid {
    background: var(--fg-ink);
    color: var(--fg-bg);
}

.fg-button:hover {
    background: var(--fg-ink);
    color: var(--fg-bg);
}

.fg-button--solid:hover {
    background: transparent;
    color: var(--fg-ink);
}

/* Bildflächen ------------------------------------------------------------- */

.fg-figure {
    position: relative;
    aspect-ratio: var(--fg-ratio, 1);
    overflow: hidden;
    background: var(--fg-card);
}

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

.fg-figure--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fg-placeholder);
}

.fg-figure--empty::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg,
        rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .05) 2px,
        transparent 2px, transparent 14px);
}

.fg-figure--empty span {
    position: relative;
    padding: 0 10px;
    font: 500 10px ui-monospace, Menlo, monospace;
    letter-spacing: .02em;
    text-align: center;
    color: rgba(0, 0, 0, .4);
}

/* ---------------------------------------------------------------- Kopfzeile */

.fg-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--fg-bg);
    border-bottom: 1px solid var(--fg-rule);
}

.fg-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px var(--fg-gutter);
}

.fg-logo {
    font: 600 18px var(--fg-serif);
    letter-spacing: .01em;
    color: var(--fg-ink);
    text-decoration: none;
}

.fg-navtoggle {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 8px;
    font: 500 12px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-ink);
    cursor: pointer;
}

.fg-nav {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--fg-rule);
}

.fg-nav.is-open {
    display: flex;
}

.fg-nav__link {
    padding: 16px var(--fg-gutter);
    font: 500 13px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.fg-nav__link:last-child {
    border-bottom: 0;
}

/* ------------------------------------------------------------- Kopfbereich */

.fg-hero__media {
    aspect-ratio: 4 / 3;
    background: var(--fg-card);
}

.fg-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Die Platzhalterkachel im Kopfbereich ist ein <div> und behält ihr Flex-Layout,
   damit die Beschriftung mittig steht. */
div.fg-hero__img {
    display: flex;
    aspect-ratio: auto;
}

.fg-hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 28px var(--fg-gutter);
}

.fg-hero__title {
    font: 400 32px/1.15 var(--fg-serif);
    color: var(--fg-ink);
}

.fg-hero__lead {
    font: 400 14px/1.6 var(--fg-sans);
    color: var(--fg-text);
}

.fg-hero--compact .fg-hero__title {
    font-size: 28px;
    line-height: 1.2;
}

.fg-hero--compact .fg-hero__lead {
    line-height: 1.7;
}

.fg-hero__body .fg-button {
    margin-top: 6px;
}

/* --------------------------------------------------------------- Abschnitte */

.fg-section {
    padding: 8px var(--fg-gutter) 40px;
}

.fg-section--flush {
    padding: 0 var(--fg-gutter) 48px;
}

.fg-section__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.fg-section__title {
    font: 400 22px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-section__link {
    font: 500 11px var(--fg-sans);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fg-accent);
    text-decoration: none;
}

.fg-section__link::after {
    content: ' →';
}

.fg-section__link:hover {
    color: var(--fg-ink);
}

.fg-page-title {
    font: 400 28px var(--fg-serif);
    color: var(--fg-ink);
    margin-bottom: 6px;
}

.fg-page-intro {
    font: 400 13px/1.6 var(--fg-sans);
    color: var(--fg-text);
    max-width: 38em;
    margin-bottom: 20px;
}

.fg-shop {
    padding-top: 24px;
    padding-bottom: 4px;
}

/* ------------------------------------------------------------ Produktraster */

.fg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fg-card {
    display: block;
    background: var(--fg-card);
    padding: 14px;
    text-decoration: none;
    color: var(--fg-ink);
}

.fg-card[hidden] {
    display: none;
}

.fg-card__title {
    margin-top: 10px;
    font: 400 14px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-card__meta {
    margin: 2px 0 8px;
    font: 400 12px var(--fg-sans);
    color: var(--fg-meta);
}

.fg-card__material {
    display: none;
}

.fg-card__material::after {
    content: ' · ';
}

.fg-card__cta,
.fg-card__sold {
    font: 500 10.5px var(--fg-sans);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fg-card__cta {
    color: var(--fg-ink);
    border-bottom: 1px solid var(--fg-ink);
}

.fg-card__sold {
    color: var(--fg-sold);
}

/* ----------------------------------------------------------- Kategoriefilter */

.fg-filter {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.js .fg-filter {
    display: flex;
}

.fg-filter__tab {
    flex: none;
    appearance: none;
    padding: 9px 16px;
    font: 500 12px var(--fg-sans);
    letter-spacing: .03em;
    cursor: pointer;
    border: 1px solid var(--fg-rule-strong);
    background: transparent;
    color: var(--fg-nav);
}

.fg-filter__tab.is-active {
    border-color: var(--fg-ink);
    background: var(--fg-ink);
    color: var(--fg-bg);
}

/* ------------------------------------------------------------ Schmuckstück */

.fg-back {
    padding: 20px var(--fg-gutter) 0;
}

.fg-back__link {
    font: 500 11px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-accent);
    text-decoration: none;
}

.fg-back__link:hover {
    color: var(--fg-ink);
}

.fg-product {
    padding: 12px 0 40px;
}

.fg-product__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px var(--fg-gutter) 0;
}

.fg-product__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px var(--fg-gutter) 0;
}

.fg-product__title {
    font: 400 30px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-product__price {
    font: 500 20px var(--fg-sans);
    color: var(--fg-ink);
}

.fg-product__description {
    font: 400 14px/1.7 var(--fg-sans);
    color: var(--fg-text);
    max-width: 32em;
}

.fg-product__details {
    display: grid;
    gap: 6px;
    border-top: 1px solid var(--fg-rule);
    padding-top: 14px;
    font: 400 13px/1.6 var(--fg-sans);
    color: var(--fg-meta);
}

.fg-product__info .fg-button {
    margin-top: 8px;
    padding: 17px;
    font-size: 13px;
    letter-spacing: .05em;
}

.fg-product__note {
    font: 400 11px var(--fg-sans);
    color: var(--fg-accent);
    text-align: center;
}

.fg-product__sold {
    margin-top: 8px;
    padding: 16px;
    border: 1px solid var(--fg-sold);
    font: 500 12px var(--fg-sans);
    letter-spacing: .05em;
    color: var(--fg-sold);
    text-align: center;
}

/* ------------------------------------------------------------- Bilderschau */

/*
 * Der Überlagerer für die Bilder eines Schmuckstücks. Er hängt an einem
 * nativen <dialog>: die Regeln heben zuerst die Browservorgaben (Rahmen,
 * Innenabstand, Höhenbegrenzung) auf. `display` steht bewusst nur unter
 * [open] — sonst stünde die Vorgabe `display: none` des geschlossenen
 * Dialogs nicht mehr.
 */

.fg-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fg-on-dark);
    overflow: hidden;
}

.fg-lightbox[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/*
 * Die Seite darunter ist hell: von einer bloß abgedunkelten Fläche blieben
 * ihre Überschriften als lesbarer Geist neben der Bildunterschrift stehen.
 * Erst die Unschärfe nimmt ihnen die Form; kann der Browser sie nicht, sind
 * die .96 dicht genug, dass nur ein blasser Schemen übrig bleibt.
 */
.fg-lightbox::backdrop {
    background: rgba(24, 23, 20, .96);
    backdrop-filter: blur(4px);
}

.fg-lightbox__img {
    max-width: calc(100% - 32px);
    max-height: calc(100% - 160px);
    object-fit: contain;
    cursor: zoom-out;
    transition: opacity .2s ease-out;
}

.fg-lightbox.is-loading .fg-lightbox__img {
    opacity: 0;
}

.fg-lightbox__caption {
    max-width: 32em;
    padding: 0 20px;
    font: 400 12px/1.5 var(--fg-sans);
    color: var(--fg-on-dark-muted);
    text-align: center;
}

/*
 * Auf dem Telefon stünden seitliche Pfeile auf dem Bild — dort sitzen sie
 * deshalb unten neben dem Zähler, gewischt wird ohnehin. Erst ab 48rem ist
 * genug Rand da, um sie an die Seiten zu stellen.
 */
/*
 * Die Knöpfe tragen ein eigenes `display`, das die Browservorgabe für
 * [hidden] überstimmen würde — bei nur einem Bild blieben sie sonst stehen.
 */
.fg-lightbox [hidden] {
    display: none;
}

.fg-lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fg-lightbox__counter {
    min-width: 5em;
    font: 500 11px var(--fg-sans);
    letter-spacing: .12em;
    color: var(--fg-on-dark-muted);
    text-align: center;
}

/* Schaltflächen: gleiche Grundform, unterschiedliche Ecke. */

.fg-lightbox__close,
.fg-lightbox__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fg-on-dark);
    font: 400 24px/1 var(--fg-sans);
    cursor: pointer;
}

.fg-lightbox__close:hover,
.fg-lightbox__nav:hover {
    color: var(--fg-accent);
}

.fg-lightbox__close:focus-visible,
.fg-lightbox__nav:focus-visible {
    outline: 1px solid var(--fg-accent);
    outline-offset: 2px;
}

.fg-lightbox__close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 18px;
}

.fg-lightbox__nav {
    font-size: 34px;
}

/* Die Bildfläche wird nur dann zum Verweis, wenn sie sich vergrößern lässt. */

a.fg-figure {
    display: block;
    cursor: zoom-in;
}

a.fg-figure .fg-figure__img {
    transition: transform .4s ease-out;
}

a.fg-figure:hover .fg-figure__img {
    transform: scale(1.03);
}

a.fg-figure:focus-visible {
    outline: 1px solid var(--fg-accent);
    outline-offset: 3px;
}

/* Solange der Überlagerer offen ist, soll die Seite darunter nicht rollen. */
.fg-lightbox-open {
    overflow: hidden;
}

@keyframes fg-lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fg-lightbox[open],
.fg-lightbox[open]::backdrop {
    animation: fg-lightbox-in .18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .fg-lightbox[open],
    .fg-lightbox[open]::backdrop {
        animation: none;
    }

    a.fg-figure .fg-figure__img,
    a.fg-figure:hover .fg-figure__img {
        transition: none;
        transform: none;
    }
}

/* ------------------------------------------------------------------ Textseite */

.fg-textpage {
    padding-top: 24px;
}

.fg-textpage > .fg-page-title {
    margin-bottom: 24px;
}

.fg-text + .fg-text {
    margin-top: 28px;
}

.fg-text__headline {
    font: 400 20px var(--fg-serif);
    color: var(--fg-ink);
    margin-bottom: 10px;
}

/* Fließtext. Die Auszeichnungen kommen aus dem Editor, deshalb wird hier nach
   Elementen statt nach Klassen gestaltet. */
.fg-prose {
    font: 400 15px/1.75 var(--fg-sans);
    color: var(--fg-text);
    max-width: 38em;
}

.fg-prose > * + * {
    margin-top: 1em;
}

.fg-prose h3,
.fg-prose h4 {
    font: 400 17px/1.4 var(--fg-serif);
    color: var(--fg-ink);
    margin-top: 1.6em;
}

.fg-prose h4 {
    font-size: 15px;
}

.fg-prose a {
    color: var(--fg-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fg-prose a:hover {
    color: var(--fg-accent);
}

.fg-prose strong {
    color: var(--fg-ink);
    font-weight: 600;
}

.fg-prose ul,
.fg-prose ol {
    padding-left: 1.3em;
}

.fg-prose li + li {
    margin-top: .35em;
}

/* ------------------------------------------------------------------ Standort */

.fg-location {
    scroll-margin-top: 70px;
}

.fg-location__title {
    font: 400 26px var(--fg-serif);
    color: var(--fg-ink);
    margin-bottom: 20px;
}

.fg-location .fg-eyebrow {
    margin-bottom: 12px;
}

.fg-location__map {
    margin-bottom: 24px;
}

.fg-location__facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fg-fact__label {
    font: 500 12px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-accent);
    margin-bottom: 6px;
}

.fg-fact__name {
    font: 400 18px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-fact__lines {
    font: 400 14px/1.6 var(--fg-sans);
    color: var(--fg-text);
}

.fg-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: 400 14px/1.6 var(--fg-sans);
    color: var(--fg-text);
}

.fg-hours__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fg-hours dt,
.fg-hours dd {
    white-space: nowrap;
}

.fg-hours dt,
.fg-hours dd {
    margin: 0;
}

/* -------------------------------------------------------------------- Fuß */

.fg-footer {
    background: var(--fg-ink);
}

.fg-visit {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px var(--fg-gutter);
    text-decoration: none;
}

.fg-visit__title {
    font: 400 17px var(--fg-serif);
    color: var(--fg-on-dark);
}

.fg-visit__meta {
    font: 400 13px var(--fg-sans);
    color: var(--fg-on-dark-muted);
}

.fg-visit__meta::after {
    content: ' →';
}

.fg-footer__bottom {
    padding: 28px var(--fg-gutter);
}

.fg-visit + .fg-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.fg-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 16px;
}

.fg-footer__link {
    font: 500 12px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-on-dark-muted);
    text-decoration: none;
}

.fg-footer__link:hover,
.fg-footer__link.is-current {
    color: var(--fg-on-dark);
}

.fg-footer__note {
    font: 400 13px var(--fg-serif);
    color: var(--fg-on-dark);
    text-align: center;
}

/* ------------------------------------------------------------------ Warenkorb */

/* Der Zähler in der Kopfzeile wird leer ausgeliefert und von main.js gefüllt;
   ohne JavaScript bleibt der Menüpunkt schlicht unbeziffert. */
.fg-nav__count {
    font-variant-numeric: tabular-nums;
}

.fg-cart__subline {
    font: 400 13px/1.6 var(--fg-sans);
    color: var(--fg-text);
}

.fg-cart__notice {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid var(--fg-accent);
    background: var(--fg-card);
    font: 400 13px/1.6 var(--fg-sans);
    color: var(--fg-ink);
}

/* Leerer Warenkorb ---------------------------------------------------------- */

.fg-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 32px 20px;
    background: var(--fg-card);
}

.fg-empty__title {
    font: 400 20px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-empty__text {
    font: 400 13px/1.6 var(--fg-sans);
    color: var(--fg-text);
    max-width: 34em;
}

.fg-empty .fg-button {
    align-self: stretch;
}

/* Positionen ---------------------------------------------------------------- */

.fg-cart__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fg-cart__lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Ein Raster statt zweier Markup-Varianten: mobil stehen Preis und "Entfernen"
   unter den Angaben, ab 48rem in einer eigenen dritten Spalte. Die Bereiche
   halten beides mit demselben HTML zusammen. */
.fg-cartline {
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-areas:
        'figure body'
        'figure aside';
    gap: 4px 14px;
    align-items: center;
    padding: 14px;
    background: var(--fg-card);
}

.fg-cartline--unavailable {
    opacity: .7;
}

.fg-cartline__figure {
    grid-area: figure;
    align-self: start;
}

.fg-cartline__body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fg-cartline__title {
    font: 400 16px var(--fg-serif);
    color: var(--fg-ink);
}

.fg-cartline__material {
    font: 400 12px var(--fg-sans);
    color: var(--fg-meta);
}

.fg-cartline__badge {
    font: 400 11px var(--fg-sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-accent);
}

.fg-cartline__warning {
    font: 500 11px/1.5 var(--fg-sans);
    color: var(--fg-sold);
}

.fg-cartline__aside {
    grid-area: aside;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}

.fg-cartline__price {
    font: 500 15px var(--fg-sans);
    color: var(--fg-ink);
    font-variant-numeric: tabular-nums;
}

.fg-cartline__remove {
    appearance: none;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    background: transparent;
    font: 500 11px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-meta);
    cursor: pointer;
}

.fg-cartline__remove:hover {
    color: var(--fg-ink);
}

.fg-cart__back {
    display: inline-block;
    font: 500 11px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-accent);
    text-decoration: none;
}

.fg-cart__back:hover {
    color: var(--fg-ink);
}

/* Zusammenfassung und Bestellbutton ----------------------------------------- */

.fg-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    background: var(--fg-ink);
}

.fg-summary__title {
    font: 400 20px var(--fg-serif);
    color: var(--fg-on-dark);
}

.fg-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font: 400 13px var(--fg-sans);
    color: var(--fg-on-dark-muted);
}

.fg-summary__row,
.fg-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.fg-summary__total {
    font: 500 18px var(--fg-sans);
    color: var(--fg-on-dark);
    font-variant-numeric: tabular-nums;
}

.fg-summary__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font: 400 12px/1.5 var(--fg-sans);
    color: var(--fg-on-dark-muted);
    cursor: pointer;
}

.fg-summary__terms input {
    flex: none;
    margin-top: 2px;
    accent-color: var(--fg-accent);
}

.fg-summary__submit {
    appearance: none;
    width: 100%;
    padding: 17px;
    border: 1px solid var(--fg-on-dark);
    background: var(--fg-on-dark);
    font: 500 13px var(--fg-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fg-ink);
    cursor: pointer;
}

.fg-summary__submit:hover:not(:disabled) {
    background: transparent;
    color: var(--fg-on-dark);
}

.fg-summary__submit:disabled {
    border-color: var(--fg-on-dark-muted);
    background: transparent;
    color: var(--fg-on-dark-muted);
    cursor: not-allowed;
}

.fg-summary__note {
    font: 400 11px/1.6 var(--fg-sans);
    color: var(--fg-accent);
    text-align: center;
}

.fg-summary__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    list-style: none;
    padding: 0;
}

.fg-summary__legallink {
    font: 400 11px var(--fg-sans);
    color: var(--fg-on-dark-muted);
    text-decoration: underline;
}

.fg-summary__legallink:hover {
    color: var(--fg-on-dark);
}

/* Die Schaltfläche auf der Produktseite ist ein Formular-Button und braucht
   deshalb die Breitenangabe, die ein <a> von sich aus hat. */
.fg-addtocart .fg-button {
    width: 100%;
    cursor: pointer;
}

/* -------------------------------------------------------------- Bestellung */

.fg-order__text {
    font: 400 14px/1.7 var(--fg-sans);
    color: var(--fg-text);
    max-width: 38em;
    margin-bottom: 24px;
}

.fg-order__details {
    padding: 20px;
    background: var(--fg-card);
    margin-bottom: 24px;
}

.fg-order__number {
    font: 400 11px var(--fg-sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-meta);
    margin-bottom: 14px;
}

.fg-order__line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font: 400 14px var(--fg-sans);
    color: var(--fg-ink);
    font-variant-numeric: tabular-nums;
}

.fg-order__line--shipping {
    color: var(--fg-text);
    border-top: 1px solid var(--fg-rule);
    margin-top: 8px;
    padding-top: 12px;
}

.fg-order__line--total {
    border-top: 1px solid var(--fg-rule-strong);
    margin-top: 4px;
    padding-top: 12px;
    font-weight: 500;
}
/* ================================================================= Desktop */

@media (min-width: 48rem) {

    :root {
        --fg-gutter: 48px;
    }

    /* Kopfzeile ---------------------------------------------------------- */

    .fg-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 26px var(--fg-gutter);
    }

    .fg-header__inner {
        padding: 0;
    }

    .fg-logo {
        font-size: 20px;
    }

    .fg-navtoggle {
        display: none;
    }

    .fg-nav {
        display: flex;
        flex-direction: row;
        gap: 32px;
        border-top: 0;
    }

    .fg-nav__link {
        padding: 0;
        border-bottom: 0;
        font-size: 12px;
        letter-spacing: .06em;
        color: var(--fg-nav);
    }

    .fg-nav__link:hover,
    .fg-nav__link.is-current {
        color: var(--fg-ink);
    }

    /* Kopfbereich -------------------------------------------------------- */

    .fg-hero {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        min-height: 420px;
    }

    .fg-hero--compact {
        grid-template-columns: 1fr 1fr;
        min-height: 400px;
    }

    .fg-hero__media {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: auto;
    }

    .fg-hero__body {
        grid-column: 1;
        grid-row: 1;
        gap: 22px;
        padding: 64px var(--fg-gutter);
    }

    .fg-eyebrow {
        font-size: 12px;
        letter-spacing: .14em;
    }

    .fg-hero__title {
        font-size: 52px;
        line-height: 1.08;
        max-width: 9.5em;
    }

    .fg-hero__lead {
        font-size: 15px;
        max-width: 30em;
    }

    .fg-hero--compact .fg-hero__body {
        gap: 20px;
    }

    .fg-hero--compact .fg-hero__title {
        font-size: 40px;
        line-height: 1.15;
        max-width: 11em;
    }

    .fg-hero--compact .fg-hero__lead {
        max-width: 32em;
    }

    .fg-button {
        display: inline-block;
        width: fit-content;
        padding: 13px 26px;
    }

    .fg-button--block {
        display: block;
        width: auto;
    }

    .fg-hero__body .fg-button {
        margin-top: 10px;
    }

    /* Abschnitte --------------------------------------------------------- */

    .fg-section {
        padding: 56px var(--fg-gutter) 64px;
    }

    .fg-section--flush {
        padding: 0 var(--fg-gutter) 72px;
    }

    .fg-section__head {
        margin-bottom: 28px;
    }

    .fg-section__title {
        font-size: 26px;
    }

    .fg-page-title {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .fg-page-intro {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .fg-shop {
        padding-top: 56px;
        padding-bottom: 12px;
    }

    /* Produktraster ------------------------------------------------------ */

    .fg-grid--teaser {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }

    .fg-grid--grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    .fg-card--teaser {
        padding: 20px;
    }

    .fg-card--grid {
        padding: 18px;
    }

    .fg-card__title {
        margin-top: 12px;
        font-size: 15px;
    }

    .fg-card--teaser .fg-card__title {
        margin-top: 14px;
    }

    .fg-card__meta {
        margin: 2px 0 10px;
    }

    .fg-card--teaser .fg-card__meta {
        font-size: 13px;
    }

    .fg-card__material {
        display: inline;
    }

    .fg-card__cta,
    .fg-card__sold {
        font-size: 11px;
        letter-spacing: .05em;
    }

    .fg-card__cta {
        padding-bottom: 2px;
    }

    /* Filter ------------------------------------------------------------- */

    .fg-filter {
        gap: 10px;
        overflow-x: visible;
        padding-bottom: 36px;
    }

    .fg-filter__tab {
        padding: 9px 18px;
    }

    /* Schmuckstück ------------------------------------------------------- */

    .fg-back {
        padding: 24px var(--fg-gutter) 0;
    }

    .fg-product {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: start;
        padding: 24px var(--fg-gutter) 72px;
    }

    .fg-product__thumbs {
        gap: 14px;
        padding: 14px 0 0;
    }

    .fg-product__info {
        gap: 18px;
        padding: 8px 0 0;
    }

    .fg-product__title {
        font-size: 40px;
    }

    .fg-product__price {
        font-size: 22px;
    }

    .fg-product__details {
        padding-top: 16px;
        margin-top: 6px;
    }

    .fg-product__info .fg-button {
        margin-top: 14px;
        padding: 16px;
    }

    /* Bilderschau -------------------------------------------------------- */

    .fg-lightbox__img {
        max-width: calc(100% - 160px);
        max-height: calc(100% - 140px);
    }

    .fg-lightbox__close {
        top: 20px;
        right: 24px;
    }

    .fg-lightbox__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .fg-lightbox__nav--prev {
        left: 20px;
    }

    .fg-lightbox__nav--next {
        right: 20px;
    }

    /* Textseite ---------------------------------------------------------- */

    .fg-textpage {
        padding-top: 56px;
    }

    .fg-textpage > .fg-page-title {
        margin-bottom: 32px;
    }

    .fg-text + .fg-text {
        margin-top: 36px;
    }

    .fg-text__headline {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .fg-prose {
        font-size: 16px;
    }

    .fg-prose h3 {
        font-size: 20px;
    }

    .fg-prose h4 {
        font-size: 17px;
    }

    /* Standort ----------------------------------------------------------- */

    .fg-location {
        scroll-margin-top: 80px;
        padding: 64px var(--fg-gutter);
    }

    .fg-location .fg-eyebrow {
        margin-bottom: 14px;
    }

    .fg-location__title {
        font-size: 34px;
        margin-bottom: 36px;
    }

    .fg-location__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .fg-location__map {
        margin-bottom: 0;
    }

    .fg-location__facts {
        gap: 24px;
    }

    .fg-fact__label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .fg-fact__name {
        font-size: 20px;
    }

    .fg-hours__row {
        max-width: 22em;
    }

    /* Fuß ---------------------------------------------------------------- */

    .fg-visit {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 40px var(--fg-gutter);
    }

    .fg-visit__title {
        font-size: 18px;
    }

    .fg-footer__bottom {
        padding: 40px var(--fg-gutter);
    }

    .fg-footer__nav {
        gap: 12px 32px;
        margin-bottom: 20px;
    }

    .fg-footer__note {
        font-size: 14px;
    }

    /* Warenkorb ---------------------------------------------------------- */

    .fg-nav__link--cart {
        color: var(--fg-ink);
    }

    .fg-cart__subline {
        font-size: 14px;
    }

    .fg-empty {
        gap: 16px;
        padding: 56px 40px;
    }

    .fg-empty__title {
        font-size: 22px;
    }

    .fg-empty__text {
        font-size: 14px;
    }

    .fg-empty .fg-button {
        align-self: flex-start;
        padding: 14px 26px;
    }

    .fg-cart__layout {
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .fg-cart__lines {
        gap: 2px;
    }

    .fg-cartline {
        grid-template-columns: 110px 1fr auto;
        grid-template-areas: 'figure body aside';
        gap: 24px;
        padding: 20px;
    }

    .fg-cartline__figure {
        align-self: center;
    }

    .fg-cartline__body {
        gap: 4px;
    }

    .fg-cartline__title {
        font-size: 18px;
    }

    .fg-cartline__material {
        font-size: 13px;
    }

    .fg-cartline__aside {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
    }

    .fg-cartline__price {
        font-size: 17px;
    }

    .fg-cart__back {
        margin-top: 20px;
    }

    .fg-summary {
        gap: 18px;
        padding: 32px;
    }

    .fg-summary__title {
        font-size: 22px;
    }

    .fg-summary__rows {
        gap: 10px;
        padding-bottom: 16px;
        font-size: 14px;
    }

    .fg-summary__total {
        font-size: 19px;
    }

    .fg-summary__submit {
        padding: 16px;
    }

    /* Bestellung --------------------------------------------------------- */

    .fg-order__details {
        padding: 28px 32px;
        max-width: 34em;
    }
}
