/* Self-hosted Fonts (DSGVO – kein Google-CDN) */
/* Josefin Sans 400 latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/josefinsans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Josefin Sans 400 latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/josefinsans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Josefin Sans 500 latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/josefinsans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Josefin Sans 500 latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/josefinsans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Josefin Sans 600 latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/josefinsans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Josefin Sans 600 latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/josefinsans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Josefin Sans 700 latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/josefinsans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Josefin Sans 700 latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/josefinsans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 400 latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 400 latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 500 latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 500 latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 600 latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 600 latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 700 latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 700 latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/opensans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   Bayrischzeller Künstlerweg — Design-System (Demo)
   Mobile-first · alpine Natur-CI · Tannengrün / Terrakotta / Creme
   ===================================================================== */

:root {
  /* CI-Palette (aus CI-EXTRAKT) */
  --green-900: #14300f;
  --green-800: #1a3a16;
  --green-700: #2d5a27;
  --green-600: #1e7a45;
  --green-600-h: #155e34;
  --sage:      #c8dbc5;
  --sage-soft: #dde9d8;
  --mint:      #d8e8e0;
  --terra:     #c4622d;
  --terra-d:   #a64f22;
  --gold:      #d68910;
  --cream:     #faf7f2;
  --cream-2:   #f4efe6;
  --sand:      #e9e1d2;
  --signal:    #c0392b;
  --ink:       #1c1c1c;
  --muted:     #5d6660;
  --line:      #e2dccf;
  --white:     #ffffff;

  --green-700-rgb: 45,90,39;

  /* Type */
  --display: 'Josefin Sans', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing */
  --gut: 1.25rem;
  --maxw: 1120px;

  /* Radius & shadow */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(20,48,15,.06), 0 2px 6px rgba(20,48,15,.05);
  --sh: 0 8px 24px rgba(20,48,15,.10);
  --sh-lg: 0 18px 50px rgba(20,48,15,.16);

  --bottom-nav-h: 64px;
}

