/* =============================================
   PUV Lindern – Global Stylesheet
   Farben: #a9233e (Primär), #414042 (Sekundär), #ffffff (Weiß)
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* --- CSS Variablen --- */
:root {
  --color-primary: #a9233e;
  --color-primary-dark: #8a1c32;
  --color-secondary: #414042;
  --color-white: #ffffff;
  --color-light: #f5f5f5;
  --color-border: #e0e0e0;
  --color-text: #333333;
  --color-text-light: #666666;

  --font-family: 'Lato', sans-serif;
  --container-max: 1200px;
  --header-height: 70px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.14);
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

main {
  flex: 1;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: var(--header-height);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  /* Das SVG hat ViewBox 0 0 2257×360, Inhalt (Kreis) sitzt erst ab ~x=1930.
     Mit object-fit:cover + object-position:right wird nur der rechte Teil gezeigt. */
  height: 44px;
  width: 44px;
  object-fit: cover;
  object-position: right center;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-secondary);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  background: rgba(169, 35, 62, 0.07);
}

.nav-menu a.active {
  font-weight: 700;
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger → X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =============================================
   HERO (Startseite)
   ============================================= */

.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.hero-logo {
  display: block;
  max-width: 380px;
  width: 70%;
  margin: 0 auto 2rem;
  /* SVG nutzt Primärfarbe #a9233e → auf rotem Hintergrund weiß darstellen */
  filter: brightness(0) invert(1);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
  line-height: 1.7;
}

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

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

/* Weißer Button (auf rotem Hintergrund) */
.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Outline-Button (auf rotem Hintergrund) */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* Roter CTA-Button */
.btn-cta {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-cta:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* =============================================
   PAGE HEADER (Innenseiten)
   ============================================= */

.page-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-weight: 300;
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-light);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.section-title .divider {
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 1rem;
  border-radius: 2px;
}

.section-title p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* =============================================
   CARDS (Startseite Info-Karten)
   ============================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-icon {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem;
  font-size: 2.2rem;
  text-align: center;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =============================================
   AKTIONEN CARDS
   ============================================= */

.aktionen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.aktion-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.aktion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.aktion-card-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.25rem 1.5rem;
}

.aktion-card-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.aktion-card-date {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.aktion-card-body {
  padding: 1.5rem;
  flex: 1;
}

.aktion-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.aktion-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  order: -1;
}

/* =============================================
   INTRO SECTION (Startseite)
   ============================================= */

.intro-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.intro-text h2 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.intro-text p {
  color: var(--color-text-light);
  line-height: 1.8;
}

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

.intro-logo-img {
  max-width: 280px;
  width: 100%;
  opacity: 0.12;
}

.intro-photo-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.intro-photo-figure {
  margin: 0;
  width: 100%;
}

.intro-photo-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  display: block;
}

.intro-photo-caption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.6;
  font-style: italic;
}

/* =============================================
   SOCIAL LINKS
   ============================================= */

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--color-light);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(169, 35, 62, 0.1);
}

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

.form-submit-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font-family);
}

.form-submit-btn:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Form Statusmeldungen */
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Kontakt-Info Bereich */
.contact-info h3 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.contact-item-content strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-item-content a,
.contact-item-content span {
  color: var(--color-secondary);
  font-weight: 400;
  font-size: 0.95rem;
}

.contact-item-content a {
  color: var(--color-primary);
  font-weight: 700;
}

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

/* =============================================
   KALENDER EMBED
   ============================================= */

.calendar-wrapper {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--color-light);
}

.calendar-wrapper iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

@media (max-width: 767px) {
  .calendar-wrapper iframe {
    height: 450px;
  }
}

.calendar-hint {
  background: var(--color-light);
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.calendar-hint strong {
  color: var(--color-secondary);
}

/* =============================================
   IMPRESSUM
   ============================================= */

.impressum-content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.impressum-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.impressum-section h2 {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.impressum-section p,
.impressum-section address {
  color: var(--color-text-light);
  font-style: normal;
  line-height: 1.9;
}

.impressum-section a {
  color: var(--color-primary);
  font-weight: 700;
}

.impressum-section a:hover {
  text-decoration: underline;
}

/* =============================================
   EMPTY STATE
   ============================================= */

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-light);
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--color-secondary);
  color: var(--color-white);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.footer-col p,
.footer-col address {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* =============================================
   RESPONSIVE – MOBILE NAV
   ============================================= */

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-logo-text {
    display: none;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    gap: 0;
  }

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

  .nav-menu a {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 1.5rem 6rem;
  }

  .section {
    padding: 5rem 0;
  }
}

/* =============================================
   SOCIAL MEDIA ICONS (Footer & Buttons)
   ============================================= */

.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-link svg {
  flex-shrink: 0;
}

.social-link svg {
  flex-shrink: 0;
}

/* =============================================
   AKTIONEN CARD – klickbar
   ============================================= */

.aktion-card[role="button"] {
  cursor: pointer;
  outline: none;
}

.aktion-card[role="button"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(169, 35, 62, 0.4);
}

.aktion-card-footer {
  padding: 0 1.5rem 1.25rem;
}

.aktion-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.aktion-card[role="button"]:hover .aktion-card-link {
  gap: 0.6rem;
}

/* =============================================
   MODAL (Aktionen Detail)
   ============================================= */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem 3.5rem 1.5rem 1.5rem;
  position: sticky;
  top: 0;
}

.modal-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.modal-date {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--color-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-family: var(--font-family);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-body {
  padding: 1.75rem 1.5rem;
}

.modal-body p {
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

/* =============================================
   FAQ – Accordion mit <details>
   ============================================= */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-list details:hover {
  box-shadow: var(--shadow-hover);
}

.faq-list summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: color var(--transition), background var(--transition);
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-list details[open] summary {
  color: var(--color-primary);
  background: rgba(169, 35, 62, 0.04);
  border-bottom: 1px solid var(--color-border);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 1.25rem 1.5rem;
  color: var(--color-text-light);
  line-height: 1.85;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--color-primary);
  font-weight: 700;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* =============================================
   AKTION-CARD als <a>-Link
   ============================================= */

a.aktion-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* =============================================
   DETAIL-SEITE (aktion-detail.html)
   ============================================= */

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  transition: gap var(--transition);
}

.detail-back:hover {
  gap: 0.7rem;
  text-decoration: underline;
}

.detail-content {
  max-width: 760px;
}

.detail-content p {
  color: var(--color-text-light);
  line-height: 1.85;
  font-size: 1.05rem;
}

/* =============================================
   BILDERGALERIE (Detailseite + Galerie)
   ============================================= */

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

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: zoom-in;
  display: block;
}

.detail-qr-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.detail-inline-link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.detail-inline-link:hover {
  color: var(--color-primary-dark);
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* =============================================
   GALERIE-SEITE (Google Photos)
   ============================================= */

.photos-embed-section {
  max-width: 800px;
  margin: 0 auto;
}

.photos-preview-box {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
}

.photos-preview-icon {
  font-size: 4rem;
  margin-bottom: 1.25rem;
}

.photos-preview-box h2 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.photos-preview-box p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.photos-open-btn {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

.gallery-item-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item-link .gallery-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-link:hover .gallery-img {
  transform: scale(1.04);
  box-shadow: var(--shadow-hover);
}

/* =============================================
   LIGHTBOX
   ============================================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox--open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  cursor: default;
  animation: lightbox-in 0.2s ease;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}
