/*! Kiddies Open Air · Browsermodus und einzelne Dekorationen 0.9.0 */
/* Static SVG paths; decorative only, never intercept navigation or the CTA. */
.koa-hero.koa-hero--custom-doodles .koa-hero__media::after,
.koa-hero.koa-hero--custom-doodles .koa-hero__visual::after { display:none; }
.koa-hero__doodles { position:absolute; inset:0; z-index:2; pointer-events:none; color:var(--koa-yellow,#ffe34d); }
.koa-hero__doodle { position:absolute; height:auto; max-width:none; overflow:visible; transform:translate(-50%,-50%) rotate(var(--koa-doodle-angle,0deg)); }

/* The opt-in mode uses the actual hero width, including inside an OPC container.
 * Min-height instead of height protects text when the window is short or zoomed. */
body.koa-theme .koa-hero.koa-hero--viewport {
  container-type:inline-size;
  --koa-fit-target:calc(var(--koa-fit-height,100) * 1vh);
}
@supports (height:1svh) {
  body.koa-theme .koa-hero.koa-hero--viewport { --koa-fit-target:calc(var(--koa-fit-height,100) * 1svh); }
}
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner {
  --koa-fit-unit:calc(100vw / var(--koa-fit-reference,1920));
  --koa-fit-gutter:clamp(1.25rem,4vw,5rem);
  --koa-gutter:var(--koa-fit-gutter);
  --koa-width:100vw;
  box-sizing:border-box;
  max-width:none;
  min-height:max(26rem,var(--koa-fit-target));
}
@supports (width:1cqw) {
  body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner {
    --koa-fit-unit:calc(100cqw / var(--koa-fit-reference,1920));
    --koa-fit-gutter:clamp(1.25rem,4cqw,5rem);
    --koa-width:100cqw;
  }
}
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__copy {
  padding-block:clamp(2rem,calc(76 * var(--koa-fit-unit)),6rem);
  padding-inline:var(--koa-fit-gutter);
  left:clamp(calc(1rem - var(--koa-fit-gutter)),calc(var(--koa-fit-copy-x,0) * var(--koa-fit-unit)),20vw);
}
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__eyebrow { font-size:clamp(1.15rem,calc(30 * var(--koa-fit-unit)),2rem); margin-bottom:clamp(1rem,calc(26 * var(--koa-fit-unit)),1.75rem); }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__title { font-size:clamp(2.15rem,calc(var(--koa-fit-heading,96) * var(--koa-fit-unit)),9rem); }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__title > span { width:max-content; max-width:min(58vw,calc(100% + 10vw)); white-space:normal; overflow-wrap:anywhere; }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__text { font-size:clamp(1rem,calc(var(--koa-fit-text,20) * var(--koa-fit-unit)),1.75rem); line-height:1.6; max-width:42ch; margin-top:clamp(1rem,calc(24 * var(--koa-fit-unit)),1.75rem); }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__actions { margin-top:clamp(1rem,calc(26 * var(--koa-fit-unit)),1.75rem); }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__actions .koa-button { font-size:clamp(1rem,calc(23 * var(--koa-fit-unit)),1.7rem); min-height:2.75rem; padding:.85em 1.15em .7em; }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__note { font-size:clamp(.8rem,calc(15 * var(--koa-fit-unit)),1rem); }
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__artist {
  width:clamp(3rem,calc(var(--koa-fit-artist-width,360) * var(--koa-fit-artist-unit,var(--koa-fit-unit))),56rem);
  transform:translate(calc(var(--koa-fit-artist-x,0) * var(--koa-fit-unit)),calc(var(--koa-fit-artist-y,0) * var(--koa-fit-unit))) rotate(-4deg);
}
body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__artist-label { font-size:clamp(1rem,calc(28 * var(--koa-fit-unit)),2.5rem); }
@media print {
  body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner { min-height:0; }
}

@media (max-width:767.98px) {
 .koa-hero.koa-hero--rp-sm-hide-doodles .koa-hero__doodles { display:none !important; }
 body.koa-theme .koa-hero.koa-hero--viewport { --koa-fit-copy-x:var(--koa-fit-sm-copy-x,0); --koa-fit-artist-width:var(--koa-fit-sm-artist-width,0); --koa-fit-artist-x:var(--koa-fit-sm-artist-x,0); --koa-fit-artist-y:var(--koa-fit-sm-artist-y,0); }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--grid-sm .koa-hero__copy { padding-inline:0 var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-sm-split):not(.koa-hero--grid-sm) .koa-hero__inner { min-height:var(--koa-fit-target); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-sm-split):not(.koa-hero--grid-sm) .koa-hero__copy { left:0; padding-inline:var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-sm-split):not(.koa-hero--grid-sm) .koa-hero__title > span { max-width:100%; }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--rp-sm-title-flow .koa-hero__title > span { width:auto; max-width:none; display:inline; }
}

@media (min-width:768px) and (max-width:991.98px) {
 .koa-hero.koa-hero--rp-md-hide-doodles .koa-hero__doodles { display:none !important; }
 body.koa-theme .koa-hero.koa-hero--viewport { --koa-fit-copy-x:var(--koa-fit-md-copy-x,0); --koa-fit-artist-width:var(--koa-fit-md-artist-width,0); --koa-fit-artist-x:var(--koa-fit-md-artist-x,0); --koa-fit-artist-y:var(--koa-fit-md-artist-y,0); }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--grid-md .koa-hero__copy { padding-inline:0 var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-md-split):not(.koa-hero--grid-md) .koa-hero__inner { min-height:var(--koa-fit-target); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-md-split):not(.koa-hero--grid-md) .koa-hero__copy { left:0; padding-inline:var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:not(.koa-hero--rp-md-split):not(.koa-hero--grid-md) .koa-hero__title > span { max-width:100%; }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--rp-md-title-flow .koa-hero__title > span { width:auto; max-width:none; display:inline; }
}

@media (min-width:992px) and (max-width:1199.98px) {
 .koa-hero.koa-hero--rp-lg-hide-doodles .koa-hero__doodles { display:none !important; }
 body.koa-theme .koa-hero.koa-hero--viewport { --koa-fit-copy-x:var(--koa-fit-lg-copy-x,0); --koa-fit-artist-width:var(--koa-fit-lg-artist-width,0); --koa-fit-artist-x:var(--koa-fit-lg-artist-x,0); --koa-fit-artist-y:var(--koa-fit-lg-artist-y,0); }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--grid-lg .koa-hero__copy { padding-inline:0 var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-lg-stack,.koa-hero--rp-lg-image-first,.koa-hero--rp-lg-hide-photo) .koa-hero__inner { min-height:var(--koa-fit-target); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-lg-stack,.koa-hero--rp-lg-image-first,.koa-hero--rp-lg-hide-photo) .koa-hero__copy { left:0; padding-inline:var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-lg-stack,.koa-hero--rp-lg-image-first,.koa-hero--rp-lg-hide-photo) .koa-hero__title > span { max-width:100%; }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--rp-lg-title-flow .koa-hero__title > span { width:auto; max-width:none; display:inline; }
}

@media (min-width:1200px) {
 .koa-hero.koa-hero--rp-xl-hide-doodles .koa-hero__doodles { display:none !important; }
 body.koa-theme .koa-hero.koa-hero--viewport { --koa-fit-copy-x:var(--koa-fit-xl-copy-x,0); --koa-fit-artist-width:var(--koa-fit-xl-artist-width,0); --koa-fit-artist-x:var(--koa-fit-xl-artist-x,0); --koa-fit-artist-y:var(--koa-fit-xl-artist-y,0); }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--grid-xl .koa-hero__copy { padding-inline:0 var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-xl-stack,.koa-hero--rp-xl-image-first,.koa-hero--rp-xl-hide-photo) .koa-hero__inner { min-height:var(--koa-fit-target); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-xl-stack,.koa-hero--rp-xl-image-first,.koa-hero--rp-xl-hide-photo) .koa-hero__copy { left:0; padding-inline:var(--koa-fit-gutter); }
 body.koa-theme .koa-hero.koa-hero--viewport:is(.koa-hero--rp-xl-stack,.koa-hero--rp-xl-image-first,.koa-hero--rp-xl-hide-photo) .koa-hero__title > span { max-width:100%; }
 body.koa-theme .koa-hero.koa-hero--viewport.koa-hero--rp-xl-title-flow .koa-hero__title > span { width:auto; max-width:none; display:inline; }
}

/* The mobile logo setting is based on a tablet width, not a desktop canvas. */
@media (max-width:991.98px) {
  body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner { --koa-fit-artist-unit:calc(100vw / 768); }
  @supports (width:1cqw) {
    body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner { --koa-fit-artist-unit:calc(100cqw / 768); }
  }
}
@media print { body.koa-theme .koa-hero.koa-hero--viewport .koa-hero__inner { min-height:0; } }

/* Opt-in photo height for stacked layouts. Text keeps its intrinsic height.
 * Small viewport units avoid jumps when mobile browser bars open or close. */
body.koa-theme .koa-hero { --koa-hero-screen-unit:1vh; }
@supports (height:1svh) {
  body.koa-theme .koa-hero { --koa-hero-screen-unit:1svh; }
}
@media screen and (max-width:767.98px) {
  body.koa-theme .koa-hero.koa-hero--rp-sm-photo-height .koa-hero__inner { min-height:0; }
  body.koa-theme .koa-hero.koa-hero--rp-sm-photo-height .koa-hero__media {
    height:calc(var(--koa-hero-rp-sm-photo-height) * var(--koa-hero-screen-unit));
    min-height:0; aspect-ratio:auto; flex:none;
  }
}
@media screen and (min-width:768px) and (max-width:991.98px) {
  body.koa-theme .koa-hero.koa-hero--rp-md-photo-height .koa-hero__inner { min-height:0; }
  body.koa-theme .koa-hero.koa-hero--rp-md-photo-height .koa-hero__media {
    height:calc(var(--koa-hero-rp-md-photo-height) * var(--koa-hero-screen-unit));
    min-height:0; aspect-ratio:auto; flex:none;
  }
}
@media screen and (min-width:992px) and (max-width:1199.98px) {
  body.koa-theme .koa-hero.koa-hero--rp-lg-photo-height .koa-hero__inner { min-height:0; }
  body.koa-theme .koa-hero.koa-hero--rp-lg-photo-height .koa-hero__media {
    height:calc(var(--koa-hero-rp-lg-photo-height) * var(--koa-hero-screen-unit));
    min-height:0; aspect-ratio:auto; flex:none;
  }
}
@media screen and (min-width:1200px) {
  body.koa-theme .koa-hero.koa-hero--rp-xl-photo-height .koa-hero__inner { min-height:0; }
  body.koa-theme .koa-hero.koa-hero--rp-xl-photo-height .koa-hero__media {
    height:calc(var(--koa-hero-rp-xl-photo-height) * var(--koa-hero-screen-unit));
    min-height:0; aspect-ratio:auto; flex:none;
  }
}
