/* CSS Document */

/********** COLOURS **********/

:root {
    --v-footer: #0e182a; 
    --v-dark: #333333;
    --v-light: #ffffff;
    --bs-body-color: #333333;
    --v-light2: #fcfbfc;
    --v-darkblue: #0e182a;
    --v-lightblue: #9fa3aa;
    --gray: #b9b9b9;
}


.bg-darkblue {
  background-color: var(--v-darkblue);
  }  

.bg-light2 {
  background-color: var(--v-light2);
  }   

.text-lightblue {
  color: var(--v-lightblue);
  } 
  
body {
  color: var(--v-dark);
  font-family: "Roboto Mono", monospace;
}     

.btn-gray {
  border: 2px solid var(--gray) !important;
  color: white;
  background-color: var(--gray);
  
}

.btn-gray-outline {
  border: 2px solid var(--gray);
  color: var(--gray);
  background-color: transparent;
}
   
    
/**************** HEADLINES & FONTS *******************/

h1,
h2,
h3,
h4,
h5,
h6
{  
    font-family: "Outfit", sans-serif;   
    font-weight: 700;
    color: var(--v-dark);
} 

/* p */
p {
  font-family: "Roboto Mono", monospace;   
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.9;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 0.75rem;
    line-height: 1.85;
  }
}

/* DISPLAY-1 STARTSEITE HEADLINE */
.display-1 {
  font-family: "Outfit", sans-serif;     
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 1200px) {
  .display-1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 768px) {
  .display-1 {
    font-size: 2.1rem !important;
  }
} 

/* DISPLAY-2 HEADLINE */
.display-2 {
  font-family: "Outfit", sans-serif;     
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
}

@media screen and (max-width: 768px) {
  .display-2 {
    font-size: 1.8rem;
  }
}

/* DISPLAY-3 SEITENBEGRIFFE*/
.display-3 {
  font-family: "Outfit", sans-serif;     
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--v-dark);
}


@media screen and (max-width: 768px) {
  .display-3 {
    font-size: 1.7rem;
  }
}

/* DISPLAY-30 ZWISCHEN DISPLAY-3 UND DISPLAY-5 */
.display-30 {
  font-family: "Outfit", sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--v-dark);
}

@media screen and (max-width: 768px) {
  .display-30 {
    font-size: 1.5rem;
  }
}


/* DISPLAY-4 HEADLINE KLEINER */
.display-4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .display-4 {
    font-size: 1.3rem;
    font-weight: 600;
  }
}

/* DISPLAY-5 PORTFOLIO HEADS */
.display-5 {
  font-family: "Outfit", sans-serif;     
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

@media screen and (max-width: 992px) {
  .display-5 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .display-5 {
    font-size: 1.3rem;
  }
}

/* DISPLAY-6 MENUSCHRIFT*/
.display-6 {
  font-family: "Outfit", sans-serif;     
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}  

@media screen and (max-width: 768px) {
  .display-6 {
    font-size: 1.2rem;
  }
}

/* DISPLAY-7 kleiner als p aber größer als small */
.display-7 { 
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .display-7 {
    font-size: 0.65rem;
  }
}

/* DISPLAY-8 RELATED LINKS */
.display-8 {
  font-family: "Outfit", sans-serif;
  font-size: 1.0rem;
  font-weight: 600;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .display-8 {
    font-size: 1.0rem;
    font-weight: 600;
  }
}

/* DISPLAY-9 INTERVIEW */
.display-9 {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .display-9 {
    font-size: 0.9rem;
    font-weight: 600;
  }
}

/* DISPLAY-LOGO LOGOSCHRIFT*/
.display-logo {
  font-family: "Outfit", sans-serif;     
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .display-logo {
    font-size: 0.7rem;
  }
}

/* DISPLAY-LINK auf den Detailseiten*/
.display-link {
  font-family: "Outfit", sans-serif;     
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1rem;  
}

.lead {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .lead {
    font-size: 1.0rem;
  }
}

.intro-text {
  font-size: clamp(0.95rem, 1.5vw, 1.0rem) !important;
  color: #888 !important;
  line-height: 1.6;
  max-width: 30rem;
}
   
/*************** HEADLINE END *************/

.swiper-controls .swiper-navigation .swiper-button {
  background: rgba(var(--bs-white-rgb), 0.7);
  color: var(--v-dark);
  border: 0;
  box-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.02);
  width: 2.2rem;
  height: 2.2rem;
  line-height: inherit;
  border-radius: 10%;
  text-shadow: none;
  transition: all 0.2s ease-in-out;
}

