/* Webdesign-Seite: eigene Art Direction. Gilt nur für <body class="wd"> (webdesign.html), baut auf leistung.css auf.
   Leitidee: vom Entwurf zur Website. Feine Konstruktionslinien zeichnen sich, Line-Icons entstehen Strich für Strich,
   Elemente setzen sich zusammen. Jede Sektion hat ihre eigene Bewegung; ohne JavaScript oder mit reduzierter Bewegung
   ist alles sofort sichtbar und ruhig. Endlosbewegungen laufen nur, solange ihr Bereich zu sehen ist. */

.wd { --linie: rgba(26, 26, 26, .14); --linie-stark: rgba(26, 26, 26, .82); --weich: cubic-bezier(.65, 0, .35, 1); }

/* Körnung als feine Textur (Hero und Kontakt) */
.wd-korn { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* CTA-Pfeil: läuft rechts hinaus und kommt von links zurück */
@keyframes wdPfeil { 0% { translate: 0 0; opacity: 1; } 45% { translate: 12px 0; opacity: 0; } 46% { translate: -10px 0; opacity: 0; } 100% { translate: 3px 0; opacity: 1; } }

/* ======================= 1 Hero ======================= */
.wd-licht { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.wd-licht i { position: absolute; aspect-ratio: 1; border-radius: 50%; will-change: transform; animation: 26s ease-in-out infinite alternate paused; }
.wd-licht i:nth-child(1) { left: -18vmax; top: -30vmax; width: 62vmax; background: radial-gradient(closest-side, rgba(184, 22, 48, .55), transparent); animation-name: wdLicht1; }
.wd-licht i:nth-child(2) { left: 18vw; top: 34%; width: 38vmax; background: radial-gradient(closest-side, rgba(207, 232, 255, .09), transparent); animation-name: wdLicht2; animation-duration: 31s; }
.wd-licht i:nth-child(3) { left: -10vmax; bottom: -36vmax; width: 52vmax; background: radial-gradient(closest-side, rgba(38, 0, 6, .7), transparent); animation-name: wdLicht3; animation-duration: 23s; }
@keyframes wdLicht1 { to { transform: translate3d(14vmax, 9vmax, 0) scale(1.12); } }
@keyframes wdLicht2 { to { transform: translate3d(-10vmax, -8vmax, 0) scale(.9); } }
@keyframes wdLicht3 { to { transform: translate3d(12vmax, -6vmax, 0) scale(1.08); } }
.wd-aktiv .wd-licht i, .wd-aktiv .wd-mesh i { animation-play-state: running; }

/* Ebenen: Text, Laptop und Glas bewegen sich beim Scrollen unterschiedlich schnell (--sy kommt aus webdesign.js) */
.wd .l-hero--bild > .wrap { translate: 0 calc(var(--sy, 0) * .1px); opacity: calc(1 - var(--sy, 0) / 1100); }
.wd .l-hero__bild { translate: 0 calc(var(--sy, 0) * .05px); }
.wd .l-schilder { translate: 0 calc(var(--sy, 0) * -.06px); }
.wd .l-hero__buehne { perspective: 1400px; }
.wd .l-hero__buehne > img { transform-origin: 60% 60%; transform: rotateY(calc(var(--mx, 0) * 2.6deg)) rotateX(calc(var(--my, 0) * -1.8deg)) translate3d(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -4px), 0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }

/* Lichtreflex wandert in Abständen über das Glas */
.wd .l-schild span { position: relative; overflow: hidden; }
.wd .l-schild span::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -50%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent); rotate: 14deg; animation: wdGlanz 8s ease-in-out infinite paused; animation-delay: calc(1.8s + var(--i, 0) * 1.3s); pointer-events: none; }
.wd .wd-aktiv .l-schild span::after { animation-play-state: running; }
@keyframes wdGlanz { 0%, 64% { translate: 0 0; } 88%, 100% { translate: 480% 0; } }

/* Übergang: die weiße Seite schiebt sich mit runder Kante über den Hero */
.wd .l-hero--bild::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: clamp(18px, 2.6vw, 36px); border-radius: clamp(18px, 2.6vw, 36px) clamp(18px, 2.6vw, 36px) 0 0; background: #fff; box-shadow: 0 -18px 40px -24px rgba(20, 0, 4, .55); }

