/* ============================================
   Artistenstudio Bautzen – Moderne Website
   ============================================ */

:root {
  --color-bg: #0b0a14;
  --color-surface: #15132a;
  --color-surface-2: #1e1b38;
  --color-primary: #7c5cff;
  --color-primary-hover: #9478ff;
  --color-accent: #c084fc;
  --color-text: #f4f2ff;
  --color-text-muted: #a8a3c7;
  --color-border: rgba(124, 92, 255, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(11, 10, 20, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}



/* Logo mit Bild statt Stern */
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Optional: etwas Abstand nach unten, falls nötig */
.logo-text {
  line-height: 1.15;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--color-text);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(124, 92, 255, 0.1);
}

/* ---------- Hero ---------- */
/* Langsames Einblenden – ruhiger Start */
.hero-figure-left,
.hero-figure-right {
  opacity: 0;
  animation: fadeInFigure 4s cubic-bezier(0.45, 0.05, 0.25, 1) forwards;
}

.hero-figure-left {
  animation-delay: 0.5s;
}

.hero-figure-right {
  animation-delay: 1.2s;
  animation-name: fadeInFigureRight;
}

@keyframes fadeInFigure {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 0.48;
    transform: translateY(0);
  }
}

@keyframes fadeInFigureRight {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 0.55;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-figure-left,
  .hero-figure-right {
    animation: fadeInFigureMobile 3.5s cubic-bezier(0.45, 0.05, 0.25, 1) forwards;
  }

  @keyframes fadeInFigureMobile {
    from { opacity: 0; }
    to   { opacity: 0.12; }
  }
}

@media (max-width: 480px) {
  .hero-figure-left,
  .hero-figure-right {
    animation: none;
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(192, 132, 252, 0.15), transparent),
    var(--color-bg);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-content {
  max-width: 720px;
  padding: 4rem 0 6rem;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-header.light .section-desc {
  color: var(--color-text-muted);
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-text-muted);
}



/* ---------- Hero Figures (links + rechts) ---------- */
.hero-figure {
  position: absolute;
  bottom: 0;
  top: var(--header-h);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}

.hero-figure img {
  height: auto;
  max-height: 92%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.5));
}

/* Linkes Bild (Mädchen) – etwas zur Mitte gerückt */
.hero-figure-left {
  left: 4%;                    /* von 0 auf 4% eingerückt */
  width: min(28%, 320px);
  justify-content: flex-start;
  opacity: 0.48;
}

.hero-figure-left img {
  object-position: left bottom;
  max-height: 70%;
}

/* Rechtes Bild (Artistin) – etwas zur Mitte gerückt */
.hero-figure-right {
  right: 4%;                   /* von 0 auf 4% eingerückt */
  width: min(45%, 520px);
  justify-content: flex-end;
  opacity: 0.55;
}

.hero-figure-right img {
  object-position: right bottom;
}

/* Text bleibt lesbar */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-figure-left {
    left: 3%;
    width: 24%;
    opacity: 0.40;
  }
  .hero-figure-right {
    right: 3%;
    width: 40%;
    opacity: 0.45;
  }
}

@media (max-width: 900px) {
  .hero-figure-left {
    left: 2%;
    width: 32%;
    opacity: 0.28;
  }
  .hero-figure-right {
    right: 2%;
    width: 50%;
    opacity: 0.32;
  }
}

@media (max-width: 640px) {
  .hero-figure-left,
  .hero-figure-right {
    opacity: 0.16;
  }
}


/* ---------- Termine ---------- */
.termine {
  background: var(--color-surface);
}

.termine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.termin-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.35rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.termin-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.termin-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: rgba(124, 92, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.termin-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.termin-date .month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-top: 2px;
}

