/* Grundlayout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #1f2933;
  background: radial-gradient(circle at top, #eef2ff 0, #f7f8fc 40%, #f5f5f8 100%);
}

/* Container */
.container {
  max-width: 900px;
  padding: 1.5rem;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: radial-gradient(circle at top left, #4f46e5, #1e3a8a);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-header h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.site-header .subtitle {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.site-header a {
  color: #facc15;
  text-decoration: none;
  font-weight: 500;
}

.site-header a:hover {
  text-decoration: underline;
}

/* Hauptbereich */
.site-main {
  padding: 2.5rem 0 3rem;
}

/* Sektionen */
section {
  margin-bottom: 1.8rem;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.7rem 1.8rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #111827;
  letter-spacing: 0.02em;
}

section p {
  margin: 0.3rem 0 0.55rem;
}

/* Intro */
.intro {
  background: linear-gradient(135deg, #ffffff, #eef2ff);
}

/* Downloads */
.downloads {
  background: #ffffff;
}

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.download-list li + li {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed #e5e7eb;
}

.download-list h3 {
  margin: 0 0 0.1rem;
  font-size: 1.05rem;
  color: #1d4ed8;
}

.download-meta {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.45rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

/* Dateiname hier anpassen: pdf.png oder pdf.jpg */
.download-icon {
  width: 18px;
  height: 18px;
  background-image: url("./pdf.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.download-link:hover {
  background: #dbeafe;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* Lizenzbox */
.license-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.cc-logo {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

/* Danksagungen & Kontakt */
.acknowledgements em,
.contact em {
  font-style: italic;
}

.signature {
  margin-top: 0.8rem;
  font-weight: 500;
}

/* Analytics-Hinweis */
.analytics-note {
  background: #fef9c3;
  border-left: 4px solid #facc15;
}

/* Footer */
.site-footer {
  border-top: 1px solid #d1d5db;
  background-color: #f3f4f6;
  padding: 1.1rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

/* Links allgemein */
a {
  color: #1d4ed8;
}

a:hover {
  text-decoration: underline;
}

/* Responsivität */
@media (max-width: 720px) {
  .container {
    padding: 1.25rem;
  }

  section {
    padding: 1.3rem 1.35rem;
    border-radius: 12px;
  }

  .license-box {
    align-items: flex-start;
  }
}
