/* Bild-Hero (index3.html): vollflächiges Motiv, Header liegt transparent darüber. */

/* Header über dem Bild: transparent, bis gescrollt wird */
.header--over{margin-bottom:-69px}
.header--over.on-dark:not(.is-stuck){background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.header--over.on-dark:not(.is-stuck) .header__in{border-inline:0}

.hero-img{position:relative;display:flex;min-height:max(600px,calc(100svh - 40px));background:#0c1424;overflow:hidden;isolation:isolate}
.hero-img__bg{position:absolute;inset:0;z-index:-2}
.hero-img__bg .paint{border-radius:0}
.hero-img__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%)}
.hero-img__bg img[hidden]{display:none}
/* Abdunklung: oben für die Navigation, unten für die Headline */
.hero-img::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,12,22,.5) 0,rgba(8,12,22,0) 22%,rgba(8,12,22,0) 45%,rgba(8,12,22,.72) 100%)}

.hero-img>.wrap{display:flex;flex-direction:column;justify-content:flex-end;width:100%;border-inline:0;padding-top:120px;padding-bottom:clamp(28px,4vw,48px)}
.hero-img .display{max-width:19ch;font-size:clamp(2.5rem,6.2vw,5.25rem);letter-spacing:-.045em;text-shadow:0 1px 24px rgba(0,0,0,.25)}
.hero-img .lead{max-width:44ch;margin-top:18px;color:rgba(255,255,255,.88);font-size:clamp(1.0625rem,1.6vw,1.3125rem);text-shadow:0 1px 12px rgba(0,0,0,.3)}
.hero-img .btn--dark{background:#fff;color:#141413!important;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.hero-img .btn--dark:hover{background:#ecece8}

.hero-img .hero__cta{align-self:flex-start;margin-top:clamp(24px,3vw,36px)}
/* KI-Hinweis über der Headline */
.hero-img .scribble{position:static;align-self:flex-start;margin:0 0 clamp(14px,2vw,24px) clamp(24px,5vw,80px);color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.45);transition:opacity .2s}
.hero-img .scribble:hover{opacity:.78}
@media (max-width:1040px){.hero-img .scribble svg{display:none}.hero-img .scribble{margin:0 0 14px 16px}}

/* Software-Zeile unter dem Hero */
.hero-marks>.wrap{display:flex;align-items:center;justify-content:space-between;gap:16px 40px;flex-wrap:wrap;padding-block:clamp(22px,3vw,34px)}
.hero-marks p{font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Motiv-Umschalter: nur zur Abstimmung, vor Livegang entfernen */
.hero-pick{position:fixed;left:50%;bottom:14px;z-index:60;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:5px;border-radius:99px;background:rgba(20,20,19,.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 28px -8px rgba(0,0,0,.5);font-size:13px;color:#fff;max-width:calc(100vw - 24px)}
.hero-pick span{padding:0 8px 0 12px;font:500 11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.6);white-space:nowrap}
.hero-pick button{min-height:36px;padding:0 13px;border-radius:99px;color:rgba(255,255,255,.8);white-space:nowrap}
.hero-pick button:hover{color:#fff}
.hero-pick button[aria-pressed="true"]{background:#fff;color:#141413}
.hero-pick button:focus-visible{outline-color:#fff}
@media (max-width:900px){.hero-img>.wrap{padding-bottom:76px}}
@media (max-width:640px){.hero-pick span{display:none}.hero-pick button{padding:0 10px;font-size:12.5px}}

@media (max-width:600px){
  .hero-img{min-height:max(560px,calc(100svh - 40px))}
  .hero-img::after{background:linear-gradient(180deg,rgba(8,12,22,.5) 0,rgba(8,12,22,.05) 20%,rgba(8,12,22,.45) 42%,rgba(8,12,22,.82) 100%)}
  }
