/* Lehrzeug Startseite. Gemeinsames Design: /kern/kern.css */

/* ---------- Kopfbereich */
.home-hero { position: relative; overflow: hidden; margin: 22px 0 8px; padding: 52px 52px 48px; border-radius: 32px; color: #fff; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; align-items: center;
  background: radial-gradient(circle at 88% 12%, rgba(18, 199, 163, .42), transparent 42%), radial-gradient(circle at 8% 96%, rgba(46, 124, 246, .45), transparent 48%), radial-gradient(circle at 55% 110%, rgba(155, 89, 255, .35), transparent 40%), #071B4A; box-shadow: 0 30px 60px -36px rgba(7, 27, 74, .8); }
.hh-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 18px; font-size: 14px; font-weight: 500; }
.hh-eq .eq { padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.hh-eq .eq.c { background: #12C7A3; border-color: #12C7A3; color: #04241D; font-weight: 700; }
.hh-eq .op { color: #8FA3C8; font-weight: 700; }
.home-hero h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; }
.hh-mark { position: relative; white-space: nowrap; color: #5FF0D2; }
.hh-mark::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: .04em; height: .24em; z-index: -1; background: #F5A623; opacity: .9; height: .14em; bottom: .02em; border-radius: .2em .5em .3em .6em; transform: rotate(-1.2deg); }
.home-hero h1 { position: relative; z-index: 0; }
.hh-sub { margin: 0 0 24px; max-width: 600px; color: #C9D5EA; font-size: 17px; line-height: 1.6; }
.hh-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hh-btn { background: #12C7A3; color: #04241D; box-shadow: 0 2px 0 #0B8F74; font-weight: 700; }
.hh-btn:hover { background: #33D7B6; }
.hh-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.hh-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.hh-btn-ghost .i { color: #FF8FB0; }
.hh-stats { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hh-stats li { display: grid; }
.hh-stats b { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.hh-stats span { font-size: 13px; color: #A9B8D3; }
.hh-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.hh-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(100%, 380px); }
.hw { display: grid; place-items: center; aspect-ratio: 1; border-radius: 24px; background: rgba(255, 255, 255, .96); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); animation: hwfloat 6s ease-in-out infinite; }
.hw img { width: 82%; height: auto; }
.hw:nth-child(2n) { animation-delay: -3s; } .hw:nth-child(3n) { animation-delay: -1.5s; }
.hw:nth-child(odd) { transform: rotate(-2deg); } .hw:nth-child(even) { transform: rotate(2deg); }
.hw-logo { background: linear-gradient(145deg, #12C7A3, #0B8F74); box-shadow: 0 0 0 6px rgba(18, 199, 163, .25), 0 24px 40px -18px rgba(0, 0, 0, .7); transform: scale(1.08) !important; animation: none; }
.hw-logo img { width: 92%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
@keyframes hwfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hh-badge { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: #fff; color: #071B4A; font-size: 13px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); white-space: nowrap; }
.hh-badge .i { color: #0A7F68; }
.hh-badge.b1 { left: -6px; bottom: 6px; }
.hh-badge.b2 { right: -4px; top: 4px; }
@media (prefers-reduced-motion: reduce) { .hw { animation: none; } }

/* ---------- Abschnitte */
.home-sec { margin-top: 64px; }
.home-head { max-width: 760px; margin-bottom: 22px; }
.home-kicker { margin: 0 0 6px; color: var(--teal-ink); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; }
.home-head h2, .home-sec h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; }
.home-lead { margin: 10px 0 0; color: var(--ink-2); font-size: 16.5px; }

/* ---------- Werkzeuge */
.tl-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }
.tl-search { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 0 16px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-1); }
.tl-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.tl-search .i { color: var(--ink-3); width: 20px; height: 20px; }
.tl-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 13px 0; font-size: 16px; outline: none; }
.tl-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.tl-chip small { color: var(--ink-3); font-size: 12px; }
.tl-chip:hover { border-color: var(--teal); color: var(--ink); }
.tl-chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.tl-chip.is-on small { color: inherit; opacity: .8; }
.tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tl-a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tl-a:hover { transform: translateY(-2px); border-color: var(--teal-bright); box-shadow: var(--shadow-2); }
.tl-ico { width: 56px; height: 56px; flex: none; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 27, 74, .06); }
.tl-t { display: grid; gap: 1px; min-width: 0; }
.tl-t b { font-size: 15.5px; line-height: 1.25; display: flex; align-items: center; gap: 6px; }
.tl-t small { color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.tl-neu { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-ink); }
.tl-none { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-2); }
.tl-none p { margin: 0; flex: 1; min-width: 220px; }

/* ---------- Momente */
.mo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.mo-card { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; align-content: start; gap: 6px; }
.mo-em { font-size: 30px; line-height: 1; }
.mo-card h3 { margin: 6px 0 0; font-size: 1.12rem; }
.mo-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.mo-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.mo-tools a { padding: 3px 10px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.mo-tools a:hover { background: var(--teal); color: var(--on-teal); }

/* ---------- Prinzipien */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.why { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--teal-soft); color: var(--teal-ink); }
.why:nth-child(2) .why-ico { background: var(--blue-soft); color: var(--blue-ink); } .why:nth-child(3) .why-ico { background: var(--lila-soft); color: var(--lila-ink); }
.why:nth-child(4) .why-ico { background: var(--yellow-soft); color: var(--yellow-ink); } .why:nth-child(5) .why-ico { background: var(--coral-soft); color: var(--coral-ink); } .why:nth-child(6) .why-ico { background: var(--rosa-soft); color: var(--rosa-ink); }
.why-ico .i { width: 22px; height: 22px; }
.why h3 { margin: 12px 0 4px; font-size: 1.05rem; }
.why p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Sicherheit */
.sec-shield { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: center; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.sh-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.sh-big { position: relative; z-index: 1; display: grid; place-items: center; width: 54%; aspect-ratio: 1; border-radius: 30%; background: linear-gradient(145deg, #12C7A3, #0B8F74); color: #fff; box-shadow: 0 24px 40px -20px rgba(11, 143, 116, .8); }
.sh-big .i { width: 56%; height: 56%; stroke-width: 1.8; }
.sh-ring { position: absolute; border-radius: 50%; border: 2px dashed var(--teal-bright); opacity: .45; }
.sh-ring.r1 { inset: 12%; } .sh-ring.r2 { inset: 0; opacity: .22; animation: shspin 40s linear infinite; }
@keyframes shspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sh-ring.r2 { animation: none; } }
.sh-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; }
.sh-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.sh-list li > .i { margin-top: 3px; color: var(--teal-ink); width: 20px; height: 20px; }
.sh-list b { color: var(--ink); }

/* ---------- Über mich */
.me-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 32px; border-radius: 28px; background: linear-gradient(135deg, var(--teal-soft), var(--blue-soft)); border: 1px solid var(--line); }
.me-av { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(145deg, #12C7A3, #2E7CF6); color: #fff; font-size: 38px; font-weight: 700; box-shadow: 0 18px 30px -16px rgba(7, 27, 74, .55); }
.me-text { margin: 12px 0 0; font-size: 17px; color: var(--ink); }
.me-thanks { margin: 10px 0 0; color: var(--ink-2); }
.me-facts { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; }
.me-facts li { display: inline-flex; align-items: center; gap: 6px; }
.me-facts .i { color: var(--teal-ink); }

/* ---------- Weitersagen */
.sec-share { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; padding: 32px; border-radius: 28px; background: #071B4A; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(18, 199, 163, .35), transparent 45%), #071B4A; }
.sec-share p { color: #C9D5EA; margin: 10px 0 18px; max-width: 640px; }
.sec-share .btn-secondary { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.sec-share .btn-secondary:hover { background: rgba(255, 255, 255, .16); }
.sec-share .btn-primary { background: #12C7A3; color: #04241D; box-shadow: 0 2px 0 #0B8F74; }
.ws-qr { justify-self: center; text-align: center; }
.ws-qr-box { width: 180px; height: 180px; padding: 10px; border-radius: 18px; background: #fff; }
.ws-qr-box svg { width: 100%; height: 100%; display: block; }
.ws-qr p { margin: 8px 0 0; font-size: 13px; color: #A9B8D3; }

/* ---------- Fragen und Ideen */
.faq { display: grid; gap: 8px; max-width: 900px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--teal-ink); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }
.sec-idea { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 28px 32px; border-radius: 28px; background: var(--surface); border: 2px dashed var(--line-2); }
.sec-idea > div { flex: 1; min-width: 260px; }
.sec-idea p { margin: 6px 0 0; color: var(--ink-2); }
.idea-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--yellow-soft); color: var(--yellow-ink); }
.idea-ico .i { width: 30px; height: 30px; }

/* ---------- Dunkelmodus */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home-hero { box-shadow: none; border: 1px solid #1A2747; }
  :root:not([data-theme="light"]) .tl-ico { box-shadow: none; }
  :root:not([data-theme="light"]) .me-card { background: linear-gradient(135deg, #0B2E2E, #0E2147); }
  :root:not([data-theme="light"]) .sec-share { border: 1px solid #1A2747; }
}

/* ---------- Kleine Bildschirme */
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding: 34px 24px 30px; border-radius: 26px; }
  .hh-art { min-height: 0; order: -1; }
  .hh-wall { width: min(100%, 300px); gap: 10px; }
  .hh-badge { display: none; }
  .sec-shield { grid-template-columns: 1fr; padding: 24px; }
  .sh-art { width: 160px; justify-self: center; }
  .sec-share { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 600px) {
  .home-hero { margin-top: 12px; padding: 26px 18px 24px; }
  .hh-wall { grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 260px; }
  .hh-sub { font-size: 15.5px; }
  .hh-stats b { font-size: 22px; }
  .home-sec { margin-top: 44px; }
  .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tl-t b { flex-wrap: wrap; overflow-wrap: anywhere; }
  .tl-a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .tl-ico { width: 46px; height: 46px; }
  .tl-t small { font-size: 12.5px; }
  .me-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .me-card .btn { white-space: normal; text-align: left; }
  .me-av { width: 64px; height: 64px; font-size: 28px; border-radius: 20px; }
  .sec-idea { padding: 22px; }
}

/* Auf der Startseite steht die Vorstellung schon oben: im Fuß nur Feedback zeigen */
.home .lzf-author { display: none; }
.home .lzf-cols { grid-template-columns: minmax(0, 1fr); }
