/* ============================================================
   Lucavo Startseite v4.0.0 · Stil B „Nachtschicht“
   Nur auf der Startseite geladen (siehe functions.php)
   ============================================================ */

html { scroll-behavior: smooth; }

body.lv2 {
  margin: 0;
  background: #06060F;
  color: #EEEEF5;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.lv2 *, .lv2 *::before, .lv2 *::after { box-sizing: border-box; }
.lv2 h1, .lv2 h2, .lv2 h3, .lv2 p, .lv2 figure, .lv2 ul, .lv2 ol, .lv2 dl, .lv2 dd, .lv2 blockquote { margin: 0; }
.lv2 ul, .lv2 ol { padding: 0; list-style: none; }
.lv2 h1, .lv2 h2, .lv2 h3 { font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; color: #EEEEF5; text-wrap: balance; }
.lv2 p { text-wrap: pretty; }
.lv2 img { display: block; max-width: 100%; height: auto; }
.lv2 a { color: #00D4FF; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.lv2 a:hover { color: #7FE9FF; }
.lv2 a:focus-visible { outline: 2px solid #00D4FF; outline-offset: 3px; border-radius: 6px; }
.lv2 section[id] { scroll-margin-top: 96px; }

.lv2-mono { font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace; }
.lv2-ico { flex-shrink: 0; }
.lv2-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.lv2-skip { position: absolute; left: -9999px; top: 0; }
.lv2-skip:focus { left: 16px; top: 16px; z-index: 100; background: #00D4FF; color: #03030A !important; padding: 8px 14px; border-radius: 8px; }
.lv2-hint { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #F5B73D !important; }

/* ── Header ─────────────────────────────────────────────────── */
.lv2-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 6, 15, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, .12);
}
body.admin-bar .lv2-header { top: 32px; }
.lv2-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.lv2-brand { display: flex; align-items: center; gap: 12px; }
.lv2-brand__name { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #EEEEF5; }
.lv2-brand__tag { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #00D4FF; border: 1px solid rgba(0, 212, 255, .3); border-radius: 999px; padding: 2px 10px; }
.lv2-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.lv2-nav a { color: #C9C9DC; }

/* ── Buttons & Links ────────────────────────────────────────── */
.lv2-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-radius: 12px;
  background: #00D4FF; color: #03030A !important;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.2;
}
.lv2-btn:hover { background: #5FE4FF; transform: translateY(-1px); }
.lv2-btn--sm { padding: 11px 18px; font-size: 15px; border-radius: 10px; }
.lv2-btn--ghost {
  background: transparent; color: #EEEEF5 !important;
  border: 1px solid rgba(0, 212, 255, .28);
  font-family: 'JetBrains Mono', Consolas, monospace; font-size: 16px; font-weight: 400;
}
.lv2-btn--ghost:hover { background: rgba(0, 212, 255, .06); }
.lv2-link { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 17px; font-weight: 600; }

/* ── Typo-Bausteine ─────────────────────────────────────────── */
.lv2-section { padding-top: 128px; }
.lv2-section--tight { padding-top: 96px; }
.lv2-label { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 13px; color: #00D4FF; }
.lv2-h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; }
.lv2-h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.lv2-h3 { font-size: 26px; line-height: 1.15; font-weight: 600; }
.lv2-text { font-size: 16px; line-height: 1.65; color: #A3A3BF; }
.lv2-grad { background: linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv2-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: 48px; }
.lv2-head__title { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; }
.lv2-head__title--wide { grid-column: span 12; }
.lv2-head__intro { grid-column: 8 / span 5; font-size: 18px; color: #A3A3BF; }

/* ── Hero ───────────────────────────────────────────────────── */
.lv2-hero {
  padding: 96px 0 88px;
  background-image: linear-gradient(rgba(0, 212, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.lv2-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.lv2-hero__text { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.lv2-pill {
  font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #00D4FF; border: 1px solid rgba(0, 212, 255, .28); background: rgba(0, 212, 255, .06);
  border-radius: 999px; padding: 6px 14px;
}
.lv2-lead { font-size: 20px; color: #A3A3BF; max-width: 620px; }
.lv2-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.lv2-hero__card { grid-column: span 5; position: relative; }
.lv2-hero__frame { border-radius: 18px; overflow: hidden; border: 1px solid rgba(0, 212, 255, .3); background: #0D0D1F; }
.lv2-hero__photo { width: 100%; height: 520px; object-fit: cover; object-position: 50% 25%; }
.lv2-hero__cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-top: 1px solid rgba(0, 212, 255, .14); font-size: 12px; color: #A3A3BF; }
.lv2-hero__cap strong { display: block; font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 18px; font-weight: 600; color: #EEEEF5; }
.lv2-hero__cap small { display: block; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #6B6B8A; }
.lv2-live {
  position: absolute; left: -36px; top: 40px;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px;
  background: #12122A; border: 1px solid rgba(0, 212, 255, .28); box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #EEEEF5 !important;
}
.lv2-live:hover { border-color: rgba(0, 212, 255, .5); }
.lv2-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DF5A7; box-shadow: 0 0 12px #3DF5A7; }

/* ── Kennzahlen ─────────────────────────────────────────────── */
.lv2-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lv2-fact { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border-radius: 14px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); }
.lv2-fact strong { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 40px; line-height: 1.1; font-weight: 700; color: #00D4FF; }
.lv2-fact span { font-size: 16px; color: #A3A3BF; }

/* ── Leistungen ─────────────────────────────────────────────── */
.lv2-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lv2-card { display: flex; flex-direction: column; gap: 18px; padding: 34px 32px 36px; border-radius: 18px; background: linear-gradient(180deg, #0D0D1F 0%, #0A0A18 100%); border: 1px solid rgba(0, 212, 255, .12); }
.lv2-card__top { display: flex; justify-content: space-between; align-items: center; color: #00D4FF; }
.lv2-card__num { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #6B6B8A; }
.lv2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto !important; }
.lv2-tags li { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #C9C9DC; padding: 4px 10px; border-radius: 999px; background: rgba(0, 212, 255, .08); }

/* ── Maschinenverordnung ────────────────────────────────────── */
.lv2-deadline { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; padding: 56px 64px; border-radius: 22px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .28); }
.lv2-deadline__date { grid-column: span 5; display: flex; flex-direction: column; gap: 10px; }
.lv2-deadline__date small { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; letter-spacing: .06em; color: #6B6B8A; }
.lv2-deadline__date strong { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: clamp(54px, 6.2vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: #00D4FF; }
.lv2-deadline__body { grid-column: 7 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lv2-deadline__body p { font-size: 20px; color: #C9C9DC; }

/* ── Referenzen ─────────────────────────────────────────────── */
.lv2-refs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.lv2-ref-main { grid-column: span 7; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); }
.lv2-ref-main__img { width: 100%; height: 340px; object-fit: cover; }
.lv2-ref-side { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.lv2-ref { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex-grow: 1; padding: 32px 34px; border-radius: 18px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); }
.lv2-ref-main .lv2-ref { padding: 32px 36px 36px; border: 0; border-radius: 0; background: none; }
.lv2-kicker { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; text-transform: uppercase; color: #00D4FF; }
.lv2-meta { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 13px; color: #6B6B8A; }
.lv2-meta--link { color: #00D4FF; }
.lv2-note { margin-top: 28px; font-size: 16px; color: #6B6B8A; }
.lv2-placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(135deg, #0B0B1A 0px, #0B0B1A 14px, #10102A 14px, #10102A 28px);
}

/* ── Werdegang ──────────────────────────────────────────────── */
.lv2-career { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.lv2-career__head { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.lv2-career__head .lv2-text { font-size: 17px; }
.lv2-timeline { grid-column: 6 / span 7; border-left: 1px solid rgba(0, 212, 255, .2); }
.lv2-timeline li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 26px 32px; }
.lv2-timeline li:last-child { padding-bottom: 0; }
.lv2-timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #4A4A68; }
.lv2-timeline li.is-current::before { background: #00D4FF; box-shadow: 0 0 10px #00D4FF; }
.lv2-timeline__period { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 13px; color: #6B6B8A; }
.lv2-timeline li.is-current .lv2-timeline__period { color: #00D4FF; }
.lv2-timeline__role { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 20px; font-weight: 600; color: #EEEEF5; }
.lv2-timeline__org { font-size: 15px; color: #A3A3BF; }
.lv2-timeline li.is-hint .lv2-timeline__period,
.lv2-timeline li.is-hint .lv2-timeline__org { color: #F5B73D; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; }

/* ── Fähigkeiten & Tools ────────────────────────────────────── */
.lv2-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lv2-panel { display: flex; flex-direction: column; gap: 16px; padding: 28px 30px; border-radius: 18px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); }
.lv2 .lv2-panel__title { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: #6B6B8A; }
.lv2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv2-chips li { font-size: 14px; color: #C9C9DC; padding: 6px 12px; border-radius: 999px; background: rgba(0, 212, 255, .08); }
.lv2-tools-head { display: flex; justify-content: space-between; align-items: baseline; margin: 48px 0 20px; }
.lv2-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.lv2-toolgroup { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); }
.lv2-toolgroup ul { display: flex; flex-direction: column; gap: 10px; }
.lv2-tool {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .02); border: 1px solid rgba(0, 212, 255, .10); color: #EEEEF5 !important;
}
a.lv2-tool:hover { border-color: rgba(0, 212, 255, .35); background: rgba(0, 212, 255, .04); }
.lv2-tool__logo { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; overflow: hidden; }
.lv2-tool__img { width: 22px; height: 22px; object-fit: contain; }
.lv2-tool__abbr { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 13px; font-weight: 500; color: #EEEEF5; }
.lv2-tool__body { display: flex; flex-direction: column; gap: 1px; flex-grow: 1; min-width: 0; }
.lv2-tool__name { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 16px; font-weight: 600; }
.lv2-tool__desc { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; color: #6B6B8A; overflow-wrap: anywhere; }
.lv2-tool .lv2-ico { color: #6B6B8A; }
.lv2-tool--add { background: none; border: 1px dashed rgba(245, 183, 61, .45); color: #F5B73D !important; }
.lv2-tool--add .lv2-tool__logo { border: 1px dashed rgba(245, 183, 61, .45); }
.lv2-tool--add .lv2-tool__desc, .lv2-tool--add .lv2-ico { color: #B98A2E; }
a.lv2-tool--add:hover { border-color: #F5B73D; background: rgba(245, 183, 61, .05); }

/* ── Über mich ──────────────────────────────────────────────── */
.lv2-about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; padding: 64px; border-radius: 22px; background: linear-gradient(135deg, #0D0D1F 0%, #12122A 100%); border: 1px solid rgba(0, 212, 255, .12); }
.lv2-about__quote { grid-column: span 8; display: flex; flex-direction: column; gap: 20px; }
.lv2-about__quote blockquote { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: #EEEEF5; }
.lv2-about__facts { grid-column: span 4; display: flex; flex-direction: column; gap: 18px; }
.lv2-about__facts dt { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; text-transform: uppercase; color: #6B6B8A; }
.lv2-about__facts dd { margin-top: 4px; font-size: 16px; }

/* ── Kontakt ────────────────────────────────────────────────── */
.lv2-contact { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 144px; text-align: center; }
.lv2-contact .lv2-h2 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -.03em; }
.lv2-contact > p { font-size: 19px; color: #A3A3BF; max-width: 640px; }
.lv2-contact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 40px; text-align: left; }
.lv2-contact__item { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 14px; background: #0D0D1F; border: 1px solid rgba(0, 212, 255, .12); color: #EEEEF5 !important; }
a.lv2-contact__item:hover { border-color: rgba(0, 212, 255, .35); }
.lv2-contact__item small { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; text-transform: uppercase; color: #6B6B8A; }
.lv2-contact__item span { font-size: 17px; overflow-wrap: anywhere; }

/* ── Footer ─────────────────────────────────────────────────── */
.lv2-footer { margin-top: 120px; border-top: 1px solid rgba(0, 212, 255, .12); }
.lv2-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 44px; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 13px; color: #6B6B8A; }
.lv2-footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.lv2-footer a { color: #6B6B8A; }
.lv2-footer a:hover { color: #EEEEF5; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .lv2-nav { display: none; }
  .lv2-hero__text, .lv2-hero__card,
  .lv2-head__title, .lv2-head__intro,
  .lv2-ref-main, .lv2-ref-side,
  .lv2-career__head, .lv2-timeline,
  .lv2-deadline__date, .lv2-deadline__body,
  .lv2-about__quote, .lv2-about__facts { grid-column: 1 / -1; }
  .lv2-hero__card { max-width: 520px; }
  .lv2-live { left: 12px; top: 12px; }
  .lv2-cards, .lv2-panels, .lv2-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv2-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .lv2-header { top: 0; }
}

@media (max-width: 760px) {
  body.lv2 { font-size: 16px; }
  .lv2-section { padding-top: 88px; }
  .lv2-section--tight { padding-top: 64px; }
  .lv2-header__inner { height: 64px; }
  .lv2-brand__tag { display: none; }
  .lv2-hero { padding: 56px 0 64px; }
  .lv2-hero__photo { height: 400px; }
  .lv2-lead { font-size: 18px; }
  .lv2-facts, .lv2-cards, .lv2-panels, .lv2-tools, .lv2-contact__grid { grid-template-columns: minmax(0, 1fr); }
  .lv2-deadline, .lv2-about { padding: 32px 24px; }
  .lv2-ref, .lv2-ref-main .lv2-ref { padding: 26px 24px; }
  .lv2-ref-main__img { height: 220px; }
  .lv2-contact { padding-top: 96px; }
  .lv2-footer { margin-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lv2 a, .lv2-btn { transition: none; }
  .lv2-btn:hover { transform: none; }
}
