/* MietzScan – öffentliche Startseite */
body.landing { background: #ffffff; overflow-x: hidden; }
.landing .label { display: block; margin-bottom: .4rem; }

/* Navigation */
.l-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 5vw; position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(2,0,51,.06); }
.l-brand img { height: 52px; display: block; }
.l-nav nav { display: flex; gap: 1.4rem; align-items: center; }
.l-nav nav a { color: var(--navy); font-weight: 600; font-size: .92rem; }
.l-nav nav a:hover { text-decoration: none; color: var(--teal); }
.l-nav nav a.btn { color: #fff; }
@media (max-width: 720px) { .l-nav nav a:not(.btn) { display: none; } .l-brand img { height: 40px; } }

/* Hero */
.l-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 5rem 5vw 4rem; max-width: 1280px; margin: 0 auto; }
.l-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; }
.l-hero h1 .grad { font-size: inherit; }
.l-lead { font-size: 1.08rem; color: #3b3b55; max-width: 560px; margin: 1.2rem 0 1.6rem; }
.l-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.l-stats { display: flex; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.l-stats div { display: flex; flex-direction: column; }
.l-stats b { font-size: 1.9rem; font-weight: 900; color: var(--navy); line-height: 1; }
.l-stats span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-top: .3rem; }
@media (max-width: 900px) { .l-hero { grid-template-columns: 1fr; padding-top: 3rem; } }

/* Demo-Browser */
.l-hero-demo { position: relative; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.browser { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(2,0,51,.14), 0 2px 6px rgba(2,0,51,.06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: #f1efe8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d6cc; }
.browser-bar .url { margin-left: .6rem; flex: 1; background: #fff; border-radius: 8px; padding: .3rem .7rem; font-family: var(--mono); font-size: .74rem; color: var(--navy); min-height: 1.4rem; }
.caret { display: inline-block; width: 2px; height: .9em; background: var(--teal); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.browser-body { position: relative; padding: 1.3rem 1.3rem 5rem; min-height: 320px; overflow: hidden; }
.sk { background: #ecebe4; border-radius: 6px; }
.sk-h { height: 22px; width: 55%; margin-bottom: 1rem; background: linear-gradient(90deg, #dcd9cf, #ecebe4); }
.sk-t { height: 10px; width: 90%; margin-bottom: .55rem; } .sk-t.short { width: 62%; margin-bottom: 1.1rem; }
.sk-row { display: flex; gap: .7rem; margin-bottom: 1.1rem; }
.sk-box { flex: 1; height: 64px; border-radius: 10px; }
.beam { position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: linear-gradient(180deg, rgba(54,208,166,0), rgba(54,208,166,.35) 60%, rgba(54,208,166,.9)); box-shadow: 0 2px 14px rgba(54,208,166,.6); animation: beam 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes beam { 0% { top: -40px } 45% { top: 100% } 50% { top: 100%; opacity: 1 } 51% { opacity: 0 } 100% { top: -40px; opacity: 0 } }
.tag { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .7rem .32rem .35rem; font-size: .78rem; font-weight: 600; color: var(--navy); box-shadow: 0 8px 20px rgba(2,0,51,.12); display: flex; align-items: center; gap: .45rem; opacity: 0; transform: translateY(8px) scale(.96); animation: pop 9s ease-in-out infinite; }
.tag .dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 900; }
.tag .dot.ok { background: var(--good); } .tag .dot.warn { background: var(--mid); } .tag .dot.fail { background: var(--bad); }
.t1 { right: 1rem; top: 1.2rem; animation-delay: .6s; } .t2 { left: 1rem; top: 6.2rem; animation-delay: 2.2s; } .t3 { right: 2rem; top: 9.6rem; animation-delay: 3.6s; } .t4 { right: 1.2rem; bottom: 4.6rem; animation-delay: 5s; } .t5 { right: 5rem; bottom: 1.4rem; animation-delay: 6.4s; }
@keyframes pop { 0%, 8% { opacity: 0; transform: translateY(8px) scale(.96) } 14%, 60% { opacity: 1; transform: translateY(0) scale(1) } 68%, 100% { opacity: 0; transform: translateY(-6px) scale(.98) } }
.score-card { position: absolute; left: -2rem; bottom: -2.6rem; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(2,0,51,.16); padding: 1rem 1.3rem 1rem 1rem; display: flex; gap: 1rem; align-items: center; width: min(340px, 90%); }
.score-card .score-ring { width: 96px; height: 96px; flex: 0 0 96px; }
.score-card .score-ring::before { inset: 10px; }
.score-card .num { font-size: 1.8rem; }
.score-word { font-weight: 900; color: var(--navy); font-size: 1.1rem; margin-bottom: .4rem; }
.mini-bars > div { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; margin-bottom: .25rem; }
.mini-bars span { width: 56px; color: var(--muted); }
.mini-bars .bar { flex: 1; height: 7px; } .mini-bars .bar i { width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 900px) { .score-card { position: static; margin: 1rem auto 0; width: 100%; } .l-hero-demo { animation: none; } }

/* Sections */
.l-section { padding: 4.5rem 5vw; max-width: 1280px; margin: 0 auto; }
.l-hero { background: radial-gradient(circle at 15% 20%, #e3f6ef 0, transparent 45%); }
#checks { background: var(--cream); max-width: none; } #checks > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
#ablauf { background: #fff; }
#report { background: var(--cream); max-width: none; } #report > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.l-head { max-width: 640px; margin-bottom: 2.4rem; }
.l-head h2, .l-split h2, .l-final h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; }
.l-head p, .l-split p { color: #3b3b55; font-size: 1.02rem; }
.l-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.l-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.l-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(2,0,51,.1); }
.l-card h3 { margin-top: .6rem; font-size: 1.05rem; }
.l-card p { color: var(--muted); font-size: .9rem; margin: .4rem 0 0; }
.l-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; }

.l-dark { max-width: none; background: var(--navy); color: #fff; }
.l-dark .l-split { max-width: 1180px; margin: 0 auto; }
.l-dark h2 { color: #fff; } .l-dark p { color: #c4c4da; } .l-dark .label { color: var(--mint); }
.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .l-split { grid-template-columns: 1fr; } }
.l-chat { background: #0d0d45; border-radius: 20px; padding: 1.4rem; font-size: .95rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.l-chat .q { background: #1a1a5a; border-radius: 14px 14px 4px 14px; padding: .7rem 1rem; margin-left: 20%; margin-bottom: .9rem; }
.l-chat .a { background: #fff; color: var(--ink); border-radius: 14px 14px 14px 4px; padding: .8rem 1rem; margin-right: 12%; line-height: 1.5; }
.l-chat .hl { background: linear-gradient(transparent 55%, rgba(54,208,166,.5) 55%); }
.l-chat .src { font-family: var(--mono); font-size: .68rem; color: #8a8ab0; margin-top: .7rem; letter-spacing: .06em; }
.l-chat .src span:first-child { color: var(--mint); text-transform: uppercase; margin-right: .4rem; }

.l-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.l-step { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.l-step b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--mint); font-weight: 900; margin-bottom: .8rem; }
.l-step p { color: var(--muted); font-size: .92rem; margin: .3rem 0 0; }

.l-report { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(2,0,51,.14); padding: 1.4rem; transform: rotate(-1.5deg); }
.l-report-head { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: .9rem; }
.l-report-head img { width: 42px; } .l-report-head strong { color: var(--navy); font-size: 1.05rem; }
.l-report-head .badge { margin-left: auto; font-size: .95rem; padding: .35rem .8rem; }
.l-report-prio { background: var(--navy); color: #fff; border-radius: 14px; padding: 1rem 1.1rem; }
.l-report-prio .label { color: var(--mint); }
.l-report-prio > div { display: flex; gap: .6rem; align-items: baseline; font-weight: 600; font-size: .9rem; padding: .35rem 0; }
.l-report-prio b { flex: 0 0 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--mint); color: var(--navy); display: inline-grid; place-items: center; font-size: .75rem; }
.l-report-prio em { display: block; font-style: normal; font-weight: 400; color: #b9b9d0; font-size: .8rem; }
.l-report-foot { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; text-align: center; }
.l-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.l-list li { padding: .4rem 0 .4rem 1.8rem; position: relative; font-weight: 600; color: var(--navy); }
.l-list li::before { content: '✓'; position: absolute; left: 0; top: .35rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--good); color: #fff; font-size: .7rem; display: grid; place-items: center; }

.l-final-box { background: var(--navy); color: #fff; border-radius: 24px; padding: 2.6rem; display: flex; gap: 2rem; align-items: center; }
.l-final-box img { width: 90px; flex: 0 0 90px; }
.l-final-box h2 { color: #fff; } .l-final-box p { color: #c4c4da; max-width: 560px; } .l-final-box .label { color: var(--mint); }
.l-final-box .btn { margin: .4rem .5rem 0 0; }
@media (max-width: 720px) { .l-final-box { flex-direction: column; text-align: center; } }

.l-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 5vw 2.4rem; font-size: .82rem; color: var(--muted); max-width: 1280px; margin: 0 auto; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .beam, .tag, .l-hero-demo, .caret { animation: none !important; } .tag { opacity: 1; } }
