/* ========================================
   PAGE STYLES - Styles für Unterseiten
   (Impressum, Datenschutz, etc.)
======================================== */

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav-logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-links a {
  padding: 0.4rem 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent2) !important;
}

/* PAGE HEADER */
.page-header {
  padding: 10rem 3rem 5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(43, 107, 230, 0.05) 0%, rgba(108, 69, 200, 0.03) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-header.green-theme {
  background: linear-gradient(135deg, rgba(30, 158, 114, 0.05) 0%, rgba(43, 107, 230, 0.03) 100%);
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(43, 107, 230, 0.1);
  border: 1px solid rgba(43, 107, 230, 0.2);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}

.page-badge.green {
  background: rgba(30, 158, 114, 0.1);
  border: 1px solid rgba(30, 158, 114, 0.2);
  color: var(--green);
}

.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* CONTENT SECTION */
.content-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
}

.content-section {
  margin-bottom: 3.5rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.subsection-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.content-section p {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section strong {
  font-weight: 600;
  color: var(--dark);
}

.content-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 107, 230, 0.3);
  transition: border-color 0.2s;
}

.content-section a:hover {
  border-bottom-color: var(--accent);
}

.content-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-section ul li {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

/* CREDITS CARD (Impressum) */
.credits-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.credit-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.credit-item:first-child {
  padding-top: 0;
}

.credit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credit-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg2);
}

.credit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.credit-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.credit-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.credit-desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
}

.credit-desc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(43, 107, 230, 0.3);
  transition: border-color 0.2s;
}

.credit-desc a:hover {
  border-bottom-color: var(--accent);
}

/* INFO BOX (Datenschutz) */
.info-box {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.info-box-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.info-box-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* SERVICE CARDS (Datenschutz) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.service-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.service-card-title {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
}

.footer-logo .dot {
  color: var(--accent);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-links a.active {
  color: white;
  font-weight: 500;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  nav {
    padding: 0 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .page-header {
    padding: 8rem 1.5rem 4rem;
  }

  .content-main {
    padding: 3rem 1.5rem 4rem;
  }

  .credit-item {
    flex-direction: column;
    gap: 1rem;
  }

  .credit-thumb {
    width: 100%;
    height: 160px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

/* FADE IN ANIMATION */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
