/*
 * merged_styles.css
 * ZusammengefÃ¼hrte und bereinigte Styles aus beiden Dateien.
 * Doppelte Definitionen wurden entfernt, offensichtliche Ãœberschreibungen bereinigt.
 * Hinweis: Wirklich "ungenutzte" Selektoren lassen sich ohne HTML/PHP-Templates nicht sicher erkennen.
 */

:root {
  --bg: #0f1115;
  --panel: rgba(26, 30, 36, 0.65);
  --panel2: rgba(26, 30, 36, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.60);
  --muted2: rgba(255, 255, 255, 0.40);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius2: 12px;
  --accent: #e2b76a;
  /* Warm gold/wood */
  --accent-hover: #c49c54;
  --accent2: #242830;
  --danger: #e63946;
  --glass-bg: rgba(15, 17, 21, 0.85);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Outfit', "Trebuchet MS", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 800px at 20% 0%, rgba(226, 183, 106, 0.08), transparent 50%),
    radial-gradient(1200px 900px at 80% 100%, rgba(255, 255, 255, 0.03), transparent 60%);
  background-attachment: fixed;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

img {
  outline: none;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.spacer {
  flex: 1;
}

/* Utilities */
.p16 {
  padding: 16px;
}

.p18 {
  padding: 18px;
}

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

.cols {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.dud {
  padding: 18px;
}

.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px 60px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand__logo:hover {
  transform: scale(1.05);
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-weight: 700;
}

.title {
  font-weight: 700;
  letter-spacing: .2px;
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  background: var(--accent);
  color: #111;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(226, 183, 106, 0.25);
}

.maps-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}

.maps-link:hover {
  text-decoration-color: var(--accent);
}

/* Inputs / Buttons */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(46, 70, 72, .30);
  background: rgba(255, 255, 255, .40);
  min-width: min(520px, 100%);
}

.search .icon {
  color: var(--muted2);
}

.search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search input::placeholder {
  color: var(--muted2);
}

.select,
.input {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: transform .15s cubic-bezier(0.175, 0.885, 0.32, 1.2), background .2s ease, border-color .2s ease, box-shadow .2s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}

.btn:active {
  transform: translateY(2px) scale(.98);
}

.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(226, 183, 106, 0.2);
}

.btn.primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 24px rgba(226, 183, 106, 0.3);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn.danger {
  border-color: rgba(230, 57, 70, .35);
  background: rgba(230, 57, 70, .15);
  color: #ff8b94;
}

.btn.danger:hover {
  border-color: rgba(230, 57, 70, .6);
  background: rgba(230, 57, 70, .25);
}

.notice {
  padding: 12px 14px;
  border: 1px solid rgba(124, 92, 255, .35);
  background: rgba(124, 92, 255, .10);
  border-radius: 14px;
}