/* ======================= 2 Ausgangslagen ======================= */
.wd .l-lage { position: relative; gap: 0; padding: 0; border-radius: 0; overflow: visible; background: none; }
.wd .l-lage::before, .wd .l-lage::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; transform-origin: left; transition: transform 1.4s var(--weich); }
.wd .l-lage::before { top: 0; background: var(--linie-stark); }
.wd .l-lage::after { bottom: 0; background: var(--linie); transition-delay: .25s; }
.wd .l-lage li:nth-child(n), .wd .l-lage:not(:has(li:hover)) li:nth-child(2), .wd .l-lage li:hover { background: none; border-radius: 0; isolation: isolate; }
.wd .l-lage li + li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--linie); transform-origin: top; transition: transform 1.1s var(--weich) calc(.35s + var(--n, 0) * .12s); }
.wd .l-lage li:nth-child(2) { --n: 0; } .wd .l-lage li:nth-child(3) { --n: 1; } .wd .l-lage li:nth-child(4) { --n: 2; }
/* Aktive Fläche als eigene Ebene, damit der Farbwechsel weich überblendet */
.wd .l-lage li::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px) 0 0 / 14px 14px, radial-gradient(90% 60% at 10% 0%, rgba(207, 232, 255, .2), transparent 62%), radial-gradient(70% 60% at 100% 100%, rgba(20, 0, 4, .55), transparent 70%), linear-gradient(165deg, #A3122A 0%, var(--wine) 50%, #4A0109 100%); }
.wd .l-lage:not(:has(li:hover)) li:nth-child(2)::before, .wd .l-lage li:hover::before { opacity: 1; }
.wd .l-lage__nr { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wd-von { margin-left: .2em; font-weight: 500; opacity: .45; }
.wd .l-lage h3 { letter-spacing: -.02em; }

/* Line-Icons: kleine Szenen beim Überfahren */
.wd-ico * { transform-box: fill-box; }
.wd-ico__leer rect { stroke-dasharray: .045 .045; }
.wd-ico__leer, .wd-ico__bau > *, .wd-ico__lupe, .wd-ico__frage, .wd-ico__alt, .wd-ico__neu, .wd-ico__brief, .wd-ico__punkt { transition: opacity .35s var(--ease), transform .6s var(--ease); }
/* Fenster baut sich auf */
.wd-ico__bau > * { opacity: 0; transform: scaleX(.15); transform-origin: left center; }
.wd-ico__bau .wd-b4 { transform: scale(.4); transform-origin: center; }
.wd .l-lage li:hover .wd-ico__leer { opacity: 0; }
.wd .l-lage li:hover .wd-ico__bau > * { opacity: 1; transform: none; }
.wd .l-lage li:hover .wd-b2 { transition-delay: .07s; } .wd .l-lage li:hover .wd-b3 { transition-delay: .14s; } .wd .l-lage li:hover .wd-b4 { transition-delay: .1s; } .wd .l-lage li:hover .wd-b5 { transition-delay: .22s; }
/* Lupe sucht */
.wd .l-lage li:hover .wd-ico__lupe { animation: wdSuchen 1.5s var(--weich); }
.wd .l-lage li:hover .wd-ico__frage { animation: wdFrage 1.5s var(--weich); }
@keyframes wdSuchen { 25% { transform: translate(-4px, 3px) rotate(-6deg); } 55% { transform: translate(4px, -2px) rotate(4deg); } 80% { transform: translate(-1px, 1px); } }
@keyframes wdFrage { 0%, 60% { opacity: 0; } 100% { opacity: 1; } }
/* Altes Fenster tritt zurück, neues nach vorn */
.wd .l-lage li:hover .wd-ico__alt { opacity: .3; transform: translate(5px, 5px) scale(.9); }
.wd .l-lage li:hover .wd-ico__neu { transform: translate(-5px, -5px); }
/* Nachricht kommt aus dem Umschlag */
.wd-ico__brief { opacity: 0; transform: translateY(12px); }
.wd-ico__punkt { opacity: 0; transform: scale(0); transform-origin: center; }
.wd .l-lage li:hover .wd-ico__brief { opacity: 1; transform: translateY(-4px); }
.wd .l-lage li:hover .wd-ico__punkt { opacity: 1; transform: scale(1); transition-delay: .3s; }

/* ======================= 3 Leistungsumfang ======================= */
.wd-umfang { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.wd-leistung { position: relative; display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: .65rem; padding: clamp(1.5rem, 2.4vw, 2.2rem) clamp(1.2rem, 2.2vw, 2.2rem) clamp(2rem, 3.2vw, 3rem); }
.wd-leistung:nth-child(3n + 1) { padding-left: 0; }
.wd-leistung::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie); transform-origin: left; transition: transform 1.2s var(--weich) calc(var(--i, 0) * .1s), background .4s; }
.wd-leistung:nth-child(-n + 3)::before { background: var(--linie-stark); }
.wd-leistung:not(:nth-child(3n + 1))::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--linie); transform-origin: top; transition: transform 1.2s var(--weich) calc(.2s + var(--i, 0) * .1s); }
.wd-leistung__kopf { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(1rem, 2vw, 1.8rem); }
.wd-leistung__nr { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wine); }
.wd-leistung__nr::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.wd-leistung__ico { width: clamp(44px, 3.8vw, 54px); height: auto; color: var(--carbon); transition: color .4s, translate .6s var(--ease); }
.wd-leistung h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); letter-spacing: -.02em; }
.wd-leistung p { max-width: 30em; color: var(--grau); font-size: clamp(.97rem, 1.05vw, 1.04rem); }
@media (hover: hover) {
  .wd-leistung:hover .wd-leistung__ico { color: var(--wine); translate: 0 -3px; }
  .wd-leistung:hover .wd-leistung__nr::after { width: 34px; }
  .wd-leistung:hover::before { background: var(--wine); }
}

