/* ontax 1.20.0: Kopf der Startseite (Entwurf 3). Nur auf der Startseite geladen.
   Der Kopfbalken liegt hier transparent über dem Bild. Alles in .ox-hero, damit nichts anderes berührt wird. */
.home .wp-site-blocks > header { position: absolute; left: 0; right: 0; top: 0; z-index: 30; }
.home .ditax-band.has-ink-background-color { background-color: transparent !important; }
.home .ditax-band .ditax-bar { border-bottom: 1px solid rgba(160, 197, 176, .18); }

.ox-hero {
	--ox-forest: #01311F; --ox-mint: #A0C5B0; --ox-mint-2: #C9DDD0; --ox-sun: #F4E7A1;
	position: relative; display: flex; flex-direction: column; min-height: 560px; overflow: hidden; color: #fff;
	padding-top: 84px; isolation: isolate;
	background: radial-gradient(90% 120% at 85% 30%, #0B4A31 0%, transparent 60%), linear-gradient(160deg, #01311F 0%, #012818 100%);
}
.ox-hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ox-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 49, 31, .92) 0%, rgba(1, 49, 31, .78) 38%, rgba(1, 49, 31, .25) 62%, rgba(1, 49, 31, 0) 80%), linear-gradient(180deg, rgba(1, 49, 31, .55) 0%, rgba(1, 49, 31, 0) 22%); }
.ox-hero__art img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% center; }
@media (prefers-reduced-motion: no-preference) {
	.ox-hero__art img { animation: ox-drift 40s ease-in-out infinite alternate; transform-origin: 70% 50%; }
	@keyframes ox-drift { to { transform: scale(1.06) translate3d(-1.5%, 0, 0); } }
}
.ox-hero__wrap { flex: 1; width: 100%; max-width: calc(1216px + 2 * clamp(16px, 4vw, 32px)); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.ox-slides { display: grid; }
.ox-slide { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; max-width: 760px; padding: 8px 0 44px; transition: opacity .6s ease, visibility .6s; }
.ox-slide:not(.is-active) { opacity: 0; visibility: hidden; }

.ox-hero .ox-eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ox-mint); }
.ox-hero h1 { margin: 0; color: #fff; font-size: clamp(48px, 6.2vw, 88px); line-height: .98; letter-spacing: -.05em; font-weight: 700; }
.ox-hero h1 .ox-serif { display: block; margin-bottom: .02em; font: italic 400 1.18em/.9 "Instrument Serif", Georgia, serif; letter-spacing: -.02em; color: var(--ox-mint); }
.ox-hero h1 span { display: table; padding-right: .06em; white-space: nowrap; font-weight: 700; letter-spacing: -.045em; color: #fff; }
.ox-hero .ox-mark { position: relative; display: inline-block; font-style: normal; }
.ox-hero .ox-mark svg { position: absolute; left: -.04em; right: -.02em; bottom: -.1em; width: calc(100% + .06em); height: .2em; overflow: visible; pointer-events: none; }
.ox-hero .ox-mark path { fill: none; stroke: var(--ox-sun); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ox-scribble .8s cubic-bezier(.25, 1, .5, 1) .5s backwards; }
.ox-hero .ox-mark path.p2 { stroke-width: 4; opacity: .85; animation-delay: 1.1s; animation-duration: .5s; }
@keyframes ox-scribble { from { stroke-dashoffset: 1; } }
@media (prefers-reduced-motion: reduce) { .ox-hero .ox-mark path { animation: none; } }
.ox-hero .ox-lead { max-width: 44ch; margin: 34px 0 0; font-size: 20px; line-height: 1.45; color: #D9E7DF; }
.ox-hero .ox-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ox-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s, box-shadow .15s; }
.ox-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.ox-btn:hover svg { transform: translateX(3px); }
.ox-btn.is-sage { background: var(--ox-mint); color: var(--ox-forest); }
.ox-btn.is-sage:hover { background: var(--ox-mint-2); color: var(--ox-forest); }
.ox-btn.is-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.ox-btn.is-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.ox-hero :focus-visible { outline: 2px solid var(--ox-mint); outline-offset: 3px; }

.ox-slogo { align-self: flex-start; width: auto; height: 34px; margin-bottom: 22px; }
.ox-slide:nth-child(2) h1 { font-size: clamp(40px, 4.6vw, 66px); }
.ox-slide:nth-child(2) .ox-serif { font-size: 1em; line-height: 1; }
.ox-slide:nth-child(2) .ox-lead { max-width: 36ch; }
.ox-shot { display: none; }
/* Tablet freigestellt (transparenter Hintergrund), ab 900 px Breite sichtbar; rechts am Rand verankert und mit der Breite skaliert. */
@media (min-width: 900px) {
	.ox-hero__wrap { position: relative; }
	.ox-slide:nth-child(2) { position: static; }
	.ox-shot { display: block; position: absolute; z-index: -1; right: 0; top: 50%; width: clamp(380px, 44vw, 660px); transform: translateY(-50%); pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 20, 12, .55)); }
	.ox-shot img { display: block; width: 100%; height: auto; }
}