.btn.btn-circle.btn-play {
  width: 2.5rem;
  height: 2.5rem;
  font-size: calc(1.355rem + 1.26vw);
}
@media (min-width: 1200px) {
  .btn.btn-circle.btn-play {
    font-size: 2.3rem;
  }
}

.btn .uil {
  margin-left: 0.35rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .btn {
    max-width: 100%;
    white-space: normal;
  }
}

.post-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.6rem;
  color: #aab0bc;
}

.body {
  color: var(--v-dark);
  /* font-family: "Outfit", sans-serif; */
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.8;
}


.hero-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
  }
} 


/* MENÜ -------------------------------------------------------------------------------------------*/

.menu-toggle {
  position: absolute;
  top: 2.7rem;
  right: clamp(8rem, 4vw, 8rem); 
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover { 
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(14, 24, 42, 0.15);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--v-dark);
  outline-offset: 4px;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--v-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bar + .menu-toggle__bar {
  margin-top: 6px;
} 

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-toggle {
  background: rgba(255, 255, 255, 0.9);
}

body.menu-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  padding: 3rem 1.5rem;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__nav {
  text-align: center;
}

/* Basis-Layout für Listen */
.menu-overlay__list,
.menu-overlay__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-overlay__sublist {
  gap: 0.75rem;
  margin-top: 1rem;
}

.menu-overlay__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hauptlinks */
.menu-overlay__link,
.menu-overlay__label {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--v-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.menu-overlay__label {
  cursor: default;
}

.menu-overlay__link:hover,
.menu-overlay__link:focus {
  color: var(--v-darkblue);
}

/* Sublinks */
.menu-overlay__sublink {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--v-darkblue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-overlay__sublink:hover,
.menu-overlay__sublink:focus {
  color: var(--v-dark);
}

/* --- Zentriertes Block-Layout mit definierter Höhe --- */

.menu-overlay__inner {
  display: flex;
  justify-content: center;     /* horizontal zentriert */
  align-items: center;         /* vertikal zentriert */
  height: 100vh;               /* volle Höhe des Viewports */
}

.menu-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-overlay__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* gleichmäßig über Block verteilt */
  align-items: center;
  height: 80vh;                   /* definierte Blockhöhe */
  line-height: 1.2;
}

/* --- Responsive Anpassungen --- */

@media (max-width: 992px) {
  .menu-toggle {
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .menu-overlay__list {
    gap: 1.5rem;
    height: 75vh;
  }

  .menu-overlay__link,
  .menu-overlay__label {
    font-size: 2rem;
  }

  .menu-overlay__sublink {
    font-size: 1.1rem;
  }
}

@media (min-width: 1280px) and (max-width: 1399.98px) {
  .menu-toggle {
    right: calc(((100vw - 1140px) / 2) + (6.5rem - 70px));
  }
}

@media (min-width: 1400px) {
  .menu-toggle {
    right: max(6.5rem, calc(((100vw - 1320px) / 2) + (6.5rem - 70px)));
  }
}

@media (max-width: 576px) {
  .menu-overlay {
    padding: 2.5rem 1rem;
  }

  .menu-overlay__link,
  .menu-overlay__label {
    font-size: 1.8rem;
  }

  .menu-overlay__sublink {
    font-size: 1rem;
  }

  .menu-overlay__list {
    height: 70vh;
  }
}


/* ENDE MENÜ -------------------------------------------------------------------------------------------*/

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.form-label {
 
  display: none;
 
}
/* PRIMARY -------------------------------------------------------------------------------------------*/
#primary {
  display: inherit;
  margin: 0 0 50px 0;
  margin-left: 0;
}
#primary li {
  font-size: 0.8em;
  line-height: 28px;
  display: inline-flex;
  margin-right: 60px;
}
@media only screen and (min-width: 1000px) {
  #primary li {
    font-size: 0.8em;
    line-height: 32px;
  }
}
#primary li span {
  display: none;
}
#primary li:last-child {
  margin-right: 0;
}
#primary li a {
  color: #333;
  display: inline-block;
  position: relative;
}
#primary li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 1px solid #333;
  transition: 0.5s ease;
}
#primary li a:hover:after {
  width: 100%;
}
#primary li a.active {
  text-decoration: line-through;
}