/* Illustration: ein Rahmen, der von Desktop über Tablet zum Smartphone wird; der Inhalt bricht dabei um */
.wd-resp { display: grid; place-items: center; height: 136px; margin-top: 1.2rem; border-radius: 4px; background: #F6F7F9 radial-gradient(rgba(26, 26, 30, .12) 1px, transparent 1.2px) 0 0 / 12px 12px; }
.wd-resp__rahmen { container-type: inline-size; width: 82%; height: 104px; overflow: hidden; border: 1px solid rgba(26, 26, 26, .55); border-radius: 6px; background: #fff; }
.wd-resp__leiste { display: flex; gap: 3px; padding: 5px 6px; border-bottom: 1px solid var(--linie); }
.wd-resp__leiste i { width: 4px; height: 4px; border-radius: 50%; background: rgba(26, 26, 26, .3); }
.wd-resp__seite { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-areas: "t b" "x b" "k b"; gap: 5px 8px; padding: 8px; }
.wd-resp__seite b, .wd-resp__bild { display: block; border-radius: 2px; }
.wd-resp__titel { grid-area: t; height: 9px; background: var(--carbon); }
.wd-resp__text { grid-area: x; height: 5px; width: 85%; background: rgba(26, 26, 26, .25); }
.wd-resp__knopf { grid-area: k; width: 34px; height: 9px; border-radius: 3px !important; background: var(--wine); }
.wd-resp__bild { grid-area: b; min-height: 46px; background: var(--sky); }
@container (max-width: 150px) {
  .wd-resp__seite { grid-template-columns: 1fr; grid-template-areas: "b" "t" "x" "k"; gap: 4px; }
  .wd-resp__bild { min-height: 26px; }
}
@keyframes wdResp { 0%, 14% { width: 82%; } 36%, 46% { width: 52%; } 66%, 80% { width: 26%; } 100% { width: 82%; } }

/* Illustration: abstrahiertes Suchergebnis, ohne Zahlen oder Platzierungen */
.wd-serp { display: grid; gap: 10px; align-content: center; height: 136px; margin-top: 1.2rem; padding: 0 clamp(1rem, 2vw, 1.4rem); border-radius: 4px; background: #F6F7F9; }
.wd-serp__such { position: relative; display: block; height: 22px; border: 1px solid rgba(26, 26, 26, .25); border-radius: 99px; background: #fff; }
.wd-serp__such i { position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; translate: 0 -60%; border: 1.4px solid rgba(26, 26, 26, .55); border-radius: 50%; }
.wd-serp__treffer { display: grid; gap: 5px; padding: 8px 10px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--linie); }
.wd-serp__quelle { display: flex; align-items: center; gap: 5px; }
.wd-serp__quelle i { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); }
.wd-serp__quelle b { width: 54px; height: 4px; border-radius: 2px; background: rgba(26, 26, 26, .25); }
.wd-serp__treffer > b { display: block; height: 5px; border-radius: 2px; transform-origin: left; }
.wd-serp__titel { width: 72%; height: 7px !important; background: #1F4FB6; }
.wd-serp__zeile { width: 94%; background: rgba(26, 26, 26, .2); }
.wd-serp__zeile--kurz { width: 62%; }

/* ======================= 4 Aus einer Hand ======================= */
.wd-hand { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--section); padding-block: clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, #F3F8FD 0%, #EEF5FC 100%); border-block: 1px solid var(--sky-line); }
.wd-hand__raster { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(120, 150, 190, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 190, .16) 1px, transparent 1px); background-size: 56px 56px; background-position: calc(50% + 28px) 0; -webkit-mask-image: radial-gradient(60% 75% at 74% 50%, #000 10%, transparent 78%); mask-image: radial-gradient(60% 75% at 74% 50%, #000 10%, transparent 78%); }
.wd-hand__inhalt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wd-hand__text { display: grid; gap: 1.1rem; justify-items: start; }
.wd-hand__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .6rem; }
.wd-pfeil:hover .btn__ico { animation: wdPfeil .65s var(--ease); }

/* Komposition: Teile liegen verstreut und rücken beim Scrollen an ihren Platz (--p: 0 verstreut, 1 fertig) */
.wd-komp { --p: 1; position: relative; aspect-ratio: 6 / 5; container-type: inline-size; }
.wd-komp__browser { position: absolute; left: 6cqw; top: 7cqw; width: 88cqw; height: 70cqw; border: 1px solid rgba(26, 26, 26, .16); border-radius: 1.6cqw; background: #fff; box-shadow: 0 4cqw 8cqw -5cqw rgba(30, 30, 60, .28); opacity: calc(.35 + var(--p) * .65); scale: calc(.95 + var(--p) * .05); }
.wd-komp__leiste { display: flex; align-items: center; gap: 1cqw; height: 6cqw; padding-inline: 2.2cqw; border-bottom: 1px solid var(--linie); }
.wd-komp__leiste i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: rgba(26, 26, 26, .2); }
.wd-komp__leiste b { width: 30cqw; height: 2.6cqw; margin-left: 4cqw; border-radius: 1.3cqw; background: #F2F3F5; }
.wd-komp__nav { position: absolute; right: 5cqw; top: 9.6cqw; display: flex; gap: 2.4cqw; }
.wd-komp__nav b { width: 6cqw; height: 1.1cqw; border-radius: 1cqw; background: rgba(26, 26, 26, .25); }
.wd-komp__teil { position: absolute; translate: calc(var(--dx) * (1 - var(--p)) * 1cqw) calc(var(--dy) * (1 - var(--p)) * 1cqw); rotate: calc(var(--r) * (1 - var(--p)) * 1deg); }
.wd-komp__teil small { position: absolute; left: 0; top: calc(100% + 1cqw); font-size: clamp(.62rem, 1.9cqw, .78rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--grau-2); opacity: calc(1 - var(--p) * 1.8); }
.wd-komp__logo { left: 11cqw; top: 13.4cqw; width: 5.4cqw; }
.wd-komp__logo svg { display: block; width: 100%; height: auto; }
.wd-komp__titel { left: 11cqw; top: 26cqw; width: 40cqw; display: grid; gap: 1.6cqw; }
.wd-komp__titel b { display: block; height: 4cqw; border-radius: .8cqw; background: var(--carbon); }
.wd-komp__titel b + b { width: 72%; background: var(--wine); }
.wd-komp__knopf { left: 11cqw; top: 42cqw; }
.wd-komp__knopf span { display: block; width: 17cqw; height: 5.4cqw; border-radius: 1cqw; background: var(--wine); box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .0); }
.wd-komp__schrift { left: 57cqw; top: 22cqw; width: 28cqw; height: 28cqw; display: grid; place-items: center; border-radius: 1.4cqw; background: var(--sky); }
.wd-komp__schrift b { font-family: var(--display); font-size: 13cqw; font-weight: 600; line-height: 1; letter-spacing: -.05em; color: var(--wine); }
.wd-komp__farben { left: 11cqw; top: 57cqw; width: 74cqw; height: 13cqw; display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; overflow: visible; }
.wd-komp__farben i:nth-child(1) { background: var(--wine); border-radius: 1cqw 0 0 1cqw; }
.wd-komp__farben i:nth-child(2) { background: var(--carbon); }
.wd-komp__farben i:nth-child(3) { background: var(--sky); }
.wd-komp__farben i:nth-child(4) { background: #ECEDEF; border-radius: 0 1cqw 1cqw 0; }
/* verstreut wirken die Teile wie einzelne Karten aus einem Styleguide */
.wd-komp__teil:not(.wd-komp__farben):not(.wd-komp__schrift) { padding: calc((1 - var(--p)) * 1.4cqw); margin: calc((1 - var(--p)) * -1.4cqw); border-radius: 1.2cqw; background: rgba(255, 255, 255, calc(1 - var(--p))); box-shadow: 0 2cqw 4cqw -2.4cqw rgba(30, 30, 60, calc((1 - var(--p)) * .5)); }

/* ======================= 5 Projekte: Slider ======================= */
.wd-projekte { position: relative; }
.wd-slider { position: relative; margin-top: .4rem; }
.wd-slider__spur { --rand: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; gap: clamp(.8rem, 1.4vw, 1.25rem); margin: 0; padding: .3rem var(--rand) .8rem; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--rand); scrollbar-width: none; -webkit-user-select: none; user-select: none; }
.wd-slider__spur::-webkit-scrollbar { display: none; }
.wd-slider__spur:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.wd-slider__spur.zieht { scroll-snap-type: none; }
.wd-dia { flex: none; scroll-snap-align: start; }
.wd-dia__karte { display: grid; gap: .85rem; color: var(--carbon); }
.wd-dia__bild { position: relative; display: block; height: clamp(16rem, 29vw, 27rem); overflow: hidden; border-radius: 10px; background: var(--grau-bg); box-shadow: inset 0 0 0 1px var(--linie); }
.wd-dia__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: 50% 0; translate: var(--px, 0px) 0; scale: 1.05; transition: scale .9s var(--ease); pointer-events: none; }
.wd-dia__unter { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding-inline: .15rem; font-size: .92rem; }
.wd-dia__nr { font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--grau-2); }
.wd-dia__unter b { font-weight: 600; transition: color .3s; }
.wd-dia__branche { color: var(--grau-2); }
.wd-dia__art { padding: .16rem .6rem; border: 1px solid var(--linie); border-radius: 99px; font-size: .74rem; color: var(--grau); transition: border-color .3s, color .3s; }
.wd-dia__pfeil { color: var(--wine); opacity: 0; translate: -6px 0; transition: opacity .3s, translate .45s var(--ease); }
.wd-dia__karte:hover .wd-dia__bild img { scale: 1.085; }
.wd-dia__karte:hover b, .wd-dia__karte:focus-visible b { color: var(--wine); }
.wd-dia__karte:hover .wd-dia__art { border-color: rgba(120, 2, 14, .4); color: var(--wine); }
.wd-dia__karte:hover .wd-dia__pfeil, .wd-dia__karte:focus-visible .wd-dia__pfeil { opacity: 1; translate: 0 0; }
.wd-dia__karte:focus-visible { outline: none; }
.wd-dia__karte:focus-visible .wd-dia__bild { outline: 2px solid var(--wine); outline-offset: 3px; }
.wd-slider__fuss { display: flex; align-items: center; gap: 1.2rem 1.6rem; margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.wd-fortschritt { position: relative; flex: 1; height: 2px; background: var(--grau-line); overflow: hidden; }
.wd-fortschritt i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--wine); transition: width .3s; }
.wd-slider__knoepfe { display: flex; gap: .5rem; }
.wd-knopf { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--grau-line); border-radius: 50%; background: #fff; color: var(--carbon); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.wd-knopf svg { width: 18px; height: 18px; transition: translate .4s var(--ease); }
.wd-knopf:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.wd-knopf[data-zurueck]:hover svg { translate: -3px 0; } .wd-knopf[data-weiter]:hover svg { translate: 3px 0; }
.wd-knopf:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.wd-knopf:disabled { opacity: .35; pointer-events: none; }
/* Eigener Cursor zum Ziehen, nur mit Maus und nur innerhalb des Sliders */
.wd-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; pointer-events: none; opacity: 0; scale: .3; transition: opacity .25s, scale .4s var(--ease); }
.wd-cursor span::before, .wd-cursor span::after { content: "‹"; margin-right: .35rem; opacity: .7; } .wd-cursor span::after { content: "›"; margin: 0 0 0 .35rem; }
@media (hover: hover) and (pointer: fine) {
  .wd-slider.cursor-an .wd-slider__spur, .wd-slider.cursor-an .wd-slider__spur a { cursor: none; }
  .wd-slider.cursor-an .wd-cursor { opacity: 1; scale: 1; }
  .wd-slider.zieht .wd-cursor { scale: .78; }
}

