/*
 * landing.css — SafeScreen Landing Page
 * Alle Styles für landing.blade.php.
 * Keine inline styles im Blade, kein <style>-Tag im Blade.
 */

/* ── Animationen ─────────────────────────────────────────────────────────── */
@keyframes ss-bounce  { 0%,100%{transform:translateY(0)}  50%{transform:translateY(6px)} }
@keyframes hero-glow  { 0%,100%{opacity:.6} 50%{opacity:1} }
@keyframes hint-fade  { 0%,100%{opacity:.4;transform:translateX(-50%) translateY(0)} 50%{opacity:.8;transform:translateX(-50%) translateY(4px)} }
@keyframes l-reveal-in { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }

/* ── Layout-Reset: Landing Page entfernt globales py-8 + flex-1 auf main ── */
/* Tailwind v4 hat hohe Spezifität — wir brauchen längere Selektoren         */

html body footer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1f1f23 25%, #1f1f23 75%, transparent);
}


/* ── Scroll-Reveal ───────────────────────────────────────────────────────── */
.l-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.l-reveal.visible  { opacity: 1; transform: none; }
.l-reveal-left {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.l-reveal-left.visible { opacity: 1; transform: none; }

/* ── Gradient-Trennlinie ─────────────────────────────────────────────────── */
.l-fade-sep {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, #27272a 30%, #27272a 70%, transparent);
    margin: 0;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.l-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    overflow: hidden;
}
.l-hero::before {
    content: '';
    position: absolute;
    /* top:-4rem damit Glow auch hinter Navbar sichtbar ist */
    top: -4rem;
    left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(124,58,237,.22) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(52,211,153,.06) 0%, transparent 60%),
        radial-gradient(ellipse 30% 20% at 80% 70%, rgba(147,197,253,.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: hero-glow 4s ease infinite;
}
.l-hero > * { position: relative; z-index: 1; }

.l-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #52525b;
    background: rgba(124,58,237,.08);
    border: 1px solid rgba(124,58,237,.15);
    padding: .3rem .875rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}
.l-eyebrow span { color: #3f3f46; margin: 0 0.15rem; }

.l-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
    color: #f4f4f5;
    margin: 0 0 .25em;
}
.l-title-outline {
    -webkit-text-stroke: 2px rgba(167,139,250,.6);
    color: transparent;
    display: block;
}
.l-quote {
    font-family: ui-monospace, monospace;
    font-size: clamp(.78rem, 1.4vw, .88rem);
    font-style: italic;
    color: #3f3f46;
    margin: 1.5rem 0 1.25rem;
}
.l-quote em { color: #f59e0b; font-style: normal; }

.l-sub {
    font-size: clamp(.9rem, 1.8vw, 1.05rem);
    color: #71717a;
    max-width: 34rem;
    line-height: 1.7;
    margin: 0 auto 2.5rem;
}

.l-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .875rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.l-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(124,58,237,.4), 0 8px 32px rgba(124,58,237,.25);
    transition: box-shadow .2s, transform .15s;
}
.l-btn-primary:hover {
    box-shadow: 0 0 0 1px rgba(167,139,250,.5), 0 12px 40px rgba(124,58,237,.35);
    transform: translateY(-1px);
}

.l-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .75rem 1.5rem;
    border-radius: 0.75rem;
    color: #71717a;
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s;
}
.l-btn-ghost:hover { color: #a1a1aa; }

.l-trust { display: flex; align-items: center; justify-content: center; gap: .375rem; flex-wrap: wrap; }
.l-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    border-radius: 0.75rem;
    font-size: .7rem;
    font-weight: 500;
    color: #52525b;
    border: 1px solid #27272a;
    background: rgba(9,9,11,.6);
}

.l-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #27272a;
    text-decoration: none;
    animation: hint-fade 3s ease-in-out infinite;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.l-section        { padding: 7rem 1.5rem; position: relative; }
.l-section-inner  { max-width: var(--cw, 64rem); margin: 0 auto; }

.l-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #52525b;
    margin: 0 0 1rem;
}
.l-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #f4f4f5;
    margin: 0 0 .75rem;
    line-height: 1.1;
}
.l-section-sub {
    font-size: .95rem;
    color: #71717a;
    line-height: 1.65;
    max-width: 38rem;
}