.body {
font-family: "Roboto Mono", monospace;
font-size: 0.8rem;
font-weight: 400;
line-height: 1.9;
}

 
.InputfieldContent hr {
  margin-top: 1rem;
  margin-bottom: 0;
}

.related-label {
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #555;
}

.related-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.related-heading-accent {
  color: #d8692a; /* Akzentfarbe wie im Screenshot, nach Geschmack anpassen */
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list li {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.tags-bg {
  font-size: 0.6rem;
  line-height: 1rem;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.35rem 0.7rem 0.3rem;
  background: var(--bs-soft-primary);
  color:#252525;
}

.tags-bg a {
  color:#252525;
}


/* ── Gallery Upload (gallery-upload.php) ──────────────────────────────────── */

:root {
  --c-primary:       #ddb560;
  --c-primary-hover: #c9a245;
  --c-primary-light: #f5f0e8;
  --c-primary-text:  #a07830;
  --c-text:          #1a1a1a;
  --c-text-muted:    #888;
  --c-text-faint:    #bbb;
  --c-border:        #e0e0e0;
  --c-border-light:  #f0f0f0;
  --c-bg-card:       #fff;
  --c-bg-subtle:     #fafafa;
  --c-bg-hover:      #fdf9f2;
  --c-success:       #3a7c3a;
  --c-success-bg:    #eef6ee;
  --c-error:         #c0392b;
  --c-error-bg:      #fff0f0;
  --f-display: "Outfit", sans-serif;
  --f-mono:    "Roboto Mono", monospace;
  --r-card:    8px;
  --r-input:   6px;
  --shadow-card:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-modal: 0 20px 60px rgba(0,0,0,0.15);
}

.db-page-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--c-text);
  margin: 0 0 0.2rem; line-height: 1.2;
}
.db-page-subtitle {
  font-family: var(--f-mono); font-size: 0.72rem;
  color: var(--c-text-faint); margin: 0; letter-spacing: 0.04em;
}
.db-section-title {
  font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-faint);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border-light);
}
.db-label {
  display: block; font-family: var(--f-mono); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--c-text-muted); margin-bottom: 0.25rem;
}
.db-input {
  width: 100%; font-family: var(--f-display); font-size: 0.88rem;
  color: var(--c-text); background: var(--c-bg-card);
  border: 1.5px solid var(--c-border); border-radius: var(--r-input);
  padding: 0.6rem 0.85rem; outline: none; box-sizing: border-box;
  transition: border-color 0.18s;
}
.db-input:focus { border-color: var(--c-primary); }
.db-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem; font-family: var(--f-display);
  font-size: 0.85rem; font-weight: 600; border-radius: var(--r-input);
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1.3;
}
.db-btn--primary {
  background: var(--c-primary); border-color: var(--c-primary);
  color: #1a1000; box-shadow: 0 2px 8px rgba(221,181,96,0.3);
}
.db-btn--primary:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); color: #1a1000; }
.db-btn--secondary {
  background: var(--c-bg-card); border-color: var(--c-border);
  color: var(--c-text-muted); box-shadow: var(--shadow-card);
}
.db-btn--secondary:hover { border-color: var(--c-primary); color: var(--c-primary-text); }
.db-btn--danger { background: var(--c-bg-card); border-color: #e5a0a0; color: var(--c-error); }
.db-btn--danger:hover  { background: var(--c-error-bg); border-color: var(--c-error); }
.db-btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.db-btn--block { width: 100%; justify-content: center; }
.db-card {
  background: var(--c-bg-card); border: 1.5px solid var(--c-border-light);
  border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden;
}
.db-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.5rem; background: var(--c-bg-subtle);
  border-bottom: 1px solid var(--c-border-light);
}
.db-card-title { font-family: var(--f-display); font-size: 0.92rem; font-weight: 700; color: var(--c-text); }
.db-card-body  { padding: 1.5rem; }