.termin-date .year {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.termin-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.termin-info .time {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---------- Show ---------- */
.show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.show-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.show-content .btn {
  margin-top: 0.5rem;
}

.show-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.show-poster {
  width: 100%;
  max-width: 380px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.show-poster:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(124, 92, 255, 0.35);
}

.show-poster img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* ---------- Nachwuchs ---------- */
.nachwuchs {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.nachwuchs-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.nachwuchs-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.nachwuchs-text strong {
  color: var(--color-text);
}

.info-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
}

.info-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.info-box p {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-hint {
  font-size: 0.95rem;
}

.contact-hint a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-hint a:hover {
  text-decoration: underline;
}

.nachwuchs-card {
  background: linear-gradient(145deg, var(--color-primary), #5b3fd4);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(124, 92, 255, 0.35);
}

.nachwuchs-card-content .big-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.nachwuchs-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.nachwuchs-card p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.nachwuchs-card .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.nachwuchs-card .btn-primary:hover {
  background: #f0edff;
  box-shadow: none;
}

/* ---------- Videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
}

.video-thumb {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.3), rgba(192, 132, 252, 0.15)),
    var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.25s, background 0.25s;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--color-primary);
}

.video-card h3 {
  font-size: 1.05rem;
  padding: 1rem 1.25rem 0.25rem;
}

.video-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0 1.25rem 1.25rem;
}

/* ---------- Kontakt ---------- */
.kontakt {
  background: var(--color-surface);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.kontakt-item {
  margin-bottom: 1.75rem;
}

.kontakt-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.kontakt-item a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
}

.kontakt-item a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--color-primary);
  background: rgba(124, 92, 255, 0.12);
}

.kontakt-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
}

.kontakt-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.kontakt-card > p:first-of-type {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.kontakt-card .small {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ---------- Footer ---------- */
.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand .logo-icon {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-logo {
  height: 58px;
  width: 58px;
  display: block;
  margin-bottom: 0.6rem;
}

@media (max-width: 480px) {
  .footer-logo {
    height: 36px;
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .show-grid,
  .nachwuchs-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

.nachwuchs-logo {
  height: 64px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

@media (max-width: 480px) {
  .nachwuchs-logo {
    height: 52px;
  }
}

  .show-visual {
    order: -1;
  }

  .show-poster {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 10, 20, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-content {
    padding: 3rem 0 5rem;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .termin-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .termin-date {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
  }
}

/* ---------- Galerie ---------- */
.galerie {
  background: var(--color-bg);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.galerie-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.galerie-item:hover {
  transform: scale(1.03);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  z-index: 2;
}

.galerie-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s;
}

.galerie-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s;
}

/* Placeholder-Hintergründe – hier eigene Fotos einsetzen */
.img-1 { background-image: url("fotos/01.jpg"); }
.img-2 { background-image: url("fotos/02.jpg"); }
.img-3 { background-image: url("fotos/03.jpg"); }
.img-4 { background-image: url("fotos/04.jpg"); }
.img-5 { background-image: url("fotos/05.jpg"); }
.img-6 { background-image: url("fotos/06.jpg"); }
.img-7 { background-image: url("fotos/07.jpg"); }
.img-8 { background-image: url("fotos/08.jpg"); }

.galerie-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(11, 10, 20, 0.9), transparent);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.galerie-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.galerie-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.galerie-note code {
  background: var(--color-surface-2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 4, 12, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: min(90vw, 800px);
  max-height: 85vh;
  text-align: center;
}

.lightbox-img {
  width: min(90vw, 450px);
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-primary);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.75rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Kontakt Formular ---------- */
.kontakt-grid-form {
  grid-template-columns: 1fr 1.4fr;
  max-width: 1000px;
}

.kontakt-form {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a8a3c7' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.form-check a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

.form-note a {
  color: var(--color-primary);
}

/* ---------- Impressum-Seite ---------- */
.page-content {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 80vh;
}

.page-content .container {
  max-width: 720px;
}

.impressum-block {
  margin-bottom: 2.5rem;
}

.impressum-block h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.impressum-block p,
.impressum-block ul {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.impressum-block ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.impressum-block strong {
  color: var(--color-text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-primary);
}

/* Responsive Galerie & Form */
@media (max-width: 900px) {
  .galerie-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kontakt-grid-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-logo {
  height: 58px;
  width: 58px;
  display: block;
  margin-bottom: 0.6rem;
}

/* ============================================
   Mobile Optimierungen
   ============================================ */

@media (max-width: 768px) {
  /* Navigation */
  .nav {
    padding: 2rem 1.75rem 2.5rem;
    gap: 1.5rem;
  }

  .nav a {
    font-size: 1.15rem;
    padding: 0.4rem 0;
  }

  /* Hero */
  .hero-content {
    padding: 4.5rem 0 4rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  /* Figuren stark abschwächen */
  .hero-figure-left,
  .hero-figure-right {
    opacity: 0.12 !important;
  }

  /* Allgemein */
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  /* Hero */
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* Figuren komplett ausblenden */
  .hero-figure-left,
  .hero-figure-right {
    display: none;
  }

  /* Termine */
  .termin-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.1rem 1.2rem;
  }

  .termin-date {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
  }

  .termin-date .day {
    font-size: 1.6rem;
  }

  /* Footer */
  .footer-logo {
    height: 36px;
  }

  .footer-links {
    gap: 0.85rem 1.1rem;
  }
}