/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* Icons: sinnvolle Standardgröße (Text-relativ); spezifische Regeln überschreiben */
svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
a { color: var(--green-600); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--green-800); letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: #34403a; }
.lead { font-size: 1.08rem; color: #3a463f; }
small { font-size: .82rem; }

/* ----------------------------- Layout ------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.stack > * + * { margin-top: 1rem; }
.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--terra);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--terra); display: inline-block; }
.center { text-align: center; }

/* ----------------------------- Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,247,242,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; color: var(--green-800); font-size: 1.02rem; letter-spacing: -.01em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--green-700), var(--green-600));
  display: grid; place-items: center; color: #eef4ea; box-shadow: var(--sh-sm);
  flex: none;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--body); font-weight: 600; color: var(--terra); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.header-link { display: none; }
@media (min-width: 760px) {
  .header-nav { display: flex; gap: 1.6rem; }
  .header-link { display: inline-flex; font-family: var(--display); font-weight: 600; color: var(--green-800); font-size: .95rem; }
  .header-link:hover { color: var(--terra); }
  .header-link.is-active { color: var(--terra); }
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: var(--r-pill);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-align: center; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--green-600-h); transform: translateY(-1px); box-shadow: var(--sh); }
.btn--terra { background: var(--terra); color: #fff; box-shadow: var(--sh-sm); }
.btn--terra:hover { background: var(--terra-d); transform: translateY(-1px); box-shadow: var(--sh); }
.btn--ghost { background: var(--white); color: var(--green-800); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-600); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.08rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ----------------------------- Badges ------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--sage); color: var(--green-800);
}
.badge.is-available { background: #d7ecdc; color: #1c6b3a; }
.badge.is-reserved { background: #fcefd6; color: #9a6a12; }
.badge.is-sold { background: #f2dcd9; color: #9b2f25; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.station-badge {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--green-700); color: #eef4ea;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem;
}

/* ----------------------------- Hero -------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--green-800); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: 1; }
.hero__fallback { position: absolute; inset: 0; background:
   radial-gradient(120% 80% at 70% 10%, #356b2c 0%, transparent 55%),
   linear-gradient(160deg, #1a3a16, #2d5a27 60%, #14300f); }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,48,15,.25), rgba(20,48,15,.78)); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 16vw, 8rem); color: #f2f7ee; }
.hero h1 { color: #fbfdf9; max-width: 16ch; }
.hero .lead { color: #e2ecdb; max-width: 46ch; }
.hero .eyebrow { color: #f0c39c; }
.hero .eyebrow::before { background: #f0c39c; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* --------------------------- Artwork grid -------------------------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .grid--3 { grid-template-columns: 1fr 1fr 1fr; } }

.art-card {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.art-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.art-card__media { position: relative; aspect-ratio: 3/4; background: var(--sage-soft); overflow: hidden; }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.art-card:hover .art-card__media img { transform: scale(1.04); }
.art-card__station { position: absolute; top: .7rem; left: .7rem; z-index: 2; box-shadow: var(--sh-sm); }
.art-card__status { position: absolute; top: .7rem; right: .7rem; z-index: 2; }
.art-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.art-card__title { font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--green-800); line-height: 1.15; }
.art-card__meta { color: var(--muted); font-size: .9rem; }
.art-card__foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; }
.art-card__price { font-family: var(--display); font-weight: 700; color: var(--terra); font-size: 1.05rem; }

/* placeholder shimmer while img missing */
.ph {
  background: linear-gradient(110deg, var(--sage-soft) 30%, var(--mint) 50%, var(--sage-soft) 70%);
  background-size: 200% 100%; animation: ph 1.4s linear infinite;
  display: grid; place-items: center; color: var(--green-700); font-family: var(--display); text-align: center; padding: 1rem;
}
@keyframes ph { to { background-position: -200% 0; } }

/* ------------------------- Werk detail page ------------------------ */
.work { padding-top: 1.2rem; }
.work__back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.work__back:hover { color: var(--green-700); }
.work__head { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .3rem; }
.work__title { flex: 1; min-width: 0; }
.work__artistline { color: var(--muted); }
.contact-links { margin-top: .9rem; display: flex; flex-direction: column; gap: .5rem; }
.contact-links a { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 600; color: var(--green-700); text-decoration: none; word-break: break-all; }
.contact-links a:hover { color: var(--green-800); text-decoration: underline; }
.contact-links .link-ic { width: 1.2em; height: 1.2em; flex: none; }
.work__artistline a { font-weight: 600; }

/* Audio player (top) */
.audio {
  background: linear-gradient(155deg, var(--green-700), var(--green-600-h));
  color: #eef4ea; border-radius: var(--r-lg); padding: 1.1rem 1.2rem;
  margin: 1.1rem 0 1.4rem; box-shadow: var(--sh);
}
.audio__row { display: flex; align-items: center; gap: 1rem; }
.audio__btn {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: #fff; color: var(--green-700); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s ease;
}
.audio__btn:hover { transform: scale(1.06); }
.audio__btn svg { width: 26px; height: 26px; }
.audio__meta { flex: 1; min-width: 0; }
.audio__label { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.audio__sub { font-size: .82rem; color: #cfe0c8; }
.audio__bar { height: 6px; background: rgba(255,255,255,.25); border-radius: 999px; margin-top: .7rem; overflow: hidden; }
.audio__fill { height: 100%; width: 0%; background: var(--gold); border-radius: 999px; transition: width .25s linear; }
.audio__note { font-size: .74rem; color: #bcd2b4; margin-top: .5rem; }

/* Gallery */
.gallery { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); background: var(--sage-soft); border: 1px solid var(--line); }
.gallery__main { position: relative; min-height: 240px; cursor: zoom-in; background: linear-gradient(160deg, var(--cream-2), var(--sage-soft)); display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: auto; max-width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.gallery__zoom { position: absolute; right: .8rem; bottom: .8rem; background: rgba(20,48,15,.7); color: #fff; border-radius: 999px; padding: .45rem .8rem; font-size: .78rem; display: flex; align-items: center; gap: .4rem; backdrop-filter: blur(4px); }

/* Info blocks */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.25rem; box-shadow: var(--sh-sm); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-top: .4rem; }
.spec { }
.spec__k { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.spec__v { font-weight: 600; color: var(--green-800); }

/* Artist mini */
.artist-mini { display: flex; align-items: center; gap: .9rem; }

/* Status- & Standortzeile */
.work__statusrow { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.place-link { display: inline-flex; align-items: center; gap: .4rem; background: var(--sage); color: var(--green-800); font-size: .82rem; font-weight: 600; padding: .4rem .85rem; border-radius: var(--r-pill); transition: background .2s ease; }
.place-link:hover { background: var(--mint); }
.place-link svg { color: var(--terra); }

/* Standort-Panel (führt zur Karte) */
.locate { display: flex; align-items: center; gap: .9rem; }
.locate__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--sage); color: var(--terra); display: grid; place-items: center; flex: none; }
.locate__ic svg { width: 24px; height: 24px; }
.panel-link { transition: border-color .2s ease, transform .15s ease; }
.panel-link:hover { border-color: var(--green-600); transform: translateY(-1px); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  background: linear-gradient(150deg, var(--terra), var(--gold));
  box-shadow: var(--sh-sm);
}
.avatar--green { background: linear-gradient(150deg, var(--green-700), var(--green-600)); }
.avatar--lg { width: 80px; height: 80px; font-size: 1.8rem; }

/* Buy block */
.buy {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.3rem 1.25rem; box-shadow: var(--sh-sm); margin-top: 1.4rem;
}
.buy__price { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--green-800); line-height: 1; }
.buy__pay { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.pay-chip {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
  color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem;
}
.pay-chip.is-soon { opacity: .85; }
.pay-chip .tag { font-size: .62rem; background: var(--sand); color: var(--terra-d); padding: .1rem .35rem; border-radius: 5px; text-transform: uppercase; letter-spacing: .05em; }

/* Work layout grid (desktop two-column) */
.work__grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .work__grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .work__left { position: sticky; top: 74px; }
}

/* Work navigation */
.work-nav { display: flex; gap: .8rem; margin-top: 1.6rem; }
.work-nav a { flex: 1; }

/* ----------------------------- Map --------------------------------- */
#map { width: 100%; height: 62vh; min-height: 360px; border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid var(--line); z-index: 1; }
.map-pin {
  background: var(--green-700); color: #fff; width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.35);
  border: 2px solid #fff;
}
.map-pin span { transform: rotate(45deg); font-family: var(--display); font-weight: 700; font-size: .85rem; }
.map-pin.is-sold { background: var(--signal); }
.map-pin.is-reserved { background: var(--gold); }
.leaflet-popup-content { margin: 0; }
.popup { width: 200px; }
.popup img { width: 100%; height: 96px; object-fit: cover; }
.popup__b { padding: .6rem .7rem .7rem; }
.popup__t { font-family: var(--display); font-weight: 700; color: var(--green-800); font-size: 1rem; line-height: 1.1; }
.popup__m { font-size: .8rem; color: var(--muted); margin: .15rem 0 .5rem; }

/* Route panel */
.route-head { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.route-stats { display: flex; gap: 1.4rem; }
.route-stat__n { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--green-700); line-height: 1; }
.route-stat__l { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.route-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; margin-top: 1.2rem; counter-reset: r; }
.route-item {
  display: flex; align-items: center; gap: .9rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem; box-shadow: var(--sh-sm);
  transition: border-color .2s ease;
}
.route-item:hover { border-color: var(--green-600); }
.route-item.is-done { opacity: .6; }
.route-item__img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--sage-soft); }
.route-item__b { flex: 1; min-width: 0; }
.route-item__t { font-family: var(--display); font-weight: 700; color: var(--green-800); line-height: 1.1; }
.route-item__m { font-size: .82rem; color: var(--muted); }
.route-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: transparent; }
.route-item.is-done .route-check { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* --------------------------- Artist page --------------------------- */
.artist-head { display: flex; gap: 1.1rem; align-items: center; }

/* ---------------------------- Sections ----------------------------- */
.feature {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; box-shadow: var(--sh-sm);
}
.feature__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sage); color: var(--green-700); display: grid; place-items: center; flex: none; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.feature p { font-size: .92rem; }

