:root{color-scheme:dark;--acc:#b3141c;--acc-l:#b3141c}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;overflow-x:hidden}
button,input,textarea{font-family:inherit}
button,a{touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:3px}
img{display:block;max-width:100%;height:auto}
img[src]{color:transparent}
#top img{width:100%;height:100%;object-fit:cover;object-position:center}
#galerie img{width:100%;height:100%;object-fit:cover}
image-slot{display:none}
.image-placeholder{width:100%;height:100%;min-height:180px;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(255,255,255,.25);color:#8f8a85;background:#1d1c1b;font-size:14px}
header{z-index:65!important}
.mobile-navigation[hidden]{display:none!important}
.mobile-navigation{position:fixed;inset:0;background:#101010;color:#f2f0ed;z-index:57;display:flex;flex-direction:column;overflow-y:auto;padding:110px 6vw 45px;gap:0}
.mobile-navigation a{padding:16px 6px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.12);font-size:clamp(22px,5.5vw,33px);font-weight:500;text-decoration:none}
.mobile-navigation a svg{width:23px;height:23px}
.menu-open{overflow:hidden}
[data-menu-toggle][aria-expanded="true"]{background:rgba(255,255,255,.15)!important}
#galerie [data-gallery-track]{transition:transform .7s cubic-bezier(.2,.8,.2,1)!important}
#galerie [data-gallery-item]{cursor:pointer}
#galerie [data-gallery-item]:focus-visible{outline:2px solid white}
[data-gallery-item] img{pointer-events:none}
[data-cat-tab].active,[data-topic].active{color:#f2f0ed!important}
[data-topic].active{background:#b3141c!important;border-color:#b3141c!important;color:white!important}
.form-feedback:not(:empty){border:1px solid rgba(255,255,255,.18);padding:15px 18px;border-radius:4px;line-height:1.6}
.form-feedback[data-status="error"]{border-color:#e38181;color:#ffd1d1}
.form-feedback[data-status="success"]{border-color:#89d6a0;color:#ccf4d5}
.trap{position:absolute!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.review-note{line-height:1.6;color:#bdb8b2;font-size:16px}
#bewertungen [data-review-live]{max-width:720px}
[data-fade], [data-rise]{opacity:1!important;transform:none!important}
[data-totop]{z-index:56!important}
@media(min-width:1180px){.mobile-navigation{display:none!important}}
@media(max-width:1179px){header nav:not(.mobile-navigation){display:none!important}header [data-menu-toggle]{display:flex!important}}
@media(max-width:700px){#top h1{font-size:clamp(46px,15vw,120px)!important;white-space:nowrap!important}#top{min-height:660px}#galerie [data-gallery-item]{width:85vw!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
.gallery-lightbox[hidden]{display:none!important}
.gallery-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:110;display:flex;align-items:center;justify-content:center;padding:5vw}
.gallery-lightbox img{max-width:100%;max-height:90vh;object-fit:contain;border-radius:3px}
.gallery-close{position:absolute;top:20px;right:25px;border:1px solid #666;background:#202020;color:white;border-radius:50%;font-size:30px;width:48px;height:48px;cursor:pointer}
/* Motion and image polish */
#top .hero-background{width:100%;height:100%;object-fit:cover;object-position:center center;user-select:none;will-change:transform}
#top [data-letter]{backface-visibility:hidden}
#ablauf [data-stage]{will-change:opacity,transform}
#ablauf [data-abtext]{will-change:opacity,transform}
@media(prefers-reduced-motion:reduce){#top .hero-background{transform:none!important}#ablauf [data-stage],#ablauf [data-abtext]{transition:none!important}}

/* V13: Prevent four mobile step labels from overlapping. */
#ablauf [data-node]{min-width:0}
#ablauf [data-node] > span:last-child{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:break-word}
#ablauf [data-node] > span:last-child span:last-child{min-width:0}
.gallery-open{overflow:hidden}
#galerie [data-gbar],#bewertungen [data-rbar]{will-change:transform}
@media(max-width:700px){
 [data-totop]{bottom:88px!important;right:12px!important}
 #ablauf [data-node]{gap:9px!important}
 #ablauf [data-node] > span:last-child{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px!important;font-size:clamp(9px,2.45vw,11px)!important;letter-spacing:.025em!important;line-height:1.35;white-space:normal!important}
 #ablauf [data-node] > span:last-child span:last-child{display:block!important;overflow-wrap:normal;hyphens:auto}
 #ablauf [style*="position:sticky"] > div{padding:clamp(48px,8vh,66px) 20px 18px!important;gap:clamp(16px,3vh,26px)!important}
 #ablauf [data-abtext] > span:first-child{font-size:clamp(64px,14vw,90px)!important}
 #ablauf [data-abtext] h3{font-size:clamp(26px,7vw,36px)!important}
 #ablauf [data-abtext] p{font-size:clamp(13px,3.5vw,15px)!important;line-height:1.48!important}
}

/* V14 – Ablauf als selbständig abspielbare Präsentation ohne Scroll-Zwang. */
#ablauf .ablauf-player{height:auto!important;padding-bottom:clamp(56px,7vw,100px)}
#ablauf .ablauf-player-frame{height:auto!important;position:relative!important;top:auto!important;overflow:visible!important}
#ablauf .ablauf-player-content{height:auto!important;min-height:clamp(480px,67vh,700px);justify-content:space-between}
#ablauf [data-abtext]{visibility:hidden;opacity:0;transform:translateY(12px);transition:opacity .32s ease,transform .4s ease;pointer-events:none}
#ablauf [data-abtext="0"]{visibility:visible}
#ablauf [data-abtext] > span:first-child{font-variant-numeric:lining-nums tabular-nums;font-family:Arial,Helvetica,sans-serif!important}
#ablauf [data-node]{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer;font-family:inherit;text-align:left;position:relative;z-index:1;width:100%}
#ablauf [data-node]:focus-visible{outline:2px solid #f2f0ed;outline-offset:8px;border-radius:2px}
#ablauf [data-node]:hover [data-nodedot]{box-shadow:0 0 0 5px rgba(179,20,28,.13)}
#ablauf .ablauf-controls{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap;min-height:36px;color:#8f8a85}
#ablauf .ablauf-control-button{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(242,240,237,.18);background:transparent;color:#f2f0ed;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:500;letter-spacing:.02em;cursor:pointer;transition:background .2s,border-color .2s}
#ablauf .ablauf-control-button:hover{background:rgba(242,240,237,.07);border-color:rgba(242,240,237,.35)}
#ablauf .ablauf-control-button>span:first-child{font-size:16px;display:inline-flex;align-items:center;justify-content:center;width:15px;line-height:1}
#ablauf .ablauf-control-hint{margin-left:auto;font-size:11px;color:#77716d;letter-spacing:.04em}
@media(max-width:700px){
 #ablauf .ablauf-player-content{min-height:auto!important;gap:28px!important;padding:30px 20px 18px!important}
 #ablauf .ablauf-player-content>div:first-child{gap:24px!important}
 #ablauf .ablauf-player-content [data-abtext] > span:first-child{font-size:clamp(74px,20vw,104px)!important}
 #ablauf .ablauf-player-content [data-abtext] h3{font-size:clamp(27px,7.2vw,35px)!important}
 #ablauf .ablauf-player-content [data-abtext] p{font-size:14px!important;line-height:1.5!important}
 #ablauf .ablauf-player-content [data-stage]{max-height:300px}
 #ablauf .ablauf-player-content>div:first-child>div:nth-child(2){height:clamp(210px,60vw,320px);min-height:0!important;flex:auto!important}
 #ablauf [data-node] > span:last-child{font-size:clamp(9px,2.5vw,11px)!important}
 #ablauf .ablauf-controls{gap:10px;justify-content:flex-start}
 #ablauf .ablauf-control-hint{flex-basis:100%;margin-left:0}
}
@media(prefers-reduced-motion:reduce){#ablauf [data-abtext],#ablauf [data-stage]{transition:none!important}}


/* V15 — MOBILE HERO: prominent typography + static, low-cost backdrop.
   Desktop look and interactions remain unchanged. */
@media (max-width: 900px), (pointer: coarse) {
  /* Do not animate/repaint the large hero photo when scrolling. */
  #top > div:first-child {
    inset: 0 !important;
    transform: none !important;
    will-change: auto !important;
  }
  #top .hero-background {
    transform: none !important;
    will-change: auto !important;
    object-position: 50% 52% !important;
  }
  /* Mouse-tracking glow and large blending/sweep layers are decorative. */
  #top > div:nth-child(2),
  #top > div:nth-child(3) { display: none !important; }
  /* Avoid a full-width backdrop blur being re-composited on every iOS scroll. */
  .home-page header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #top a[href*="wa.me"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 700px) {
  #top {
    height: max(100svh, 680px) !important;
    min-height: 680px !important;
  }
  /* The final overlay is the existing hero content — no new markup. */
  #top > div:last-child > div {
    padding: 94px 24px 30px !important;
    gap: 0 !important;
  }
  #top > div:last-child > div > span[data-intro] {
    margin-top: clamp(48px, 8svh, 84px) !important;
    font-size: clamp(10px, 2.7vw, 12px) !important;
    line-height: 1.45 !important;
    letter-spacing: .12em !important;
    gap: 8px 10px !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
  }
  #top > div:last-child > div > span[data-intro] > span:first-child {
    width: 24px !important;
  }
  #top > div:last-child > div > div:nth-child(2) {
    width: 100% !important;
    align-items: flex-start !important;
    gap: 9px !important;
    margin-top: 25px !important;
  }
  #top h1 {
    font-size: clamp(58px, 18.9vw, 86px) !important;
    line-height: .92 !important;
    letter-spacing: -.045em !important;
    max-width: 100%;
    white-space: nowrap !important;
  }
  #top > div:last-child > div > div:nth-child(2) > span[data-intro] {
    font-size: clamp(18px, 4.8vw, 23px) !important;
    gap: 11px !important;
    margin-left: 3px;
  }
  #top > div:last-child > div > div:nth-child(2) > span[data-intro] > span {
    width: 24px !important;
  }
  #top > div:last-child > div > div:last-child {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 26px !important;
    padding-top: 22px !important;
  }
  #top > div:last-child > div > div:last-child > span[data-intro] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: clamp(18px, 4.9vw, 22px) !important;
    line-height: 1.4 !important;
    align-self: flex-start !important;
    gap: 2px !important;
  }
  #top [data-rot] {
    font-size: clamp(21px, 5.4vw, 26px) !important;
    letter-spacing: -.02em !important;
  }
  #top > div:last-child > div > div:last-child > div[data-intro] {
    width: 100% !important;
    gap: 12px !important;
  }
  #top > div:last-child > div > div:last-child > div[data-intro] > a {
    padding: 17px 25px !important;
    font-size: 16px !important;
  }
}
@media (max-width: 360px) {
  #top > div:last-child > div {padding-left: 19px !important;padding-right: 19px !important;}
  #top h1 {font-size: 18.9vw !important;}
  #top > div:last-child > div > span[data-intro] {font-size: 10px !important;letter-spacing: .09em !important;}
  #top > div:last-child > div > div:last-child {gap: 18px !important;}
  #top > div:last-child > div > div:last-child > div[data-intro] > a {padding: 15px 22px !important;}
}
@media (max-height: 700px) and (max-width: 700px) {
  #top > div:last-child > div > span[data-intro] {margin-top: 28px !important;}
  #top > div:last-child > div > div:nth-child(2) {margin-top: 18px !important;}
  #top > div:last-child > div > div:last-child {gap: 17px !important;}
}

