/* Elementor integration only. HeroUI component rules and the selected Theme
   Builder tokens come from heroui.css, enqueued AFTER this adapter. */
html,body,.elementor { font-family:var(--font-sans); color:var(--foreground); }
body { background:var(--background); }
.elementor {
  --kuhl-ink:var(--foreground); --kuhl-yellow:var(--accent);
  --kuhl-cream:var(--background); --kuhl-paper:var(--surface-secondary);
  --kuhl-line:var(--separator); --kuhl-red:var(--danger);
  --kuhl-heading-font:var(--font-sans); --kuhl-body-font:var(--font-sans);
  --kuhl-label-font:var(--font-mono);
}
/* Clear preceding design/Elementor defaults before upstream component CSS. */
.elementor :is(.typography,.button,.link,.chip,.tabs__tab) {
  font-family:var(--font-sans); font-size:var(--text-base); font-weight:400;
  font-style:normal; line-height:1.5; letter-spacing:normal; text-transform:none;
  text-decoration:none; color:var(--foreground); opacity:1;
  margin:0; padding:0;
}
.elementor :is(.button,.link,.tabs__tab) { border:0 solid var(--border); background:transparent; font-variant-emoji:text; }
.elementor :is(.button,.link) :is(b,span) { font:inherit; color:inherit; }
.elementor .card { min-height:0; border:0; align-items:stretch; justify-content:normal; text-align:start; }
.elementor .typography :is(span,em,strong) { font-family:inherit; letter-spacing:inherit; }
.elementor .typography span { color:inherit; }
.elementor :is(.section-light,.story-panel,.insta-section,.about-intro,.history) { background:var(--background); color:var(--foreground); }
.elementor :is(.site-header,.place-section,.gallery-section,.goals,.footer,.photo-band,.supporters,.about-hero) { background:var(--surface); color:var(--foreground); }
.elementor :is(.join-section,.yellow-callout) { background:var(--surface-secondary); color:var(--foreground); }
.elementor .place-grid { background:var(--surface-secondary); border-radius:var(--radius-3xl); }
.elementor .pdf-icon { background:var(--default); color:var(--foreground); font-family:var(--font-mono); }
.elementor :is(.hero,.about-hero,.site-header,.photo-placeholder,.place-feature,.gallery-image) { border-radius:var(--radius-3xl); }
.elementor .site-header { box-shadow:var(--surface-shadow); border-start-start-radius:0; border-start-end-radius:0; }
.elementor .site-header { margin-top:0; }
.elementor .site-header .brand { min-width:0; }
.elementor .site-header .brand img { flex-shrink:0; }
.elementor .site-header .brand .typography { max-width:230px; }
.elementor .site-header nav { gap:calc(var(--spacing) * 4); }
.elementor .site-header nav a { opacity:1; }
/* Page layouts have no HeroUI default; spacing uses the upstream scale. */
.elementor :is(.section,.goals,.place-section,.history) { padding-block:calc(var(--spacing) * 16); }
.elementor :is(.story-panel,.join-section,.supporters) { padding-block:calc(var(--spacing) * 12); }
.elementor .about-hero { width:min(var(--kuhl-content-width),calc(100% - 48px)); margin:24px auto; padding-block:calc(var(--spacing) * 32) calc(var(--spacing) * 16); }
.elementor .about-hero .typography { text-align:center; margin-inline:auto; }
.elementor :is(.section-intro,.split-title,.insta-heading,.history-intro) { margin-bottom:calc(var(--spacing) * 8); }
.elementor :is(p,h1,h2,h3) + :is(p,h1,h2,h3).typography { margin-top:calc(var(--spacing) * 4); }
.elementor .wrap { max-width:var(--kuhl-content-width); }
.elementor [id] { scroll-margin-top:6rem; }
.elementor .split-title { display:flex; flex-direction:column; gap:calc(var(--spacing) * 4); }
.elementor .section-intro { align-items:center; text-align:center; }
.elementor .section-intro .typography { text-align:center; }
.elementor .insta-heading { display:flex; flex-direction:column; gap:calc(var(--spacing) * 4); }
.elementor .section-intro .chip { margin-inline:auto; }
.elementor .split-title .typography { max-width:42rem; margin:0; }
.elementor .hero-copy { max-width:34rem; opacity:.85; }
.elementor .button-row { gap:calc(var(--spacing) * 4); flex-wrap:wrap; }
.elementor .event-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:calc(var(--spacing) * 6); background:transparent; overflow:visible; border-radius:0; }
.elementor #termine > .wrap:last-child { margin-top:calc(var(--spacing) * 6); }
.elementor .event-image { order:-1; width:100%; height:180px; object-fit:cover; border-radius:var(--radius-xl); }
.elementor .event-date { gap:calc(var(--spacing) * 2); }
.elementor .event p { display:block; opacity:1; }
.elementor .event>a { align-self:flex-start; }
.elementor .card .typography { margin:0; }
.elementor .goal-list .card p { max-width:none; }
.elementor .post-meta { flex-wrap:wrap; gap:calc(var(--spacing) * 2); }
.elementor .photo-placeholder { width:100%; }
.elementor :is(.story-text,.join-grid>div) .button { margin-top:calc(var(--spacing) * 4); }
.elementor .place-feature .semantic-caption { background:var(--surface); padding:calc(var(--spacing) * 6); border-radius:var(--radius-3xl); color:var(--foreground); }
.elementor .place-feature img { filter:none; }
.elementor .timeline:before { background:var(--separator); }
.elementor .timeline .list-item:before { background:var(--accent); border-color:var(--background); }
.elementor .footer { border-top:1px solid var(--separator); }
/* Both native footer templates opt into the exported HeroUI dark palette.
   The reference's charcoal surface is the sole scoped color override. */
