:root {
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  --accent-blue: #1da2ff;
  --accent-yellow: #ffb732;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 20px;
  --transition-fast: 0.22s ease;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #e5f2ff 30%, #f3f4f6 70%);
  color: var(--text-main);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.4rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-blue);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-small {
  width: 52px;
  height: 52px;
}

.logo {
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 162, 255, 0.25), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.8);
}

.logo img {
  border-radius: 999px;
}

.brand-title {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-title span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title span:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.18em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

nav a {
  position: relative;
  padding-bottom: 0.25rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
  transition: width var(--transition-fast);
}

nav a:hover {
  color: var(--text-main);
}

nav a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(145deg, #ffffff, #e5f2ff);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-nav:hover {
  box-shadow: 0 10px 18px rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(148, 163, 184, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-primary,
.btn-ghost {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-yellow));
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--border-soft);
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.4);
}

/* Hero: großes Logo */

.hero-logo-block {
  display: flex;
  justify-content: center;
}

.hero-logo-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  padding: 1.6rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 1);
  text-align: center;
  overflow: hidden;
}

.hero-logo-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top, rgba(29, 162, 255, 0.32), transparent 60%),
    radial-gradient(circle at bottom, rgba(255, 183, 50, 0.32), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-logo-circle {
  position: relative;
  margin: 0 auto 1rem;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0, #e5f2ff 50%, #bfdbfe 100%);
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.8),
    0 18px 40px rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-circle img {
  max-width: 80%;
  height: auto;
}

.hero-logo-caption {
  position: relative;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Galerie */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #e5e7eb;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.2);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.4);
  border-color: rgba(191, 219, 254, 1);
}

.gallery-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.85rem 0.9rem;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.75), transparent);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f9fafb;
}

.gallery-caption span {
  font-weight: 500;
}

.gallery-caption small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: #bfdbfe;
}
.gallery-filter a.is-sub {
  font-size: 0.8rem;
  padding-left: 1.1rem;
  opacity: 0.9;
}
.gallery-caption a.gallery-caption-link {
  color: #bfdbfe;
  text-decoration: underline;
  font-weight: 500;
}

.gallery-caption a.gallery-caption-link:hover {
  color: #facc15;
}


/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.15rem 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 162, 255, 0.18), rgba(255, 183, 50, 0.18));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.blog-link {
  font-size: 0.8rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Kontakt */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.9rem;
  margin-bottom: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text-muted);
}

input,
textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: var(--text-main);
  font: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea {
  border-radius: 14px;
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
textarea:focus {
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.7);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.btn-submit {
  margin-top: 0.3rem;
  width: 100%;
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-yellow));
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.5);
}

.contact-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-highlight {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.contact-highlight strong {
  color: var(--accent-blue);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.contact-list span {
  color: var(--text-main);
  font-weight: 500;
}

/* Impressum */

.impressum-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 1.2rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.impressum-box h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 0.75rem;
}

.impressum-grid p {
  margin-bottom: 0.25rem;
}

.impressum-note {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  padding: 1.2rem 1.25rem 1.6rem;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-logo-block {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  nav ul {
    display: none; /* simple mobile Variante */
  }

  .hero {
    padding-top: 2.4rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo-circle {
    width: 190px;
    height: 190px;
  }
}
/* --- Galerie: Filter & Layout-Switch --- */

/* Galerie */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #e5e7eb;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.2);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.4);
  border-color: rgba(191, 219, 254, 1);
}

.gallery-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.85rem 0.9rem;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.75), transparent);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f9fafb;
}

.gallery-caption span {
  font-weight: 500;
}

.gallery-caption small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: #bfdbfe;
}

/* Layout-Varianten */

.gallery-page.layout-grid .gallery-grid {
  /* Standard-Grid – Basiswerte kommen schon aus deinem bestehenden .gallery-grid */
}

.gallery-page.layout-focus .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.gallery-page.layout-focus .gallery-item {
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
}

/* Masonry-Layout */
.gallery-page.layout-masonry .gallery-grid {
  display: block;
  column-count: 3;
  column-gap: 1rem;
}

.gallery-page.layout-masonry .gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
}

