/* ============================================================
   Haushaltsloch.de – Landing Pages (Startseite, Änderungslog, …)
   Farbschema: Gold #cca64d, Rot #ce161a, Schwarz, Weiß
   ============================================================ */

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

:root {
  --gold: #cca64d;
  --gold-dark: #b08d3a;
  --gold-light: #fdf6e3;
  --red: #ce161a;
  --red-dark: #a01216;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --black: #0a0a0a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover { background: var(--bg); color: var(--red); }
.nav-link.active { background: var(--gold-light); color: var(--red); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(206,22,26,0.35); }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(204,166,77,0.35); }

.btn-ghost { background: transparent; color: var(--text-2); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-ghost-dark { background: transparent; color: #d4d4d4; border: 1.5px solid #333; }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-xl { padding: 17px 40px; font-size: 17px; border-radius: 12px; }

section { padding: 96px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 820px; margin: 0 auto; }

/* ---- HERO (schwarz, gold + weiß) ---- */
.hero {
  background: var(--black);
  color: white;
  padding: 100px 40px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(204,166,77,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,166,77,0.15);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(204,166,77,0.35);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
}

h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: #d4d4d4;
  max-width: 640px;
  line-height: 1.55;
  margin: 0 auto 42px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  border-top: 1px solid #222;
}

.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Kompaktere Hero-Variante (für Unterseiten wie Änderungslog) */
.hero-compact {
  padding: 80px 40px 90px;
}
.hero-compact h1 {
  font-size: clamp(32px, 5vw, 52px);
}

/* ---- Section-Basics ---- */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}

.section-lead {
  font-size: 17px;
  color: var(--text-2);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ---- Startseite: Erklärungs-Blöcke ---- */
.explain-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.explain-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.explain-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.explain-block h3 .accent-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.explain-block p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- Startseite: 3-Steps ---- */
.how { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---- Startseite: Quellen-Card ---- */
.sources-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.sources-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.sources-text { flex: 1; }

.sources-text h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.sources-text p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 12px;
}

.sources-text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Bottom-CTA (schwarz) ---- */
.bottom-cta {
  background: var(--black);
  padding: 100px 40px;
  text-align: center;
  color: white;
}

.bottom-cta h2 {
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -1px;
  font-weight: 800;
}

.bottom-cta h2 .accent { color: var(--gold); }

.bottom-cta p {
  color: #b0b0b0;
  font-size: 18px;
  margin-bottom: 36px;
}

/* ---- Footer ---- */
footer.site-footer {
  background: #0a0a0a;
  color: #888;
  padding: 40px;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.footer-info { font-size: 13px; color: #888; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-link {
  font-size: 13px;
  color: #888;
  transition: color 0.15s;
}

.footer-link:hover { color: var(--gold); }

/* ============================================================
   Textseiten (Impressum, Datenschutz, …)
   ============================================================ */

.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 40px 0 12px;
  text-align: left;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.prose p { margin-bottom: 14px; }

.prose ul {
  padding-left: 22px;
  margin: 10px 0 14px;
}

.prose ul li { margin: 4px 0; }

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.prose a:hover { color: var(--red-dark); }

.prose strong { color: var(--text); }

.prose-callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-2);
}

.prose-callout strong { color: var(--text); }

/* ============================================================
   Änderungslog
   ============================================================ */

.log-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

.log-intro a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.log-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.log-entry {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.log-entry .log-meta {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.log-entry .log-meta .log-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.log-entry .log-type.add { background: #dcfce7; color: #166534; }
.log-entry .log-type.change { background: var(--gold-light); color: #7c5a1a; }
.log-entry .log-type.remove { background: #fee2e2; color: #991b1b; }

.log-entry h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.log-entry .log-details {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}

.log-entry .log-details ul,
.log-entry .log-details ol {
  padding-left: 22px;
  margin: 10px 0;
}

.log-entry .log-details li { margin: 4px 0; }

.log-entry .log-details a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.log-entry .log-details a:hover { color: var(--red-dark); }

.log-entry .log-details strong { color: var(--text); }

.log-entry .log-details code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--text);
}

/* Mobile */
@media (max-width: 860px) {
  nav.site-nav { padding: 0 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-hide-mobile { display: none; }
  section { padding: 64px 20px; }
  .hero { padding: 60px 20px 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; padding-top: 32px; }
  .explain-blocks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  footer.site-footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .sources-card { flex-direction: column; padding: 24px; }
  .log-entry { padding: 20px 22px; }
}
</content>
</invoke>