/* ═══════════════════════════════════════════════════════════════════
   alexzerr.art
   Mobile-first, Breakpoints nur mit min-width.

   Farben  — Malgrund & Pigmente. Die Farbe kommt aus den Bildern,
             die Seite selbst bleibt zurückhaltend.
   Schrift — Archivo (lokal, OFL), eine Familie: schmal + schwer für den
             Namen, normal breit für Text.
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
         url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
	
	--theme-color: #000;
	
	--navHeight: 0px;
	
    --gesso:       #f2f2ef;   /* Grundierung — Hintergrund */
    --paynes-grey: #23282e;   /* Schrift */
    --graphite:    #6b7077;   /* Nebentext */
    --rule:        #d6d6d1;   /* Linien, Felder */
    --mat:         #e6e6e1;   /* Passepartout hinter den Bildern */
    --mat-hover:   #dcdcd6;
    --white:       #ffffff;
    --ultramarine: #2b3fd6;   /* Fokus (Tastatur) — sonst nirgends */
    --ink:         #111214;   /* Buttons — schwarz */
    --ink-hover:   #2c3036;

    /* ── Button: EIN Stil für alle (Seite, Warenkorb, Checkout) ──
       cart_3.css und checkout.css greifen auf diese Werte zu. */
    --button-bg:             var(--ink);
    --button-bg-hover:       var(--ink-hover);
    --button-fg:             var(--white);
    --button-height:         52px;
    --button-padding:        0 32px;
    --button-font-size:      13px;
    --button-font-weight:    600;
    --button-letter-spacing: 0.14em;

    --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

    --gutter: 16px;
    --section-space: 88px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--gesso);
    color: var(--paynes-grey);
    font-family: var(--font);
    font-size: 17px;
    font-stretch: 100%;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--ultramarine);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


/* ── Header ───────────────────────────────────────── */

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 28px;
    padding: 20px var(--gutter);
}

.site-logo {
    flex: 1 1 100%;
    font-size: 17px;
    font-weight: 700;
    font-stretch: 75%;
    letter-spacing: 0.01em;
}

.site-logo img{
    max-width:230px;
}

.site-nav,
.lang-switch,
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 15px;
}

.site-nav a,
.lang-switch a,
.footer-nav a {
    color: var(--graphite);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.lang-switch a:hover,
.footer-nav a:hover {
    color: var(--paynes-grey);
}

.site-nav a.is-active,
.footer-nav a.is-active {
    color: var(--paynes-grey);
    border-bottom-color: var(--paynes-grey);
}

.lang-switch {
    gap: 14px;
    font-size: 14px;
}

/* Warenkorb im Header */
.cart-link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    color: var(--graphite);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.cart-link:hover,
.cart-link.is-active {
    color: var(--paynes-grey);
}

.cart-link.is-active {
    border-bottom-color: var(--paynes-grey);
}

.cart-link-count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 0;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.lang-switch a.is-active {
    color: var(--paynes-grey);
    font-weight: 600;
}


/* ── Allgemeine Inhaltsseiten ─────────────────────── */

.page {
    max-width: 720px;
    padding: 40px var(--gutter) var(--section-space);
    margin: 0 auto;
}

.page-wide {
    max-width: none;
}

.page h1,
.contact_form_title {
    margin: 0 0 28px;
    font-size: 40px;
    font-weight: 800;
    font-stretch: 75%;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-align:center;
}


.padding-top {
    padding-top:8rem;
}

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

.center{
    text-align:center;
}


.page-content,
.content .inner {
    max-width: 62ch;
    margin: 0 auto;
}

.content a,
.page-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;          /* feine Linie statt der fetten Standardlinie */
    text-underline-offset: 0.3em;            /* Abstand zur Schrift, wächst mit der Schriftgröße */
    text-decoration-color: var(--graphite);  /* Linie etwas heller als der Text */
    transition: text-decoration-color 0.25s ease, text-underline-offset 0.25s ease;
}

