/* Startseite: feste Sulexo-Farben (Variablen aus site.css). Die Projektfenster behalten ihre eigenen Screenshots,
   die Seitenfarben wechseln nicht mehr. Kopfzeile und Fuß bleiben wie auf den Unterseiten. */
.home {
  --h-bg: var(--paper); --h-paper: var(--surface); --h-ink: var(--ink); --h-muted: var(--muted); --h-line: var(--line);
  --h-accent: var(--accent); --h-wort: var(--accent); --h-shape: var(--sage);
  --h-band: var(--night); --h-on-band: var(--on-night); --h-band-muted: var(--on-night-muted);
  background: var(--h-bg); color: var(--h-ink);
}
.home :focus-visible { outline: 3px solid var(--h-accent); outline-offset: 3px; }
.home h1, .home h2 { font-family: var(--font-body); font-weight: 600; text-wrap: balance; margin: 0; }
.home p { margin: 0; }

.hhero { padding-block: clamp(120px, 12vw, 150px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hhero-in { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 62rem) { .hhero-in { grid-template-columns: 1.05fr 1fr; gap: 24px; } }
.home h1 { font-size: clamp(2.25rem, 5.2vw, 4.75rem); letter-spacing: -.035em; line-height: 1.02; }
.wort { display: inline-block; color: var(--h-wort); }
.wort.neu { animation: h-rein .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes h-rein { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
.home .hlead { color: var(--h-muted); font-size: 1.1875rem; max-width: 46ch; margin: 24px 0 32px; }

/* Schwebende Fenster über der Farbfläche, Kreistext darum */
.hfloat { position: relative; aspect-ratio: 1 / 1; width: min(100%, 36rem); margin-inline: auto; }
.hshape { position: absolute; inset: 14% 8% 10% 12%; background: var(--h-shape); border-radius: 38% 62% 55% 45% / 50% 40% 60% 50%; }
.hring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: h-dreh 60s linear infinite; }
.hring text { font: 600 15.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; fill: var(--h-ink); }
@keyframes h-dreh { to { transform: rotate(360deg); } }
.hwin { position: absolute; width: var(--w); left: var(--l); top: var(--t); transform: rotate(var(--r)); border: 1px solid var(--h-line); border-radius: 6px; overflow: hidden; background: var(--h-paper); box-shadow: 0 28px 48px -20px rgb(11 59 45 / .45); animation: h-schwebe 7s ease-in-out infinite; animation-delay: calc(var(--k) * -2.3s); }
.hwin .hbar { padding: 6px 10px; min-height: 0; }
.hwin img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@keyframes h-schwebe { 50% { transform: translateY(-12px) rotate(calc(var(--r) * -.6)); } }
@media (prefers-reduced-motion: reduce) { .hring, .hwin { animation: none; } }
@media (max-width: 47.99rem) { .hfloat { width: min(100%, 24rem); } .hring text { font-size: 17px; } }

/* Projektband */
.hwahl { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); border-top: 1px solid var(--h-line); overflow: hidden; }
.hwahl-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.hwahl-h { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.05; }
.hctl { display: flex; align-items: center; gap: 8px; }
.hctl[hidden] { display: none; }
.hcount { white-space: nowrap; color: var(--h-muted); font-size: .9375rem; margin-right: 8px; font-variant-numeric: tabular-nums; }
.hstep { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--h-line); border-radius: 4px; background: transparent; color: var(--h-ink); cursor: pointer; }
.hstep svg { width: 22px; height: 22px; }
.hstep:hover { border-color: var(--h-ink); }
.hstrip { --cw: min(90vw, 64rem); display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; position: relative;
  padding-inline: max(16px, calc((100% - var(--cw)) / 2)); padding-bottom: 24px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.hstrip::-webkit-scrollbar { display: none; }
.hstrip.drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.hstrip.drag a { pointer-events: none; }
.hcard { flex: 0 0 var(--cw); scroll-snap-align: center; opacity: .4; transform: scale(.96); transform-origin: center top; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.hcard.is-cur { opacity: 1; transform: none; }
.hframe { border: 1px solid var(--h-line); border-radius: 6px; overflow: hidden; background: var(--h-paper); box-shadow: 0 30px 60px -36px rgb(11 59 45 / .4); }
.hbar { display: flex; justify-content: space-between; gap: 16px; padding: 9px 16px; font-size: .8125rem; color: var(--h-muted); border-bottom: 1px solid var(--h-line); background: var(--h-bg); }
.hvp { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--h-paper); }
.hvp img { display: block; width: 100%; height: auto; -webkit-user-drag: none; }
.hmulti img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .8s ease; }
.hmulti img:first-child { opacity: 1; }
.js .hmulti img:not(.on) { opacity: 0; }
.hmulti img.on { opacity: 1; }
.hinner { padding-top: 24px; display: grid; gap: 12px; max-width: 56rem; }
.hinner h3 { font-family: var(--font-body); font-weight: 600; text-wrap: balance; margin: 0; font-size: clamp(1.375rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.12; }
.hinner > p:not(.hpreis) { color: var(--h-muted); font-size: 1.0625rem; }
.hfeat { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .hfeat { grid-template-columns: repeat(3, 1fr); } }
.hfeat li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--h-line); border-radius: 4px; background: var(--h-paper); font-size: .9375rem; font-weight: 500; line-height: 1.25; }
.hico { flex: none; width: 24px; height: 24px; color: var(--h-accent); }
.hpreis { font-weight: 600; }
.hpreis small { font-weight: 400; color: var(--h-muted); font-size: inherit; }
.hacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .hstrip { scroll-behavior: auto; } .hcard { transition: none; } }
.hbtn { background: var(--cta); color: var(--on-cta); border-color: var(--cta); border-radius: 4px; }
.hbtn:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.hbtn-q { border-color: var(--h-line); color: var(--h-ink); border-radius: 4px; }
.hbtn-q:hover { border-color: var(--h-ink); }
.hbtn-w { background: var(--cta-night); color: var(--on-cta-night); border-color: var(--cta-night); border-radius: 4px; margin-top: 32px; }
.hbtn-w:hover { background: #FF94CD; border-color: #FF94CD; }

.hsec { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--h-line); }
.home h2 { letter-spacing: -.02em; }
.hsec h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; margin-bottom: 32px; }
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px 32px; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .hsteps { grid-template-columns: repeat(4, 1fr); } }
.hsteps li { padding-top: 16px; border-top: 2px solid var(--h-ink); }
.hsteps b { display: block; font-size: 1.25rem; margin-bottom: 6px; }
.hsteps p { color: var(--h-muted); font-size: 1rem; }
.hmehr { margin-top: 32px; color: var(--h-muted); }
.hmehr a { color: var(--h-ink); }
.hkontakt { background: var(--h-band); color: var(--h-on-band); padding-block: clamp(56px, 8vw, 104px); }
.hkontakt :focus-visible { outline-color: var(--h-on-band); }
.hkontakt h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.hkontakt p { margin-top: 16px; color: var(--h-band-muted); }