/* ======================= 6 Ablauf ======================= */
.wd .l-schritt { isolation: isolate; }
.wd .l-schritt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(243, 248, 253, 0) 0%, #F3F8FD 100%); opacity: 0; transition: opacity .6s var(--ease); }
.wd .l-schritt::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.wd .l-schritte.bereit .l-schritt.ist-aktiv::before { opacity: 1; }
.wd .l-schritte.bereit .l-schritt.ist-aktiv::after { transform: scaleX(1); }
.wd .l-schritt__nr span { display: inline-grid; place-items: center; width: 2.3em; height: 2.3em; margin: -.6em 0 -.6em -.62em; border-radius: 50%; font-variant-numeric: tabular-nums; transition: background .45s, color .45s, scale .6s var(--ease); }
.wd .l-schritte.bereit .l-schritt.ist-aktiv .l-schritt__nr span { background: var(--wine); color: #fff; scale: 1.05; }
.wd .l-schritte.bereit .l-schritt.ist-fertig .l-schritt__nr span { box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .25); }
.wd .l-schritt__ico { transition: color .5s var(--ease), translate .6s var(--ease); }
.wd .l-schritte.bereit .l-schritt__ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.wd .l-schritte.bereit .l-schritt:is(.ist-aktiv, .ist-fertig) .l-schritt__ico * { stroke-dashoffset: 0; }
.wd .l-schritte.bereit .l-schritt__text { translate: 0 10px; transition: translate .8s var(--ease), color .5s var(--ease); }
.wd .l-schritte.bereit .l-schritt:is(.ist-aktiv, .ist-fertig) .l-schritt__text { translate: 0 0; }
.wd .l-schritte.bereit .l-schritt.ist-aktiv .l-schritt__ico { translate: 0 -4px; }
@media (hover: hover) and (pointer: fine) {
  .wd .l-schritte.bereit .l-schritt:hover { --farbe: var(--wine); --text: var(--grau); }
  .wd .l-schritte.bereit .l-schritt:hover::before { opacity: .7; }
  .wd .l-schritte.bereit .l-schritt:hover .l-schritt__ico * { stroke-dashoffset: 0; }
  .wd .l-schritte.bereit .l-schritt:hover .l-schritt__text { translate: 0 0; }
}