.content a:hover,
.page-content a:hover {
    text-decoration-color: currentColor;     /* beim Hover: Linie in Textfarbe */
    text-underline-offset: 0.2em;            /* rückt leicht an den Text heran */
}


.page-content.padding-top {
    padding-top:2rem;
}

.page-content.margin-auto{
	margin: 0 auto;
}

.section-title {
    margin: 0 0 32px;
    font-size: 26px;
    font-weight: 700;
    font-stretch: 75%;
    line-height: 1.1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--button-height);
    padding: var(--button-padding);
    border: 0;
    border-radius: 0;
    background: var(--button-bg);
    color: var(--button-fg);
    font-family: var(--font);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    letter-spacing: var(--button-letter-spacing);
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.button:focus-visible {
    outline: 2px solid var(--ultramarine);
    outline-offset: 3px;
}

.button:disabled,
.button[aria-disabled="true"] {
    opacity: 0.4;
    cursor: default;
}

.back-link {
    font-size: 15px;
    color: var(--graphite);
    border-bottom: 1px solid var(--rule);
}

.back-link:hover {
    color: var(--paynes-grey);
}


/* ── Startseite: Name aus Farbe ───────────────────── */

.hero {
    padding: 0;
}

.hero-title {
    margin: 0;
    line-height: 0;
}

.hero-wordmark {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.hero-wordmark-text {
    font-family: var(--font);
    font-size: 318px;
    font-weight: 900;
    font-stretch: 62%;
}

.hero-wordmark-base {
    fill: var(--paynes-grey);
}

/* Feine Kontur — hält die Buchstaben lesbar, auch wenn das Bild hell ist */
.hero-wordmark-outline {
    fill: none;
    stroke: var(--paynes-grey);
    stroke-width: 1.4;
}

.hero-wordmark-image {
    transform-origin: 50% 50%;
    transform-box: fill-box;
    animation: hero-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Der eine Moment beim Laden: die Farbe setzt sich in die Buchstaben */
@keyframes hero-settle {
    from {
        transform: scale(1.18);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-tagline {
    max-width: 34ch;
    margin: 20px 0 0;
    font-size: 19px;
    line-height: 1.4;
    color: var(--graphite);
}


/* ── Startseite: Neue Arbeiten ────────────────────── */

.latest {
    padding: var(--section-space) var(--gutter) 0;
}

/* Gleich große Felder: 2 Spalten mobil, 4 ab 900px */
.wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wall-item {
    min-width: 0;
}

/* Passepartout: festes quadratisches Feld, Bild ganz sichtbar und zentriert —
   egal ob Hoch-, Quer- oder Quadratformat */
.wall-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    /* background: var(--mat); */
    transition: background-color 0.25s ease;
}

.wall-link:hover {
    background: var(--mat-hover);
}

/* ImageTag liefert <picture><source …><img></picture> —
   im Passepartout soll das <img> selbst das zentrierte Element sein */
.wall-link picture {
    display: contents;
}

.artwork-link picture {
    display: block;
}

/* Querformat füllt die Breite, Hochformat (und Quadrat) die Höhe des Feldes.
   Die jeweils andere Seite ergibt sich aus width/height (echte Maße) → nichts verzerrt, nichts beschnitten. */
.wall-link img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 1px 2px rgba(35, 40, 46, 0.14), 0 10px 22px -12px rgba(35, 40, 46, 0.5);
}

.wall-item-portrait .wall-link img {
    width: auto;
    height: 100%;
}

/* Werkschild wie im Ausstellungsraum */
.wall-label {
    display: flex;
    flex-direction: column;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--graphite);
}

.wall-label-nr {
    color: var(--paynes-grey);
    font-weight: 600;
}

.wall-label-sold {
    font-style: italic;
}

.latest-action {
    margin: 48px 0 0;
}


/* ── Startseite: Warteliste ───────────────────────── */

.waitlist {
    display: flex;
    margin: var(--section-space) var(--gutter) 0;
    
    margin: 0 var(--gutter) 0;
    
    padding-top: 100px;
    border-top: 1px solid var(--rule);
    grid-auto-flow: row;
    flex-direction: column;
    align-items: center;
}

.waitlist-intro p {
    max-width: 40ch;
    margin: 0;
    color: var(--graphite);
}

.waitlist-intro .section-title {
    margin-bottom: 12px;
}

.waitlist-form {
    max-width: 520px;
}

.waitlist-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.waitlist-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.waitlist-input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: var(--white);
    color: var(--paynes-grey);
    font: inherit;
    font-size: 16px;
}