.band { background: var(--green-800); color: #eaf1e4; }
.band h2 { color: #fff; }
.band p { color: #cfe0c8; }

/* QR demo */
.qr-demo { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.qr-box { background: #fff; border-radius: var(--r); padding: 1rem; box-shadow: var(--sh); border: 1px solid var(--line); }
.qr-box img, .qr-box svg { width: 150px; height: 150px; }

/* ----------------------------- Footer ------------------------------ */
.site-footer { background: var(--green-900); color: #c7d6bf; padding-block: 2.4rem; margin-top: 2rem; }
.site-footer a { color: #e4eede; }
.footer-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.sponsor-card { display: flex; gap: .8rem; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: .9rem 1rem; }
.sponsor-card .avatar { background: linear-gradient(150deg,#fff,#d8e8e0); color: var(--green-800); }

/* Partner / Co-Branding logos */
.header-right { display: flex; align-items: center; gap: 1.3rem; }
.partner-logo { display: inline-flex; align-items: center; flex: none; }
.partner-logo img { height: 40px; width: auto; display: block; }
@media (max-width: 759px) { .partner-logo img { height: 34px; } }
.partner-box { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: var(--r); padding: .8rem 1.1rem; box-shadow: var(--sh-sm); }
.partner-box img { height: 56px; width: auto; display: block; }
.partner-box--lg { padding: 1.5rem 1.8rem; }
.partner-box--lg img { height: 96px; }
.partner-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 720px) { .partner-grid { grid-template-columns: auto 1fr; gap: 2.2rem; } }
.hero__presents { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.94); padding: .35rem .75rem .35rem .85rem; border-radius: 999px; margin-bottom: 1.1rem; box-shadow: var(--sh-sm); }
.hero__presents span { font-size: .66rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.hero__presents img { height: 30px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1.2rem; font-size: .82rem; color: #9fb398; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }

/* --------------------------- Bottom nav ---------------------------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: stretch;
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: .68rem; font-weight: 600; font-family: var(--display); }
.bottom-nav a svg { width: 23px; height: 23px; }
.bottom-nav a.is-active { color: var(--green-700); }
.bottom-nav a.is-active svg { stroke: var(--green-700); }
@media (min-width: 760px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* --------------------------- Lightbox ------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,30,12,.92); display: none; place-items: center; padding: 1.2rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: var(--sh-lg); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }

/* --------------------------- Modal (buy) --------------------------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(15,30,12,.55); display: none; align-items: flex-end; justify-content: center; }
.modal.is-open { display: flex; }
@media (min-width: 640px) { .modal { align-items: center; } }
.modal__card {
  background: var(--cream); width: 100%; max-width: 460px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 1.4rem 1.3rem calc(1.4rem + env(safe-area-inset-bottom,0px)); box-shadow: var(--sh-lg);
  max-height: 92vh; overflow: auto;
}
@media (min-width: 640px) { .modal__card { border-radius: var(--r-lg); } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .3rem; }
.modal__close { width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--green-800); display: grid; place-items: center; flex: none; }
.field { margin-top: .9rem; }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--green-800); margin-bottom: .3rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); }
.modal__ok { text-align: center; padding: 1rem 0; }
.modal__ok .check { width: 64px; height: 64px; border-radius: 50%; background: #d7ecdc; color: #1c6b3a; display: grid; place-items: center; margin: 0 auto 1rem; }
.modal__ok .check svg { width: 34px; height: 34px; }

/* --------------------------- Utilities ----------------------------- */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--line); margin-block: 1.4rem; border: 0; }
.tag-soft { display: inline-block; background: var(--sage); color: var(--green-800); font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 1rem); transform: translateX(-50%) translateY(20px);
  background: var(--green-800); color: #fff; padding: .8rem 1.2rem; border-radius: var(--r-pill); box-shadow: var(--sh-lg);
  font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 120;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Admin / CMS
   ========================================================= */

/* Login */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); padding: 1.5rem; }
.admin-login__card { width: 100%; max-width: 360px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem; box-shadow: var(--sh-lg); }

/* Grundgerüst */
.admin-root { min-height: 100vh; background: var(--cream); }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; align-items: start; max-width: 1320px; margin: 0 auto; }

/* Seitenleiste */
.admin-side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; gap: .25rem; padding: 1.4rem 1rem; background: var(--green-800); color: #fff; }
.admin-side__brand { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; padding: .3rem .6rem 1rem; }
.admin-side__brand svg { width: 1.3em; height: 1.3em; }
.admin-side a, .admin-side .navbtn { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .7rem .8rem; border-radius: var(--r-sm); color: rgba(255,255,255,.82); font-weight: 600; font-size: .95rem; transition: background .18s ease, color .18s ease; }
.admin-side a svg, .admin-side .navbtn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.admin-side a:hover, .admin-side .navbtn:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-side a.is-active { background: var(--green-600); color: #fff; }
.admin-side .navbtn { background: none; border: none; cursor: pointer; font-family: var(--body); text-align: left; }
.admin-side__sp { margin-top: auto; }
.admin-side form { width: 100%; }

/* Hauptbereich */
.admin-main { padding: 1.8rem 2rem 3rem; min-width: 0; }
.admin-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.admin-h h1 { font-size: 1.6rem; }

/* Statistik-Kacheln */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--sh-sm); }
.stat__n { font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--green-700); }
.stat__l { margin-top: .35rem; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Tabellen */
.atable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.atable th { text-align: left; font-family: var(--display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--green-800); background: var(--cream-2); padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.atable td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .95rem; }
.atable tbody tr:last-child td { border-bottom: none; }
.atable tbody tr:hover { background: var(--cream); }
.thumb { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r-sm); display: block; background: var(--sand); }
.row-actions { display: flex; align-items: center; gap: .35rem; }
.row-actions form { display: inline-flex; margin: 0; }

/* Button-Varianten für den Admin */
.btn--sm { padding: .5rem .7rem; font-size: .9rem; border-radius: var(--r-sm); gap: .35rem; }
.btn--danger { background: var(--signal); color: #fff; box-shadow: var(--sh-sm); }
.btn--danger:hover { background: #a52f23; transform: translateY(-1px); box-shadow: var(--sh); }

/* Formulare */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field select { width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-family: var(--body); font-size: 1rem; color: var(--ink); }
.field select:focus { outline: none; border-color: var(--green-600); }
.uploader { display: flex; align-items: center; gap: .7rem; margin-top: .5rem; flex-wrap: wrap; }
.uploader input[type="file"] { font-size: .85rem; color: var(--muted); }
.up-status { font-size: .82rem; }

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem; padding: .7rem .8rem; }
  .admin-side__brand { padding: .2rem .5rem; width: 100%; }
  .admin-side a, .admin-side .navbtn { width: auto; }
  .admin-side a span, .admin-side .navbtn span { display: none; }
  .admin-side__sp { margin: 0; }
  .admin-side form { width: auto; }
  .admin-main { padding: 1.2rem 1rem 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Indoor-Liste ohne Bilder (Werke ohne Foto, reine Textliste) */
.art-list { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.art-list li { margin: 0; }
.art-list__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem .25rem; border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: background .15s ease, padding .15s ease;
}
.art-list__row:hover { background: var(--sage-soft); padding-left: .7rem; padding-right: .7rem; }
.art-list__main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.art-list__title { font-family: var(--display); font-weight: 700; color: var(--green-800); font-size: 1.05rem; }
.art-list__artist { color: var(--muted); font-size: .9rem; }
.art-list__go { flex: none; color: var(--green-800); opacity: .55; display: inline-flex; }
.art-list__go svg { width: 20px; height: 20px; }
.art-list__row:hover .art-list__go { opacity: 1; }