/* ======================= 7 Ansprechpartnerin ======================= */
.wd-foto { position: relative; margin: 0; }
.wd-foto__rahmen { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--sky-soft); }
.wd-foto__rahmen img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: 62% 30%; translate: 0 var(--py, 0px); }
.wd-marke { position: absolute; width: 20px; height: 20px; border: 0 solid var(--wine); transition: opacity .6s var(--ease) 1s, translate .8s var(--ease) 1s; }
.wd-marke--ol { left: -12px; top: -12px; border-width: 1.5px 0 0 1.5px; }
.wd-marke--or { right: -12px; top: -12px; border-width: 1.5px 1.5px 0 0; }
.wd-marke--ul { left: -12px; bottom: calc(-12px + 2.6rem); border-width: 0 0 1.5px 1.5px; }
.wd-marke--ur { right: -12px; bottom: calc(-12px + 2.6rem); border-width: 0 1.5px 1.5px 0; }
.wd-foto__unter { display: flex; align-items: center; gap: .6rem; height: 2.6rem; padding-top: .9rem; font-size: .84rem; color: var(--grau); }
.wd-foto__punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }
.wd-person { align-items: start; }
.wd-person .l-person__text { padding-top: clamp(0rem, 3vw, 2.4rem); }

/* ======================= 8 Hosting und Support ======================= */
.wd-hosting { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.wd-host { position: relative; display: grid; align-content: start; gap: .55rem; padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.2rem, 2.2vw, 2.2rem) .4rem; }
.wd-host::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(var(--wine), var(--wine)) 0 0 / 0% 100% no-repeat, var(--linie-stark); transform-origin: left; transition: transform 1.2s var(--weich) calc(var(--i, 0) * .12s), background-size .7s var(--ease); }
.wd-host + .wd-host::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--linie); transform-origin: top; transition: transform 1.1s var(--weich) calc(.25s + var(--i, 0) * .12s); }
/* gleich breite Spalten: Abstand als Spaltenlücke, Linien laufen bis in die Mitte der Lücke */
.wd-hosting { --spalt: clamp(2.4rem, 4.4vw, 4.4rem); column-gap: var(--spalt); }
.wd-host, .wd-host:first-child { padding-inline: 0; }
.wd-host::before { left: calc(var(--spalt) / -2); right: calc(var(--spalt) / -2); }
.wd-host:first-child::before { left: 0; }
.wd-host:last-child::before { right: 0; }
.wd-host + .wd-host::after { left: calc(var(--spalt) / -2); }
.wd-host__bild { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 1rem; overflow: hidden; border-radius: 4px; color: var(--carbon); background-color: #F6F7F9; }
.wd-host__bild svg { position: relative; width: 84%; height: auto; }
.wd-host--check .wd-host__bild { background-image: linear-gradient(rgba(26, 26, 30, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 26, 30, .06) 1px, transparent 1px); background-size: 16px 16px; }
.wd-host--suche .wd-host__bild { background-image: radial-gradient(rgba(26, 26, 30, .16) 1px, transparent 1.2px); background-size: 12px 12px; }
.wd-host--support .wd-host__bild { background-image: repeating-radial-gradient(circle at 85% 110%, transparent 0 22px, rgba(26, 26, 30, .07) 22px 23px); }
.wd-host__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); translate: -110% 0; pointer-events: none; }
.wd-host__label { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.wd-host h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.02em; }
.wd-host > p:last-child { color: var(--grau); font-size: clamp(.97rem, 1.05vw, 1.04rem); }
.wd-host svg * { transform-box: fill-box; }
.wd-scan { opacity: 0; transform: translateY(40px); color: var(--wine); }
.wd-treffer__rahmen { stroke: var(--wine); opacity: 0; transition: opacity .4s; }
.wd-suchlupe { transform-origin: center; transition: transform .9s var(--ease); }
.wd-tippen circle { transform-origin: center; }
@keyframes wdScan { 0% { opacity: 0; transform: translateY(40px); } 12%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(130px); } }
@keyframes wdScan2 { 0% { opacity: 0; transform: translateY(40px); } 12%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(130px); } }
@keyframes wdTippen { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@media (hover: hover) {
  .wd-host:hover::before { background-size: 100% 100%, auto; }
  .wd-host:hover .wd-host__bild::after { translate: 110% 0; transition: translate 1.1s var(--ease); }
  .wd-host--check:hover .wd-scan { animation: wdScan2 1.8s var(--weich); }
  .wd-host--suche:hover .wd-treffer__rahmen { opacity: 1; }
  .wd-host--suche:hover .wd-suchlupe { transform: translate(-14px, -30px) rotate(-8deg); }
  .wd-host--support:hover .wd-tippen circle { animation: wdTippen 1s ease-in-out infinite; }
  .wd-host--support:hover .wd-tippen circle:nth-child(2) { animation-delay: .15s; }
  .wd-host--support:hover .wd-tippen circle:nth-child(3) { animation-delay: .3s; }
}

/* ======================= 9 FAQ ======================= */
.wd .l-fragen { position: relative; border-bottom: 0; }
.wd .l-fragen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(26, 26, 26, .16); transform-origin: left; transition: transform 1.2s var(--weich) .5s; }
.wd .l-fragen details { position: relative; border-top: 0; }
.wd .l-fragen details::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(26, 26, 26, .16); transform-origin: left; transition: transform 1.1s var(--weich), background .4s; }
.wd .l-fragen details:nth-child(2)::before { transition-delay: .08s; } .wd .l-fragen details:nth-child(3)::before { transition-delay: .16s; } .wd .l-fragen details:nth-child(4)::before { transition-delay: .24s; } .wd .l-fragen details:nth-child(5)::before { transition-delay: .32s; }
.wd .l-fragen details[open]:not(.schliesst)::before { background: var(--wine); }
.wd .l-fragen details[open]:not(.schliesst) summary { color: var(--wine); }
.wd .l-fragen summary i { transition: background .3s, color .3s, scale .4s var(--ease); }
.wd .l-fragen summary:hover i { scale: 1.08; }
.wd .l-fragen__a p { transition: translate .5s var(--ease); }