.waitlist-input:focus {
    border-color: var(--ultramarine);
    outline: none;
    box-shadow: 0 0 0 1px var(--ultramarine);
}

.waitlist-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--graphite);
}

.waitlist-note a {
    border-bottom: 1px solid var(--rule);
}

.waitlist-note a:hover {
    color: var(--paynes-grey);
}


/* ── Originale: Liste ─────────────────────────────── */

.artwork-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 16px;
}

.artwork {
    break-inside: avoid;
    margin-bottom: 32px;
}

.artwork-link {
    display: block;
}

.artwork img,
.artwork-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--rule);
}

.artwork-meta {
    display: flex;
    flex-direction: column;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--graphite);
}

.artwork-nr {
    color: var(--paynes-grey);
    font-weight: 600;
}

.artwork-sold {
    font-style: italic;
}

.artworks-empty {
    color: var(--graphite);
}


/* ── Originale: Werkseite ─────────────────────────── */

.artwork-detail-image {
    margin: 0 0 32px;
}

.artwork-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 24px;
    margin: 0 0 28px;
    font-size: 15px;
}

.artwork-facts dt {
    color: var(--graphite);
}

.artwork-facts dd {
    margin: 0;
}

.artwork-description {
    max-width: 60ch;
}


/* ── Footer ───────────────────────────────────────── */
/* Mobil: Satz oben, darunter die Linklisten zu zweit. Breit: vier Spalten. */

.site-footer {
    margin: var(--section-space) var(--gutter) 0;
    padding: 48px 0 32px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
    color: var(--graphite);
}

.footer-columns {
    display: flex;
    gap: 40px 24px;
    justify-content: space-between;
    justify-items: stretch;
    
    flex-direction: column;
    flex-wrap: nowrap;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    font-size: 17px;
    font-weight: 700;
    font-stretch: 75%;
    letter-spacing: 0.01em;
    color: var(--paynes-grey);
}

.footer-tagline {
    max-width: 32ch;
    margin: 12px 0 0;
    line-height: 1.5;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--paynes-grey);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--graphite);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--paynes-grey);
}

.footer-links a.is-active {
    color: var(--paynes-grey);
    border-bottom-color: var(--paynes-grey);
}

.copyright {
    margin: 48px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-columns {
        gap: 40px;
        flex-direction: row;
    }

    .footer-brand {
        grid-column: auto;
    }
}



/* ── Tablet ───────────────────────────────────────── */