.elementor .footer.dark { --surface:#141414; background:var(--surface); color:var(--foreground); }
.elementor .footer-bottom { border-color:var(--separator); color:var(--foreground); }
/* Approved photo Hero: light foreground from its native modifier class. */
.elementor .hero-message { width:100%; max-width:34rem; }
/* The direct flex child may scroll only when an unusually short viewport or
   enlarged text cannot fit inside the user's 100svh limit. Never clip actions. */
.elementor .hero .hero-message { overflow-y:auto; }
/* Official transparent Card and a scoped contrast overlay for light text. */
.elementor .hero--photo .hero-film::after {
  background:linear-gradient(180deg,rgba(12,15,9,.38),rgba(12,15,9,.46));
  opacity:1; mix-blend-mode:normal; pointer-events:none;
}
.elementor .hero--photo .hero-message .link { color:var(--foreground); }
/* Hero geometry and normal responsive padding are editable on native class
   hero. The content-width wrapper was removed by the user; do not recreate it. */
.elementor .hero-message > .chip { align-self:center; max-width:100%; }
.elementor .eyebrow.chip { letter-spacing:normal; text-transform:none; font-family:var(--font-sans); }
/* Warm, non-interactive labels: retain HeroUI Chip geometry and use the
   selected accent as a soft tint, distinctly lighter than primary buttons. */
.elementor .eyebrow.chip { --chip-bg:color-mix(in oklab,var(--accent) 40%,var(--surface)); --chip-fg:var(--accent-foreground); }
.elementor .supporters .eyebrow.chip { display:flex; width:fit-content; margin-inline:auto; }
/* Caption chips follow the slide timings, without the old fixed-width text box. */
.elementor .hero-film .slider-captions { position:absolute; z-index:2; inset:auto 24px 24px auto; width:max-content; max-width:calc(100% - 48px); height:auto; display:grid; text-align:right; color:var(--foreground); }
.elementor .hero-film .slider-captions .hero-caption.chip { position:relative; inset:auto; grid-area:1/1; justify-self:end; width:fit-content; max-width:100%; margin:0; text-align:start; box-shadow:var(--surface-shadow); }
.elementor .hero-film .slider-captions .hero-caption-1 { animation:kuhl-caption-one 15s linear infinite; }
.elementor .hero-film .slider-captions .hero-caption-2 { animation:kuhl-caption-two 15s linear infinite; }
.elementor .hero-film .slider-captions .hero-caption-3 { animation:kuhl-caption-three 15s linear infinite; }
@keyframes kuhl-caption-one { 0%,30% { opacity:1; visibility:visible; } 33%,100% { opacity:0; visibility:hidden; } }
@keyframes kuhl-caption-two { 0%,30% { opacity:0; visibility:hidden; } 33%,63% { opacity:1; visibility:visible; } 66%,100% { opacity:0; visibility:hidden; } }
@keyframes kuhl-caption-three { 0%,63% { opacity:0; visibility:hidden; } 66%,96% { opacity:1; visibility:visible; } 100% { opacity:0; visibility:hidden; } }
/* Small reset for Elementor's base containers; visuals come from HeroUI Tabs. */
.elementor .site-header .header-actions { align-items:center; gap:calc(var(--spacing) * 4); }
.elementor .site-header :is(.tabs,.tabs__list-container,.tabs__list) { min-width:0; margin:0; padding:0; gap:0; }
.elementor .site-header .tabs__list { padding:calc(var(--spacing) * 1); }
.elementor .site-header .tabs__tab { display:flex; white-space:nowrap; padding-block:0; }
/* Equal page-link slots keep the native HeroUI indicator stable across pages. */
.elementor .site-header .tabs__list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); position:relative; isolation:isolate; }
.elementor .site-header .tabs__tab { position:relative; z-index:1; }
.elementor .site-header .tabs__indicator.kuhl-nav-indicator { position:absolute; inset:4px auto auto 4px; width:calc((100% - 8px) / 2); height:32px; z-index:0; pointer-events:none; translate:calc(var(--kuhl-nav-index,0) * 100%) 0; }
.elementor .tabs__list:has(.tabs__tab:nth-of-type(2)[aria-current="page"]) { --kuhl-nav-index:1; }
.elementor .tabs__list:not(:has(.tabs__tab[aria-current="page"])) .kuhl-nav-indicator { visibility:hidden; }
/* Requested size adjustment: real vertical padding; long labels may grow. */
.elementor .button.button--primary { min-height:40px; height:auto; padding:8px 20px; font-size:var(--text-base); line-height:24px; white-space:normal; text-align:center; }
.elementor .hero-message .typography,.elementor .hero-message.card { text-align:center; }
.elementor .hero-message .button-row { justify-content:center; }
.elementor .story-grid { display:flex; flex-direction:column; align-items:center; gap:16px; text-align:center; }
.elementor .story-grid .typography { text-align:center; }
.elementor .story-grid .chip,.elementor .story-grid .story-text { margin-inline:auto; }
.elementor .story-grid .story-text { max-width:44rem; }
/* Compact footer row, consistent small type, and a proper PDF/link icon. */
.elementor .footer-top .typography { color:var(--foreground); }
.elementor .footer-bottom { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; }
.elementor .footer-bottom :is(.typography,.link,.pdf-link) { font-family:var(--font-sans); font-size:var(--text-xs); line-height:20px; font-weight:400; letter-spacing:normal; color:var(--muted); }
.elementor .footer-bottom a { margin:0; }
.elementor .footer-bottom > a.link { width:auto; flex:0 1 auto; margin:0; }
.elementor .footer-bottom .pdf-link { display:inline-flex; align-items:center; gap:8px; margin-left:auto; padding:8px 12px; min-height:40px; border:1px solid var(--separator); border-radius:var(--field-radius); text-decoration:none; }
.elementor .footer-bottom .pdf-link:hover { color:var(--foreground); background:var(--default); }
.elementor .footer-bottom .pdf-icon.kuhl-icon { background-color:currentColor; }
.elementor .footer-bottom .pdf-link .typography { color:inherit; }
.elementor .breadcrumbs { flex-wrap:wrap; font-family:var(--font-sans); margin-bottom:24px; padding:0; }
.elementor .about-hero .breadcrumbs { justify-content:center; }
.elementor .breadcrumbs .breadcrumbs__link { font-family:var(--font-sans); background:transparent; border:0; padding:0; }
.elementor .breadcrumbs a.breadcrumbs__link { display:inline-block; }
.elementor .kuhl-icon-chevron-right { --kuhl-icon-source:url("icons/chevron-right.svg"); }
.elementor .legal-shell { padding-block:128px 64px; }
.elementor .legal-shell > .wrap { max-width:52rem; }
.elementor .legal-shell h1 { margin-bottom:32px; }
.elementor .legal-content { display:flex; flex-direction:column; gap:32px; }
.elementor .legal-content :is(h2,h3) { margin-bottom:12px; }
.elementor .legal-content a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.elementor .legal-notice.card { background:var(--surface-secondary); }
.elementor .legal-content .typography { overflow-wrap:anywhere; }
/* Local Font Awesome Free 6.7.2 SVGs: no Unicode glyphs, remote fonts, or runtime. */
.elementor :is(.icon-after-arrow-right,.icon-after-arrow-down,.icon-before-instagram) { display:inline-flex; align-items:center; gap:calc(var(--spacing) * 2); }
.elementor :is(.icon-after-arrow-right,.icon-after-arrow-down)::after,
.elementor .icon-before-instagram::before,
.elementor .hero-caption::before,
.elementor .social-icons > span,
.elementor .kuhl-icon {
  content:""; display:inline-block; flex:none; width:1em; height:1em;
  background-color:currentColor;
  mask:var(--kuhl-icon-source) center / contain no-repeat;
  -webkit-mask:var(--kuhl-icon-source) center / contain no-repeat;
  vertical-align:-.125em;
}
.elementor .icon-after-arrow-right { --kuhl-icon-source:url("icons/arrow-right.svg"); }
.elementor .icon-after-arrow-down { --kuhl-icon-source:url("icons/arrow-down.svg"); }
.elementor .icon-before-instagram { --kuhl-icon-source:url("icons/instagram.svg"); }
.elementor .hero-caption { --kuhl-icon-source:url("icons/camera.svg"); }
.elementor .social-icons.typography { display:flex; gap:calc(var(--spacing) * 4); }
.elementor .social-icons > span { width:1rem; height:1rem; }
.elementor .social-icons > span:nth-child(1) { --kuhl-icon-source:url("icons/heart.svg"); }
.elementor .social-icons > span:nth-child(2) { --kuhl-icon-source:url("icons/comment.svg"); }
.elementor .social-icons > span:nth-child(3) { --kuhl-icon-source:url("icons/share.svg"); }
.elementor .pdf-icon.kuhl-icon-file-pdf { --kuhl-icon-source:url("icons/file-pdf.svg"); width:1.25rem; height:1.25rem; margin:0; padding:0; border:0; border-radius:0; }
@media (prefers-reduced-motion:reduce) {
  .elementor .hero-film .hero-image,.elementor .hero-film .slider-captions .hero-caption.chip { animation:none; }
  .elementor .hero-film :is(.hero-image-1,.hero-caption-1.chip) { opacity:1; visibility:visible; }
  .elementor .hero-film :is(.hero-image-2,.hero-image-3,.hero-caption-2.chip,.hero-caption-3.chip) { opacity:0; visibility:hidden; }
}
@media(max-width:800px) {
  .elementor [id] { scroll-margin-top:9rem; }
  .elementor .event-list { grid-template-columns:minmax(0,1fr); }
  .elementor .site-header .brand .typography { max-width:128px; }
  .elementor .site-header nav { gap:0; }
  .elementor .site-header { display:grid; grid-template-columns:minmax(0,1fr) auto; height:auto; padding:calc(var(--spacing) * 2) calc(var(--spacing) * 3); gap:calc(var(--spacing) * 2); }
  /* The two-row mobile header participates in flow, so it never covers text. */
  .elementor-location-header { position:sticky; top:0; z-index:20; }
  .elementor .site-header { position:relative; left:auto; transform:none; }
  .elementor .site-header .header-actions { display:contents; }
  .elementor .site-header .primary-nav { grid-column:1/-1; grid-row:2; }
  .elementor .site-header .tabs__list-container,.elementor .site-header .tabs__list { width:100%; }
  .elementor .site-header .header-cta { grid-column:2; grid-row:1; }
  .elementor .hero-film .slider-captions { right:16px; bottom:16px; max-width:calc(100% - 32px); }
  .elementor .place-feature .semantic-caption { position:relative; inset:auto; width:100%; }
  .elementor .place-feature img { height:auto; }
  .elementor .footer-top { gap:calc(var(--spacing) * 6); }
  .elementor .footer-bottom > span.typography { flex-basis:100%; }
  .elementor .footer-bottom .pdf-link { margin:7px 0 0; width:100%; max-width:100%; }
  .elementor .legal-shell { padding-block:40px 48px; }
  .elementor .about-hero { width:calc(100% - 32px); margin:16px auto; padding-block:calc(var(--spacing) * 16); }
}
@media (max-width:800px) and (max-height:650px) {
  /* Keep a dedicated caption gutter on short portrait/landscape phones. */
  .elementor .hero { padding-block:16px 52px; }
  .elementor .hero .hero-message { gap:calc(var(--spacing) * 2); }
  .elementor .hero-message .button-row { margin-top:0; gap:calc(var(--spacing) * 2); }
  .elementor .hero-message .typography + .typography { margin-top:0; }
}
@media (min-width:801px) and (max-height:560px) {
  /* Wide, shallow windows: clear the fixed header and keep the caption below
     the actions. All normal desktop geometry remains native and unchanged. */
  .elementor .hero { padding-block:54px 48px; }
  .elementor .hero .hero-message { padding:8px; gap:calc(var(--spacing) * 2); }
  .elementor .hero-message .button-row { margin-top:0; gap:calc(var(--spacing) * 2); }
  .elementor .hero-message .typography + .typography { margin-top:0; }
}
@media(max-width:360px) {
  .elementor .site-header .brand .typography { display:none; }
}