@media (max-width: 900px) {
  .gallery-page.layout-masonry .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-page.layout-masonry .gallery-grid {
    column-count: 1;
  }
}

/* kleine Effekte */
.gallery-item .gallery-img {
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.05);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.3);
}

/* Select-Style im Admin-Upload */
select {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: var(--text-main);
  font: inherit;
  outline: none;
}

select:focus {
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.7);
}
/* === LIGHTBOX === */

.lp-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lp-lightbox.is-active {
  display: flex;
}

.lp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
}

.lp-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  z-index: 1;
  padding: 1rem 1.2rem 1.1rem;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
}

.lp-lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.lp-lightbox-caption {
  font-size: 0.85rem;
  color: #e5e7eb;
  text-align: center;
}

.lp-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
}

.lp-lightbox-prev,
.lp-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  font-size: 1.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-lightbox-prev {
  left: 0.2rem;
}

.lp-lightbox-next {
  right: 0.2rem;
}

.lp-lightbox-prev:hover,
.lp-lightbox-next:hover,
.lp-lightbox-close:hover {
  background: rgba(30, 64, 175, 0.9);
}

/* Mobile */
@media (max-width: 640px) {
  .lp-lightbox-content {
    max-width: 96vw;
    max-height: 92vh;
    padding: 0.8rem 0.8rem 0.9rem;
  }

  .lp-lightbox-image {
    max-height: 65vh;
  }

  .lp-lightbox-prev,
  .lp-lightbox-next {
    top: auto;
    bottom: 0.4rem;
    transform: none;
  }

  .lp-lightbox-prev {
    left: 0.8rem;
  }
  .lp-lightbox-next {
    right: 0.8rem;
  }
}
.admin-block {
  margin-top: 1.5rem;
}

.admin-title {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  font-weight: 600;
  background: #f9fafb;
}

.admin-inline-form {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.admin-inline-form input[type="text"] {
  max-width: 180px;
}

.btn-small {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-small:hover {
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.4);
}

.btn-danger {
  border-color: #fecaca;
  background: #fee2e2;
  color: #b91c1c;
}

.btn-danger:hover {
  background: #fecaca;
}

.shortcode-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shortcode-text {
  display: inline-block;
  padding: 0.2rem 0.4rem;
  background: #f3f4f6;
  border-radius: 6px;
}
.admin-photo-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.admin-photo-form input[type="text"],
.admin-photo-form textarea,
.admin-photo-form select {
  width: 100%;
  max-width: 260px;
}

.admin-photo-form textarea {
  resize: vertical;
}

.admin-label {
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.admin-label-inline {
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
}
.admin-label-inline input[type="checkbox"] {
  margin-top: 0;
}
/* === HOME SLIDER === */

.home-slider {
  padding: 2.5rem 0 2.75rem;
}

.home-slider .section-header {
  margin-bottom: 1.5rem;
}

.lp-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #e0f2fe, #f9fafb 50%, #e5e7eb 100%);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
}

.lp-slider-frame {
  position: relative;
  min-height: 260px;
}

.lp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.lp-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.lp-slide-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.lp-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.1));
  pointer-events: none;   /* <--- NEU: Klicks gehen durch zum Bild-Link */
}


.lp-slide-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.3rem;
  color: #f9fafb;
  z-index: 2;
}

.lp-slide-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.lp-slide-meta {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}

/* Pfeile */

.lp-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.65);
  color: #f9fafb;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 1.6rem;
}

.lp-slider-prev {
  left: 0.75rem;
}

.lp-slider-next {
  right: 0.75rem;
}

.lp-slider-arrow:hover {
  background: rgba(37, 99, 235, 0.95);
}

/* Dots */

.lp-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 3;
}

.lp-slider-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: none;
  background: rgba(248, 250, 252, 0.5);
  cursor: pointer;
  padding: 0;
}

.lp-slider-dot.is-active {
  width: 1.1rem;
  background: #facc15;
}

/* Mobile Anpassungen */

@media (max-width: 768px) {
  .lp-slide-image {
    height: 260px;
  }

  .lp-slide-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .lp-slider-arrow {
    display: none;
  }
}
.slider-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.slider-preview-item {
  width: 110px;
  font-size: 0.7rem;
  color: #4b5563;
}

