/* ==========================================================================
   Kliegel Digital Media – High-End Corporate Publisher Stylesheet
   ========================================================================== */

:root {
  --bg-page: #0b0f19;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --radius: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-body);
  background-color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================
   Header
   ========================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-badge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

/* ==========================================
   Main Content Paper Layout
   ========================================== */
main {
  flex: 1 0 auto;
  padding: 3rem 0 5rem 0;
}

.content-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 3.5rem;
  box-shadow: var(--shadow-md);
}

/* Typography */
.content-wrapper h1 {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 2.25rem;
}

.content-wrapper h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 3.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  position: relative;
}

.content-wrapper h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: var(--primary);
  border-radius: 2px;
  margin-right: 0.75rem;
}

.content-wrapper h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.content-wrapper p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #334155;
}

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

.content-wrapper hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* Lists */
.content-wrapper ul, 
.content-wrapper ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.content-wrapper li {
  margin-bottom: 0.65rem;
  color: #334155;
}

.content-wrapper li::marker {
  color: var(--primary);
  font-weight: bold;
}

/* Callout-Boxen für Methodik / Standards */
.content-wrapper ol {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
}

/* Inline Code / E-Mail Badges */
.content-wrapper code {
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: #f8fafc;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-sub {
  color: #64748b;
  font-size: 0.8rem;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .content-wrapper h1 {
    font-size: 1.75rem;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}