/* ======================= 10 Kontakt und Footer ======================= */
.wd .fuss { isolation: isolate; }
.wd-mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.wd-mesh i { position: absolute; aspect-ratio: 1; border-radius: 50%; will-change: transform; animation: 28s ease-in-out infinite alternate paused; }
.wd-mesh i:nth-child(1) { left: -14vmax; top: -24vmax; width: 64vmax; background: radial-gradient(closest-side, rgba(163, 18, 42, .55), transparent); animation-name: wdMesh1; }
.wd-mesh i:nth-child(2) { right: -18vmax; top: 6%; width: 52vmax; background: radial-gradient(closest-side, rgba(207, 232, 255, .1), transparent); animation-name: wdMesh2; animation-duration: 34s; }
.wd-mesh i:nth-child(3) { left: 24%; bottom: -34vmax; width: 60vmax; background: radial-gradient(closest-side, rgba(30, 0, 5, .75), transparent); animation-name: wdMesh3; animation-duration: 25s; }
@keyframes wdMesh1 { to { transform: translate3d(18vmax, 10vmax, 0) scale(1.1); } }
@keyframes wdMesh2 { to { transform: translate3d(-16vmax, 12vmax, 0) scale(.88); } }
@keyframes wdMesh3 { to { transform: translate3d(-12vmax, -8vmax, 0) scale(1.12); } }
.wd .fuss .wd-korn { opacity: .07; }
.wd .fuss .deko--zeichen { translate: 0 var(--fy, 0px); }
.wd .fuss .ring svg { animation-duration: 38s; }
/* Große Zeile: Licht folgt dem Mauszeiger, Unterstrich zeichnet sich, Pfeil läuft durch */
.wd .fuss__gross { position: relative; isolation: isolate; width: fit-content; max-width: 100%; }
.wd .fuss__gross:hover { opacity: 1; }
.wd .fuss__gross::before { content: ""; position: absolute; z-index: -1; left: var(--gx, 50%); top: var(--gy, 50%); width: min(34rem, 80vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(207, 232, 255, .2), transparent); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.wd .fuss__gross:hover::before { opacity: 1; }
.wd .fuss__gross em { background: linear-gradient(currentColor, currentColor) 0 94% / 0% .06em no-repeat; transition: background-size .8s var(--ease); }
.wd .fuss__gross:hover em, .wd .fuss__gross:focus-visible em { background-size: 100% .06em; }
.wd .fuss__gross:hover span[aria-hidden] { animation: wdPfeilGross .8s var(--ease) forwards; }
@keyframes wdPfeilGross { 0% { translate: 0 0; opacity: 1; } 40% { translate: .5em 0; opacity: 0; } 41% { translate: -.4em 0; opacity: 0; } 100% { translate: .14em 0; opacity: 1; } }

/* ======================= Startzustände (nur mit Skript und ohne reduzierte Bewegung) ======================= */
@media (prefers-reduced-motion: no-preference) {
  /* Linien zeichnen sich */
  html.js .wd .l-lage:not(.wd-in)::before, html.js .wd .l-lage:not(.wd-in)::after,
  html.js .wd-umfang:not(.wd-in) .wd-leistung::before, html.js .wd .l-fragen:not(.wd-in) details::before, html.js .wd .l-fragen:not(.wd-in)::after,
  html.js .wd-hosting:not(.wd-in) .wd-host::before { transform: scaleX(0); }
  html.js .wd .l-lage:not(.wd-in) li + li::after, html.js .wd-umfang:not(.wd-in) .wd-leistung::after, html.js .wd-hosting:not(.wd-in) .wd-host + .wd-host::after { transform: scaleY(0); }

  /* Ausgangslagen: Icons zeichnen sich Strich für Strich, Texte kommen leicht versetzt */
  html.js .wd .l-lage .wd-ico :is(path, rect, circle):not(.wd-ico__leer *):not(.wd-ico__punkt) { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) calc(.4s + var(--n, -1) * .15s + .15s), opacity .35s var(--ease), transform .6s var(--ease); }
  html.js .wd .l-lage:not(.wd-in) .wd-ico :is(path, rect, circle):not(.wd-ico__leer *):not(.wd-ico__punkt) { stroke-dashoffset: 1; }
  html.js .wd .l-lage:not(.wd-in) .wd-ico__leer { opacity: 0; }
  html.js .wd .l-lage .l-lage__text, html.js .wd .l-lage .l-lage__nr { transition: opacity .7s var(--ease), translate .9s var(--ease); transition-delay: calc(.5s + var(--n, -1) * .12s + .12s); }
  html.js .wd .l-lage:not(.wd-in) :is(.l-lage__text, .l-lage__nr) { opacity: 0; translate: 0 14px; }
  html.js .wd .l-lage:not(.wd-in) li::before { opacity: 0 !important; }
  html.js .wd .l-lage h3, html.js .wd .l-lage p { transition-delay: 0s; }

  /* Leistungsumfang: Nummer, Icon und Text nacheinander, Icons zeichnen sich */
  html.js .wd-leistung__ico * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) calc(.3s + var(--i, 0) * .12s); }
  html.js .wd-umfang:not(.wd-in) .wd-leistung__ico * { stroke-dashoffset: 1; }
  html.js .wd-leistung > :is(h3, p), html.js .wd-leistung__nr { transition: opacity .8s var(--ease), translate .9s var(--ease), clip-path 1s var(--ease); transition-delay: calc(.25s + var(--i, 0) * .1s); }
  html.js .wd-umfang:not(.wd-in) .wd-leistung > :is(h3, p) { opacity: 0; translate: 0 12px; }
  html.js .wd-umfang:not(.wd-in) .wd-leistung__nr { opacity: 0; }
  html.js .wd-umfang .wd-resp, html.js .wd-umfang .wd-serp { transition: clip-path 1.1s var(--weich) calc(.6s + var(--i, 0) * .1s); clip-path: inset(0 0 0 0); }
  html.js .wd-umfang:not(.wd-in) :is(.wd-resp, .wd-serp) { clip-path: inset(0 100% 0 0); }
  html.js .wd-umfang.wd-in .wd-resp__rahmen { animation: wdResp 5.5s var(--weich) 1.4s 1 both; }
  html.js .wd-umfang .wd-leistung:hover .wd-resp__rahmen { animation: wdResp2 4.5s var(--weich) 1 both; }
  html.js .wd-serp__treffer > b, html.js .wd-serp__quelle { transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(1.2s + var(--k, 0) * .12s); }
  html.js .wd-serp__titel { --k: 1; } html.js .wd-serp__zeile { --k: 2; } html.js .wd-serp__zeile--kurz { --k: 3; }
  html.js .wd-umfang:not(.wd-in) .wd-serp__treffer > b { transform: scaleX(0); }
  html.js .wd-umfang:not(.wd-in) .wd-serp__quelle { opacity: 0; }

  /* Aus einer Hand: Text kommt von links, die Komposition setzt sich per Scroll zusammen (webdesign.js) */
  html.js .wd-hand__text > * { transition: opacity .9s var(--ease), translate 1s var(--ease); }
  html.js .wd-hand:not(.wd-in) .wd-hand__text > * { opacity: 0; translate: -18px 0; }
  html.js .wd-hand__text > :nth-child(2) { transition-delay: .08s; } html.js .wd-hand__text > :nth-child(3) { transition-delay: .16s; } html.js .wd-hand__text > :nth-child(4) { transition-delay: .24s; }
  html.js .wd-hand .wd-hand__text :is(.kicker, .h2, .lead)[data-reveal] { opacity: 1; translate: 0 0; }

  /* Projekte: Bilder öffnen sich von unten wie eine Maske, das Bild setzt sich dabei */
  html.js .wd-dia__bild { clip-path: inset(0 0 0 0 round 10px); transition: clip-path 1.2s var(--weich) calc(var(--i, 0) * .09s); }
  html.js .wd-slider:not(.wd-in) .wd-dia__bild { clip-path: inset(100% 0 0 0 round 10px); }
  html.js .wd-slider:not(.wd-in) .wd-dia__bild img { scale: 1.18; }
  html.js .wd-dia__unter { transition: opacity .8s var(--ease) calc(.5s + var(--i, 0) * .09s), translate .9s var(--ease) calc(.5s + var(--i, 0) * .09s); }
  html.js .wd-slider:not(.wd-in) .wd-dia__unter { opacity: 0; translate: 0 8px; }
  html.js .wd-dia__bild img { transition: scale 1.4s var(--ease); }

  /* Ansprechpartnerin: Foto wird von links freigelegt, dann Schnittmarken, Text folgt versetzt */
  html.js .wd-foto__rahmen { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--weich); }
  html.js .wd-foto:not(.wd-in) .wd-foto__rahmen { clip-path: inset(0 100% 0 0); }
  html.js .wd-foto__rahmen img { transition: scale 1.8s var(--ease); }
  html.js .wd-foto:not(.wd-in) .wd-foto__rahmen img { scale: 1.12; }
  html.js .wd-foto:not(.wd-in) .wd-marke { opacity: 0; }
  html.js .wd-foto:not(.wd-in) .wd-marke--ol { translate: 8px 8px; } html.js .wd-foto:not(.wd-in) .wd-marke--or { translate: -8px 8px; }
  html.js .wd-foto:not(.wd-in) .wd-marke--ul { translate: 8px -8px; } html.js .wd-foto:not(.wd-in) .wd-marke--ur { translate: -8px -8px; }
  html.js .wd-foto__unter { transition: opacity .8s var(--ease) 1.1s, translate .8s var(--ease) 1.1s; }
  html.js .wd-foto:not(.wd-in) .wd-foto__unter { opacity: 0; translate: 0 6px; }
  html.js .wd-person .l-person__text > [data-reveal] { transition-delay: calc(.45s + var(--i, 0) * 110ms); }

  /* Hosting: Illustrationen zeichnen sich, der Check läuft einmal durch */
  html.js .wd-host__bild svg :is(path, rect, circle):not(.wd-tippen *):not(.wd-scan *) { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) calc(.3s + var(--i, 0) * .15s), opacity .4s; }
  html.js .wd-hosting:not(.wd-in) .wd-host__bild svg :is(path, rect, circle):not(.wd-tippen *):not(.wd-scan *) { stroke-dashoffset: 1; }
  html.js .wd-host__bild svg .wd-treffer__rahmen { stroke-dasharray: none; }
  html.js .wd-hosting.wd-in .wd-host--check .wd-scan { animation: wdScan 2s var(--weich) 1.2s 1 both; }
  html.js .wd-host > :not(.wd-host__bild) { transition: opacity .8s var(--ease), translate .9s var(--ease); transition-delay: calc(.4s + var(--i, 0) * .12s); }
  html.js .wd-hosting:not(.wd-in) .wd-host > :not(.wd-host__bild) { opacity: 0; translate: 0 10px; }

  /* Kontakt: Bild öffnet sich als Maske aus der Mitte */
  html.js .wd .kontakt__bild[data-reveal] { clip-path: inset(14% 10% 14% 10% round 20px); opacity: 1; translate: 0 0; transition: clip-path 1.5s var(--weich); }
  html.js .wd .kontakt__bild[data-reveal].in { clip-path: inset(0 0 0 0 round 20px); }
}
@keyframes wdResp2 { 0%, 10% { width: 82%; } 32%, 42% { width: 52%; } 62%, 78% { width: 26%; } 100% { width: 82%; } }