/* ── Feature-Zeilen ──────────────────────────────────────────────────────── */
.l-feat-row { display: flex; align-items: flex-start; gap: 2.5rem; padding: 2.5rem 0; position: relative; }
.l-feat-row + .l-feat-row { border-top: 1px solid rgba(39,39,42,.5); }
.l-feat-row:last-child { padding-bottom: 0; }
.l-feat-icon-wrap {
    width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: .1rem;
}
.l-feat-content { flex: 1; min-width: 0; }
.l-feat-title { font-size: 1.05rem; font-weight: 700; color: #e4e4e7; margin: 0 0 .375rem; }
.l-feat-body  { font-size: .875rem; color: #71717a; line-height: 1.7; margin: 0; }
.l-feat-tag {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .62rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: #52525b; margin-top: .625rem;
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.l-stats {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
    border: 1px solid #1f1f23; border-radius: 1rem; overflow: hidden; margin-top: 5rem;
}
.l-stat { padding: 2rem 1.5rem; text-align: center; }
.l-stat + .l-stat { border-left: 1px solid #1f1f23; }
.l-stat-num {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900; letter-spacing: -.04em; color: #f4f4f5;
    display: block; margin-bottom: .25rem;
}
.l-stat-label { font-size: .78rem; color: #52525b; }

/* ── KI-Grid ─────────────────────────────────────────────────────────────── */
.l-ki-grid { display: grid; grid-template-columns: 1fr 1fr; }
.l-ki-item { padding: 2rem 1.75rem; transition: background .2s; }
.l-ki-item:hover { background: rgba(255,255,255,.015); }
.l-ki-item:nth-child(odd)  { border-right: 1px solid #1f1f23; }
.l-ki-item:nth-child(n+3)  { border-top: 1px solid #1f1f23; }
.l-ki-num  { display: none; }
.l-ki-icon { width: 2rem; height: 2rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: .875rem; }
.l-ki-title { font-size: .9rem; font-weight: 700; color: #d4d4d8; margin: 0 0 .375rem; }
.l-ki-body  { font-size: .8rem; color: #52525b; line-height: 1.65; margin: 0; }
.l-ki-item--full {
    grid-column: span 2; border-right: none !important;
    border-top: 1px solid #1f1f23; display: flex; align-items: center; gap: 1.5rem;
}

/* ── Vergleich ───────────────────────────────────────────────────────────── */
.l-compare { width: 100%; }
.l-compare-head {
    display: grid; grid-template-columns: 1fr 6rem 6rem;
    padding: 0 0 1rem; border-bottom: 1px solid #27272a;
}
.l-compare-head-label {
    font-size: .7rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: #3f3f46; text-align: center;
}
.l-compare-head-label--safe { color: #7c3aed; }
.l-compare-row {
    display: grid; grid-template-columns: 1fr 6rem 6rem;
    align-items: center; padding: 1.125rem 0;
    border-bottom: 1px solid rgba(39,39,42,.4);
    transition: background .15s;
}
/* Kein Hover auf Vergleichstabelle */
.l-compare-row:last-child { border-bottom: none; }
.l-compare-feat { padding-right: 1.5rem; }
.l-compare-feat-name { font-size: .875rem; font-weight: 500; color: #a1a1aa; margin: 0 0 .15rem; }
.l-compare-feat-sub  { font-size: .72rem; color: #3f3f46; }
.l-compare-cell { text-align: center; }
.l-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.5rem; height: 1.5rem; border-radius: 0.375rem;
    background: rgba(52,211,153,.12); color: #34d399;
}
.l-cross {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.5rem; height: 1.5rem; border-radius: 0.375rem;
    background: rgba(248,113,113,.1); color: #f87171;
}
.l-dash { color: #27272a; font-size: 1rem; }

/* ── Abschluss-CTA ───────────────────────────────────────────────────────── */
.l-cta-section {
    padding: 5rem 1.5rem 4rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.l-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124,58,237,.18) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(124,58,237,.06) 0%, transparent 70%);
    pointer-events: none;
}
.l-cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900; letter-spacing: -.04em; color: #f4f4f5;
    margin: 0 0 1rem; line-height: 1.05; position: relative; z-index: 1;
}
.l-cta-sub {
    font-size: 1rem; color: #52525b; margin: 0 auto 2.5rem;
    max-width: 28rem; line-height: 1.6; position: relative; z-index: 1;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
/* ── Tablet (max 900px) ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .l-section { padding: 5rem 1.25rem; }
    .l-ki-header { flex-direction: column; gap: 1rem; }
    .l-stats { grid-template-columns: repeat(3,1fr); }
    .l-compare-head { grid-template-columns: 1fr 5rem 5rem; }
    .l-compare-row  { grid-template-columns: 1fr 5rem 5rem; }
}

/* ── Mobil (max 640px) ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    /* Hero */
    .l-hero { padding: 1.5rem 1.25rem 3rem; min-height: 100svh; }
    .l-title { font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1; }
    .l-sub   { font-size: .9rem; }
    .l-cta-group { flex-direction: column; align-items: center; gap: .625rem; }
    .l-btn-primary, .l-btn-ghost { width: 100%; justify-content: center; max-width: 18rem; }
    .l-trust { gap: .25rem; }
    .l-eyebrow { font-size: .6rem; padding: .25rem .625rem; }
    .l-scroll-hint { display: none; }

    /* Sections */
    .l-section { padding: 3.5rem 1.25rem; }
    .l-section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
    .l-section-sub { font-size: .875rem; }

    /* Features */
    .l-feat-row { flex-direction: column; gap: .875rem; padding: 1.75rem 0; }
    .l-feat-icon-wrap { width: 2.25rem; height: 2.25rem; }
    .l-feat-title { font-size: .95rem; }
    .l-feat-body  { font-size: .825rem; }
    .l-feat-tag   { display: none; }

    /* Stats */
    .l-stats { grid-template-columns: 1fr; border-radius: 0.75rem; margin-top: 3rem; }
    .l-stat + .l-stat { border-left: none; border-top: 1px solid #1f1f23; }
    .l-stat { padding: 1.5rem 1.25rem; }

    /* KI-Grid */
    .l-ki-grid  { grid-template-columns: 1fr; }
    .l-ki-item  { padding: 1.5rem 1.25rem; }
    .l-ki-item:nth-child(odd)  { border-right: none; }
    .l-ki-item:nth-child(n+2)  { border-top: 1px solid #1f1f23; }
    .l-ki-item--full { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 1rem; }
    .l-ki-header { flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
    .l-ki-title  { font-size: .85rem; }
    .l-ki-body   { font-size: .78rem; }

    /* Vergleich */
    .l-compare-head { grid-template-columns: 1fr 3.5rem 3.5rem; padding-bottom: .75rem; }
    .l-compare-row  { grid-template-columns: 1fr 3.5rem 3.5rem; padding: .875rem 0; }
    .l-compare-feat-name { font-size: .78rem; }
    .l-compare-feat-sub  { display: none; }
    .l-compare-head-label { font-size: .6rem; }
    .l-check, .l-cross    { width: 1.25rem; height: 1.25rem; }

    /* CTA */
    .l-cta-section { padding: 4rem 1.25rem 4rem; }
    .l-cta-title   { font-size: clamp(1.875rem, 8vw, 2.5rem); }
    .l-cta-sub     { font-size: .875rem; }
}

/* ── Sehr kleine Geräte (max 380px) ────────────────────────────────────── */
@media (max-width: 380px) {
    .l-title { font-size: 2.25rem; }
    .l-trust-pill { font-size: .62rem; padding: .2rem .5rem; }
    .l-section { padding: 3rem 1rem; }
    .l-ki-item { padding: 1.25rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .l-hero::before, .l-scroll-hint { animation: none; }
    .l-reveal, .l-reveal-left { opacity: 1; transform: none; transition: none; }
}

/* ── Icon-Farben (Feature-Rows) ─────────────────────────────────────────── */
.l-icon--violet { background: rgba(124,58,237,.12); border: 1px solid rgba(167,139,250,.15); }
.l-icon--green  { background: rgba(6,78,59,.12);    border: 1px solid rgba(52,211,153,.15); }
.l-icon--amber  { background: rgba(120,53,15,.12);  border: 1px solid rgba(245,158,11,.15); }
.l-icon--cyan   { background: rgba(8,145,178,.12);  border: 1px solid rgba(34,211,238,.15); }
.l-icon--blue   { background: rgba(29,78,216,.12);  border: 1px solid rgba(147,197,253,.15); }
.l-icon--red    { background: rgba(127,29,29,.12);  border: 1px solid rgba(248,113,113,.15); }

/* ── KI-Section Header Layout ────────────────────────────────────────────── */
.l-ki-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.l-ki-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: .875rem;
}
.l-ki-border { border: 1px solid #1f1f23; border-radius: 1rem; overflow: hidden; }

/* ── KI-Hinweis Box ──────────────────────────────────────────────────────── */
.l-ki-note {
    font-size: .72rem;
    color: #3f3f46;
    margin: 1.5rem 0 0;
    text-align: center;
    line-height: 1.6;
}
.l-ki-note strong { color: #52525b; }
.l-ki-note a { color: #52525b; text-decoration: underline; text-underline-offset: 2px; }

/* ── CTA-Section Inhalts-Wrapper ─────────────────────────────────────────── */
.l-cta-inner { position: relative; z-index: 1; }

.l-btn-primary--lg { font-size: .95rem; padding: .875rem 2rem; }

.l-cta-note { font-size: .7rem; color: #3f3f46; margin: 1.5rem 0 0; letter-spacing: .04em; position: relative; z-index: 1; }

.l-sub-strong { color: #a1a1aa; font-weight: 500; }

/* ── Navbar: Landing Page — vollständig in Hero-Glow integriert ─────────── */
body.page-landing nav {
    background: rgba(9,9,11,0.15) !important;
    border-bottom: 1px solid rgba(124,58,237,0.08) !important;
    backdrop-filter: blur(24px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
    transition: background 0.4s ease, border-color 0.4s ease !important;
}
/* Beim Scrollen: Navbar wird undurchsichtiger aber behält Glas-Charakter */
body.page-landing nav.scrolled {
    background: rgba(9,9,11,0.65) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Tap-Feedback für Touch-Geräte */
.l-btn-primary:active { transform: scale(0.97) translateY(0); }
.l-btn-ghost:active { transform: scale(0.97); }
