/* ==========================================================================
   SEO LANDING PAGE — Specific styles
   ========================================================================== */

.landing-content {
  max-width: 800px;
  margin-inline: auto;
}

.landing-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.landing-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.landing-content p {
  margin-bottom: var(--space-md);
  line-height: var(--leading-loose);
}

.landing-content ul {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.landing-content ul li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.landing-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}

/* FAQ Accordion */
.faq-section {
  margin-top: var(--space-3xl);
}

.faq-section__title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-item {
  border-bottom: var(--border-light);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}

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

.faq-item summary::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--color-primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

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

.faq-item summary:hover {
  color: var(--color-primary);
}

.faq-item .faq-answer {
  padding-bottom: var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
}

/* Internal links highlight */
.landing-content a {
  color: var(--color-primary);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.landing-content a:hover {
  color: var(--color-primary-dark);
}

/* Inhaltsbilder — einzelnes Motiv ueber die volle Textbreite */
.landing-figure {
  margin: var(--space-2xl) 0;
}

.landing-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Fuer Motive mit geringer Aufloesung — begrenzt die Anzeigebreite,
   damit das Bild nicht hochskaliert und unscharf wirkt. */
.landing-figure--sm {
  max-width: 420px;
  margin-inline: auto;
}

.landing-figure figcaption,
.landing-gallery figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  text-align: center;
}

/* Inhaltsbilder — Raster fuer mehrere Motive */
.landing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.landing-gallery figure {
  margin: 0;
}

.landing-gallery img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.landing-gallery a:hover img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .landing-gallery {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .landing-gallery img {
    height: 130px;
  }
}

/* Highlight box for key info */
.landing-highlight {
  background: rgba(204, 0, 0, 0.05);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
}

.landing-highlight p {
  color: var(--color-text);
  font-weight: var(--weight-medium);
  margin-bottom: 0;
}