/* ======================= Responsiv ======================= */
@media (max-width: 1080px) {
  .wd-umfang { grid-template-columns: 1fr 1fr; }
  .wd-leistung:nth-child(3n + 1) { padding-left: clamp(1.2rem, 2.2vw, 2.2rem); }
  .wd-leistung:nth-child(2n + 1) { padding-left: 0; }
  .wd-leistung:not(:nth-child(3n + 1))::after { content: none; }
  .wd-leistung:nth-child(2n)::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--linie); transform-origin: top; transition: transform 1.2s var(--weich) .2s; }
  .wd-leistung:nth-child(-n + 3)::before { background: var(--linie); }
  .wd-leistung:nth-child(-n + 2)::before { background: var(--linie-stark); }
  .wd-hand__inhalt { grid-template-columns: 1fr; }
  .wd-komp { width: min(100%, 560px); justify-self: center; }
  /* Ausgangslagen 2 × 2: senkrechte Linie nur zwischen den Spalten, waagerechte über der zweiten Reihe */
  .wd .l-lage li:nth-child(3)::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .wd .l-lage li:nth-child(4)::after { height: auto; }
  .wd .l-lage li:nth-child(3) { box-shadow: none; }
  .wd .l-lage li:nth-child(4) { box-shadow: 0 -1px 0 var(--linie); }
}
@media (max-width: 860px) {
  .wd-hosting { grid-template-columns: 1fr; }
  .wd-host, .wd-host:first-child { padding: 1.6rem 0 1.4rem; }
  .wd-host + .wd-host::after { content: none; }
  .wd-host::before, .wd-host:first-child::before, .wd-host:last-child::before { left: 0; right: 0; }
  .wd-host__bild { aspect-ratio: 16 / 8; }
  .wd-person .l-person__text { padding-top: 0; }
  .wd-slider__fuss { flex-wrap: wrap; }
  .wd-fortschritt { flex: 1 1 100%; order: -1; }
  .wd-slider__fuss .textlink { margin-left: auto; }
}
@media (max-width: 640px) {
  .wd-umfang { grid-template-columns: 1fr; }
  .wd-leistung, .wd-leistung:nth-child(n) { padding: 1.5rem 0 1.8rem; }
  .wd-leistung:nth-child(2n)::after { content: none; }
  .wd-leistung:nth-child(2)::before { background: var(--linie); }
  .wd-leistung__kopf { margin-bottom: .6rem; }
  .wd .l-lage li + li::after, .wd .l-lage li:nth-child(n + 2)::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .wd .l-lage li:nth-child(4) { box-shadow: none; }
  /* Smartphone: niedrigere Bilder, damit die nächste Karte sichtbar hineinragt */
  .wd-dia__bild { height: 50vw; }
  .wd-cursor { display: none; }
}

/* Reduzierte Bewegung: nichts schwebt, nichts läuft endlos, Parallax aus */
@media (prefers-reduced-motion: reduce) {
  .wd-licht i, .wd-mesh i, .wd .l-schild span::after, .wd .fuss .ring svg { animation: none !important; }
  .wd .l-schild span::after { display: none; }
  .wd .l-hero--bild > .wrap, .wd .l-hero__bild, .wd .l-schilder, .wd .fuss .deko--zeichen, .wd-foto__rahmen img, .wd-dia__bild img { translate: none !important; }
  .wd .l-hero__buehne > img { transform: none; transition: none; }
  .wd .l-hero--bild > .wrap { opacity: 1; }
  .wd-komp { --p: 1 !important; }
  .wd .l-lage li:hover .wd-ico__lupe, .wd .l-lage li:hover .wd-ico__frage, .wd-host:hover *, .wd-pfeil:hover .btn__ico, .wd .fuss__gross:hover span[aria-hidden] { animation: none !important; }
  .wd-ico *, .wd-host *, .wd-host::before, .wd-host__bild::after, .wd .l-lage li::before { transition: none !important; }
}