.ox-ctrl { display: flex; align-items: center; gap: 7px; padding-bottom: 22px; margin-top: -8px; }
.ox-dot { position: relative; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.ox-dot::before { content: ""; position: absolute; inset: -14px -6px; }
.ox-dot.is-active { width: 20px; background: var(--ox-mint); }
@media (prefers-reduced-motion: reduce) { .ox-dot { transition: none; } }

.ox-strip { border-top: 1px solid rgba(160, 197, 176, .14); }
.ox-strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; max-width: calc(1216px + 2 * clamp(16px, 4vw, 32px)); margin: 0 auto; padding: 16px clamp(16px, 4vw, 32px); box-sizing: border-box; list-style: none; }
.ox-strip__in li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 8px 12px; border: 1px solid rgba(160, 197, 176, .35); border-radius: 999px; background: rgba(160, 197, 176, .08); font-size: 14px; font-weight: 500; color: #E3EEE7; transition: background-color .2s, border-color .2s; }
.ox-strip__in li:hover { background: rgba(160, 197, 176, .16); border-color: rgba(160, 197, 176, .6); }
.ox-strip__in svg { flex: none; width: 18px; height: 18px; color: var(--ox-mint); }

@media (max-width: 980px) {
	.ox-hero { min-height: 0; padding-top: 100px; }
	.ox-hero__art::after { background: linear-gradient(180deg, rgba(1, 49, 31, .82) 0%, rgba(1, 49, 31, .72) 55%, rgba(1, 49, 31, .4) 100%); }
	.ox-hero__art img { object-position: 78% center; }
	.ox-slide { justify-content: flex-start; }
	.ox-strip__in { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
	.ox-strip__in::-webkit-scrollbar { display: none; }
	.ox-strip__in li { flex: none; white-space: nowrap; scroll-snap-align: start; }
}
@media (max-width: 600px) {
	.ox-hero .ox-eyebrow { font-size: 10.5px; letter-spacing: .14em; }
	.ox-slide { padding: 28px 0 32px; }
	.ox-hero h1 { font-size: clamp(40px, 12vw, 60px); }
	.ox-hero h1 span { display: block; white-space: normal; }
	.ox-slide:nth-child(2) h1 { font-size: clamp(34px, 10.5vw, 52px); }
	.ox-hero .ox-lead { font-size: 17px; margin-top: 26px; }
	.ox-hero .ox-actions { flex-direction: column; align-items: stretch; }
	.ox-btn { justify-content: center; }
}
/* Slides nacheinander überblenden: erst aus, dann ein */
.ox-slide:not(.is-active) { transition: opacity .25s ease, visibility .25s; }
.ox-slide.is-active { transition: opacity .45s ease .3s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .ox-slide, .ox-slide.is-active, .ox-slide:not(.is-active) { transition: none; } }