@media (min-width: 768px) {
    :root {
        --gutter: 40px;
        --section-space: 120px;
    }

    .site-header {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .site-logo {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .page h1,
    .contact_form_title {
        font-size: 56px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .artwork-grid {
        columns: 3;
        column-gap: 32px;
    }

    .artwork {
        margin-bottom: 48px;
    }

    .waitlist-row {
        flex-direction: row;
    }

    .waitlist-row .button {
        flex: 0 0 auto;
    }
}


.content{
	display: flex;
	flex-direction: column;
}

.content.center{
	display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.content .contact-form{
	width:100%; 
	max-width:740px;
	padding: 40px var(--gutter) var(--section-space);
    margin: 0 auto;
}
 

/* Während js/pagination.js lädt (wie setLoading() in xxl-art) */
.artworks.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    font-size: 15px;
    justify-content: center;
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-pages a,
.pagination-current,
.pagination-gap {
    display: inline-block;
    min-width: 40px;
    padding: 8px 6px;
    text-align: center;
}

.pagination-pages a,
.pagination-step {
    color: var(--graphite);
}

.pagination-pages a:hover,
.pagination-step:hover {
    color: var(--paynes-grey);
}

.pagination-current {
    color: var(--paynes-grey);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--paynes-grey);
}

.pagination-gap {
    color: var(--graphite);
}

.pagination-step {
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
}



/* ── Ab 900px: vier Felder nebeneinander ──────────── */

@media (min-width: 900px) {

    .wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px;
    }

    .waitlist {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}


/* ── Desktop ──────────────────────────────────────── */

@media (min-width: 1200px) {
    :root {
        --gutter: 72px;
    }

    .artwork-grid {
        columns: 3;
        column-gap: 48px;
    }

    .artwork-detail {
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 64px;
        align-items: start;
    }

    .artwork-detail-image {
        margin: 0;
    }
}


/* ── Weniger Bewegung, wenn gewünscht ─────────────── */

@media (prefers-reduced-motion: reduce) {
    .hero-wordmark-image {
        animation: none;
    }

    .button {
        transition: none;
    }
}




:root{
	--side_layer_width_mobile: 100vw;
	--side_layer_width_tablet: 60vw;
	--side_layer_width_desktop: 420px;
}

#header_side_layer{
    text-align: left;
    right: 0;                        /* immer am rechten Rand ... */
    width: var(--side_layer_width_mobile);
    height: 100%;
    position: fixed;
    top: 0;

    transform: translate3d(100%, 0, 0);   /* ... und um die eigene Breite raus */
    transition: transform 1.32s cubic-bezier(.16, 1, .3, 1);

    overflow-y: auto;
    z-index: 99;
    background: rgba(255,255,255,1);
    box-shadow: 6px 9px 30px 7px rgba(0, 0, 0, 0.5);

    display: flex;
    will-change: transform;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

#header_side_layer.open{
    transform: translate3d(0, 0, 0);
    z-index: 999;
}

@media (min-width: 768px){
    #header_side_layer{ width: var(--side_layer_width_tablet); }
}

@media (min-width: 1024px){
    #header_side_layer{ width: var(--side_layer_width_desktop); }
}





/* INPUT UND  TEXTFIELDS */



input[type=radio] {
    border: 0px;
    width: 2rem;
    height: 2rem;
}
input[type=checkbox] {
    border: 0px;
    width: 2rem;
    height: 2rem;
    margin:0px;
}


.input_textfield_edit{
	width: 100%;
	background-color: #dadada;
	border-radius: 5px;
	font-weight:normal;
	/* border: 2px solid #ccc; */
}

.input_textfield_edit select:focus-visible,
.input_textfield_edit select:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--theme-color);  
}



/* remove standard-styles */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border:none;
  border-radius: 0;
  font-size: 1em;
  width: 100%
}

/* styling */
select {
  width:100%;
  border: 1px solid #bbb;
  padding:.75em 1em .5em 1em;
  /* box-shadow: 0 2px 1px 0 rgba(0,0,0,0.2); */
  background-color:white;
  background-image:url(https://www.xxl-art.de/images/select_arrow.png);
  background-position: right;
  background-repeat: no-repeat;
}


select:focus,
select:focus-visible,
select:focus-within,
select:active {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--theme-color);
}


.textfield_box{
padding: 10px 0;
}

.textfield_title{
    margin-bottom: 5px;
    font-size: 14pt;
}


.textfield_error_icon {
    top: 9px;
    right: 10px;
    position: absolute;
    display:none;
}

.textfield_error_icon.visible {
    top: 9px;
    right: 10px;
    position: absolute;
    display:block;
}