/* ── PIN-Formular ───────────────────────────────── */
.gl-pin-wrap {
  max-width: 320px; margin: 0 auto; text-align: center;
}
.gl-pin-input {
  font-size: 2rem; letter-spacing: 0.3em; text-align: center;
  padding: 0.8rem; width: 100%;
}

/* ── Galerie-Auswahl ────────────────────────────── */
.gl-gallery-grid {
  display: grid; gap: 0.6rem;
}
.gl-gallery-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem; background: var(--c-bg-card);
  border: 1.5px solid var(--c-border-light); border-radius: var(--r-card);
  cursor: pointer; transition: border-color 0.18s, background 0.18s;
  font-family: var(--f-display);
}
.gl-gallery-btn:hover,
.gl-gallery-btn.is-active {
  border-color: var(--c-primary); background: var(--c-bg-hover);
}
.gl-gallery-btn.is-active { background: var(--c-primary-light); }
.gl-gallery-btn__name { font-weight: 700; font-size: 0.92rem; color: var(--c-text); }
.gl-gallery-btn__sub  { font-family: var(--f-mono); font-size: 0.62rem; color: var(--c-text-faint); margin-top: 1px; }
.gl-gallery-btn__count { font-family: var(--f-mono); font-size: 0.62rem; color: var(--c-text-faint); flex-shrink: 0; }

/* ── Drop-Zone / File-Picker ────────────────────── */
.gl-drop {
  border: 2px dashed var(--c-border); border-radius: var(--r-card);
  padding: 2.5rem 1.5rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; background: var(--c-bg-subtle);
  position: relative;
}
.gl-drop.is-active { border-color: var(--c-primary); background: var(--c-primary-light); }
.gl-drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.gl-drop__icon { font-size: 2.5rem; color: var(--c-text-faint); margin-bottom: 0.5rem; }
.gl-drop__label { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--c-text); }
.gl-drop__sub   { font-family: var(--f-mono); font-size: 0.68rem; color: var(--c-text-faint); margin-top: 0.25rem; }

/* ── Vorschau-Quadrate ──────────────────────────── */
.gl-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
  margin-top: 1rem;
}
.gl-thumb {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border-light);
  position: relative;
  cursor: grab;
  transition: opacity 0.18s, box-shadow 0.18s;
}
.gl-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
}
.gl-thumb--empty {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.6rem; color: var(--c-text-faint);
}
.gl-thumb__del {
  position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff;
  border: none; cursor: pointer; font-size: 0.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
  backdrop-filter: blur(4px);
}
.gl-thumb:hover .gl-thumb__del { opacity: 1; }
.gl-thumb__del:hover { background: rgba(180,30,30,0.85); }
.gl-thumb.is-dragging { opacity: 0.35; cursor: grabbing; }
.gl-thumb.drag-over   { box-shadow: 0 0 0 2.5px var(--c-primary); border-color: var(--c-primary); }

