/* kuchinka.de - neutrale Startseite (Cassiopeia user.css) */
/* Nur Systemschriften - keine externen Schriftquellen (DSGVO) */

:root {
  --kd-bg1: #f4f1ec;
  --kd-bg2: #e6ece9;
  --kd-card: rgba(255, 255, 255, 0.72);
  --kd-line: rgba(30, 41, 38, 0.10);
  --kd-text: #1e2926;
  --kd-muted: #5f6b67;
  --kd-accent: #2f6f62;
}
@media (prefers-color-scheme: dark) {
  :root {
    --kd-bg1: #121816;
    --kd-bg2: #1b2421;
    --kd-card: rgba(32, 42, 39, 0.72);
    --kd-line: rgba(230, 240, 236, 0.10);
    --kd-text: #e9efec;
    --kd-muted: #9aa8a3;
    --kd-accent: #7cc4b2;
  }
}

/* Joomla-Rahmen auf der Startseite ausblenden */
body.itemid-101 .container-header,
body.itemid-101 .container-footer,
body.itemid-101 .back-to-top-link,
body.itemid-101 .item-page > .page-header { display: none !important; }

body.itemid-101 {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--kd-text);
  background:
    radial-gradient(1200px 600px at 15% 10%, var(--kd-bg2), transparent 60%),
    radial-gradient(900px 500px at 90% 90%, var(--kd-bg2), transparent 60%),
    var(--kd-bg1);
}
body.itemid-101 .site-grid {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
  box-sizing: border-box;
  grid-template-areas: none;
}
body.itemid-101 .site-grid > * { width: 100%; max-width: 560px; margin: 0 auto; padding: 0; }
body.itemid-101 main { margin: 0; }

.kd-card {
  text-align: center;
  padding: 56px 40px 40px;
  background: var(--kd-card);
  border: 1px solid var(--kd-line);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.35);
  animation: kd-in 0.9s ease-out both;
}
.kd-mark {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--kd-accent);
  color: var(--kd-accent);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 34px; font-weight: 600; line-height: 1;
}
.kd-card h1.kd-name {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  letter-spacing: -0.01em;
  color: var(--kd-text);
}
.kd-line {
  width: 48px; height: 2px; margin: 18px auto 22px;
  background: var(--kd-accent); border-radius: 2px; opacity: 0.7;
}
.kd-card p { margin: 0 auto; max-width: 38ch; color: var(--kd-muted); font-size: 1.02rem; line-height: 1.65; font-weight: 300; }
.kd-card p.kd-lead { color: var(--kd-text); font-weight: 400; font-size: 1.1rem; margin-bottom: 8px; }
.kd-foot {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--kd-line);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kd-muted);
}
@keyframes kd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kd-card { animation: none; } }
@media (max-width: 480px) { .kd-card { padding: 44px 24px 28px; border-radius: 20px; } }