/* Panels */
.panel,
.panel-contact,
.text-contact,
.intro-contact,
.intro-shop {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.panel {
  overflow: hidden;
}

.panel-head {
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Toolbar */
.toolbar {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.toolbar .left,
.toolbar .right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Grid / Cards */
.grid {
  padding: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card,
.card-btn,
.grid-item {
  border: 1px solid var(--border);
  background: var(--panel2);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.2), border-color .3s ease, background .3s ease, box-shadow .3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-btn,
.grid-item {
  width: 100%;
  text-align: left;
  cursor: grab;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 180px 1fr;
  height: 280px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, .03);
}

.card-btn:active,
.grid-item:active {
  cursor: grabbing;
}

.card:hover,
.card-btn:hover,
.grid-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .6);
}

.grid-item {
  background: rgba(255, 255, 255, 0.05);
}

.thumb {
  width: 100%;
  height: 180px;
  padding: 20px;
  background: rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.thumb-detail {
  height: 48px;
  background: rgba(0, 0, 0, .15);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .thumb img,
.card-btn:hover .thumb img,
.grid-item:hover .thumb img {
  transform: scale(1.05);
}

.card-body {
  padding: 16px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .15px;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty {
  padding: 30px 16px 34px;
}

.empty-card {
  margin: 0 auto;
  max-width: 520px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
}

.empty-text {
  margin-top: 8px;
  color: var(--muted);
}

/* Detailbereich */
.detail {
  padding: 18px;
}

.detail-head {
  align-items: center;
}

.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: .5fr .5fr;
}

.detail-media {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}

.detail-body {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  padding: 16px;
}

.detail-title {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: .2px;
  line-height: 1.15;
}

.detail-layout {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
}


.detail-gallery {
  min-width: 0;
}

.detail-facts {
  width: 100%;
}

.detail-description,
.detail-contact {
  width: 100%;
}

.facts {
  width: 100%;
  border-collapse: collapse;
}

.facts th,
.facts td {
  border-top: 1px solid var(--border);
  padding: 10px 0;
  vertical-align: top;
}

.facts th {
  width: 36%;
  color: var(--muted);
  font-weight: 600;
  padding-right: 12px;
  padding-left: 30px;
  text-align: left;
}

.desc h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
}

.desc p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* Formulare */
.form {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(124, 92, 255, .55);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .14);
}

.form small.muted {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: none;
  border: 1px solid rgba(255, 255, 255, .12);
}

.preview img[src] {
  display: block;
}

/* Intro */
.intro {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: var(--panel2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: flex-start;
}

.intro-contact {
  flex: 0 0 320px;
  padding: 24px;
  grid-column: 1;
  grid-row: 1;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
}

.intro-shop {
  flex: 0 0 320px;
  padding: 24px;
  grid-column: 1;
  grid-row: 2;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
}

.intro-text {
  flex: 1 1 auto;
  max-width: none;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: normal;
}

.intro-text p,
.intro-text a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.intro-image img {
  width: 360px;
  height: auto;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.contact-heading,
.contact2-heading {
  font-weight: 700;
  letter-spacing: .9px;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-heading {
  color: var(--accent);
}

.contact2-heading {
  color: var(--accent);
}

.contact-text,
.contact2-text {
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.text-contact {
  overflow: hidden;
  width: 40%;
}

.panel-contact {
  overflow: hidden;
  min-width: 30%;
  padding: 20px;
}

/* Brand Grid */
.shop-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.brand-tile {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /*filter: brightness(0) invert(1) opacity(0.8);*/
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.brand-tile:hover img {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  transform: scale(1.05);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
}

.footer-top {
  position: relative;
  overflow: hidden;
  background: var(--panel2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 25% 10%, rgba(255, 255, 255, .05), transparent 60%),
    radial-gradient(900px 480px at 80% 25%, rgba(0, 0, 0, .20), transparent 62%),
    repeating-linear-gradient(155deg, rgba(0, 0, 0, .1) 0 2px, rgba(255, 255, 255, 0) 2px 12px);
  opacity: .55;
  pointer-events: none;
}

.footer-top-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-brand,
.footer-block {
  padding-top: 6px;
}

.footer-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4));
}

.footer-heading {
  font-weight: 700;
  letter-spacing: .9px;
  font-size: 16px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.footer-accent {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-accent:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  border-color: var(--text);
}

.footer-sep {
  opacity: .3;
  user-select: none;
}

.footer-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted2);
}

.footer-disclaimer {
  position: relative;
  margin-top: 12px;
}

.footer-disclaimer-inner {
  font-size: 13px;
  color: var(--muted2);
}

.to-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .2s ease, background .2s ease;
}

.to-top:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.to-top:active {
  transform: translateY(1px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: flex;
  justify-content: flex-end;
  z-index: 9999;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  width: 360px;
  background: #fff;
  padding: 24px;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, .2);
  overflow-y: auto;
}

.cookie-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.cookie-option {
  margin: 14px 0;
}

.cookie-actions button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
}

/* Galerie */
.bm-gallery-panel {
  margin-top: 18px;
}

.bm-gallery {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(46, 70, 72, .25);
  background: rgba(95, 118, 120, .55);
  overflow: hidden;
  padding: 18px 18px 14px;
}

.bm-gallery-main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 10px 56px 14px;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 12px;
}

