/* ============================================
   CUSTOM STYLES — Moderne Typografie & Layout
   ============================================ */

/* Moderne serifenlose Schriftart */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  line-height: 1.70;
  /* Mehr Whitespace zwischen Zeilen */
  letter-spacing: -0.01em;
  /* Moderne optische Korrektur */
}

/* Zentrale Lesbarkeit für Fließtext und Markdown-Content */
.site .content,
.site .card,
.site .lead {
  line-height: 1.70;
}

/* Überschriften: Mehr Whitespace und moderne Hierarchie */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  /* Mehr Abstand oben */
  margin-bottom: 1rem;
}

h1 {
  color: #06c;
  font-size: 2.5rem;
  margin-top: 0;
}

h2 {
  color: #06c;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-top: 3rem;
}

h3 {
  color: #4a9eff;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Absätze: Mehr Whitespace */
p {
  margin-bottom: 1.5rem;
  line-height: 1.70;
}

/* Listen: Bessere Strukturierung */
ul,
ol {
  margin-bottom: 1.6rem;
  padding-left: 1.8rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.68;
}

.site .content p,
.site .card p,
.site .content li,
.site .card li {
  max-width: 72ch;
}

.site .content ul li,
.site .content ol li,
.site .card ul li,
.site .card ol li {
  padding-left: 0.12rem;
}

.site .content h2,
.site .content h3,
.site .card h2,
.site .card h3 {
  margin-bottom: 1.15rem;
}

/* Links: Modernere Hover-Effekte */
a {
  color: #4a9eff;
  transition: color 0.2s ease;
}

a:hover {
  color: #80bfff;
}

/* Rechtstexte: Nummerierung und Struktur verbessern */
.sectioned-template h3 {
  font-weight: 600;
  margin-top: 2rem;
}

.sectioned-template strong {
  color: #e6eef7;
  font-weight: 600;
}

/* Payhip Checkout Info Box */
.payhip-checkout-info {
  background: rgba(74, 158, 255, 0.1);
  border-left: 3px solid #4a9eff;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.payhip-checkout-info p {
  margin: 0;
  color: #b8d4ff;
  font-size: 0.9rem;
}

.payhip-checkout-info strong {
  color: #fff;
}

/* Buttons: Modernere Gestaltung */
.btn,
button[type="button"],
a.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4a9eff 0%, #0066cc 100%);
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 158, 255, 0.4);
}
