/* ============================================
   Reusable components
   ============================================ */

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

body[data-theme="wedding"] .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Instagram: fixed right side, vertical center – desktop only (no jump: fixed to viewport) */
.header__instagram {
  position: fixed;
  right: 1.5rem;
  top: 50vh;
  margin-top: -1em;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  z-index: 45;
  opacity: 0.9;
}
.header__instagram:hover {
  opacity: 1;
}

/* Language toggle: pill shape, compact height */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  min-height: 0;
  border-radius: 10rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background: transparent;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  opacity: 1;
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

/* Mobile: hide header Instagram; lang moves to footer so menu is reachable */
@media (max-width: 768px) {
  .header__instagram {
    display: none;
  }
  .nav__instagram-mobile {
    display: list-item;
  }
  .header .lang-toggle {
    display: none;
  }
  .footer__lang {
    display: block;
    margin-bottom: 1rem;
  }
}

/* Desktop: footer lang block hidden (lang is in header) */
.footer__lang {
  display: none;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
}

.logo img,
.logo .logo__img {
  height: 2rem;
  width: auto;
}

/* Override with same specificity as .logo .logo__img so it wins */
.logo .logo__img--wedding {
  height: 1.5rem;
  object-fit: contain;
}
.footer .logo__img--wedding {
  height: 3rem;
}

@media (max-width: 768px) {
  .footer .logo__img--wedding {
    height: 2.5rem;
  }
}

/* Text logo (homepage left, concert header) */
.logo--text {
  color: inherit;
  text-decoration: none;
}
.logo--text img {
  display: none;
}
body[data-theme="concert"] .logo.logo--text,
body[data-theme="concert"] .footer .logo--text {
  color: #fff;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__instagram-mobile {
  display: none;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  }

  .nav__list.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

@media (max-width: 768px) {
  /* Hero mobile crop: one value per page. Adjust % (50 = center, 100 = full right) or use e.g. right 40px center */
  body:not([data-theme]) .hero__bg {
    background-position: 65% center; /* index.html */
  }
  body[data-theme="wedding"] .hero__bg {
    background-position: 65% center; /* hochzeiten/index.html */
  }
  body[data-theme="concert"] .hero__bg {
    background-position: 65% center; /* concert/index.html */
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(10, 10, 10, 0.9));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
}

.hero__tagline {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.hero__title {
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* Libre Baskerville headline – "Josia" hollow (outline), "Hildebrandt" solid */
.hero__title--baskerville {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
}
.hero__title-outline {
  color: inherit;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px currentColor;
}
@supports not (-webkit-text-stroke: 1px) {
  .hero__title-outline {
    -webkit-text-fill-color: inherit;
    -webkit-text-stroke: none;
    opacity: 0.9;
  }
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Two-worlds split */
.two-worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.two-worlds__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.two-worlds__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity var(--transition);
}

.two-worlds__panel:hover::before {
  opacity: 0.7;
}

.two-worlds__content {
  position: relative;
  z-index: 2;
}

.two-worlds__panel h2 {
  margin-bottom: 0.75rem;
}

.two-worlds__panel p {
  margin-bottom: 1.5rem;
  max-width: 320px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .two-worlds {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  padding: 2rem;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

/* Gallery grid (default) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* Portfolio: vertical blocks, half height (~500px), title + button on left, no parallax */
.portfolio-stack {
  width: 100%;
}

.portfolio-block {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
  padding-left: clamp(2rem, 5vw, 4rem);
  padding-right: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 769px) {
  /* Desktop: vertical crop per project. On each .portfolio-block set --crop-y in style (0% = top, 50% = center, 100% = bottom; or e.g. bottom, top, 200px). */
  .portfolio-block {
    background-position: center var(--crop-y, 100%);
  }
}

.portfolio-block__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.portfolio-block__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Portfolio button: square, smaller, thin white outline, fill on hover – text centered, fill from center */
.portfolio-block .button--outline-white,
.portfolio-block .button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  border-radius: 2px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.portfolio-block .button--outline-white::after,
.portfolio-block .button::after {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}
.portfolio-block .button--outline-white::before,
.portfolio-block .button::before {
  background: #fff;
  color: #222;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.portfolio-block .button--outline-white:hover,
.portfolio-block .button:hover {
  color: #222;
}
.portfolio-block .button--outline-white:hover::before,
.portfolio-block .button:hover::before {
  transform: scale(1);
}

.portfolio-block__location {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}
.portfolio-block__location a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.portfolio-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .portfolio-block {
    min-height: 350px;
    justify-content: flex-end;
  }
  .portfolio-block__content {
    align-items: center;
    text-align: center;
  }
}

/* Project page: hero image aligned to top, headline + text overlaid on hero, then gallery */
.project-hero-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}
.project-hero-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
  display: block;
  vertical-align: top;
}
.project-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-align: center;
}
body[data-theme="wedding"] .project-hero-overlay {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}
.project-hero-overlay .project-venue {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.35rem;
}
.project-hero-overlay .project-venue a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.project-hero-overlay .project-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.project-hero-overlay .project-intro {
  color: rgba(255, 255, 255, 0.95);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.95rem;
}
.project-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 2rem auto 1rem;
  padding: 0 1rem;
}
.project-venue {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.project-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.project-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.project-gallery-wrapper {
  position: relative;
  margin-top: 2rem;
}

/* Masonry-style gallery: CSS columns, each image keeps aspect ratio, no empty space */
.project-gallery {
  column-count: 3;
  column-gap: 0.75rem;
}

.project-gallery__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 0.75rem;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.project-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-gallery__item:hover img {
  transform: scale(1.02);
  opacity: 0.95;
}

@media (max-width: 900px) {
  .project-gallery {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  /* Project gallery: pictures half width on mobile (2 columns) */
  .project-gallery {
    column-count: 2;
    column-gap: 0.5rem;
  }
  .project-gallery__item {
    margin-bottom: 0.5rem;
  }
}
.project-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}
.project-gallery-lightbox.open {
  display: flex;
}
.project-gallery-lightbox__img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: default;
}
.project-gallery-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
}
.project-gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.project-gallery-lightbox__prev,
.project-gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
}
.project-gallery-lightbox__prev:hover,
.project-gallery-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.project-gallery-lightbox__prev { left: 1rem; cursor: pointer; }
.project-gallery-lightbox__next { right: 1rem; cursor: pointer; }

