/* Startseite Handy Fassung 7 (Yusuf 15.11.2026): Hero mit Bild und 6 Bild-Kacheln, Kacheln springen zu den Bereichen.
   Nur Testseiten handy-test-7-*, Bau: tools/handy7/bau_test.py. Computer bleibt unverändert (alles unter 767 px). */
@media (max-width: 767px) {
  /* Roter Faden: Dienstleistungen, Lösungen, Infrastruktur, Siegel, Erstgespräch, Lagebild, Zitate, Fragen, Schluss */
  body.is-home.h7>#main>.h6-block-hero{order:1}
  body.is-home.h7>#main>#products{order:2}
  body.is-home.h7>#main>#loesungen,body.is-home.h7>#main>#solutions{order:3}
  body.is-home.h7>#main>#rechenzentrum{order:5}
  body.is-home.h7>#main>.trust-belt{order:4}
  body.is-home.h7>#main>.anfrage-band{order:6}
  body.is-home.h7>#main>#defense-engine{order:7}
  body.is-home.h7>#main>.testimonials{order:8}
  body.is-home.h7>#main>.faq-section{order:9}
  body.is-home.h7>#main>.h6-ende{order:10}
  body.is-home.h7>#main>.h6-block-reihen{display:none!important}
  body.is-home.h7 #products,body.is-home.h7 #loesungen,body.is-home.h7 #solutions,body.is-home.h7 #rechenzentrum{scroll-margin-top:52px}

  body.is-home.h7 .m5 .h6-heldbild img{object-position:50% 38%}
  body.is-home.h7 .h6-buehne{padding-bottom:12px!important}
  body.is-home.h7>#main>#products{padding-top:40px!important}
  body.is-home.h7 .h7-kacheln{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;margin:22px 0 0;padding:0}
  body.is-home.h7 .h7-kacheln a{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:44px;color:#fff;text-decoration:none;font-size:13.5px;font-weight:500;line-height:1.2;text-align:center;-webkit-tap-highlight-color:transparent}
  body.is-home.h7 .h7-kacheln i{display:block;width:100%;aspect-ratio:1/1;border-radius:20px;background:var(--k) center/cover no-repeat,#16336a;border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 22px rgba(0,0,0,.28)}
  body.is-home.h7 .h7-kacheln .an i{border:2px solid #fff}
  body.is-home.h7 .h7-kacheln a:active i{transform:scale(.96)}
  body.is-home.h7 .h7-kacheln a:focus-visible{outline:2px solid #2b8aff;outline-offset:4px;border-radius:20px}
}
@media (max-width: 767px) and (min-width: 0px) {
  body.is-home.h7 .h7-kacheln i{transition:transform .15s ease}
}
/* Kacheln mit Symbol (Yusuf 15.11.): Anfragen weißer Knopf mit Plus, sonst Foto abgedunkelt im Hintergrund, Symbol vorn */
@media (max-width: 767px) {
  body.is-home.h7 .h7-kacheln i{position:relative;display:grid;place-items:center}
  body.is-home.h7 .h7-kacheln .mit-icon i{background:linear-gradient(180deg,rgba(11,28,61,.3),rgba(11,28,61,.55)),var(--k) center/cover no-repeat,#16336a}
  body.is-home.h7 .h7-kacheln .an i{background:#fff;border:0}
  body.is-home.h7 .h7-kacheln svg{width:34%;height:34%;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))}
  body.is-home.h7 .h7-kacheln .an svg{stroke:#0b1c3d;filter:none}
}
/* Dienstleistungen als Navy-Blatt, das mit runden oberen Ecken über den Hero lappt (Yusuf 15.11., Vorbild .h6-blatt auf hero-test-handy-edel2):
   helle Kante oben und Schatten nach oben, damit die Überlappung räumlich lesbar ist */
@media (max-width: 767px) {
  body.is-home.h7>#main>#products{position:relative;z-index:2;margin-top:-28px!important;padding-top:40px!important;border-radius:28px 28px 0 0;background:linear-gradient(180deg,#17305e 0,#0b1c3d 180px)!important;border-top:1.5px solid rgba(255,255,255,.38);box-shadow:0 -18px 40px rgba(0,0,0,.6),0 -2px 0 rgba(43,138,255,.18)}
  body.is-home.h7>#main>#products::before,body.is-home.h7>#main>#products::after{display:none!important}
  body.is-home.h7 .h6-buehne{padding-bottom:44px!important}
}
/* Hero-Vorschläge nach Wettbewerber-Recherche (15.11.), nur Testseiten handy-test-7-wow-* */
@media (max-width: 767px) {
  /* A Vollbild: Foto füllt den ganzen Hero, Schrift sitzt unten (Vorbild NorthC) */
  body.h7.v-voll .h6-buehne{padding-top:300px!important;overflow:hidden}
  body.h7.v-voll .h6-heldbild{height:100%;overflow:hidden}
  body.h7.v-voll .m5 .h6-heldbild img,body.h7.v-voll .h6-heldbild img{object-position:50% 30%!important}
  body.h7.v-voll .h6-heldbild::after{background:linear-gradient(180deg,rgba(11,28,61,0) 0%,rgba(11,28,61,.15) 28%,rgba(11,28,61,.78) 50%,rgba(11,28,61,.94) 70%,#0b1c3d 100%)}
  /* B Bildwechsel: vier Fotos blenden nacheinander über, je mit leichtem Zoom (Vorbild Hensoldt) */
  body.h7.v-wechsel .h6-heldbild{height:430px;overflow:hidden}
  body.h7.v-wechsel .h6-buehne{padding-top:230px!important}
  body.h7.v-wechsel .h7-w{position:absolute;inset:0;background:var(--w) 50% 40%/cover no-repeat;opacity:0}
  body.h7.v-wechsel .h6-heldbild::after{z-index:1}
  /* C Tiefe: Foto bleibt beim Scrollen zurück, das Navy-Blatt fährt darüber */
  body.h7.v-tiefe .h6-heldbild{height:420px;overflow:hidden}
  body.h7.v-tiefe .h6-buehne{padding-top:150px!important}
  body.h7.v-tiefe .h6-heldbild img{will-change:transform;object-position:50% 45%!important}
}
@media (max-width: 767px) and (min-width: 0px) {
  body.h7.v-voll .h6-heldbild img{animation:h7-zoom 22s ease-in-out infinite alternate}
  body.h7.v-wechsel .h7-w{animation:h7-wechsel 20s linear infinite}
  body.h7.v-wechsel .h7-w:nth-of-type(1){animation-delay:5s}
  body.h7.v-wechsel .h7-w:nth-of-type(2){animation-delay:10s}
  body.h7.v-wechsel .h7-w:nth-of-type(3){animation-delay:15s}
  body.h7.v-wechsel .h7-w:nth-of-type(4){animation-delay:20s}
  body.h7.v-wechsel .h6-heldbild img{animation:h7-zoom 5s ease-out infinite alternate}
}
@keyframes h7-zoom{from{transform:scale(1)}to{transform:scale(1.1)}}
@keyframes h7-wechsel{0%{opacity:0;transform:scale(1)}5%{opacity:1}25%{opacity:1;transform:scale(1.08)}30%{opacity:0;transform:scale(1.1)}100%{opacity:0}}
/* Heller Hero (Yusuf 15.11. abends: „Hero sieht düster aus, oben und Hero weiß“). Nur Testseiten handy-test-8-hell-*, Klasse v-hell.
   Kopf und Hero weiß, Schrift Navy, Foto läuft unten in Weiß aus; das Navy-Blatt Dienstleistungen fährt weiter darüber. */
@media (max-width: 767px) {
  body.h7.v-hell .m5 .h5-head{background:#fff;border-bottom:1px solid #e6eaf1}
  body.h7.v-hell .m5 .h5-head .h6-kopfknopf{color:#0b1c3d}
  body.h7.v-hell .m5 .h5-menu svg{stroke:#0b1c3d}
  body.h7.v-hell .h6-sprache a{color:#6b778c}
  body.h7.v-hell .h6-sprache a.an{color:#fff}
  body.h7.v-hell .h6-sprache a.an::before{background:#0b1c3d}
  body.h7.v-hell .h6-kopf.hk-kontakt{background:#0b1c3d;color:#fff}
  body.h7.v-hell .h6-buehne{background:#fff!important;color:#0b1c3d}
  body.h7.v-hell .h6-heldbild::after{background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 45%,rgba(255,255,255,.75) 75%,#fff 100%)}
  body.h7.v-hell .m5 .h6-heldbild .ki{color:rgba(11,28,61,.6);mix-blend-mode:normal}
  body.h7.v-hell .h6-buehne .h5-h1{color:#0b1c3d}
  body.h7.v-hell .h6-buehne .h5-h1 .blau{color:#0071e3}
  body.h7.v-hell .h6-satz{color:#3d4a60!important}
  body.h7.v-hell .h7-kacheln a{color:#0b1c3d}
  body.h7.v-hell .h7-kacheln i{border:1px solid rgba(11,28,61,.08);box-shadow:0 6px 18px rgba(11,28,61,.14)}
  body.h7.v-hell .h7-kacheln .mit-icon i{background:linear-gradient(180deg,rgba(11,28,61,.18),rgba(11,28,61,.42)),var(--k) center/cover no-repeat,#16336a}
  body.h7.v-hell .h7-kacheln .an i{background:#0b1c3d;border:0}
  body.h7.v-hell .h7-kacheln .an svg{stroke:#fff}
  body.h7.v-hell>#main>#products{box-shadow:0 -10px 28px rgba(11,28,61,.22);border-top-color:rgba(255,255,255,.2)}
}
@media (max-width: 767px) {
  /* Schrift sitzt unter dem Bild auf Weiß, nicht auf Personen (Sichtprüfung 15.11.) */
  body.h7.v-hell .h6-heldbild{height:300px}
  body.h7.v-hell .h6-buehne{padding-top:262px!important}
  body.h7.v-hell .h6-heldbild::after{background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,.85) 80%,#fff 92%)}
}
/* Helles Hero-Bild im Navy-Hero (Yusuf 15.11.: Struktur bleibt, nur das Bild ist zu düster). Klasse v-bild, Testseiten handy-test-8-bild-*.
   Schrift sitzt unter dem Bild auf Navy, damit die blaue Zeile lesbar bleibt. */
@media (max-width: 767px) {
  body.h7.v-bild .h6-heldbild{height:300px}
  body.h7.v-bild .h6-buehne{padding-top:262px!important}
  body.h7.v-bild .h6-heldbild::after{background:linear-gradient(180deg,rgba(11,28,61,0) 0%,rgba(11,28,61,0) 45%,rgba(11,28,61,.8) 78%,#0b1c3d 92%)}
}

/* Hochformat-Hero (Yusuf 15.11. abends: Bild hochkant hinter dem Hero, reicht weiter nach unten, Überschrift liegt auf dem Bild, harmonisch zu Navy).
   Klasse v-hoch, Testseiten handy-test-9-hoch-*. */
@media (max-width: 767px) {
  body.h7.v-hoch .h6-heldbild{height:min(560px,138vw);overflow:hidden}
  body.h7.v-hoch .m5 .h6-heldbild img,body.h7.v-hoch .h6-heldbild img{object-position:50% 20%!important;filter:saturate(.9) brightness(.92)}
  body.h7.v-hoch .h6-buehne{padding-top:min(300px,76vw)!important}
  body.h7.v-hoch .h6-heldbild::after{background:linear-gradient(180deg,rgba(11,28,61,.18) 0%,rgba(11,28,61,0) 18%,rgba(11,28,61,0) 36%,rgba(11,28,61,.6) 55%,rgba(11,28,61,.9) 76%,#0b1c3d 100%)}
  body.h7.v-hoch .h6-buehne .h5-h1{text-shadow:0 2px 18px rgba(11,28,61,.65)}
}
/* v-licht: helles Hero-Bild (Yusuf 15.11. abends: hell, kein dunkler Himmel), Verlauf erst unter der Kuppel */
@media (max-width:767px){
  body.h7.v-hoch.v-licht .h6-heldbild img{object-position:50% 0%!important;filter:none}
  body.h7.v-hoch.v-licht .h6-heldbild::after{background:linear-gradient(180deg,rgba(11,28,61,0) 0%,rgba(11,28,61,0) 36%,rgba(11,28,61,.72) 54%,rgba(11,28,61,.94) 70%,#0b1c3d 100%)}
}
/* v-klar: helles Bild oben klar, Verlauf nur kurz am Bildende, Überschrift auf Navy darunter (Test 15.11. abends) */
@media (max-width:767px){
  body.h7.v-hoch.v-klar .h6-heldbild{height:min(400px,100vw)}
  body.h7.v-hoch.v-klar .h6-heldbild img{object-position:50% 30%!important;filter:none}
  body.h7.v-hoch.v-klar .h6-heldbild::after{background:linear-gradient(180deg,rgba(11,28,61,0) 0%,rgba(11,28,61,0) 78%,rgba(11,28,61,.85) 93%,#0b1c3d 100%)}
  body.h7.v-hoch.v-klar .h6-buehne{padding-top:min(380px,95vw)!important}
  body.h7.v-hoch.v-klar .h6-buehne .h5-h1{text-shadow:none}
}

/* Kacheln als 4er-Raster mit Schutzpakete-Viereck und Karriere, Hero mit zartem Rechenzentrums-Bild (Yusuf 15.11.2026, Testseite hero-test-handy-hg-b) */
@media (max-width: 767px) {
  body.is-home.h7 #pakete{scroll-margin-top:60px}
  body.is-home.h7 .h7-kacheln{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 10px}
  body.is-home.h7 .h7-kacheln a{font-size:12.5px;gap:7px}
  body.is-home.h7 .h7-kacheln i{border-radius:18px}
  body.is-home.h7 .h7-kacheln svg{width:40%;height:40%}
  body.h7 .h6-heldbild.h10-held::before{content:"";position:absolute;inset:0;pointer-events:none;background:url(/images/makro/handy-hero-gang-v3.webp) 50% 50%/cover no-repeat;opacity:.22;mix-blend-mode:luminosity;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 45%,#000 80%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 45%,#000 80%,transparent 100%)}
  body.h7 .h6-heldbild.h10-held .h10-buehne{z-index:1}
}
/* Yusuf 15.11.: Compliance-Block klebte am Navy-Block darüber, luftiger */
@media (max-width:767px){
  html body.is-home #main>section.trust-belt.h6-trust{padding-top:56px!important;padding-bottom:40px!important}
}
