/* Geburtstag Texte – Clean HTML5 Rebuild */
:root {
  --primary: #ec3045;
  --secondary: #1A202C;
  --accent: #f7630c;
  --white: #ffffff;
  --light: #F7FAFC;
  --text: #2D3748;
  --muted: #718096;
  --border: #EDF2F7;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ─── HEADER ─── */
.site-header {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.site-logo span { color: #ffe0e4; }
.site-logo:hover { text-decoration: none; color: var(--white); }

/* ─── NAV ─── */
.site-nav { background: var(--secondary); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.site-nav a {
  display: block;
  padding: 0.65rem 1rem;
  color: #EDF2F7;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--white);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

/* ─── PAGE WRAPPER ─── */
.page-wrapper {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

/* ─── CONTENT CARD ─── */
.content-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 2.5rem;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #c01f32 100%);
  color: var(--white);
  border-radius: 10px;
  padding: 3.5rem 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── CARDS GRID ─── */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--primary);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; margin-top: 0; }
.card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.card a.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
}
.card a.btn:hover { background: #c01f32; text-decoration: none; }

/* ─── ARTICLE TABLE ─── */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.article-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
}
.article-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}
.article-table tr:nth-child(even) td { background: var(--light); }
.article-table tr:hover td { background: #FEF2F2; }

/* ─── FAQ ─── */
.faq-section { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  background: var(--light);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  border-left: 4px solid var(--primary);
}
.faq-answer {
  padding: 1rem 1.25rem;
  color: var(--text);
  border-top: 1px solid var(--border);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ─── ARTICLE CONTENT ─── */
.article-content { line-height: 1.8; }
.article-content h2 { color: var(--primary); border-left: 4px solid var(--accent); padding-left: 0.75rem; }
.article-content h3 { color: var(--secondary); }
.article-content blockquote {
  background: var(--light);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--muted);
}
.highlight-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--secondary);
  color: #A0AEC0;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-brand { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.9rem; max-width: 300px; }
.footer-links h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-links a { display: block; color: #A0AEC0; font-size: 0.875rem; margin-bottom: 0.4rem; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  text-align: center;
}

/* ─── 404 ─── */
.error-404 {
  text-align: center;
  padding: 4rem 2rem;
}
.error-404 .code { font-size: 6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.error-404 h1 { font-size: 1.75rem; margin: 1rem 0 0.5rem; }
.error-404 p { color: var(--muted); margin-bottom: 2rem; }
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn-primary:hover { background: #c01f32; text-decoration: none; color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 2.5rem 1.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .content-card { padding: 1.5rem; }
  .header-inner { padding: 0 1rem; min-height: 56px; }
  .site-logo { font-size: 1.2rem; }
  .nav-inner { padding: 0 0.5rem; }
  .site-nav a { padding: 0.5rem 0.6rem; font-size: 0.78rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

/* ── HOMEPAGE ─────────────────────────────────────────────────────── */
.home-intro h1 { font-size: 2.2em; border-bottom: 3px solid var(--accent); padding-bottom: 14px; margin-bottom: 16px; }
.home-lead { font-size: 1.1em; color: var(--muted); line-height: 1.7; max-width: 780px; }

.post-list { display: flex; flex-direction: column; gap: 0; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.post-item:last-child { border-bottom: none; }
.post-item h3 { font-size: 1.2em; margin-bottom: 8px; font-weight: 700; }
.post-item h3 a { color: var(--primary); text-decoration: none; }
.post-item h3 a:hover { color: var(--accent); }
.post-item p { font-size: 14px; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.read-more { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
.read-more:hover { text-decoration: underline; }