.bm-gallery-main img,
.bm-gallery-main-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: min(92vw, 860px);
  max-height: 66vh;
  border-radius: 10px;
  border: 1px solid rgba(46, 70, 72, .22);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 18px 44px rgba(18, 28, 30, .18);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.bm-gallery-main::after {
  content: "Vergrößern";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bm-g-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(46, 70, 72, .28);
  background: rgba(255, 255, 255, .32);
  color: rgba(18, 28, 30, .88);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}

.bm-g-btn:hover {
  background: rgba(255, 255, 255, .46);
}

.bm-g-btn:active {
  transform: translateY(-70%) scale(.98);
}

.bm-g-prev {
  left: 16px;
}

.bm-g-next {
  right: 16px;
}

.bm-gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 10px 8px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bm-thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(46, 70, 72, .22);
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
  overflow: hidden;
}

.bm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .92;
}

.bm-thumb:hover img {
  opacity: 1;
}

.bm-thumb.is-active {
  outline: 2px solid rgba(248, 244, 225, .85);
  outline-offset: 2px;
}

.bm-thumb-wrap {
  position: relative;
  display: inline-flex;
}

.bm-thumb-del {
  position: absolute;
  top: -8px;
  right: -8px;
  margin: 0;
}

.bm-del-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(46, 70, 72, .28);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}

.bm-del-btn:hover {
  background: rgba(0, 0, 0, .72);
}

/* Lightbox */
.bm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bm-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.bm-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  height: min(88vh, 900px);
  margin: 4vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
  display: block;
}

.bm-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.bm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.bm-lightbox-prev {
  left: 20px;
}

.bm-lightbox-next {
  right: 20px;
}

.bm-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

/* Image Picker */
.img-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.img-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(46, 70, 72, .30);
  border-radius: 12px;
  background: rgba(255, 255, 255, .35);
}

.img-choice input[type="radio"] {
  margin: 0;
}

.img-thumb {
  width: 64px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  border: 1px solid rgba(46, 70, 72, .25);
}

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

.img-picker--with-delete .img-choice-wrap {
  position: relative;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

.img-picker--with-delete .img-del-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 10px;
  line-height: 1;
}

.btn.danger.img-del-btn {
  background: rgba(220, 60, 60, 0.7);
  border: 1px solid rgba(220, 60, 60, 0.35);
  color: #fff;
}

.btn.danger.img-del-btn:hover {
  background: rgba(220, 60, 60, 0.85);
}

/* Inline CMS */
.editable-block {
  position: relative;
}

.editable-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(46, 70, 72, .25);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-weight: 700;
}

.editable-btn:hover {
  filter: brightness(0.98);
}

.edit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.edit-modal-backdrop.hidden {
  display: none;
}

