/* ============================================================
   Appzentrum – Homepage v2 (nur Startseite)
   Eigenständiges Stylesheet: keine Bootstrap-/Swiper-Abhängigkeit
   ============================================================ */
:root{
    --hp-bg:#f5f7fb;
    --hp-card:#ffffff;
    --hp-ink:#0f172a;
    --hp-ink-2:#1f2a44;
    --hp-muted:#667085;
    --hp-line:#e5e9f0;
    --hp-navy:#0b1220;
    --hp-navy-2:#13233f;
    --hp-accent:#ff8a00;
    --hp-accent-2:#ffb020;
    --hp-green:#12b76a;
    --hp-blue:#2e90fa;
    --hp-red:#f04438;
    --hp-radius:16px;
    --hp-shadow:0 10px 30px rgba(15,23,42,.08);
    --hp-shadow-sm:0 2px 8px rgba(15,23,42,.06);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
    margin:0;
    background:var(--hp-bg);
    color:var(--hp-ink);
    font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
    font-size:15px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol,h1,h2,h3,h4,p{margin:0;padding:0}
li{list-style:none}
button,input{font:inherit}
:focus-visible{outline:3px solid rgba(255,138,0,.45);outline-offset:2px}
.hp-container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
.is-hidden{display:none !important}

/* ---------------- Header ---------------- */
.hp-topbar{background:var(--hp-navy);color:#cbd5e1;font-size:13px}
.hp-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:16px}
.hp-topbar-links{display:flex;align-items:center;gap:18px}
.hp-topbar-links a{color:#cbd5e1;transition:color .2s}
.hp-topbar-links a:hover{color:#fff}
.hp-topbar-cta{color:#0b1220 !important;background:linear-gradient(135deg,var(--hp-accent),var(--hp-accent-2));padding:4px 12px;border-radius:999px;font-weight:600}
.hp-navbar{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--hp-line);box-shadow:var(--hp-shadow-sm)}
.hp-navbar-inner{position:relative;display:flex;align-items:center;gap:28px;min-height:66px}
.hp-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.hp-logo-mark{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--hp-accent),var(--hp-accent-2));box-shadow:0 6px 14px rgba(255,138,0,.35)}
.hp-logo-text{display:flex;flex-direction:column;font-size:19px;font-weight:800;letter-spacing:-.2px;line-height:1.05;color:var(--hp-ink)}
.hp-logo-text small{font-size:11px;font-weight:600;color:var(--hp-muted);letter-spacing:.4px;text-transform:uppercase}
.hp-nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.hp-nav>a,.hp-dd>summary{
    position:relative;display:inline-flex;align-items:center;gap:6px;
    padding:9px 12px;border-radius:10px;font-weight:600;font-size:14px;color:var(--hp-ink-2);
    cursor:pointer;transition:background .2s,color .2s;list-style:none;
}
.hp-nav>a:hover,.hp-dd>summary:hover{background:#f3f5f9;color:#000}
.hp-nav>a.is-active{color:var(--hp-accent)}
.hp-nav>a.is-active::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--hp-accent)}
.hp-nav em{font-style:normal;font-size:11px;font-weight:700;color:var(--hp-muted);background:#f1f4f9;border-radius:999px;padding:1px 7px}
.hp-dd>summary::-webkit-details-marker{display:none}
.hp-dd>summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:2px}
.hp-dd[open]>summary{background:#f3f5f9}
.hp-dd[open]>summary::after{transform:rotate(-135deg) translateY(-1px)}
.hp-mega{
    position:absolute;right:0;top:calc(100% + 16px);z-index:60;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;
    width:min(920px,78vw);padding:24px;background:#fff;border:1px solid var(--hp-line);
    border-radius:var(--hp-radius);box-shadow:var(--hp-shadow);
}
.hp-mega-col h4{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:10px}
.hp-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8}
.hp-dot-android{background:var(--hp-green)}
.hp-dot-windows{background:var(--hp-blue)}
.hp-dot-mac{background:#64748b}
.hp-mega-col a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;border-radius:8px;font-size:13px;color:var(--hp-muted)}
.hp-mega-col a:hover{background:#f5f7fb;color:var(--hp-ink)}
.hp-mega-col a span{font-size:11px;color:#98a2b3}
.hp-menu-btn{display:none;margin-left:auto;width:42px;height:42px;border:1px solid var(--hp-line);border-radius:11px;background:#fff;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.hp-menu-btn span{display:block;width:18px;height:2px;border-radius:2px;background:var(--hp-ink)}

/* ---------------- Hero ---------------- */
.hp-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(125deg,#0b1220 0%,#12233d 55%,#1b3a63 100%)}
.hp-hero-glow{position:absolute;border-radius:50%;filter:blur(10px);pointer-events:none}
.hp-glow-a{width:520px;height:520px;right:-140px;top:-220px;background:radial-gradient(circle,rgba(255,138,0,.35),rgba(255,138,0,0) 65%)}
.hp-glow-b{width:420px;height:420px;left:-160px;bottom:-220px;background:radial-gradient(circle,rgba(46,144,250,.28),rgba(46,144,250,0) 68%)}
.hp-hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:center;padding-top:64px;padding-bottom:68px}
.hp-hero-copy{min-width:0}
.hp-eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;color:#cbd5e1;letter-spacing:.2px}
.hp-pill{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:2px 10px;border-radius:999px}
.hp-hero h1{font-size:clamp(30px,3.6vw,46px);line-height:1.12;letter-spacing:-.8px;margin:16px 0 14px;font-weight:800}
.hp-hero h1 span{background:linear-gradient(90deg,var(--hp-accent-2),var(--hp-accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.hp-hero-sub{max-width:560px;color:#c8d2e1;font-size:16px}
.hp-search{position:relative;display:flex;align-items:center;margin-top:26px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 18px 40px rgba(2,8,20,.35)}
.hp-search-ico{display:grid;place-items:center;width:42px;height:42px;color:#98a2b3;flex:0 0 42px}
.hp-search input{flex:1 1 auto;min-width:0;border:0;outline:0;height:42px;font-size:15px;color:var(--hp-ink);background:transparent}
.hp-search input::placeholder{color:#98a2b3}
.hp-search button{border:0;cursor:pointer;height:42px;padding:0 22px;border-radius:10px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--hp-accent),var(--hp-accent-2));transition:filter .2s}
.hp-search button:hover{filter:brightness(1.06)}
.hp-search-hint{margin-top:10px;font-size:12px;color:#9fb0c7}
.hp-hero-stats{display:flex;flex-wrap:wrap;gap:14px}
.hp-plat-card{flex:1 1 100%;min-width:0;display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px);transition:transform .2s,background .2s}
.hp-plat-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.12)}
.hp-plat-letter{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:18px;color:#fff;background:#334155}
.hp-plat-android .hp-plat-letter{background:linear-gradient(135deg,#12b76a,#0e9f5d)}
.hp-plat-windows .hp-plat-letter{background:linear-gradient(135deg,#2e90fa,#1570ef)}
.hp-plat-mac .hp-plat-letter{background:linear-gradient(135deg,#475569,#1e293b)}
.hp-plat-info{display:flex;flex-direction:column;min-width:0}
.hp-plat-info b{font-size:15px}
.hp-plat-info em{font-style:normal;font-size:12px;color:#b9c6d8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-plat-go{margin-left:auto;color:#94a3b8;font-size:22px;line-height:1}
.hp-total-card{flex:1 1 100%;padding:18px 20px;border-radius:14px;background:linear-gradient(135deg,rgba(255,138,0,.22),rgba(255,176,32,.08));border:1px solid rgba(255,176,32,.35);display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px}
.hp-total-card b{font-size:30px;line-height:1;letter-spacing:-1px;color:#ffd08a}
.hp-total-card span{font-weight:700}
.hp-total-card em{grid-column:1 / -1;font-style:normal;font-size:12px;color:#e2c9a2;margin-top:6px}

/* ---------------- Sections ---------------- */
.hp-section{padding:58px 0}
.hp-section-alt{background:#fff;border-top:1px solid var(--hp-line);border-bottom:1px solid var(--hp-line)}
.hp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.hp-section-head h2{font-size:26px;letter-spacing:-.4px}
.hp-section-head p{color:var(--hp-muted);font-size:14px;margin-top:4px}
.hp-link-all{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:var(--hp-accent);white-space:nowrap}
.hp-link-all:hover{gap:10px}
.hp-two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:26px;align-items:start}
.hp-two-col>*{min-width:0}

/* ---------------- Rangliste ---------------- */
.hp-rank-list{background:var(--hp-card);border:1px solid var(--hp-line);border-radius:var(--hp-radius);box-shadow:var(--hp-shadow-sm);padding:8px 20px}
.hp-rank-item{display:grid;grid-template-columns:34px 44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #eef1f6;min-width:0}
.hp-rank-item:last-child{border-bottom:0}
.hp-rank-no{font-weight:800;font-size:15px;color:#98a2b3;text-align:center}
.hp-rank-item:nth-child(1) .hp-rank-no{color:var(--hp-accent)}
.hp-rank-item:nth-child(2) .hp-rank-no{color:#475569}
.hp-rank-item:nth-child(3) .hp-rank-no{color:#b45309}
.hp-app-icon{position:relative;width:44px;height:44px;border-radius:12px;overflow:hidden;background:#eef2f7;display:grid;place-items:center;flex:0 0 44px}
.hp-app-letter{font-weight:800;font-size:18px;color:#9aa7ba}
.hp-app-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.hp-rank-main{min-width:0}
.hp-app-name{display:block;font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-app-name:hover{color:var(--hp-accent)}
.hp-app-meta{display:block;font-size:12px;color:var(--hp-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-rank-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0;font-size:12px;font-weight:600;color:var(--hp-muted)}
.hp-rank-stats i{font-style:normal;margin-right:4px;color:#98a2b3}
.hp-dl i{color:var(--hp-green)}
.hp-rating{color:#344054}
.hp-rating i{color:#f59e0b}
.hp-badge{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:700;font-style:normal;letter-spacing:.2px;background:#eef2f7;color:#475569}
.hp-badge-android{background:#e7f8f0;color:#087443}
.hp-badge-windows{background:#e8f2ff;color:#175cd3}
.hp-badge-mac{background:#eef2f7;color:#344054}
.hp-side{display:grid;gap:20px}
.hp-panel{background:var(--hp-card);border:1px solid var(--hp-line);border-radius:var(--hp-radius);box-shadow:var(--hp-shadow-sm);padding:20px}
.hp-panel h3{font-size:16px;margin-bottom:12px}
.hp-cat-list li+li{border-top:1px solid #eef1f6}
.hp-cat-list a{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:14px;font-weight:600}
.hp-cat-list a:hover .hp-cat-name{color:var(--hp-accent)}
.hp-cat-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-cat-list b{font-size:12px;color:var(--hp-muted);font-weight:700;min-width:38px;text-align:right}
.hp-panel-tip{background:linear-gradient(150deg,#0b1220,#16294a);color:#fff;border:0}
.hp-panel-tip h3{color:#fff}
.hp-panel-tip p{font-size:13px;color:#b9c6d8}
.hp-tip-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.hp-tip-stats div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:10px;text-align:center}
.hp-tip-stats b{display:block;font-size:18px;color:#ffd08a}
.hp-tip-stats span{font-size:11px;color:#b9c6d8}

/* ---------------- App-Karten ---------------- */
.hp-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hp-app-card{display:flex;gap:14px;padding:16px;background:var(--hp-card);border:1px solid var(--hp-line);border-radius:var(--hp-radius);box-shadow:var(--hp-shadow-sm);transition:transform .2s,box-shadow .2s,border-color .2s}
.hp-app-card:hover{transform:translateY(-3px);box-shadow:var(--hp-shadow);border-color:#d5dbe6}
.hp-card-icon{position:relative;width:56px;height:56px;flex:0 0 56px;border-radius:14px;overflow:hidden;background:#eef2f7;display:grid;place-items:center}
.hp-card-icon .hp-app-letter{font-size:22px}
.hp-card-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.hp-card-body{min-width:0;flex:1 1 auto}
.hp-card-name{display:block;font-weight:700;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-card-name:hover{color:var(--hp-accent)}
.hp-card-dev{margin-top:2px;font-size:12px;color:var(--hp-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-card-meta{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:12px}
.hp-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px;color:var(--hp-muted);font-weight:600}
.hp-card-foot i{font-style:normal;color:var(--hp-green);margin-right:3px}

/* ---------------- Plattform-Panels ---------------- */
.hp-plat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.hp-plat-panel{background:var(--hp-card);border:1px solid var(--hp-line);border-radius:var(--hp-radius);box-shadow:var(--hp-shadow-sm);padding:20px}
.hp-plat-head{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #eef1f6}
.hp-plat-letter-sm{width:38px;height:38px;flex:0 0 38px;font-size:16px;border-radius:11px;background:#334155}
.hp-plat-head-text{min-width:0}
.hp-plat-head-text h3{font-size:17px;line-height:1.2}
.hp-plat-head-text em{font-style:normal;font-size:12px;color:var(--hp-muted)}
.hp-plat-all{margin-left:auto;font-size:12px;font-weight:700;color:var(--hp-accent);white-space:nowrap}
.hp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 6px}
.hp-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;background:#f3f5f9;border:1px solid #e8ecf3;font-size:12.5px;font-weight:600;color:#344054;transition:background .2s,border-color .2s}
.hp-chip:hover{background:#fff5e6;border-color:#ffd9a3;color:#7a3e00}
.hp-chip span{font-size:11px;color:#98a2b3;font-weight:700}
.hp-plat-top{margin-top:18px}
.hp-plat-top h4{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#98a2b3;margin-bottom:8px}
.hp-mini-row{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px;font-weight:600}
.hp-mini-row:hover .hp-mini-name{color:var(--hp-accent)}
.hp-mini-letter{width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#eef2f7;display:grid;place-items:center;font-size:13px;color:#9aa7ba}
.hp-mini-row img{width:30px;height:30px;flex:0 0 30px;object-fit:contain;border-radius:8px;background:#fff;margin-left:-40px;position:relative;z-index:1}
.hp-mini-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-mini-dl{font-size:11.5px;color:var(--hp-muted);font-weight:600;white-space:nowrap}
.hp-mini-dl i{font-style:normal;color:var(--hp-green);margin-right:3px}

/* ---------------- Footer ---------------- */
.hp-footer{background:var(--hp-navy);color:#b9c6d8;padding:56px 0 26px;font-size:13.5px}
.hp-footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:34px}
.hp-footer h4{color:#fff;font-size:14px;margin-bottom:12px;letter-spacing:.2px}
.hp-footer-h4-gap{margin-top:20px}
.hp-footer ul{display:grid;gap:8px}
.hp-footer ul a{color:#b9c6d8;transition:color .2s}
.hp-footer ul a:hover{color:#fff}
.hp-logo-footer{color:#fff;margin-bottom:14px}
.hp-logo-footer .hp-logo-text{color:#fff}
.hp-logo-footer .hp-logo-text small{color:#8ea1bd}
.hp-footer-brand p{max-width:340px;color:#9fb0c7}
.hp-footer-stats{margin-top:14px;color:#cbd5e1}
.hp-footer-stats b{color:#ffd08a}
.hp-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:38px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#8ea1bd}

/* ---------------- Responsive ---------------- */
@media (max-width:1100px){
    .hp-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .hp-plat-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:960px){
    .hp-hero-inner{grid-template-columns:1fr;gap:34px;padding-top:46px;padding-bottom:50px}
    .hp-hero-stats{max-width:640px}
    .hp-two-col{grid-template-columns:1fr}
    .hp-nav{display:none;position:absolute;left:-20px;right:-20px;top:100%;background:#fff;border-bottom:1px solid var(--hp-line);box-shadow:var(--hp-shadow);flex-direction:column;align-items:stretch;gap:2px;padding:12px 20px 18px}
    .hp-nav.is-open{display:flex}
    .hp-nav>a,.hp-dd>summary{width:100%;justify-content:space-between;padding:12px 10px;font-size:15px}
    .hp-nav>a.is-active::after{display:none}
    .hp-menu-btn{display:inline-flex}
    .hp-mega{position:static;width:auto;display:none;grid-template-columns:1fr;gap:14px;border:0;box-shadow:none;padding:8px 0 4px;background:transparent}
    .hp-dd[open] .hp-mega{display:grid}
    .hp-plat-grid{grid-template-columns:1fr}
    .hp-footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
    .hp-topbar-note{display:none}
    .hp-topbar-inner{justify-content:flex-end}
    .hp-rank-stats .hp-badge{margin-left:0}
    .hp-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hp-section{padding:44px 0}
    .hp-section-head{flex-direction:column;align-items:flex-start;gap:8px}
    .hp-rank-list{padding:6px 14px}
    .hp-rank-item{grid-template-columns:26px 40px minmax(0,1fr)}
    .hp-rank-item .hp-rank-stats{grid-column:2 / -1;justify-content:flex-start;gap:12px;padding-left:2px}
    .hp-rank-stats .hp-badge{margin-left:auto}
    .hp-app-icon{width:40px;height:40px;flex-basis:40px}
    .hp-plat-card{flex-basis:100%}
    .hp-footer-grid{grid-template-columns:1fr}
    .hp-footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width:520px){
    .hp-app-grid{grid-template-columns:1fr}
    .hp-hero h1{letter-spacing:-.4px}
    .hp-search{flex-wrap:wrap}
    .hp-search input{flex-basis:calc(100% - 60px)}
    .hp-search button{width:100%;margin-top:6px}
    .hp-logo-text{font-size:17px}
    .hp-logo-text small{display:none}
}
@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
    .hp-plat-card:hover,.hp-app-card:hover{transform:none}
}
