/* Neue Startseite (13.11.2026, TODO 1.7): Bausteine aus dzz.css (lädt header.php davor), hier nur das, was die Startseite zusätzlich braucht.
   Alle Regeln unter .dzz-home: die alte Startseite (snippet home-old, Sprachen ohne Kapitel) lädt diese Datei auch, bleibt aber unberührt. */

/* Knopf im Kopf (z. B. „Configure Your Window“ als Link mit class: hsbutton hsblue in der Einleitung) */
.dzz-home .dzz-intro .hsbutton { color: #fff; text-decoration: none; margin-top: .5em; }
.dzz-home .dzz-intro .hsbutton:hover { color: #fff; }

/* Kennzahlen-Leiste unter dem Kopf (Feld Facts): einziges neues Element */
.dzz-home .home-facts {
	list-style: none; margin: 0; padding: 1.2em var(--dzz-gap); max-width: none; box-sizing: border-box;
	display: grid; grid-template-columns: 1fr 1fr; gap: 1em; background: #1d2a33; color: #fff;
}
.dzz-home .home-facts li { margin: 0; padding: 0; text-align: center; }
.dzz-home .home-facts li::before { content: none; }
.dzz-home .home-facts b { display: block; font-family: 'Dosis', sans-serif; font-size: 1.5em; font-weight: 600; line-height: 1.2; }
.dzz-home .home-facts span { display: block; font-size: .9em; opacity: .85; line-height: 1.4; }
@media screen and (min-width: 48em) {
	.dzz-home .home-facts { grid-template-columns: repeat(4, 1fr); padding-left: max(var(--dzz-gap), calc((100% - var(--dzz-max)) / 2 + var(--dzz-gap))); padding-right: max(var(--dzz-gap), calc((100% - var(--dzz-max)) / 2 + var(--dzz-gap))); }
	.dzz-home .home-facts b { font-size: 1.9em; }
}

/* Kachel-Kapitel (Felder Tiles und Advantages): Überschrift wie ein dzz-Kapitel, Desktop 4 Kacheln je Reihe (Platz nutzen) */
.dzz-home .home-tiles h2 { margin-top: 0; }
.dzz-home .home-tiles h2::before { content: ""; display: block; width: 3em; border-top: 3px solid var(--dzz-accent); margin-bottom: .5em; font-size: .7em; }
.dzz-home .home-tiles-intro { max-width: 45em; margin-bottom: 1.5em; padding: 0; }
.dzz-home ul.dzz-tiles { max-width: none; }
@media screen and (min-width: 60em) {
	.dzz-home .home-tiles ul.dzz-tiles { grid-template-columns: repeat(4, 1fr); }
}
/* Vorteil-Kacheln: Symbol oben, Linktext vor dem Pfeil kleiner */
.dzz-home .home-adv .dzz-tile img { width: 64px; height: 64px; margin-bottom: .2em; }
.dzz-home .home-adv .dzz-tile-arrow { font-size: .95em; }
#advantage-icons { scroll-margin-top: 1em; }
@media screen and (min-width: 75em) { #advantage-icons { scroll-margin-top: calc(var(--hd-height-dskt) + 1em); } }

/* Handy: Kacheln zwei je Reihe, nur Titel (und Symbol), Text erst auf der Zielseite */
@media screen and (max-width: 47.99em) {
	.dzz-home .home-tiles ul.dzz-tiles { grid-template-columns: 1fr 1fr; gap: .6em; }
	.dzz-home .home-tiles .dzz-tile { padding: .8em; }
	.dzz-home .home-tiles .dzz-tile-title { font-size: 1.1em; }
	.dzz-home .home-tiles .dzz-tile-text { display: none; }
	.dzz-home .home-adv .dzz-tile img { width: 44px; height: 44px; }
	.dzz-home .home-adv .dzz-tile-arrow { font-size: 0; }          /* Linktext aus, nur der Pfeil */
	.dzz-home .home-adv .dzz-tile-arrow::after { content: "\2192"; font-size: 1.1rem; }
	/* Projekt-Karten: auf dem Handy nur die ersten 3 (die übrigen laden nicht, loading=lazy) */
	.dzz-home .home-cards .pzz-card:nth-child(n+4) { display: none; }
}