.slider-preview-thumb {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.25rem;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.6);
}

.slider-preview-caption {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-preview-category {
  font-size: 0.65rem;
  color: #9ca3af;
}
.admin-cat-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}
.admin-filter-bar {
  margin-bottom: 0.75rem;
}

.admin-filter-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.admin-filter-form select {
  max-width: 220px;
}

.admin-photo-category-row td {
  background: #f3f4f6;
  font-weight: 600;
  font-size: 0.82rem;
  padding-top: 0.6rem;
  padding-bottom: 0.35rem;
}

.admin-photo-category-row span {
  color: #4b5563;
}
/* Galerie – Filterleiste mit Dropdowns + Suche */

.gallery-toolbar {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: flex-start;
}

.gallery-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery-filter-form label {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gallery-filter-form select,
.gallery-filter-form input[type="text"] {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: var(--text-main);
  font-size: 0.8rem;
  min-width: 170px;
}

.gallery-filter-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-left: auto; /* Schiebt Suche nach rechts */
}

.gallery-filter-form button {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #f9fafb;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Mobile: untereinander statt nebeneinander */
@media (max-width: 768px) {
  .gallery-filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-filter-search {
    margin-left: 0;
  }
}
.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-sidebar {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.35);
  font-size: 0.85rem;
}

.admin-sidebar-section + .admin-sidebar-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #e5e7eb;
}

.admin-sidebar-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.admin-sidebar-link {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.2rem;
  color: #4b5563;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.admin-sidebar-link:hover {
  background: #eff6ff;
  color: #111827;
  transform: translateX(2px);
}

.admin-sidebar-link.is-active {
  background: linear-gradient(120deg, #1da2ff, #ffb732);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.5);
}

.admin-sidebar-placeholder {
  font-size: 0.78rem;
  color: #9ca3af;
}

.admin-main {
  min-width: 0;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    order: -1;
  }
}
/* === Admin Login === */

.admin-login-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.admin-login-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.admin-login-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 1.2rem 1.3rem 1.4rem;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
}

.admin-login-form .admin-label {
  margin-bottom: 0.6rem;
}

/* === Admin Dashboard === */

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.admin-dashboard-card {
  display: block;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.35);
  text-decoration: none;
  color: #111827;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.4);
  border-color: #bfdbfe;
}

.admin-dashboard-card--disabled {
  opacity: 0.6;
  cursor: default;
}

.admin-dashboard-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.admin-dashboard-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.admin-dashboard-text {
  font-size: 0.85rem;
  color: #6b7280;
}
/* === Admin Stats-Widget === */

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.admin-stat-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 0.9rem 1rem 1rem;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-stat-card-wide {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .admin-stat-card-wide {
    grid-column: span 1;
  }
}

.admin-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.admin-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

.admin-stat-sub {
  font-size: 0.8rem;
  color: #6b7280;
}

/* letzter Upload im Widget */

.admin-stat-photo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.admin-stat-photo img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.7);
}

.admin-stat-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.admin-stat-photo-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.admin-stat-photo-sub {
  font-size: 0.78rem;
  color: #6b7280;
}
.photo-detail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .photo-detail {
    grid-template-columns: 1fr;
  }
}

.photo-detail-main,
.photo-detail-meta {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.photo-detail-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Rating */

.photo-rating-block {
  margin-top: 1rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.8rem;
}

.photo-rating-current {
  margin-bottom: 0.6rem;
}

.rating-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.15rem;
  margin-bottom: 0.4rem;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  font-size: 1.4rem;
  cursor: pointer;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.2));
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #facc15;
}

/* Kommentare */

.photo-comment-form,
.photo-comment-reply-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.photo-comment-form input,
.photo-comment-form textarea,
.photo-comment-reply-form input,
.photo-comment-reply-form textarea {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

.photo-comments-list {
  list-style: none;
  margin: 0.8rem 0 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid #e5e7eb;
}

.photo-comment {
  margin-bottom: 0.8rem;
}

.photo-comment-head {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.photo-comment-head strong {
  color: var(--text-main);
}

.photo-comment-date {
  font-size: 0.75rem;
  margin-left: 0.35rem;
}

.photo-comment-text {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
