:root {
  --bg: #0f0f0f; --bg2: #1a1a1a; --linie: #262626;
  --text: #eeeeee; --text2: #999999;
  --gold: #C9A227; --gold-dunkel: #a8861c;
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.kopf { border-bottom: 1px solid var(--linie); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.kopf-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; color: var(--text); }
.logo-bild { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.logo-text span { color: var(--gold); }
.menue { display: flex; gap: 22px; align-items: center; }
.menue a { color: var(--text2); font-size: 15px; }
.menue a:hover, .menue a.aktiv { color: var(--text); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }
.inline { display: inline; margin: 0; }
.link-btn { background: none; border: none; color: var(--text2); font: inherit; font-size: 15px; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--text); }

.btn { display: inline-block; background: var(--gold); color: #111; border: none; border-radius: var(--radius); padding: 12px 22px; font-size: 15px; font-weight: 500; cursor: pointer; text-align: center; }
.btn:hover { background: var(--gold-dunkel); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-voll { width: 100%; }
.btn-rand { display: inline-block; background: transparent; color: var(--text); border: 1px solid #555; border-radius: var(--radius); padding: 12px 22px; font-size: 15px; cursor: pointer; text-align: center; }
.btn-rand:hover { border-color: var(--text); }

.hero { background: var(--bg2); text-align: center; padding: 90px 20px; border-bottom: 1px solid var(--linie); }
/* Studiofoto als Hintergrund – abgedunkelt, damit Logo und Text lesbar bleiben */
.hero {
  background:
    radial-gradient(ellipse at center, rgba(15,15,15,.55) 0%, rgba(15,15,15,.82) 70%),
    linear-gradient(rgba(15,15,15,.35), rgba(15,15,15,.95)),
    url('../img/hero.jpg') center 40% / cover no-repeat,
    var(--bg2);
}
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero p { text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.hero-logo { width: 220px; height: 220px; margin: 0 auto 24px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie), 0 0 60px rgba(201, 162, 39, .12); }
.hero h1 { font-family: var(--serif); font-size: clamp(32px, 6vw, 56px); font-weight: 400; margin: 0 0 12px; line-height: 1.15; }
.hero p { color: var(--text2); margin: 0 0 28px; }
.knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.abschnitt { padding: 56px 0; border-bottom: 1px solid var(--linie); }
.label { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 4px; }
.abschnitt h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 20px; }
.raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bild-platz { background: var(--bg2); border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.person { text-align: center; }
.person .bild-platz { border-radius: 50%; }
.person h3 { margin: 10px 0 0; font-size: 16px; font-weight: 500; }
.person p { margin: 0; color: var(--text2); font-size: 14px; }
.leer { color: var(--text2); }

/* Formulare */
.formular { max-width: 420px; margin: 56px auto; background: var(--bg2); padding: 32px; border-radius: 12px; border: 1px solid var(--linie); }
.formular.breit { max-width: 680px; }
.formular h1 { font-family: var(--serif); font-weight: 400; margin: 0 0 20px; }
.formular .label + h1 { margin-top: 0; }
.formular .intro { color: var(--text2); margin: -8px 0 24px; }
.formular fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.formular legend { font-family: var(--serif); font-size: 20px; color: var(--text); padding: 0; margin: 4px 0 14px; }
.feld { margin-bottom: 16px; }
.feld label { display: block; font-size: 14px; color: var(--text2); margin-bottom: 6px; }
.feld input, .feld select, .feld textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid #333; border-radius: var(--radius); padding: 11px 12px; font: inherit; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gold); }
.feld textarea { min-height: 140px; resize: vertical; }
.feld select option { background: var(--bg); color: var(--text); }
.feld input[type=file] { padding: 9px; cursor: pointer; }
.feld input[type=file]::file-selector-button { background: var(--bg2); color: var(--text); border: 1px solid #444; border-radius: 6px; padding: 6px 12px; margin-right: 12px; font: inherit; font-size: 14px; cursor: pointer; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pflicht { color: var(--gold); }
.hinweis { display: block; font-size: 13px; color: var(--text2); margin-top: 6px; }
.datei-liste { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; color: var(--text2); }
.datei-liste li::before { content: "▪ "; color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text2); margin-bottom: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.meldung { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.meldung.fehler { background: #3a1414; color: #f2b8b8; }
.meldung.ok { background: #12302b; color: #a8e0d4; }
.meldung ul { margin: 0; padding-left: 18px; }

/* Kontakt */
.kontakt-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.k-btn { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--linie); color: var(--text); border-left: 4px solid var(--farbe, var(--gold)); }
.k-btn:hover { background: #222; }
.k-btn strong { font-weight: 500; font-size: 16px; }
.k-btn small { color: var(--text2); font-size: 13px; word-break: break-all; }
.k-tel   { --farbe: var(--gold); }
.k-wa    { --farbe: #25D366; }
.k-insta { --farbe: #E1306C; }
.k-fb    { --farbe: #1877F2; }
.k-mail  { --farbe: #888; }

.kontakt-raster { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.zeiten { border-collapse: collapse; width: 100%; max-width: 320px; }
.zeiten td { padding: 6px 0; border-bottom: 1px solid var(--linie); color: var(--text2); }
.zeiten td:last-child { text-align: right; }
.zeiten tr.heute td { color: var(--gold); }
.karte { background: var(--bg2); border-radius: 12px; border: 1px solid var(--linie); min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.karte iframe { width: 100%; height: 380px; border: 0; display: block; }
.karte-hinweis { text-align: center; padding: 24px; max-width: 360px; color: var(--text2); font-size: 14px; }

/* Footer */
.fuss { border-top: 1px solid var(--linie); padding: 40px 0 24px; }
.fuss-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 14px; color: var(--text2); }
.fuss-raster p { margin: 0 0 8px; }
.fuss-titel { color: var(--text); font-weight: 500; }
.fuss-zeile { display: flex; justify-content: space-between; max-width: 200px; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 13px; color: #666; }
.fuss-unten a { color: #888; }

.handy-leiste { display: none; }

/* Mitarbeiterbereich */
.admin-nav { background: var(--bg2); border-bottom: 1px solid var(--linie); }
.admin-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.admin-nav a, .admin-nav .bald { padding: 12px 16px; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.admin-nav a { color: var(--text2); }
.admin-nav a:hover { color: var(--text); }
.admin-nav a.aktiv { color: var(--text); border-bottom-color: var(--gold); }
.admin-nav .bald { color: #555; cursor: default; }
.admin-seite { padding: 32px 0 56px; }
.admin-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-kopf h1 { font-family: var(--serif); font-weight: 400; margin: 0; font-size: 30px; }
.admin-suche { display: flex; gap: 8px; }
.admin-suche input, .admin-suche select { background: var(--bg2); color: var(--text); border: 1px solid #333; border-radius: var(--radius); padding: 10px 12px; font: inherit; min-width: 220px; }
.admin-suche input:focus, .admin-suche select:focus { outline: none; border-color: var(--gold); }
.admin-suche .btn-rand { padding: 10px 16px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tabs a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--linie); color: var(--text2); font-size: 14px; }
.tabs a:hover { color: var(--text); border-color: #444; }
.tabs a.aktiv { background: var(--gold); border-color: var(--gold); color: #111; }
.tabs .zahl { opacity: .7; font-size: 12px; margin-left: 2px; }
.tabs-klein { margin-bottom: 20px; }
.tabs-klein a { padding: 4px 10px; font-size: 13px; }

.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; color: var(--text2); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid #333; white-space: nowrap; }
.tabelle td { padding: 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tbody tr { cursor: pointer; }
.tabelle tbody tr:hover { background: var(--bg2); }
.tabelle tr.ist-neu td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.tabelle td a { color: var(--text); font-weight: 500; }
.bilder-zahl { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--text2); }
.punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--farbe); margin-right: 6px; vertical-align: middle; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge-neu          { background: rgba(201,162,39,.18); color: var(--gold); }
.badge-in_absprache { background: rgba(74,144,217,.18); color: #7fb3ea; }
.badge-termin_fix   { background: rgba(46,160,90,.18);  color: #6fd39a; }
.badge-erledigt     { background: rgba(150,150,150,.15); color: #aaa; }
.badge-abgelehnt    { background: rgba(217,74,74,.18);  color: #ef8f8f; }

.detail-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.karte-box { background: var(--bg2); border: 1px solid var(--linie); border-radius: 12px; padding: 20px 22px; margin-bottom: 20px; }
.karte-box h2 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 14px; }
.karte-box h3 { font-size: 14px; font-weight: 500; color: var(--text2); margin: 18px 0 6px; }
.daten { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.daten dt { color: var(--text2); }
.daten dd { margin: 0; word-break: break-word; }
.beschreibung { margin: 0; white-space: normal; }
.knoepfe-links { justify-content: flex-start; margin-top: 16px; }
.knoepfe-links .btn-rand { padding: 8px 14px; font-size: 14px; }
.bild-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.bild-galerie img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--bg); }
.bild-galerie a:hover img { outline: 2px solid var(--gold); }
.gefahr { border-color: #4a1f1f; }
.btn-gefahr { background: transparent; color: #ef8f8f; border: 1px solid #6b2a2a; border-radius: var(--radius); padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; width: 100%; }
.btn-gefahr:hover { background: #3a1414; }

@media (max-width: 800px) {
  .detail-raster { grid-template-columns: 1fr; }
  .daten { grid-template-columns: 1fr; gap: 2px; }
  .daten dd { margin-bottom: 10px; }
  .admin-suche { width: 100%; }
  .admin-suche input { min-width: 0; flex: 1; }
  .admin-suche:has(select) { flex-wrap: wrap; }
  .admin-suche select { min-width: 0; flex: 1 1 100%; }
  .tabelle thead { display: none; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: 100%; }
  .tabelle tr { border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 10px; padding: 8px 4px; background: var(--bg2); }
  .tabelle tr.ist-neu { border-left: 3px solid var(--gold); }
  .tabelle tr.ist-neu td:first-child { box-shadow: none; }
  .tabelle td { border: 0; padding: 4px 12px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tabelle td::before { content: attr(data-label); color: var(--text2); text-align: left; }
}

@media (max-width: 800px) {
  .burger { display: block; }
  .menue { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--linie); }
  .menue.offen { display: flex; }
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 48px 20px 60px; }
  .hero {
    background:
      radial-gradient(ellipse at center, rgba(15,15,15,.55) 0%, rgba(15,15,15,.82) 70%),
      linear-gradient(rgba(15,15,15,.35), rgba(15,15,15,.95)),
      url('../img/hero-m.jpg') center / cover no-repeat,
      var(--bg2);
  }
  .hero-logo { width: 160px; height: 160px; }
  .logo { font-size: 19px; }
  .logo-bild { width: 38px; height: 38px; }
  .knoepfe { flex-direction: column; }
  .formular { margin: 24px 16px; padding: 24px; }
  .feld-paar { grid-template-columns: 1fr; }
  .kontakt-raster, .fuss-raster { grid-template-columns: 1fr; }
  .karte, .karte iframe { min-height: 300px; height: 300px; }
  body { padding-bottom: 64px; }
  .handy-leiste { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; border-top: 1px solid var(--linie); }
  .handy-leiste a { flex: 1; text-align: center; padding: 16px 0; font-weight: 500; font-size: 15px; }
  .hl-tel { background: var(--gold); color: #111; }
  .hl-wa  { background: #25D366; color: #0b2e17; }
}

/* Kalender (FullCalendar, dunkles Theme) */
.kalender { background: var(--bg2); border: 1px solid var(--linie); border-radius: 12px; padding: 16px; }
.fc {
  --fc-border-color: var(--linie);
  --fc-page-bg-color: var(--bg2);
  --fc-neutral-bg-color: var(--bg);
  --fc-list-event-hover-bg-color: #222;
  --fc-today-bg-color: rgba(201, 162, 39, .07);
  --fc-now-indicator-color: var(--gold);
  --fc-highlight-color: rgba(201, 162, 39, .22);
  --fc-non-business-color: rgba(0, 0, 0, .35);
  --fc-button-text-color: var(--text);
  --fc-button-bg-color: var(--bg);
  --fc-button-border-color: #333;
  --fc-button-hover-bg-color: #222;
  --fc-button-hover-border-color: #555;
  --fc-button-active-bg-color: var(--gold);
  --fc-button-active-border-color: var(--gold);
  --fc-event-border-color: transparent;
  font-size: 14px;
}
.fc .fc-toolbar-title { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.fc .fc-button { font-size: 14px; text-transform: none; box-shadow: none !important; }
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active { color: #111; }
.fc .fc-col-header-cell-cushion, .fc .fc-daygrid-day-number, .fc .fc-list-day-cushion a { color: var(--text); }
.fc .fc-timegrid-slot-label-cushion { color: var(--text2); font-size: 12px; }
.fc .fc-list-day-cushion { background: var(--bg); }
.fc-event { cursor: pointer; border-radius: 6px; }
.fc-timegrid-event .fc-event-main { padding: 3px 5px; }
.fc-event.anz-offen { background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(0, 0, 0, .22) 7px 14px); }

.legende { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; font-size: 14px; }
.legende-eintrag { display: inline-flex; align-items: center; gap: 6px; color: var(--text2); cursor: pointer; user-select: none; }
.legende-eintrag input { accent-color: var(--farbe); margin: 0; }
.legende-eintrag .punkt { margin: 0; }
.legende-eintrag:has(input:not(:checked)) { opacity: .45; }
.legende-info { cursor: default; margin-left: auto; }
.streifen { display: inline-block; width: 22px; height: 12px; border-radius: 3px; background: #777 repeating-linear-gradient(135deg, transparent 0 4px, rgba(0, 0, 0, .35) 4px 8px); }

.dialog { background: var(--bg2); color: var(--text); border: 1px solid #333; border-radius: 12px; padding: 24px; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dialog h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 16px; font-size: 22px; }
.dialog-knoepfe { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.dialog-knoepfe .abstand { flex: 1; }
.dialog-knoepfe .btn-gefahr { width: auto; }
.dialog-knoepfe .btn, .dialog-knoepfe .btn-rand { padding: 10px 18px; }

.termin-liste { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.termin-liste li { padding: 10px 0; border-bottom: 1px solid var(--linie); color: var(--text2); }
.termin-liste li:first-child { padding-top: 0; }
.termin-liste a { color: var(--text); }
.ok-text { color: #6fd39a; }
.offen-text { color: #ef8f8f; }
.farbwahl { height: 46px; padding: 4px !important; cursor: pointer; }

@media (max-width: 800px) {
  .kalender { padding: 8px; border-radius: 8px; }
  .fc .fc-toolbar-title { font-size: 17px; }
  .fc .fc-toolbar.fc-header-toolbar { margin-bottom: 10px; }
  .legende-info { margin-left: 0; }
  .dialog { padding: 18px; }
  .dialog .feld-paar { grid-template-columns: 1fr; }
}
@media (max-width: 800px) { body.ist-admin { padding-bottom: 0; } }

/* Sprachumschalter DE / EN */
.kopf-inner { gap: 16px; }
.menue { margin-left: auto; }
.sprachwahl { display: inline-flex; border: 1px solid #333; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.sprachwahl a { padding: 4px 10px; font-size: 12px; font-weight: 500; letter-spacing: .5px; color: var(--text2); }
.sprachwahl a:hover { color: var(--text); }
.sprachwahl a.aktiv { background: var(--gold); color: #111; }
@media (max-width: 800px) {
  .sprachwahl { margin-left: auto; }
  .kopf-inner { gap: 12px; }
}

/* Seitentitel auf Galerieseiten */
.seiten-titel { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 38px); margin: 0; line-height: 1.2; }

/* Öffentliche Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 8px; }
.galerie-bild { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg2); aspect-ratio: 1; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galerie-bild:hover img, .galerie-bild:focus-visible img { transform: scale(1.04); }
.galerie-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .25s; }
.galerie-bild:hover .galerie-text, .galerie-bild:focus-visible .galerie-text { opacity: 1; }
@media (hover: none) { .galerie-text { opacity: 1; } }

/* Großansicht */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: calc(100vw - 120px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: var(--text2); font-size: 14px; margin-top: 10px; text-align: center; }
.lb-zu, .lb-pfeil { position: fixed; background: rgba(20, 20, 20, .7); color: #fff; border: 1px solid #333; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-zu { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 26px; }
.lb-pfeil { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lb-zurueck { left: 16px; }
.lb-weiter { right: 16px; }
.lb-zu:hover, .lb-pfeil:hover { border-color: var(--gold); color: var(--gold); }

/* Verwaltung: Bild-Kacheln (Portfolio, Ideen, Tour) */
.upload-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.upload-dateien, .upload-knopf { grid-column: 1 / -1; }
.portfolio-verwaltung { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 8px; }
.portfolio-verwaltung.breit { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pv-karte { background: var(--bg2); border: 1px solid var(--linie); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.pv-karte img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--bg); }
.pv-karte img.pano-vorschau { aspect-ratio: 2 / 1; }
.pv-form { display: flex; flex-direction: column; gap: 6px; }
.pv-form input, .pv-form select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid #333; border-radius: 6px; padding: 7px 9px; font: inherit; font-size: 13px; }
.pv-form input:focus, .pv-form select:focus { outline: none; border-color: var(--gold); }
.btn-klein { padding: 6px 10px !important; font-size: 13px !important; width: 100%; }

/* Studio-Tour */
/* doppelte Klasse, damit pannellum.css (später geladen, height:100%) nicht gewinnt */
.pano, .pano.pnlm-container { width: 100%; height: min(70vh, 620px); border-radius: 12px; overflow: hidden; background: var(--bg2); border: 1px solid var(--linie); }
.pano-hilfe { margin: 8px 0 18px; }
.pano-szenen { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.pano-szene { flex: 0 0 auto; width: 180px; background: var(--bg2); border: 2px solid var(--linie); border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; color: var(--text2); font: inherit; font-size: 13px; text-align: left; }
.pano-szene img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.pano-szene span { display: block; padding: 6px 10px 8px; }
.pano-szene.aktiv, .pano-szene:hover { border-color: var(--gold); color: var(--text); }
.pano.pnlm-container { background: var(--bg2); }

@media (max-width: 800px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .lightbox figure { max-width: 100vw; padding: 0 8px; }
  .lb-pfeil { top: auto; bottom: 18px; transform: none; }
  .lb-zurueck { left: calc(50% - 60px); }
  .lb-weiter { right: calc(50% - 60px); }
  .lightbox img { max-height: calc(100vh - 150px); }
  .upload-raster { grid-template-columns: 1fr; }
  .portfolio-verwaltung { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .portfolio-verwaltung.breit { grid-template-columns: 1fr; }
  .pano, .pano.pnlm-container { height: 60vh; }
  .pano-szene { width: 140px; }
}

/* Hauptmenü: Burger schon ab 1000 px, weil eingeloggt bis zu 8 Menüpunkte */
@media (max-width: 1000px) {
  .burger { display: block; }
  .menue { display: none; position: absolute; top: 64px; left: 0; right: 0; margin-left: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--linie); }
  .menue.offen { display: flex; }
  .sprachwahl { margin-left: auto; }
}

/* Menüpunkte und Logo nie umbrechen (lange Texte z. B. auf Mazedonisch) */
.logo-text, .menue a, .menue .link-btn { white-space: nowrap; }

/* Mitarbeiterbereich: oberes Hauptmenü schon unter 1400 px einklappen –
   dort wird mit der Unternavigation gearbeitet, und MK/EN-Texte sind länger */
@media (max-width: 1400px) {
  body.ist-admin .burger { display: block; }
  body.ist-admin .menue { display: none; position: absolute; top: 64px; left: 0; right: 0; margin-left: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--linie); z-index: 15; }
  body.ist-admin .menue.offen { display: flex; }
  body.ist-admin .sprachwahl { margin-left: auto; }
}

/* Mazedonisch (nur Verwaltung): Hauptmenü immer eingeklappt – die Texte sind zu lang für eine Zeile */
html[lang="mk"] .burger { display: block; }
html[lang="mk"] .menue { display: none; position: absolute; top: 64px; left: 0; right: 0; margin-left: 0; background: var(--bg);
  flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--linie); z-index: 15; }
html[lang="mk"] .menue.offen { display: flex; }
html[lang="mk"] .sprachwahl { margin-left: auto; }

/* Startseite: Team-Kacheln sind jetzt Links */
a.person { display: block; color: var(--text); }
a.person:hover h3 { color: var(--gold); }

/* Öffentliche Team-Seite */
.abschnitt .team-gruppe { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--linie); }
.team-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 20px; }
.team-karte { display: flex; gap: 22px; background: var(--bg2); border: 1px solid var(--linie); border-radius: 14px; padding: 22px; scroll-margin-top: 90px; }
.team-karte:target { border-color: var(--gold); }
.team-foto { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg); border: 2px solid var(--linie); }
.team-foto-platzhalter { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 56px; color: var(--farbe, var(--gold)); }
.team-text { min-width: 0; flex: 1; }
.team-text h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 4px 0 2px; }
.team-rolle { color: var(--gold); font-size: 14px; margin: 0 0 12px; }
.team-bio { color: var(--text2); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.team-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.team-knoepfe .btn, .team-knoepfe .btn-rand { padding: 9px 16px; font-size: 14px; }

/* Verwaltung: Team */
.team-mini { display: inline-flex; align-items: center; gap: 10px; }
.team-mini img, .team-mini-leer { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-mini-leer { display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--linie); color: var(--farbe); font-family: var(--serif); font-size: 16px; }
.team-foto-feld { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.team-foto-vorschau { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--linie); }
.team-foto-leer { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; color: var(--text2); background: var(--bg); padding: 6px; }
.tabelle tr.ist-gewaehlt td { background: rgba(201, 162, 39, .07); }

@media (max-width: 800px) {
  .team-karte { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .team-foto { width: 140px; height: 140px; }
  .team-knoepfe { justify-content: center; }
  .team-mini { gap: 8px; }
}

/* Checkbox innerhalb eines .feld (z. B. "Foto entfernen") nicht wie ein Textfeld stylen */
.feld label.check { display: flex; margin-bottom: 0; }
.feld .check input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; border: 0; }

/* Hinweis auf fehlende Datenbank-Updates */
.update-hinweis { margin: 16px 0 0; }
.update-hinweis code { color: #fff; background: rgba(0, 0, 0, .3); padding: 1px 6px; border-radius: 4px; }

/* Konto: "Passwort vergessen?" unter dem Passwortfeld, Trennlinie */
.feld-link { display: inline-block; margin-top: 6px; font-size: 13px; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 22px 0; }

/* Impressum und Datenschutzerklärung */
.recht-text { max-width: 820px; }
.recht-text h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 34px 0 10px; }
.recht-text h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; color: var(--text); }
.recht-text p, .recht-text li { color: #cfcfcf; font-size: 15px; line-height: 1.7; }
.recht-text p { margin: 0 0 12px; }
.recht-text ul { margin: 0 0 12px; padding-left: 20px; }
.recht-text strong { color: var(--text); }
.recht-text a { word-break: break-word; }
mark.platzhalter { background: #C9A227; color: #111; padding: 0 4px; border-radius: 3px; }

/* ------------------------------------------------------------------ */
/* Kundenbereich                                                       */
/* ------------------------------------------------------------------ */
.konto-tabs { margin: 18px 0 26px; }
.konto-h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 34px 0 14px; }
.konto-h2-zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 34px 0 14px; }
.konto-h2-zeile .konto-h2 { margin: 0; }
.konto-leer p { margin: 0 0 6px; }
.konto-leer p:last-child { margin-bottom: 0; }
.btn-mini { padding: 8px 14px !important; font-size: 14px !important; }
.termin-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.termin-karte h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0; }
.termin-karte .termin-zeit { color: var(--gold); margin: 2px 0 14px; font-size: 18px; }
.termin-karte .daten { margin-bottom: 16px; grid-template-columns: 110px 1fr; }
.termin-karte.ist-naechster { border-color: var(--gold); }
.anfrage-liste { display: grid; gap: 10px; }
.anfrage-karte { padding: 0; }
.anfrage-karte summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; }
.anfrage-karte summary::-webkit-details-marker { display: none; }
.anfrage-karte summary::after { content: '▾'; color: var(--text2); margin-left: auto; transition: transform .2s; }
.anfrage-karte[open] summary::after { transform: rotate(180deg); }
.anfrage-inhalt { padding: 0 20px 18px; }
.anfrage-titel { font-weight: 500; }
.anfrage-datum { font-size: 13px; }
.vergangen-liste { list-style: none; padding: 0; margin: 0; }
.vergangen-liste li { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.profil-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.profil-raster h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 16px; }
.profil-raster input:disabled { opacity: .6; }

/* "Diese Idee anfragen" */
.galerie-eintrag { position: relative; }
.galerie-anfragen { position: absolute; top: 8px; right: 8px; background: rgba(15, 15, 15, .82); color: var(--gold);
  border: 1px solid rgba(201, 162, 39, .6); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 500;
  opacity: 0; transition: opacity .2s; text-decoration: none; }
.galerie-eintrag:hover .galerie-anfragen, .galerie-anfragen:focus-visible { opacity: 1; }
.galerie-anfragen:hover { background: var(--gold); color: #111; }
@media (hover: none) { .galerie-anfragen { opacity: 1; } }
.lb-anfragen { margin-top: 12px; }
.vorlage-box { display: flex; gap: 14px; align-items: center; background: var(--bg2); border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--radius); padding: 12px; margin-bottom: 18px; }
.vorlage-box img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; flex: none; }
@media (max-width: 800px) {
  .termin-karte .daten { grid-template-columns: 1fr; }
  .anfrage-karte summary { padding: 14px 16px; }
  .anfrage-inhalt { padding: 0 16px 16px; }
}
@media (max-width: 800px) {
  .konto-h2-zeile .knoepfe { width: 100%; display: flex; gap: 8px; }
  .konto-h2-zeile .knoepfe a { flex: 1; text-align: center; }
}
[hidden] { display: none !important; }
.lightbox img { max-height: calc(100vh - 150px); }
@media (max-width: 800px) { .lightbox img { max-height: calc(100vh - 210px); } }

/* Pflegeanleitungen */
.pflege-liste { display: grid; gap: 10px; }
.pflege-text { line-height: 1.7; margin-bottom: 14px; }
.pflege-text h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--gold); margin: 22px 0 8px; }
.pflege-text h3:first-child { margin-top: 4px; }
.pflege-text p { margin: 0 0 12px; }
.pflege-text ul { margin: 0 0 12px; padding-left: 22px; }
.pflege-text li { margin-bottom: 4px; }
.pflege-text li::marker { color: var(--gold); }
.pflege-hinweis { display: flex; align-items: center; gap: 14px; margin-top: 18px; border-color: rgba(201, 162, 39, .5); color: var(--text); text-decoration: none; }
.pflege-hinweis:hover { border-color: var(--gold); }
.pflege-hinweis-icon { color: var(--gold); font-size: 22px; }
.pflege-hinweis-pfeil { margin-left: auto; color: var(--gold); font-size: 20px; }
.pflege-admin-liste { list-style: none; margin: 0; padding: 0; }
.pflege-admin-liste li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 8px; border-bottom: 1px solid var(--linie); border-radius: 6px; }
.pflege-admin-liste li.ist-gewaehlt { background: rgba(201, 162, 39, .07); }
.pflege-admin-liste a { color: var(--text); font-weight: 500; }
.pflege-marken { display: flex; gap: 10px; font-size: 12px; }
.pflege-sprache { border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 14px 4px; margin: 0 0 16px; }
.pflege-sprache legend { padding: 0 6px; color: var(--gold); font-size: 14px; }
.pflege-format { margin: 0 0 16px; font-size: 14px; }
.pflege-format summary { cursor: pointer; color: var(--text2); }
.pflege-format pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--linie); border-radius: 6px; padding: 10px; font-size: 13px; }

@media (min-width: 801px) { .detail-raster.pflege-raster { grid-template-columns: minmax(280px, 380px) 1fr; } }

/* Stapel-Upload */
.stapel-knoepfe { margin: 8px 0 4px; }
.stapel-auswahl { margin: 8px 0 0; color: var(--gold); font-size: 14px; }
.stapel-status { margin-top: 12px; }
.stapel-balken { height: 8px; background: var(--bg); border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; }
.stapel-balken span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.stapel-text { margin: 8px 0; font-size: 14px; }
.stapel-fehler { margin: 0 0 10px; padding-left: 18px; font-size: 13px; color: #ef8f8f; max-height: 180px; overflow: auto; }

.start-portfolio + .start-portfolio { margin-top: 44px; }

/* Promos */
.fehler-text { color: #ef8f8f; }
.promo-leiste { background: linear-gradient(90deg, #2a2208, #3a2f0c 50%, #2a2208); border-bottom: 1px solid rgba(201, 162, 39, .45); font-size: 14px; }
.promo-leiste-inner { display: flex; align-items: center; gap: 10px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.promo-leiste-stern { color: var(--gold); flex: none; }
.promo-leiste-text { color: var(--text); flex: 1; min-width: 0; text-align: center; line-height: 1.4; }
a.promo-leiste-text:hover strong { color: var(--gold); }
.promo-leiste-zeit { color: var(--text2); }
.promo-leiste-ziel { color: var(--gold); white-space: nowrap; margin-left: 10px; font-weight: 500; }
.promo-leiste-zu { flex: none; background: none; border: 0; color: var(--text2); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.promo-leiste-zu:hover { color: var(--text); }
@media (max-width: 800px) {
  .promo-leiste { font-size: 13px; }
  .promo-leiste-ziel { display: block; margin: 2px 0 0; }
}

.promo-abschnitt { background: radial-gradient(ellipse at top, rgba(201, 162, 39, .08), transparent 70%); }
.promo-karten { display: grid; gap: 18px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.promo-karte { background: var(--bg2); border: 1px solid rgba(201, 162, 39, .4); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.promo-karte-bild { background: var(--bg); }
.promo-karte-bild img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.promo-karte-text { padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.promo-karte-text h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 0 0 10px; }
.promo-karte-text p { color: var(--text2); margin: 0 0 18px; }
.promo-karte-text .btn { margin-top: auto; }
.promo-zeit { display: inline-block; color: var(--gold) !important; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 6px !important; }
/* eine Promo: groß, Bild links, Text rechts */
.promo-anzahl-1 { grid-template-columns: 1fr; }
.promo-anzahl-1 .promo-karte { flex-direction: row; }
.promo-anzahl-1 .promo-karte-bild { flex: 0 1 auto; max-width: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.promo-anzahl-1 .promo-karte-bild img { width: auto; max-width: 100%; height: auto; max-height: 480px; aspect-ratio: auto; }
.promo-anzahl-1 .promo-karte-text { justify-content: center; padding: 34px 38px; }
.promo-anzahl-1 .promo-karte-text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.promo-anzahl-1 .promo-karte-text .btn { margin-top: 0; }
.promo-anzahl-1 .ohne-bild .promo-karte-text { align-items: center; text-align: center; padding: 40px 24px; }
@media (max-width: 800px) {
  .promo-anzahl-1 .promo-karte { flex-direction: column; }
  .promo-anzahl-1 .promo-karte-bild { max-width: none; }
  .promo-anzahl-1 .promo-karte-bild img { width: 100%; max-height: 420px; object-fit: cover; }
  .promo-anzahl-1 .promo-karte-text { padding: 20px 22px 22px; }
}

.konto-promo { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; border-color: rgba(201, 162, 39, .5); flex-wrap: wrap; }
.konto-promo img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.konto-promo-text { flex: 1; min-width: 200px; }
.konto-promo-text .hinweis { margin: 2px 0 0; }

/* Promo-Verwaltung */
@media (min-width: 801px) { .detail-raster.promo-admin-raster { grid-template-columns: minmax(300px, 430px) 1fr; } }
.promo-admin-liste { display: grid; gap: 10px; margin-bottom: 16px; }
.promo-admin-eintrag { display: flex; gap: 14px; align-items: center; color: var(--text); text-decoration: none; padding: 12px; margin: 0 !important; }
.promo-admin-eintrag:hover, .promo-admin-eintrag.ist-gewaehlt { border-color: var(--gold); }
.promo-admin-eintrag img, .promo-admin-ohne { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.promo-admin-ohne { display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--gold); font-size: 22px; }
.promo-admin-text { display: flex; flex-direction: column; min-width: 0; }
.promo-admin-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-admin-text .hinweis { font-size: 13px; }
.promo-marken { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12px; margin-top: 4px; }
.promo-marken .hinweis { font-size: 12px; }
.promo-zustand { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--linie); }
.promo-zustand-live { color: #6fd39a; border-color: rgba(111, 211, 154, .5); }
.promo-zustand-geplant { color: var(--gold); border-color: rgba(201, 162, 39, .5); }
.promo-zustand-abgelaufen, .promo-zustand-pausiert { color: var(--text2); }
.promo-admin-bild { display: block; max-width: 220px; border-radius: 6px; margin: 0 0 8px; }
.promo-meta h2 { margin-top: 0; }
.promo-meta-status { list-style: none; padding: 0; margin: 0 0 14px; }
.promo-meta-status li { padding: 4px 0; font-size: 14px; }
.promo-einrichtung summary { cursor: pointer; color: var(--gold); }
.promo-einrichtung ol { padding-left: 20px; font-size: 14px; }
.promo-einrichtung li { margin-bottom: 6px; }
.promo-einrichtung pre { white-space: pre; background: var(--bg); border: 1px solid var(--linie); border-radius: 6px; padding: 10px; font-size: 12px; overflow-x: auto; }
.promo-gepostet { color: #6fd39a; }
.promo-gepostet span { color: var(--text2); }
.promo-kanal-fehler { font-size: 13px; margin: -6px 0 12px; padding: 8px 10px; }

/* SEO: Schlagwort-Zeile ist Teil der Hauptüberschrift, sieht aber aus wie vorher */
.hero h1 .hero-label { display: block; font-family: var(--sans); font-size: 13px; line-height: 1.6; text-shadow: 0 1px 10px rgba(0,0,0,.8); margin: 0 0 4px; }

/* Startseite: Über das Studio */
.ueber-raster { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.ueber-raster p { color: var(--text2); margin: 0 0 14px; max-width: 70ch; }
.ueber-punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ueber-punkte li { background: var(--bg2); border: 1px solid var(--linie); border-radius: 10px; padding: 12px 16px; }
.ueber-punkte li::before { content: "✦"; color: var(--gold); margin-right: 10px; }
@media (max-width: 800px) { .ueber-raster { grid-template-columns: 1fr; gap: 18px; } }

/* Bewertungen */
.tabelle-wrap { overflow-x: auto; }
.bew-tabelle td { vertical-align: top; }
.bew-aktionen { white-space: nowrap; text-align: right; }
.bew-aktionen form { display: inline-block; margin: 0 0 4px 4px; }
.bew-vorschau { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--linie); border-radius: 6px; padding: 12px; font-size: 13px; font-family: var(--sans); color: var(--text2); margin: 0 0 14px; }
@media (min-width: 801px) { .detail-raster.bew-raster { grid-template-columns: 1fr minmax(300px, 400px); } }
.bewertung-sterne { color: var(--gold); font-size: 18px; letter-spacing: 2px; flex: none; }
.fuss-bewertung { color: var(--gold); }

/* Auswahl & Dubletten */
.auswahl-kopf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.auswahl-kopf form { margin: 0; }
.auswahl-leiste { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0 0 12px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.auswahl-kopf .auswahl-leiste { margin: 0; }
.auswahl-leiste .check { margin: 0; }
.auswahl-leiste button[disabled] { opacity: .45; cursor: not-allowed; }
.pv-wahl { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); cursor: pointer; }
.pv-wahl input { width: 16px; height: 16px; accent-color: #d9534f; }
.pv-karte.ist-markiert, .dub-bild.ist-markiert { border-color: #d9534f; box-shadow: 0 0 0 1px #d9534f inset; }
.stapel-dubletten { margin: 8px 0 0; font-size: 14px; }
.stapel-fehler li.stapel-doppelt { color: var(--text2); }
.dub-kopf { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.dub-kopf h2 { margin: 0 0 4px; }
.dub-gruppen { display: grid; gap: 14px; }
.dub-gruppe { margin: 0 !important; }
.dub-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.dub-bild { border: 1px solid var(--linie); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.dub-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.dub-bild.ist-original { border-color: rgba(111, 211, 154, .6); }
.dub-bild.ist-original strong { color: #6fd39a; }
.dub-info { font-size: 12px; color: var(--text2); line-height: 1.4; }
.dub-info strong { color: #ef8f8f; font-size: 13px; }
@media (max-width: 800px) { .dub-bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auswahl-leiste > * { flex: 0 0 auto; width: auto; }
.auswahl-leiste .btn-gefahr { width: auto; }
.auswahl-kopf .btn-gefahr { width: auto; }
.nl-fortschritt .stapel-balken { margin: 4px 0 8px; }