/* ── Caption-Editor ─────────────────────────────── */
.gl-caption-list { display: flex; flex-direction: column; gap: 10px; margin-top: 1rem; }
.gl-caption-row {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: grab;
  border-radius: var(--r-input);
  transition: opacity 0.18s, box-shadow 0.18s;
}
.gl-caption-row.is-dragging { opacity: 0.35; cursor: grabbing; }
.gl-caption-row.drag-over   { box-shadow: 0 0 0 2px var(--c-primary); }
.gl-caption-del {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--r-input);
  border: 1.5px solid var(--c-border); background: var(--c-bg-card);
  color: var(--c-text-faint); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  margin-top: 10px;
}
.gl-caption-del:hover { border-color: var(--c-error); color: var(--c-error); background: var(--c-error-bg); }
.gl-caption-thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 4px; overflow: hidden; border: 1px solid var(--c-border-light);
}
.gl-caption-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-caption-input {
  flex: 1; font-family: var(--f-display); font-size: 0.82rem;
  color: var(--c-text); background: var(--c-bg-card);
  border: 1.5px solid var(--c-border); border-radius: var(--r-input);
  padding: 0.5rem 0.75rem; outline: none; resize: none;
  transition: border-color 0.18s; min-height: 52px; box-sizing: border-box;
}
.gl-caption-input:focus { border-color: var(--c-primary); }
.gl-caption-save {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--r-input);
  border: 1.5px solid var(--c-border); background: var(--c-bg-card);
  color: var(--c-text-muted); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  margin-top: 10px;
}
.gl-caption-save:hover { border-color: var(--c-primary); color: var(--c-primary-text); background: var(--c-primary-light); }
.gl-caption-save.is-saved { border-color: var(--c-success); color: var(--c-success); background: var(--c-success-bg); }

/* ── Upload-Liste ───────────────────────────────── */
.gl-upload-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.gl-upload-item {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: 6px; padding: 0.6rem 0.8rem; display: flex;
  align-items: center; gap: 0.75rem;
}
.gl-upload-item__name { flex: 1; font-family: var(--f-display); font-size: 0.8rem; color: var(--c-text); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-upload-item__status { font-family: var(--f-mono); font-size: 0.65rem; color: var(--c-text-faint); flex-shrink: 0; white-space: nowrap; }
.gl-upload-item__bar { height: 3px; background: var(--c-border-light); border-radius: 2px; margin-top: 4px; overflow: hidden; }
.gl-upload-item__fill { height: 100%; background: var(--c-primary); width: 0%; transition: width 0.15s; border-radius: 2px; }
.gl-upload-item--done   .gl-upload-item__status { color: var(--c-success); }
.gl-upload-item--error  .gl-upload-item__status { color: var(--c-error); }

/* ── Neue Galerie-Modal ─────────────────────────── */
.db-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1100;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.db-modal-overlay.is-open,
.db-modal-overlay.active { opacity: 1; pointer-events: all; }
.db-modal {
  background: var(--c-bg-card); border-radius: var(--r-card);
  box-shadow: var(--shadow-modal); width: 100%; max-width: 440px;
  transform: translateY(-10px); transition: transform 0.2s;
}
.db-modal-overlay.is-open .db-modal { transform: translateY(0); }
.db-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--c-border-light); background: var(--c-bg-subtle);
}
.db-modal-title { font-family: var(--f-display); font-size: 1rem; font-weight: 700; color: var(--c-text); margin: 0; }
.db-modal-close {
  background: none; border: none; font-size: 1.2rem; cursor: pointer;
  color: var(--c-text-faint); padding: 0.2rem 0.4rem; border-radius: 4px; transition: color 0.15s;
}
.db-modal-close:hover { color: var(--c-text); }
.db-modal-body   { padding: 1.5rem; }
.db-modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--c-border-light); background: var(--c-bg-subtle); }

/* ── Sprach-Tabs ────────────────────────────────── */
.gl-lang-tab.is-active-lang,
.gl-caption-lang-tab.is-active-lang,
.gl-lightbox-lang-tab.is-active-lang {
  border-color: var(--c-primary) !important;
  color: var(--c-primary-text) !important;
  background: var(--c-primary-light) !important;
}

/* ── Bild-Lightbox ──────────────────────────────── */
.gl-lightbox-img-wrap {
  background: var(--c-bg-subtle);
  display: flex; align-items: center; justify-content: center;
  max-height: 62vh; overflow: hidden; position: relative;
}
.gl-lightbox-img-wrap img {
  max-width: 100%; max-height: 62vh; object-fit: contain; display: block;
}
.gl-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.38); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 1.5rem; line-height: 1; display: flex; align-items: center;
  justify-content: center; z-index: 2; transition: background 0.15s;
}
.gl-lightbox-nav:hover { background: rgba(0,0,0,0.65); }
.gl-lightbox-nav--prev { left: 0.75rem; }
.gl-lightbox-nav--next { right: 0.75rem; }