.textfield_error_icon svg{
    width:24px;
    height:24px;
}


.input_error{
    border: 2px solid #c90000 !important;
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.5);
    background-color: #ffcece !important;
}

input[type=checkbox].input_error {
outline: max(4px, 0.15em) solid #c90000;
}

/* ANIMIERTE LABELS PLATZHALTER IN TEXTFELD */
.label-before,
.field input:focus + label::before,
.field input:not(:placeholder-shown) + label::before
{
  line-height: 20px;
  font-size: 12px;
  top: -10px;
  background: #fff;
  padding: 0 6px;
  left: 9px;
}

.field input:valid + label::before {
  content: attr(data-title);
}

.field input:focus + label::before {
  color: var(--theme_color);
}

.container {
  width: 80%;
  margin: 30px 10%;
}

.field {
  position: relative;
}
.field label::before {
  border-radius: 20px;
  content: attr(title);
  position: absolute;
  top: 0;
  left: 15px;
  line-height: 40px;
  font-size: 14px;
  color: #535353;
  transition: 300ms all;
}
.field input {
  width: 100%;
  line-height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  font-size: 14px;
  color: #222;
  border: 3px solid transparent;
  border-radius: 5px;
}
.field input:focus{
  outline: 0;
  border-color: var(--theme_color);
  border: 3px solid #000;
  background:#fff;
  color:black !important;
}
.field input:valid + label::before {
  content: attr(data-title);
}
.field input:focus + label::before {
  background: var(--theme_color);
  color:white;
}



.field.voucher label::before {
    transform: translateX(-50%);
    top: 0px;
    left: 50%;
    line-height: 38px;
    font-size: 20px;
}

.field.voucher input:focus + label::before,
.field.voucher input:not(:placeholder-shown) + label::before
{
  left: 50%;
  transform: translateX(-50%);
}


.form_voucher .field input:valid + label::before{
	color:black;
}

/* ENDE - ANIMIERTE LABELS PLATZHALTER IN TEXTFELD */



/* Warenkorb im Header: Icon wie xxl-art, Zahl als kleines Quadrat oben rechts */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    color: var(--paynes-grey);
    text-decoration: none;
}

.cart-link:hover {
    color: var(--graphite);
}

.cart-link-icon {
    display: block;
}

.cart-link-count {
    position: absolute;
    top: -4px;
    right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 13px;
    height: 13px;
    padding: 0 5px;
    background: var(--ink);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    border-radius: 100px;
}

.cart-link:focus-visible {
    outline: 2px solid var(--ultramarine);
    outline-offset: 3px;
}



/* ── Footer: zwei Spalten oben, Rechtliches unten rechts ───────────
   (sites/footer.php) — ans ENDE von css/site.css, überschreibt die alten Footer-Regeln */

/* Oben: Seiten + Folge mir nebeneinander, auch mobil */
.footer-columns {
    flex-direction: row;
    justify-content: flex-start;
    gap: 32px 64px;
}

.footer-column {
    flex: 1 1 0;
    min-width: 0;
}

/* Unten unter der Linie: © links, Rechtsseiten rechts nebeneinander */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 13px;
}

.footer-bottom .copyright {
    margin: 0;
    padding: 0;
    border-top: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-legal a {
    color: var(--graphite);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
    color: var(--paynes-grey);
}

.footer-legal a.is-active {
    color: var(--paynes-grey);
    border-bottom-color: var(--paynes-grey);
}

@media (min-width: 768px) {
    .footer-columns {
        gap: 40px 96px;
    }

    .footer-column {
        flex: 0 0 auto;
        min-width: 160px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}



/* ── Verkauft: roter Punkt wie in der Galerie ───────────────────────
   (templates/engine/alexzerr/wall.php + grid.php, Klasse .sold-dot) */
.sold-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-style: normal;
    color: var(--paynes-grey);
}

.sold-dot::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c8102e;   /* Galerie-Rot */
}

