/* ============================================================
   llm.kraftsclub.org — Liquid Glass (kraftsclub-Design)
   Farbschema: llmmeasured Papier-Theme (grün/beige/grau)
   ============================================================ */

:root {
  /* Palette (llmmeasured) */
  --paper:        #F7F6F2;
  --paper-soft:   #FBFAF8;
  --green:        #3D6B58;
  --green-deep:   #2B5342;
  --green-soft:   #EBF2EE;
  --gray-warm:    #ECEBE6;
  --gray-line:    #E4E1D8;
  --ink:          #1F2421;
  --ink-soft:     #666A65;
  --ink-subtle:   #8C908A;
  --sand:         #B88635;

  /* Glas */
  --glass:        rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.80);
  --glass-shadow: 0 12px 40px rgba(31, 36, 33, 0.10),
                  0 2px 8px rgba(31, 36, 33, 0.06);
  --radius:       26px;
  --radius-pill:  999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;

  /* Weicher Verlauf: Papier + Grün + warmes Grau */
  background:
    radial-gradient(1100px 750px at 12% -8%,  var(--green-soft) 0%, transparent 58%),
    radial-gradient(950px 700px at 108% 8%,   #F0ECDF 0%, transparent 55%),
    radial-gradient(900px 900px at 50% 118%,  var(--gray-warm) 0%, transparent 60%),
    var(--paper);
  background-attachment: fixed;
}

/* ---------- Schwebende Glas-Blobs (Hintergrund) ---------- */

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-1 { width: 460px; height: 460px; top: -120px; left: -80px;
          background: radial-gradient(circle at 30% 30%, #BFD6C9, #DFEDE5); }
.blob-2 { width: 420px; height: 420px; top: 28%; right: -120px;
          background: radial-gradient(circle at 40% 40%, #E9E0C8, #F3EDDD);
          animation-delay: -7s; }
.blob-3 { width: 340px; height: 340px; bottom: -100px; left: 28%;
          background: radial-gradient(circle at 50% 40%, #D3D7D0, #E9EBE6);
          animation-delay: -14s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- Glas-Bausteine ---------- */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.9); /* Specular-Kante */
}

/* ---------- Navigation (schwebende Pill) ---------- */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  max-width: calc(100vw - 32px);
}

.nav .logo {
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 6px 14px 6px 10px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav .logo b { color: var(--green-deep); font-weight: 700; }

.nav .logo .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #7FAF97);
  box-shadow: 0 0 0 3px rgba(61, 107, 88, 0.18);
}

.nav nav { display: flex; gap: 4px; }

.nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav nav a:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.nav nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.75);
  color: var(--green-deep);
}

/* ---------- Layout ---------- */

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 130px 24px 60px;
  flex: 1;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 48px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--green-deep), var(--green) 60%, #7FAF97);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 14px;
}

.hero .claim {
  font-size: 0.95rem;
  color: var(--ink-subtle);
  font-style: italic;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 8px 24px rgba(43, 83, 66, 0.30),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(43, 83, 66, 0.38),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-glass {
  color: var(--ink);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(31, 36, 33, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
}

.btn:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Abschnitte ---------- */

section { padding: 28px 0 48px; }

.section-head { margin-bottom: 28px; }

.section-head h2 {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.section-head p { color: var(--ink-soft); }

/* ---------- Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(31, 36, 33, 0.14),
              0 3px 10px rgba(31, 36, 33, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.card .link {
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card .link:hover { text-decoration: underline; }

/* Badges */
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--gray-line);
  color: var(--ink-soft);
}

.badge .pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-subtle);
}

.badge-live { color: var(--green-deep); border-color: rgba(61, 107, 88, 0.35); }
.badge-live .pip { background: var(--green); box-shadow: 0 0 0 3px rgba(61, 107, 88, 0.18); }

/* Platzhalter-Karten: gestrichelte Glasfassade */
.card-placeholder {
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px dashed var(--gray-line);
  box-shadow: none;
}

.card-placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: #D5D1C6;
}

/* ---------- Artikel-Seiten (Impressum / Datenschutz) ---------- */

.article {
  padding: 44px 48px;
  max-width: 760px;
  margin: 0 auto;
}

.article h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.article .subtitle {
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.article h2 {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 28px 0 10px;
}

.article p, .article li {
  color: var(--ink);
  font-size: 0.98rem;
}

.article ul { padding-left: 22px; }

.article a { color: var(--green-deep); }

/* Hinweis-Box */
.notice {
  margin: 24px 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(249, 243, 230, 0.8);
  border: 1px solid rgba(184, 134, 53, 0.4);
  border-left: 4px solid var(--sand);
  font-size: 0.95rem;
  color: #7A5A22;
}

.todo {
  background: rgba(184, 134, 53, 0.14);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
}

.footer-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-bar a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.footer-bar a:hover { color: var(--green-deep); text-decoration: underline; }

.footer-bar .sep { opacity: 0.4; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  main { padding: 120px 18px 40px; }
  .hero { padding: 24px 0 44px; }
  .article { padding: 32px 24px; }
  .nav { gap: 2px; padding: 6px 8px; }
  .nav nav a { padding: 6px 10px; font-size: 0.85rem; }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}