/* Extra-narrow phones: keep both header controls visible instead of clipping. */
@media (max-width: 360px) {
  .home-page header > div > a:first-child > span:nth-child(n+2) {display: none !important;}
  .home-page header > div {gap: 12px !important;}
}

/* V18: accessible animated mobile menu; two lines morph into an X. */
[data-menu-toggle] > span {
  transform-origin: 50% 50%;
  transition: transform .36s cubic-bezier(.2,.75,.2,1) !important;
}
[data-menu-toggle][aria-expanded="true"] > span:first-child {
  transform: translateY(3.25px) rotate(45deg) !important;
}
[data-menu-toggle][aria-expanded="true"] > span:last-child {
  transform: translateY(-3.25px) rotate(-45deg) !important;
}
/* V19: a SINGLE word-height reveal mask instead of nine per-letter masks.
   Per-letter overflow clipped the c/e sides; opening the last mask in V18
   exposed the e before its entrance. The shared mask clips only vertically. */
#top h1 .hero-word-mask {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  padding: .16em .065em .16em;
  margin: -.16em -.065em -.16em;
}
#top h1 .hero-word-mask [data-letter] {
  display: inline-block;
  overflow: visible;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: lackhilfe-hero-letter 1150ms cubic-bezier(.16,1,.3,1) both;
  animation-delay: var(--letter-delay);
}
@keyframes lackhilfe-hero-letter {
  from { opacity: 0; transform: translate3d(0,135%,0); }
  to   { opacity: 1; transform: translate3d(0,0,0); }
}
@media (max-width: 900px), (pointer: coarse) {
  #top h1 .hero-word-mask [data-letter] {
    animation-duration: 940ms;
    animation-delay: var(--letter-delay-mobile);
  }
}
@media (prefers-reduced-motion: reduce) {
  #top h1 .hero-word-mask [data-letter] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Avoid costly backdrop filters during touch scrolling. */
@media (hover:none) and (pointer:coarse) {
  [data-totop] { backdrop-filter:none !important;-webkit-backdrop-filter:none !important; }
}


/* V21 — Quiet but clear Instagram follow CTA; stays in the existing header.
   No gradients/glows; compact mobile label, unchanged hamburger animation. */
header .ig-follow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(242,240,237,.46);
  border-radius: 999px;
  background: rgba(20,20,20,.70);
  color: #f5f3f0;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 550;
  letter-spacing: .005em;
  text-decoration: none;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
header .ig-follow svg {display:block;flex:none}
header .ig-follow-arrow {opacity:.78;margin-left:2px}
@media (hover:hover) {
  header .ig-follow:hover {
    background: rgba(53,53,53,.94);
    border-color: rgba(245,243,240,.88);
    transform:translateY(-1px);
    color:#fff;
  }
}
header .ig-follow:focus-visible {outline:2px solid #f5f3f0;outline-offset:3px}
@media (max-width:1179px){
  header .ig-follow {min-height:44px;padding:0 12px;gap:8px}
  header .ig-follow svg.ig-follow-arrow {display:none}
}
/* Keep room for both a meaningful follow label and the animated menu. */
@media (max-width:470px){
  header > div {gap:12px!important}
  header > div > a:first-child > span:nth-child(n+2) {display:none!important}
  header .ig-follow {padding:0 11px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){
  header .ig-follow {transition:none}
}

/* V24: A consistent, understated current section/page in desktop and mobile navigation. */
header nav[data-nav-area="primary"] a[data-nav-key],
#mobile-navigation a[data-nav-key] {transition:color .18s ease, opacity .18s ease}
header nav[data-nav-area="primary"] a[data-nav-key][aria-current],
#mobile-navigation a[data-nav-key][aria-current] {color:#e45158!important;opacity:1!important}
@media (hover:hover) {
 header nav[data-nav-area="primary"] a[data-nav-key]:not([aria-current]):hover {color:#f5f3f0!important;opacity:1!important}
}
@media (prefers-reduced-motion:reduce) {
 header nav[data-nav-area="primary"] a[data-nav-key], #mobile-navigation a[data-nav-key] {transition:none}
}