.edit-modal {
  width: min(900px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.edit-modal-body {
  padding: 16px;
}

.edit-textarea {
  width: 100%;
  min-height: 240px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  padding: 12px;
}

.edit-modal-foot {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.edit-error {
  margin-right: auto;
  color: rgba(180, 25, 25, .95);
}

/* Map consent */
.map-consent-box {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  flex-direction: column;
  justify-content: center;
}



@media (max-width: 980px) {
  .intro {
    flex-wrap: wrap;
    padding: 24px;
    gap: 24px;
  }

  .intro-image {
    flex: 0 0 240px;
  }

  .intro-image img {
    width: 100%;
    max-width: 240px;
    height: auto;
  }

  .intro-text {
    order: 2;
    font-size: 18px;
  }

  .intro-contact {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 860px) {
  .container {
    max-width: 100%;
    padding: 0 16px 40px;
  }

  .topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
    gap: 8px;
  }

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

  .nav-link {
    text-align: center;
    padding: 12px;
  }

  .brand {
    min-width: 0;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar .right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .intro {
    display: block;
    padding: 18px;
  }

  .intro-image {
    float: left;
    width: min(45%, 180px);
    margin: 0 14px 10px 0;
  }

  .intro-image img {
    width: 100%;
    height: auto;
  }

  .intro-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .intro-contact {
    clear: both;
    margin-top: 14px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
    padding-bottom: 12px;
  }

  .mobile-menu-btn {
    align-self: center;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

@media (max-width: 520px) {
  .shop-brand-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {

  .bm-gallery-main:hover .bm-gallery-main-img,
  .bm-gallery-main:hover img {
    transform: scale(1.02);
    filter: brightness(0.9);
  }

  .bm-gallery-main:hover::after,
  .bm-gallery-main:focus-within::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Zusatz-Styles fuer Multi-Page-Layout (Navigation + Footer) */
/* kleine Utilities */
.p16 {
  padding: 16px;
}

.p18 {
  padding: 18px;
}

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

.cols {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.dud {
  padding: 18px;
  /*display:grid;
    grid-template-columns: .7fr 1.3fr;
    gap:16px;*/
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid rgba(46, 70, 72, .35);
  background: rgba(248, 244, 225, .85);
  font-size: 14px;
  color: rgba(18, 28, 30, .85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset;
}

.nav-link:hover {
  background: rgba(248, 244, 225, .98);
  color: rgba(18, 28, 30, .95);
}

.nav-link.active {
  background: rgba(95, 118, 120, .90);
  border-color: rgba(46, 70, 72, .45);
  color: rgba(255, 255, 255, .95);
}

.maps-link {
  color: #d8d1b4;
  font-weight: 700;
}

img:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

/* =========================================================
   Footer (Layout wie im Screenshot)
   ========================================================= */

.footer {
  border-top: 1px solid rgba(46, 70, 72, .35);
}

/* Oberer Bereich: blaugruenes Panel mit "Skizzen"-Pattern */
.footer-top {
  position: relative;
  overflow: hidden;
  background: rgba(102, 133, 136, .62);
  backdrop-filter: blur(6px);
}

.footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  /* leichtes Muster, damit es wie eine zarte Zeichnung wirkt */
  background:
    radial-gradient(1200px 520px at 25% 10%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(900px 480px at 80% 25%, rgba(18, 28, 30, .10), transparent 62%),
    repeating-linear-gradient(155deg, rgba(18, 28, 30, .06) 0 2px, rgba(255, 255, 255, 0) 2px 12px);
  opacity: .55;
  pointer-events: none;
}

.footer-top-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 18px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 5px;
  align-items: start;
}

.footer-brand {
  padding-top: 6px;
}

.footer-logo {
  max-width: 360px;
  width: 50%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(46, 70, 72, .22));
}

.footer-block {
  padding-top: 6px;
}

.footer-heading {
  font-weight: 800;
  letter-spacing: .9px;
  font-size: 18px;
  color: rgba(18, 28, 30, .92);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-text {
  color: rgba(18, 28, 30, .78);
  line-height: 1.6;
  font-size: 15px;
}

.footer-accent {
  color: #b53b45;
  font-weight: 700;
}

/* Unterer Bereich: beiger Balken mit Links + Rechtstext */
.footer-bottom {
  position: relative;
  background: rgba(248, 244, 225, .78);
  border-top: 1px solid rgba(46, 70, 72, .22);
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 18px 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(18, 28, 30, .70);
  font-size: 13px;
}

.footer-links a {
  color: rgba(18, 28, 30, .70);
  border-bottom: 1px dashed rgba(18, 28, 30, .22);
}

.footer-links a:hover {
  color: rgba(18, 28, 30, .92);
}

.footer-sep {
  opacity: .55;
  user-select: none;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(18, 28, 30, .60);
}

.footer-disclaimer {
  position: relative;
  margin-top: 10px;
}

.footer-disclaimer-inner {
  font-size: 12px;
  color: rgba(18, 28, 30, .60);
}

/* "Nach oben"-Button rechts (wie Pfeil im Screenshot) */
.to-top {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(46, 70, 72, .28);
  background: rgba(255, 255, 255, .42);
  color: rgba(18, 28, 30, .85);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(46, 70, 72, .12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .12s ease, background .2s ease;
}

.to-top:hover {
  background: rgba(255, 255, 255, .60);
}

.to-top:active {
  transform: translateY(1px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Kleine Form-Grid-Helfer */
.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Filter/Sort-Bar */
.toolbar {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.toolbar .left,
.toolbar .right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.select,
.input {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
}

.notice {
  padding: 12px 14px;
  border: 1px solid rgba(124, 92, 255, .35);
  background: rgba(124, 92, 255, .10);
  border-radius: 14px;
}

.facts {
  width: 100%;
  border-collapse: collapse;
}

.facts th,
.facts td {
  border-top: 1px solid var(--border);
  padding: 10px 0;
  vertical-align: top;
}

.facts th {
  width: 36%;
  color: var(--muted);
  font-weight: 600;
  padding-right: 12px;
  padding-left: 30px;
  text-align: left;
  /* â† DAS fehlt dir */
}

.intro {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: rgba(120, 150, 150, 0.85);
  align-items: flex-start;
}

.container_row {
  display: grid;
  width: 50%;
  min-width: 250px;
  max-width: 250px;

}

.intro-contact {
  flex: 0 0 320px;
  /* â† feste Breite */
  border: 1px solid rgba(46, 70, 72, .30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  grid-column: 1;
  grid-row: 1;
}

.intro-shop {
  flex: 0 0 320px;
  /* â† feste Breite */
  border: 1px solid rgba(46, 70, 72, .30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  grid-column: 1;
  grid-row: 2;
}

.intro-text {
  flex: 1 1 auto;
  /* â† nimmt den restlichen Platz */
  max-width: none;
  /* wichtig */
  color: #1f2f2f;
  font-size: 20px;
  line-height: 1.6;
}

.intro-image img {
  width: 360px;
  height: auto;
}

.shop-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/*
.shop-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
*/
.brand-tile {
  aspect-ratio: 3 / 2;
  /* sehr elegant */
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



/*
.brand-tile{
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .12s ease, border-color .12s ease;
}

.brand-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.14);
}

.brand-tile img{
  width: 140px;
  height: 100%;         
  object-fit: cover;
  display: block;
}*/

@media (max-width: 520px) {
  .shop-brand-grid {
    grid-template-columns: 1fr;
  }
}


/*.intro{
    display: flex;
    gap: 40px;
    padding: 40px;
    background: rgba(120, 150, 150, 0.85);
}
.intro-image img{
    width: 360px;
    height: auto;
}
.intro-text{
    max-width: 800px;
    color: #1f2f2f;
    font-size: 20px;
    line-height: 1.6;
}
.intro-contact{
  border: 1px solid rgba(46,70,72,.30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 30%;
  padding: 20px;
}*/

/*.intro{
    display: grid;
    gap: 16px;
    padding: 18px;
    background: rgba(120, 150, 150, 0.85);
    grid-template-columns: .33fr .33fr .33fr;
}

.dud {
    padding:18px;
    display:grid;
    grid-template-columns: .7fr 1.3fr;
    gap:16px;
}*/



.contact-heading {
  font-weight: 800;
  letter-spacing: .9px;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #d8d1b4;
  font-weight: 700;
}

.contact-text {
  line-height: 1.6;
  font-size: 15px;
  color: #d8d1b4;
  font-weight: 700;
  font-size: 18px;
}

.panel-contact {
  border: 1px solid rgba(46, 70, 72, .30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 30%;
  padding: 20px;
}

.text-contact {
  border: 1px solid rgba(46, 70, 72, .30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 40%;

}

.contact2-heading {
  font-weight: 800;
  letter-spacing: .9px;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact2-text {
  line-height: 1.6;
  font-size: 15px;
  color: var(--muted);
  font-weight: 700;
  font-size: 18px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: flex;
  justify-content: flex-end;
  z-index: 9999;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  width: 360px;
  background: #fff;
  padding: 24px;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, .2);
  overflow-y: auto;
}

.cookie-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.cookie-option {
  margin: 14px 0;
}

.cookie-actions button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
}

/* =========================================================
   Startseiten-Galerie (wie im Screenshot)
   ========================================================= */

.bm-gallery-panel {
  margin-top: 18px;
}

.bm-gallery {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(46, 70, 72, .25);
  background: rgba(95, 118, 120, .55);
  overflow: hidden;
  padding: 18px 18px 14px;
}

.bm-gallery-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 10px 56px 14px;
}

.bm-gallery-main img {
  max-width: min(92vw, 860px);
  max-height: 66vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(46, 70, 72, .22);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 18px 44px rgba(18, 28, 30, .18);
}

.bm-g-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(46, 70, 72, .28);
  background: rgba(255, 255, 255, .32);
  color: rgba(18, 28, 30, .88);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}

.bm-g-btn:hover {
  background: rgba(255, 255, 255, .46);
}

.bm-g-btn:active {
  transform: translateY(-70%) scale(.98);
}

.bm-g-prev {
  left: 16px;
}

.bm-g-next {
  right: 16px;
}

.bm-gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 10px 8px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bm-thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(46, 70, 72, .22);
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
  overflow: hidden;
}

.bm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .92;
}

.bm-thumb:hover img {
  opacity: 1;
}

.bm-thumb.is-active {
  outline: 2px solid rgba(248, 244, 225, .85);
  outline-offset: 2px;
}

/* Startseiten-Galerie: Admin-Delete Button */
.bm-thumb-wrap {
  position: relative;
  display: inline-flex;
}

.bm-thumb-del {
  position: absolute;
  top: -8px;
  right: -8px;
  margin: 0;
}

.bm-del-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(46, 70, 72, .28);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}

.bm-del-btn:hover {
  background: rgba(0, 0, 0, .72);
}

/* -----------------------------------------------------
   Admin Image-Picker (Mehrfachupload + Primaerbild)
   ----------------------------------------------------- */
.img-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.img-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(46, 70, 72, .30);
  border-radius: 12px;
  background: rgba(255, 255, 255, .35);
}

.img-choice input[type="radio"] {
  margin: 0;
}

.img-thumb {
  width: 64px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  border: 1px solid rgba(46, 70, 72, .25);
}

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

/* --------------------------------------------------
   Inline-CMS (Admin Inline Editor)
--------------------------------------------------- */

.editable-block {
  position: relative;
}

.editable-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(46, 70, 72, .25);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-weight: 700;
}

.editable-btn:hover {
  filter: brightness(0.98);
}

.edit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.edit-modal-backdrop.hidden {
  display: none;
}

.edit-modal {
  width: min(900px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.edit-modal-body {
  padding: 16px;
}

.edit-textarea {
  width: 100%;
  min-height: 240px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  padding: 12px;
}

.edit-modal-foot {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.edit-error {
  margin-right: auto;
  color: rgba(180, 25, 25, .95);
}

/* =========================================
   Startseite: Intro responsive machen
   ========================================= */

/* Sicherheitsnetz: lange WÃ¶rter/Links brechen */
.intro-text,
.intro-text p,
.intro-text a {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Tablet / kleinere Laptops: untereinander stapeln */
@media (max-width: 980px) {
  .intro {
    flex-wrap: wrap;
    padding: 24px;
    gap: 24px;
  }

  .intro-image {
    flex: 0 0 240px;
  }

  .intro-image img {
    width: 100%;
    max-width: 240px;
    height: auto;
  }

  .intro-text {
    order: 2;
    font-size: 18px;
  }

  /* Kontakt soll unter Text */
  .intro-contact {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}

/* Handy: Bild floaten, Text legt sich drum, Kontakt darunter */
@media (max-width: 680px) {
  .intro {
    display: block;
    padding: 18px;
  }

  .intro-image {
    float: left;
    width: min(45%, 180px);
    margin: 0 14px 10px 0;
  }

  .intro-image img {
    width: 100%;
    height: auto;
  }

  .intro-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .intro-contact {
    clear: both;
    margin-top: 14px;
    width: 100%;
  }
}

/* Hauptbild klickbar machen */
.bm-gallery-main {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 12px;
}

/* leichtes Zoom beim Hover */
.bm-gallery-main-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.bm-gallery-main:hover .bm-gallery-main-img {
  transform: scale(1.02);
  filter: brightness(0.9);
}

/* Overlay-Hinweis */
.bm-gallery-main::after {
  content: "Vergrößern";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bm-gallery-main:hover::after,
.bm-gallery-main:focus-within::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bm-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.bm-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  height: min(88vh, 900px);
  margin: 4vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.bm-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.bm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bm-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.bm-lightbox-prev {
  left: 16px;
}

.bm-lightbox-next {
  right: 16px;
}

.bm-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .bm-gallery-main:hover .bm-gallery-main-img {
    transform: scale(1.02);
    filter: brightness(0.9);
  }

  .bm-gallery-main:hover::after,
  .bm-gallery-main:focus-within::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.bm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bm-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.bm-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  height: min(88vh, 900px);
  margin: 4vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bild */
.bm-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
  display: block;
}

/* X oben rechts */
.bm-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Pfeile links / rechts */
.bm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.bm-lightbox-prev {
  left: 20px;
}

.bm-lightbox-next {
  right: 20px;
}

/* ZÃ¤hler unten */
.bm-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}



.map-consent-box {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-consent-box {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.form small.muted {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}



.detail-gallery {
  flex: 1 1 auto;
  min-width: 0;
}




/*
 * styles.css
 * Stylesheet
 */

:root {
  /* Palette angelehnt an den Screenshot (heller, "Papier" + blaugruenes Panel) */
  --bg: #d8d1b4;
  /* warmes Beige */
  --panel: rgba(102, 133, 136, .78);
  /* blaugruenes Overlay */
  --panel2: rgba(102, 133, 136, .62);
  --border: rgba(46, 70, 72, .35);
  --text: rgba(18, 28, 30, .92);
  /* dunkler Text */
  --muted: rgba(18, 28, 30, .70);
  --muted2: rgba(18, 28, 30, .55);
  --shadow: 0 18px 55px rgba(46, 70, 72, .22);
  --radius: 18px;
  --radius2: 12px;

  --accent: #4f6e72;
  /* Tab/Highlight */
  --accent2: #2f4e52;
  --danger: #b53b45;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  color: var(--text);
  /* leicht strukturierter Hintergrund (ohne extra Bilddatei) */
  background:
    radial-gradient(1200px 520px at 30% 0%, rgba(111, 150, 152, .25), transparent 60%),
    radial-gradient(900px 420px at 85% 15%, rgba(255, 255, 255, .26), transparent 62%),
    repeating-linear-gradient(135deg, rgba(46, 70, 72, .05) 0 2px, rgba(255, 255, 255, 0) 2px 10px),
    linear-gradient(180deg, #cfd6d6 0%, var(--bg) 46%, #e2ddc6 100%);
}

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

.container {
  max-width: 90%;
  margin: 24px auto;
  padding: 0 18px 48px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(134, 160, 162, .72);
  border-bottom: 1px solid rgba(46, 70, 72, .35);
  /*padding: 5px 30px;*/
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 205, 0, .95), rgba(255, 205, 0, .70) 55%, rgba(46, 70, 72, .25) 100%);
  box-shadow: 0 12px 40px rgba(46, 70, 72, .18);
  font-size: 18px;
}

.title {
  font-weight: 700;
  letter-spacing: .2px;
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(46, 70, 72, .30);
  background: rgba(255, 255, 255, .40);
  min-width: min(520px, 100%);
}

.search .icon {
  color: var(--muted2);
}

.search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search input::placeholder {
  color: var(--muted2);
}

.btn {
  border: 1px solid rgba(46, 70, 72, .30);
  background: rgba(255, 255, 255, .42);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(46, 70, 72, .40);
}

.btn:active {
  transform: translateY(1px) scale(.99);
}

.btn.primary {
  border-color: rgba(46, 70, 72, .40);
  background: linear-gradient(180deg, rgba(79, 110, 114, .85), rgba(79, 110, 114, .62));
  box-shadow: 0 16px 50px rgba(46, 70, 72, .18);
}

.btn.primary:hover {
  border-color: rgba(46, 70, 72, .55);
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  border-color: rgba(255, 77, 109, .35);
  background: rgba(255, 77, 109, .14);
}

.btn.danger:hover {
  border-color: rgba(255, 77, 109, .6);
  background: rgba(255, 77, 109, .18);
}

.panel {
  border: 1px solid rgba(46, 70, 72, .30);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  padding: 16px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(46, 70, 72, .24);
  background: rgba(255, 255, 255, .22);
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.grid {
  padding: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.card {
  border: 1px solid rgba(46, 70, 72, .22);
  background: rgba(255, 255, 255, .18);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: transform .12s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 70, 72, .34);
  background: rgba(255, 255, 255, .26);
}

.thumb {
  height: 140px;
  padding: 10px;
  background: rgba(255, 255, 255, .03);
}

.thumb-detail {
  height: 40px;
  background: rgba(255, 255, 255, .03);
}

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

.card-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.card-body {
  padding: 12px 12px 14px;
}

.card-title {
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: .15px;
  line-height: 1.2;
}

.card-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty {
  padding: 30px 16px 34px;
}

.empty-card {
  margin: 0 auto;
  max-width: 520px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
}

.empty-text {
  margin-top: 8px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.detail-head {
  align-items: center;
}

.spacer {
  flex: 1;
}

.detail {
  padding: 18px;
}

.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: .5fr .5fr;
}

.detail-media {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}

.detail-body {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  padding: 16px;
}

.detail-title {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: .2px;
  line-height: 1.15;
}

.detail-layout {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
}

.detail-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.desc h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
}

.desc p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.form {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(124, 92, 255, .55);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .14);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: none;
  border: 1px solid rgba(255, 255, 255, .12);
}

.preview img[src] {
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  height: 75px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25));
}

/* -----------------------------------------------------
   Responsive Design
   ----------------------------------------------------- */
@media (max-width: 860px) {
  .container {
    max-width: 100%;
    padding: 0 14px 44px;
  }

  .topbar {
    padding-left: 16px;
    padding-right: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
    gap: 8px;
  }

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

  .nav-link {
    text-align: center;
    padding: 12px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar .right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

}

@media (max-width: 560px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}



/* =========================================================
   edit_guitar.php: vorhandene Bilder + Delete Button
   ========================================================= */

.img-picker--with-delete .img-choice-wrap {
  position: relative;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

.img-picker--with-delete .img-del-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 10px;
  line-height: 1;
}


.btn.danger.img-del-btn {
  background: rgba(220, 60, 60, 0.7);
  border: 1px solid rgba(220, 60, 60, 0.35);
  color: #fff;
}

.btn.danger.img-del-btn:hover {
  background: rgba(220, 60, 60, 0.85);
}

.bm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bm-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
}

.bm-lightbox-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.bm-lightbox-img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.bm-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}



/* Dein Button (grid-item) â€“ bei dir wohl .card-btn oder .grid-item */
.card-btn,
.grid-item {
  width: 100%;
  text-align: left;
  cursor: grab;

  /* Neu: Einheitliches Kartenlayout */
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 120px 1fr;
  /* Bildbereich fix */
  height: 220px;
  /* ALLE Karten gleich hoch */
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.card-btn:active,
.grid-item:active {
  cursor: grabbing;
}

/* Bildbereich (bei dir: .thumb) */
.thumb {
  width: 100%;
  height: 160px;
  /* muss zur grid-row passen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.grid-item,
.card-btn {
  width: 100%;
  text-align: left;
  cursor: grab;

  box-sizing: border-box;
  display: grid;

  /* Bildbereich grÃ¶ÃŸer machen */
  grid-template-rows: 160px 1fr;

  height: 260px;
  /* Gesamtkarte etwas grÃ¶ÃŸer */
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

/* Titel: max 2 Zeilen, dann ... */
.card-title {
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: .15px;
  line-height: 1.2;

  /* Neu: clamp */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Admin Ausblick */
.grid-item {
  background: rgb(190, 190, 190, 0.6);
}

/* Responsive */
@media (max-width: 1400px){
  .detail-top {
    grid-template-columns: 1fr;
  }
    
  .detail-facts {
    grid-column: 1;               /* sicherstellen, dass es unter der Galerie sitzt */
  }
}