/* Hide empty gallery so it doesn’t leave a gap */
.project-gallery:empty {
  display: none;
}

/* Project page: no top padding so hero starts at top under header */
main.section.project-page {
  padding-top: 0;
}

/* Page title and intro centered (contact, services) */
.main--center-title .container > h1,
.main--center-title .container > p:first-of-type {
  text-align: center;
}

/* Centered page content (services, process, FAQ) */
.page-content-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-content-center__list {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Wedding pricing section (4 cards, editorial) ========== */
.pricing-section {
  background: var(--color-bg-secondary);
  padding: clamp(3rem, 8vw, 5rem) 0;
  margin-top: clamp(2rem, 5vw, 3rem);
}

body[data-theme="wedding"] .pricing-section {
  background: #f8f6f3;
}

.container--pricing {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pricing-intro {
  max-width: 560px;
  margin: 0.5rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 1rem;
}

.pricing-section__included-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.pricing-section__included-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 360px;
}

.pricing-section__included-list li {
  padding: 0.2rem 0;
}

.pricing-section__included-list li::before {
  content: '• ';
  color: var(--color-text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pricing-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  right: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.pricing-card__pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: var(--color-accent);
  color: #222;
  padding: 0.5rem 1.25rem;
  border-radius: 10rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}


.pricing-card__title {
  font-weight: 600;
  text-align: center;
}

.pricing-card__duration {
  font-size: 0.75rem;
  opacity: 0.95;
}

.pricing-card__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 240px;
  margin: 0 0 1.25rem;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: left;
  max-width: 220px;
}

.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  min-height: 1.5em;
}

.pricing-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 1.25rem 0 1rem;
  letter-spacing: 0.02em;
}

.pricing-card__cta {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing-card:not(:last-child)::after {
    display: none;
  }

  .pricing-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Process steps */
.process-list {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 4px;
  align-items: flex-start;
}

.process-step__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="wedding"] .faq-item {
  border-color: rgba(0, 0, 0, 0.08);
}

.faq-item__question {
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item__answer-inner {
  padding-bottom: 1.25rem;
  color: var(--color-text-muted);
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: border-color var(--transition);
}

body[data-theme="wedding"] .form-group input,
body[data-theme="wedding"] .form-group textarea {
  border-color: rgba(0, 0, 0, 0.12);
  color: #222;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-radio,
.form-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
}
.form-radio input,
.form-checkbox input {
  flex-shrink: 0;
  width: auto;
  margin: 0;
}
.form-checkbox {
  max-width: 480px;
}

/* Contact pages: form labels/headlines left-aligned (links bündig) */
.contact-form-section {
  text-align: left;
}

/* Footer – theme: black/red (default, concert), white/beige (wedding) */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  background: var(--color-bg);
}

body[data-theme="wedding"] .footer {
  border-color: rgba(0, 0, 0, 0.08);
  background: var(--color-bg);
}

.footer__logo {
  margin-bottom: 1.5rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer__link {
  font-size: 0.9rem;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer__legal a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Legal / Impressum page */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.legal-content p {
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.65;
}
.legal-content .legal-lead {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}
.legal-content .legal-h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
}
.legal-content a {
  color: var(--color-accent);
}
body[data-theme="wedding"] .legal-content a {
  color: #8b7355;
}
.legal-back {
  margin-top: 2rem;
}
/* Back button: outline on concert/dark so it’s visible (not red on red) */
body[data-theme="concert"] .legal-back .btn,
body:not([data-theme="wedding"]) .legal-back .btn {
  background: transparent;
  border: 2px solid #8b0000;
  color: #8b0000;
}
body[data-theme="concert"] .legal-back .btn::after,
body:not([data-theme="wedding"]) .legal-back .btn::after {
  background: transparent;
  box-shadow: inset 0 0 0 2px #8b0000;
}
body[data-theme="concert"] .legal-back .btn::before,
body:not([data-theme="wedding"]) .legal-back .btn::before {
  background: #a50000;
}
body[data-theme="concert"] .legal-back .btn:hover,
body:not([data-theme="wedding"]) .legal-back .btn:hover {
  color: #fff;
}
/* Show DE or EN block based on html lang (set by i18n toggle) */
.impressum-lang--en {
  display: none;
}
html[lang="en"] .impressum-lang--de {
  display: none;
}
html[lang="en"] .impressum-lang--en {
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
