/*
Theme Name: diovina 2026
Theme URI: https://diovina.com
Description: Kind-Theme von Twenty Twenty-Five für diovina.com – barrierearm (WCAG 2.1 AA als Ziel), ohne Drittanbieter und Cookies, Farben aus dem diovina-Logo (Orange #FB8500) mit Dunkelblau.
Author: Claude für diovina GmbH
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: diovina-2026
License: GNU General Public License v2 or later
*/

/* ---------- Grundlagen Barrierefreiheit ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--orange);
	outline-offset: 2px;
	border-radius: 2px;
}
.skip-link.screen-reader-text:focus {
	background: #fff;
	color: var(--wp--preset--color--nacht);
	font-weight: 700;
	padding: .75rem 1rem;
	z-index: 100000;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Kopf ---------- */
/* Kopf bleibt beim Scrollen stehen: sticky muss am äußeren Template-Part-Container sitzen, nicht am inneren Block. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.dv-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; color: var(--wp--preset--color--nacht) !important; }
.dv-logo svg { width: 34px; height: auto; display: block; }
.dv-logo span { font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; }
.dv-logo small { display: block; font-size: .8rem; font-weight: 500; color: var(--wp--preset--color--grau-text); letter-spacing: 0; }
.dv-kopf .wp-block-navigation a { text-decoration: none; }
.dv-kopf .wp-block-navigation a:hover, .dv-kopf .wp-block-navigation a:focus { text-decoration: underline; text-underline-offset: .25em; }
.dv-kopf [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--orange); text-underline-offset: .3em; }

.dv-kopf .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--rand); border-top: 3px solid var(--wp--preset--color--orange); min-width: 16rem; padding: .4rem 0; }
.dv-kopf .wp-block-navigation__submenu-container a { padding: .45rem 1rem; font-weight: 500; }

/* ---------- Titelband ---------- */
.dv-hero {
	background:
		linear-gradient(90deg, rgba(1,22,39,.94) 0%, rgba(2,48,71,.82) 50%, rgba(2,48,71,.35) 100%),
		url("assets/titelbild.jpg") center 30% / cover no-repeat,
		#023047;
	color: #fff;
}
@media (max-width: 700px) { .dv-hero { background: linear-gradient(rgba(1,22,39,.88), rgba(2,48,71,.88)), url("assets/titelbild.jpg") center / cover no-repeat, #023047; } }
.dv-bild-rechts { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; }
@media (max-width: 700px) { .dv-bild-rechts { float: none; margin: 0 0 1rem; max-width: 100%; } }
.dv-hero h1 { color: #fff; margin-top: 0; }
.dv-hero .dv-dachzeile { color: var(--wp--preset--color--orange); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: var(--wp--preset--font-size--small); margin-bottom: .5rem; }
.dv-seitenkopf { background: linear-gradient(135deg, #011627 0%, #023047 100%); color: #fff; }
.dv-seitenkopf h1 { color: #fff; margin: 0; }

/* ---------- Kacheln ---------- */
.dv-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; max-width: none !important; }
.dv-kacheln > * { margin: 0 !important; }
.dv-kachel {
	background: #fff;
	border: 1px solid var(--wp--preset--color--rand);
	border-top: 4px solid var(--wp--preset--color--orange);
	border-radius: 6px;
	padding: 1.25rem 1.25rem 1rem;
	height: 100%;
}
.dv-kachel h3 { margin-top: 0; font-size: var(--wp--preset--font-size--large); }
.dv-kachel p:last-child { margin-bottom: 0; }
.dv-band { background: var(--wp--preset--color--hell); }

/* Leistungsblöcke mit Sprungmarken */
.dv-inhalt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dv-inhalt-nav a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--wp--preset--color--rand); border-radius: 999px; text-decoration: none; }
.dv-inhalt-nav a:hover, .dv-inhalt-nav a:focus { border-color: var(--wp--preset--color--orange); }
.dv-leistung { scroll-margin-top: 6rem; border-top: 1px solid var(--wp--preset--color--rand); padding-top: 1.5rem; margin-top: 2rem; }
.dv-leistung ul { padding-left: 1.2rem; }

/* Team */
.dv-team .dv-kachel h3 { margin-bottom: .1rem; }
.dv-rolle { color: var(--wp--preset--color--orange-text); font-weight: 600; font-size: var(--wp--preset--font-size--small); text-transform: uppercase; letter-spacing: .05em; margin-top: 0; }
.dv-team ul { margin: .5rem 0 0; padding-left: 1.1rem; }

/* Fuß */
.dv-fuss a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.dv-fuss a:hover, .dv-fuss a:focus { color: var(--wp--preset--color--orange); }