/* ── Upload-Toggle ──────────────────────────────── */
.gl-upload-toggle {
  background: none; border: none; cursor: pointer; padding: 0.2rem 0.4rem;
  color: var(--c-text-faint); font-size: 1rem; line-height: 1;
  transition: color 0.15s, transform 0.2s;
}
.gl-upload-toggle:hover { color: var(--c-text); }
.gl-upload-toggle.is-open { transform: rotate(180deg); }
.gl-upload-zone-wrap { overflow: hidden; }

.gl-thumb { cursor: zoom-in; }

/* Responsive: auf Handy voller Abstand */
@media (max-width: 600px) {
  .db-card-body { padding: 1rem; }
  .gl-drop { padding: 2rem 1rem; }
}

/* ── Ende Gallery Upload ──────────────────────────────────────────────────── */


/* ── Shared utilities ────────────────────────────────────────────────────── */

.icon-check { width: 18px !important; height: auto !important; }

.hr-section {
  border: 0;
  border-top: 2px solid #ececec;
}

.section-freebook {
  background-color: #e8ecf2;
}


/* ── Events (events.php) ─────────────────────────────────────────────────── */

/* ── Events ───────────────────────────────────────────────────── */
 
.event-month-header {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #777;
  padding: 3rem 0 0.85rem;
  border-bottom: 1px solid #ececec;
  margin-bottom: 2.5rem;
}

.event-month-header:first-of-type { padding-top: 0; }

.event-item-row { transition: transform 0.3s ease; }
.event-item-row:hover { transform: translateY(-2px); }

.event-item-row figure {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.event-item-row figure img {
  transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1);
  width: 100%;
  height: auto;
  display: block;
}

.event-item-row:hover figure img { transform: scale(1.04); }

.event-item-row:not(.event-item-row--home) + .event-item-row:not(.event-item-row--home) { padding-top: 2.5rem; }

@media (min-width: 768px) {
  .event-item-row:not(.event-item-row--home) + .event-item-row:not(.event-item-row--home) .event-item-text {
    border-top: 1px solid #ececec;
    padding-top: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .event-item-row:not(.event-item-row--home) + .event-item-row:not(.event-item-row--home) { border-top: 1px solid #ececec; }
}

/* Home page event items - separator and spacing */
.event-item-row--home {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ececec;
}

.event-item-row--home:last-child {
  border-bottom: none;
}

.event-meta {
  font-family: "Roboto Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: #bbb;
  line-height: 1;
}

.event-meta-date,
.event-meta-tag,
.event-meta-tag-free,
.event-meta .text-muted,
.event-meta .text-secondary {
  font-family: "Roboto Mono", monospace !important;
  font-size: 0.62rem !important;
  font-weight: 400 !important;
  color: #bbb !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.event-item-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
}

.event-item-title a { color: #1a1a1a !important; text-decoration: none; transition: opacity 0.2s ease; }
.event-item-title a:hover { color: #1a1a1a !important; opacity: 0.55; }

.event-item-subhead {
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  font-weight: 400;
  color: #999;
  line-height: 1.75;
  margin: 0.2rem 0 0.85rem;
}

.badge-booked {
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ccc !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.btn-event-cta {
  font-family: "Roboto Mono", monospace !important;
  font-size: 0.62rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  color: #333 !important;
  border: 1px solid #333 !important;
  background: transparent !important;
  padding: 0.55rem 1.2rem !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.btn-event-cta:hover {
  background: #333 !important;
  color: #fff !important;
  transform: translateX(3px);
}

.btn-event-cta--disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.badge-event-type {
  font-family: "Roboto Mono", monospace !important;
  font-size: 0.55rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 0.25rem 0.55rem !important;
  position: absolute;
  bottom: 8px;
  left: 8px;
}


/* ── Topics-Liste (events-item.php) ──────────────────────────────────────── */

.topic-item__title {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-bottom: 0.2rem !important;
}

.topic-item__desc {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: #666 !important;
  line-height: 1.6 !important;
}