/* Handy-Startseite Fassung 5 (Vorbild-Prinzipien aus dem Teardown amboss.com/de, 21.10.2026)
   Alles unter .m5, damit es neben der Live-Seite stehen kann. Nur Navy #0b1c3d und Weiß als Flächen.
   Live: index.html zeigt .m5 bis 767 px und blendet dort Kopf, main und Fuß der Desktop-Seite aus. */
.m5{--navy:#0b1c3d;--navy2:#13284f;--blau:#0071e3;--hell:#2b8aff;--text:#0b1c3d;--grau:#5a6478;--linie:#e3e7ee;--r:22px;font-family:Inter,system-ui,sans-serif;color:var(--text);background:#fff;line-height:1.5;-webkit-text-size-adjust:100%}
.m5 *,.m5 *::before,.m5 *::after{box-sizing:border-box}
.m5 img{display:block;max-width:100%;height:auto}
.m5 a{color:inherit}
.m5 ul{list-style:none;margin:0;padding:0}
.m5 p{margin:0}
.m5 section{padding:0;margin:0}
.m5 .wrap{padding:0 20px}
.m5 .kick{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blau);margin:0 0 10px}
.m5 .navy .kick{color:var(--hell)}
.m5 h1,.m5 h2,.m5 h3,.m5 .h5-h1{margin:0;letter-spacing:-.02em;line-height:1.15;font-weight:700;color:inherit!important;font-family:inherit;text-transform:none}
.m5 h2{font-size:30px}
/* Kopfzeile: nur Logo, ein Knopf, Menü */
.m5 .h5-head{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--linie)}
.m5 .h5-logo{margin-right:auto}
.m5 .h5-logo img{width:118px}
.m5 .h5-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #cdd4df;border-radius:12px;font-size:15px;font-weight:600;text-decoration:none}
.m5 .h5-menu>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;cursor:pointer}
.m5 .h5-menu>summary::-webkit-details-marker{display:none}
.m5 .h5-menu svg{width:26px;height:26px;stroke:var(--navy);stroke-width:2;fill:none;stroke-linecap:round}
.m5 .h5-menu .zu{display:none}
.m5 .h5-menu[open] .auf{display:none}
.m5 .h5-menu[open] .zu{display:block}
.m5 .h5-panel{position:fixed;inset:65px 0 0;background:#fff;overflow:auto;padding:8px 20px 40px}
.m5 .h5-panel a{display:flex;justify-content:space-between;align-items:center;min-height:56px;border-bottom:1px solid var(--linie);font-size:19px;font-weight:600;text-decoration:none}
.m5 .h5-panel a::after{content:"→";color:var(--blau)}
.m5 .h5-panel .klein{font-size:15px;font-weight:500;color:var(--grau)}
.m5 .h5-panel .h5-cta{margin-top:24px}

/* Knöpfe */
.m5 .h5-cta{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:14px;background:var(--blau);color:#fff;font-size:17px;font-weight:600;text-decoration:none}
.m5 .h5-cta.hell{background:#fff;color:var(--navy)}
.m5 .h5-cta.rand{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.m5 .h5-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--blau);text-decoration:none}
.m5 .navy .h5-link{color:#fff}

/* Hero: ein Bild, eine Aussage, ein Knopf */
.m5 .h5-hero{position:relative;min-height:calc(100svh - 65px);display:flex;flex-direction:column;justify-content:flex-end;padding:0 20px 36px;color:#fff;overflow:hidden;background:var(--navy)}
.m5 .h5-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.m5 .h5-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,28,61,.15) 0%,rgba(11,28,61,.55) 45%,rgba(11,28,61,.96) 100%);z-index:1}
.m5 .h5-hero>*:not(img):not(picture){position:relative;z-index:2}
.m5 .ki{position:absolute!important;top:12px;right:12px;font-size:11px;padding:3px 8px;border-radius:6px;background:rgba(11,28,61,.7);color:#fff}
.m5 .h5-hero .h5-h1{font-size:40px;line-height:1.08}
.m5 .h5-hero .h5-h1 span{display:block;color:var(--hell)}
.m5 .h5-hero p{font-size:18px;color:#dbe3f0;margin:16px 0 26px}
.m5 .h5-hero .h5-cta{align-self:flex-start}

/* Vertrauens-Leiste */
.m5 .h5-trust{background:var(--navy);color:#c5cfe0;padding:22px 20px 30px;border-top:1px solid rgba(255,255,255,.08)}
.m5 .h5-trust p{margin:0 0 14px;font-size:13px;text-align:center}
.m5 .h5-trust ul{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;align-items:center}
.m5 .h5-trust img{width:62px;height:62px;object-fit:contain;filter:brightness(0) invert(1);opacity:.85}

/* Aussage-Karte */
.m5 .h5-karte{margin:28px 16px 0;padding:40px 24px;border-radius:var(--r);background:var(--navy);color:#fff;text-align:center}
.m5 .h5-karte h2{font-size:28px}
.m5 .h5-karte p{color:#c5cfe0;font-size:17px;margin:16px 0 0}

/* Auswahl-Zeilen: groß, ganze Zeile tippbar */
.m5 .h5-wahl{padding:56px 20px 8px}
.m5 .h5-wahl ul{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.m5 .h5-wahl a{display:flex;align-items:center;gap:14px;min-height:84px;padding:16px 18px 16px 22px;border:1px solid var(--linie);border-radius:18px;text-decoration:none;box-shadow:0 1px 2px rgba(11,28,61,.04)}
.m5 .h5-wahl b{display:block;font-size:19px;line-height:1.3}
.m5 .h5-wahl small{display:block;font-size:14px;color:var(--grau);margin-top:3px}
.m5 .h5-wahl .pf{margin-left:auto;flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid #cdd4df;border-radius:50%;color:var(--navy)}
.m5 .h5-wahl a:active{background:#f3f6fa}

/* Zahlen in großen Karten */
.m5 .navy{background:var(--navy);color:#fff}
.m5 .h5-zahlen{margin-top:56px;padding:56px 0}
.m5 .h5-zahlen .liste{display:grid;gap:14px;margin-top:28px}
.m5 .h5-zk{padding:28px 24px;border-radius:var(--r);background:var(--navy2)}
.m5 .h5-zk .k{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#9fb0cc}
.m5 .h5-zk .z{font-size:56px;font-weight:700;line-height:1;margin:22px 0 10px;letter-spacing:-.03em}
.m5 .h5-zk p{margin:0;font-size:16px;color:#dbe3f0}
.m5 .h5-zk .q{display:block;margin-top:12px;font-size:12px;color:#8d9bb5}

/* Lösungen als Wisch-Karten (CSS scroll-snap) */
.m5 .h5-loes{padding:56px 0 8px}
.m5 .h5-zug{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:24px 20px 12px;scrollbar-width:none}
.m5 .h5-zug::-webkit-scrollbar{display:none}
.m5 .h5-lk{flex:0 0 84%;scroll-snap-align:center;border:1px solid var(--linie);border-radius:var(--r);overflow:hidden;text-decoration:none;display:flex;flex-direction:column}
.m5 .h5-lk .bild{background:var(--navy);aspect-ratio:828/600;overflow:hidden}
.m5 .h5-lk .bild img{width:100%;height:100%;object-fit:cover}
.m5 .h5-lk .bild.leer{display:grid;place-items:center}
.m5 .h5-lk .bild.leer svg{width:84px;height:84px;stroke:var(--hell);stroke-width:1.4;fill:none}
.m5 .h5-lk .txt{padding:20px 20px 22px}
.m5 .h5-lk .ka{font-size:13px;color:var(--blau);font-weight:600}
.m5 .h5-lk h3{font-size:21px;margin:6px 0 2px}
.m5 .h5-lk .al{font-size:15px;color:var(--grau)}
.m5 .h5-lk p{margin:10px 0 0;font-size:15px;color:var(--grau)}
.m5 .h5-hinweis{font-size:13px;color:var(--grau);padding:0 20px}

/* Zitat */
.m5 .h5-zitat{margin:48px 16px 0;padding:36px 24px;border-radius:var(--r);border:1px solid var(--linie)}
.m5 .h5-zitat blockquote{margin:0;font-size:23px;line-height:1.35;font-weight:500}
.m5 .h5-zitat .von{margin-top:18px;font-size:14px;color:var(--grau)}

/* Rechenzentrum-Bildkarte */
.m5 .h5-rz{position:relative;margin:28px 16px 0;border-radius:var(--r);overflow:hidden;color:#fff;background:var(--navy);min-height:480px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px 24px}
.m5 .h5-rz>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m5 .h5-rz::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,28,61,0) 25%,rgba(11,28,61,.95) 78%);z-index:1}
.m5 .h5-rz>*:not(img){position:relative;z-index:2}
.m5 .h5-rz h2{font-size:27px}
.m5 .h5-rz p{color:#dbe3f0;margin:12px 0 6px}

/* Schluss-Aufruf */
.m5 .h5-schluss{margin:28px 16px 0;padding:44px 24px;border-radius:var(--r);text-align:center}
.m5 .h5-schluss h2{font-size:30px}
.m5 .h5-schluss p{color:#c5cfe0;margin:14px 0 26px}
.m5 .h5-schluss .h5-cta+.h5-cta{margin-top:12px}

/* Fußzeile als Aufklapp-Liste */
.m5 .h5-fuss{padding:40px 20px 48px}
.m5 .h5-fuss details{border-bottom:1px solid var(--linie)}
.m5 .h5-fuss summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:54px;font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.m5 .h5-fuss summary::-webkit-details-marker{display:none}
.m5 .h5-fuss summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.m5 .h5-fuss details[open] summary::after{transform:rotate(-135deg)}
.m5 .h5-fuss details a{display:flex;align-items:center;min-height:44px;font-size:16px;color:var(--grau);text-decoration:none}
.m5 .h5-fuss details div{padding-bottom:10px}
.m5 .h5-sozial{display:flex;justify-content:center;gap:12px;margin:28px 0 18px}
.m5 .h5-sozial a{display:grid;place-items:center;width:44px;height:44px}
.m5 .h5-sozial svg{width:22px;height:22px;fill:var(--navy)}
.m5 .h5-copy{text-align:center;font-size:13px;color:var(--grau);margin:0}
.m5 .h5-copy a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}

/* Sanftes Einblenden, nur ohne reduzierte Bewegung */
.m5 @media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .h5-wahl li,.h5-zk,.h5-lk,.h5-zitat,.h5-rz,.h5-schluss,.h5-karte{animation:h5-ein linear both;animation-timeline:view();animation-range:entry 0% entry 40%}
  .m5 }
}
@keyframes h5-ein{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}.m5 }
@media (hover:hover){.h5-wahl a:hover{border-color:var(--blau)}.m5 .h5-cta:hover{filter:brightness(1.08)}}


/* Punkte unter den Wisch-Karten */
.m5 .h5-punkte{display:flex;justify-content:center;gap:8px;padding:6px 0 4px}
.m5 .h5-punkte button{width:28px;height:28px;padding:0;border:0;background:none;display:grid;place-items:center;cursor:pointer}
.m5 .h5-punkte button::before{content:"";width:8px;height:8px;border-radius:50%;background:#cdd4df;transition:width .25s,background .25s}
.m5 .h5-punkte button[aria-current="true"]::before{width:22px;border-radius:4px;background:var(--blau)}

/* Sprach-Karte */
.m5 .h5-stimme{margin:28px 16px 0;padding:28px 24px;border-radius:var(--r);background:var(--navy);color:#fff;display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center}
.m5 .h5-stimme canvas{width:64px;height:64px}
.m5 .h5-stimme h2{font-size:21px}
.m5 .h5-stimme p{font-size:15px;color:#c5cfe0;margin-top:4px}
.m5 .h5-stimme .h5-start{grid-column:1/-1;margin-top:4px}
.m5 .h5-stimme .h5-cta{width:100%;border:0;font-family:inherit;cursor:pointer}
.m5 .h5-stimme .gv-start-hint{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5;color:#8d9bb5}
.m5 .h5-stimme .gv-start-hint a{color:#c5cfe0}
.m5 .h5-zk .z{font-variant-numeric:tabular-nums}
.m5 button.h5-btn-text{background:none;border:0;font:inherit;cursor:pointer;text-align:left;width:100%}

/* Live-Weiche (nur auf body.is-home) */
body.is-home > .m5{display:none}
@media (max-width:767px){
  body.is-home > .m5{display:block}
  body.is-home > .site-header,body.is-home > #main,body.is-home > .site-footer{display:none!important}
}
.m5 .h5-panel .h5-btn-text{display:flex;justify-content:space-between;align-items:center;min-height:56px;padding:0;border-bottom:1px solid var(--linie);font-size:15px;font-weight:500;color:var(--grau)}
.m5 .h5-panel .h5-btn-text::after{content:"→";color:var(--blau)}

/* Unterseiten (tools/handy5/bau.py) */
.m5 .h5-hero.sub{min-height:min(78svh,640px)}
.m5 .h5-hero .kick{color:var(--hell);margin-bottom:12px}
.m5 .h5-hero.sub .h5-h1{font-size:34px}
.m5 .h5-hero.symbol img.sym{inset:auto;position:absolute;top:4%;left:50%;width:86%;height:auto;transform:translateX(-50%);object-fit:contain}
.m5 .h5-hero.symbol::before{background:linear-gradient(180deg,rgba(11,28,61,0) 30%,rgba(11,28,61,.9) 62%,var(--navy) 100%)}
.m5 .h5-lk .bild{position:relative}
.m5 .h5-lk .bild .ki{top:10px;right:10px}
.m5 .h5-lk:not(:has(.bild)) .txt{padding-top:28px}
.m5 .h5-haken{margin-top:14px;display:grid;gap:8px}
.m5 .h5-haken li{position:relative;padding-left:26px;font-size:15px;color:var(--text)}
.m5 .h5-haken li::before{content:"";position:absolute;left:2px;top:5px;width:12px;height:7px;border-left:2px solid var(--blau);border-bottom:2px solid var(--blau);transform:rotate(-45deg)}
.m5 .h5-schritte{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px;counter-reset:none}
.m5 .h5-schritte li{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:20px;border-radius:18px;background:var(--navy2)}
.m5 .h5-schritte .nr{font-size:15px;font-weight:700;color:var(--hell);padding-top:2px}
.m5 .h5-schritte b{display:block;font-size:18px}
.m5 .h5-schritte p{font-size:15px;color:#c5cfe0;margin-top:4px}
.m5 .h5-note{margin-top:18px;font-size:13px;color:#8d9bb5}
.m5 .h5-faq{padding-top:56px}
.m5 .h5-faq h2{margin-bottom:16px}
.m5 .h5-faq details{border-bottom:1px solid var(--linie)}
.m5 .h5-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;font-size:18px;font-weight:600;cursor:pointer}
.m5 .h5-faq summary::-webkit-details-marker{display:none}
.m5 .h5-faq summary::after{content:"+";flex:none;font-size:26px;font-weight:400;color:var(--blau);transition:transform .2s}
.m5 .h5-faq details[open] summary::after{transform:rotate(45deg)}
.m5 .h5-faq details p{padding:0 0 18px;color:var(--grau);font-size:16px}
