/* =========================================================
   IMPRESSUM – HEADING
========================================================= */

/* Titel + Lucide Icon */
.impressum-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 150px;
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* 🔄 Smooth Theme Transition */
  transition: color 0.5s ease;
}

body.dark-mode .impressum-heading {
  color: var(--text-dark);
}

/* Lucide Icon im Heading */
.impressum-heading-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  flex-shrink: 0;
  color: var(--text-light);
  stroke: var(--text-light);

  transition:
    transform 0.5s ease,
    color 0.5s ease,
    stroke 0.5s ease;
}

body.dark-mode .impressum-heading-icon {
  color: var(--text-dark);
  stroke: var(--text-dark);
}


/* =========================================================
   IMPRESSUM – CARD / CONTAINER
========================================================= */

.imprint-section {
  max-width: 900px;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}

.imprint-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;

  /* 🔄 Smooth Theme Transition */
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease;
}

body.dark-mode .imprint-card {
  background: var(--bg-dark);
}

/* Titel innerhalb der Card */
.imprint-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;

  transition: color 0.5s ease;
}

body.dark-mode .imprint-title {
  color: var(--text-dark);
}

.imprint-title:first-child {
  margin-top: 0;
}


/* =========================================================
   IMPRESSUM – TEXT & LINKS
========================================================= */

/* Textblöcke */
.imprint-block p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  text-align: center;

  transition: color 0.5s ease;
}

body.dark-mode .imprint-block p {
  color: var(--text-dark);
}

/* Links */
.imprint-block a {
  color: var(--button-filter-hover-light);
  text-decoration: none;
  display: inline-block;

  transition: color 0.5s ease;
}

body.dark-mode .imprint-block a {
  color: var(--button-search-hover-dark);
}

.imprint-block a:hover {
  text-decoration: underline;
}


/* =========================================================
   ICON SYSTEM (Lucide – fix & stabil)
========================================================= */

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  stroke-width: 2;

  transition: stroke 0.5s ease, color 0.5s ease;
}


/* =========================================================
   SOCIAL MEDIA (Minimal / ruhig)
========================================================= */

.imprint-social-hint {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.85;
  text-align: center;

  transition: color 0.5s ease;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0;
  margin: 0.6rem auto 0;
}

.social-list li {
  list-style: none;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-light);

  text-decoration: none;

  transition:
    background-color 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    transform 0.2s ease;
}

body.dark-mode .social-list a {
  background: var(--bg-dark);
  border: 1px solid #ffffff;
  color: #ffffff;
}

/* Hover */
.social-list a:hover {
  background: var(--hover-light);
  border-color: transparent;
  color: var(--text-light);
}

body.dark-mode .social-list a:hover {
  background: var(--hover-dark);
  border-color: transparent;
  color: #ffffff;
}


/* =========================
   SVG ICONS
========================= */

.social-list img {
  width: 16px;
  height: 16px;
  display: inline-block;
  filter: brightness(0) saturate(100%);
  opacity: 0.9;

  transition: filter 0.5s ease, opacity 0.5s ease;
}

body.dark-mode .social-list img {
  filter: brightness(0) invert(1);
  opacity: 1;
}


/* =========================
   ACCESSIBILITY
========================= */

.social-list a:focus-visible {
  outline: 2px solid var(--hover-light);
  outline-offset: 2px;
}


/* =========================================================
   MOBILE OPTIMIERUNG (iPhone 4 / 320px)
========================================================= */

@media (max-width: 360px) {

  .impressum-heading {
    font-size: 1.3rem;
    margin-top: 120px;
  }

  .impressum-heading-icon {
    width: 22px;
    height: 22px;
  }

  .imprint-card {
    padding: 1.6rem 1.3rem;
    border-radius: 14px;
  }

  .imprint-title {
    font-size: 1rem;
  }

  .imprint-block p {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .icon-wrap {
    width: 24px;
    height: 24px;
  }

  .icon-wrap svg {
    width: 20px;
    height: 20px;
  }
}
