
/* wabenkern.de – responsive Ergänzung zum Design-Export */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0}
.wk-root{width:100% !important;max-width:1440px;margin:0 auto;height:auto !important;min-height:100vh}
img,video,svg{max-width:100%}
.wk-root select,.wk-root input,.wk-root textarea{max-width:100%;min-width:0;width:100%}
.wk-root div{min-width:0}
/* Kopfzeile */
.wk-root > div:first-child{gap:24px;flex-wrap:wrap;row-gap:14px}
.wk-root > div:first-child > a:first-child{flex-shrink:0;white-space:nowrap}
.wk-nav{flex-wrap:nowrap;justify-content:flex-end;margin-left:auto;row-gap:10px}
.wk-nav > a{white-space:nowrap}
.wk-nav > a[style*="border-radius: 999px"]{justify-content:center;text-align:center;flex-shrink:0}
@media (max-width:1360px){
  .wk-root > div:first-child{padding-left:40px !important;padding-right:40px !important}
  .wk-nav{gap:18px !important;font-size:15px !important}
  .wk-nav > a[style*="border-radius: 999px"]{padding:0 18px !important}
}
@media (max-width:1240px){
  .wk-nav{gap:14px !important}
  .wk-root img[style*="left: 300px; bottom: -40px"]{left:auto !important;right:24px !important}
}
@media (max-width:1100px){
  .wk-root [style*="padding: 80px 96px"],.wk-root [style*="padding: 72px 96px"],.wk-root [style*="padding: 88px 96px"],.wk-root [style*="padding: 64px 96px"],.wk-root [style*="padding: 28px 96px"],.wk-root [style*="padding: 22px 96px"],.wk-root [style*="padding: 20px 96px"],.wk-root [style*="padding: 24px 96px"],.wk-root [style*="padding: 8px 96px"],.wk-root [style*="96px 16px 96px"],.wk-root [style*="96px 32px 96px"],.wk-root [style*="96px 80px 96px"],.wk-root [style*="96px 72px 96px"],.wk-root [style*="96px 56px 96px"],.wk-root [style*="96px 64px 96px"],.wk-root [style*="96px 40px 96px"]{padding-left:24px !important;padding-right:24px !important}
  .wk-root [style*="px 96px;"],.wk-root [style*="px 96px 0"],.wk-root [style*="px 80px;"],.wk-root [style*="px 72px;"],.wk-root [style*="px 64px;"]{padding-left:24px !important;padding-right:24px !important}
  .wk-root [style*="grid-template-columns: repeat(4"],.wk-root [style*="grid-template-columns: repeat(6"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .wk-root [style*="grid-template-columns: repeat(9"]{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .wk-root [style*="grid-template-columns: repeat(9"] > [style*="position: absolute"]{display:none}
  .wk-root svg[width="1100"],.wk-root svg[width="780"]{width:100%;height:auto}
  .wk-root div[style*="display: flex"]:has(> svg[width="780"]){flex-direction:column !important;align-items:stretch !important}
  .wk-root div[style*="display: flex"]:has(> svg[width="780"]) > svg{max-width:720px;margin:0 auto}
  .wk-root div[style*="position: relative; height: 640px"]{overflow:hidden}
  .wk-root div[style*="position: relative; height: 640px"] > img{display:none}
  .wk-root h1{font-size:clamp(34px,6vw,72px) !important}
  .wk-root h2{font-size:clamp(28px,4.5vw,48px) !important}
}
@media (max-width:900px){
  /* Bild unter die Überschrift: Bildkasten in Referenz-Blöcken und Zweier-Rastern ans Ende */
  .wk-root div[style*="display: flex"][style*="gap: 48px"] > div[style*="flex-shrink: 0"][style*="border-radius"],.wk-root div[style*="display: flex"][style*="gap: 56px"] > div[style*="aspect-ratio"],.wk-root div[style*="display: flex"][style*="gap: 64px"] > div[style*="flex-grow: 1"]:has(> div[style*="aspect-ratio"]),.wk-root [style*="grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)"] > div[style*="aspect-ratio"]:first-child{order:2}
  .wk-root [style*="grid-template-columns: repeat("]{grid-template-columns:1fr !important}
  .wk-root [style*="grid-template-columns: minmax("]{grid-template-columns:1fr !important}
  .wk-root div[style*="display: flex"]:has(> [style*="flex-basis"]),.wk-root div[style*="display: flex"]:has(> svg[width="780"]),.wk-root div[style*="display: flex"][style*="gap: 64px"],.wk-root div[style*="display: flex"][style*="gap: 56px"],.wk-root div[style*="display: flex"][style*="gap: 48px"]{flex-direction:column !important;align-items:stretch !important}
  .wk-root [style*="flex-basis"]{flex-basis:auto !important}
  .wk-root div[style*="display: flex"]:has(> [style*="width: 420px"]),.wk-root div[style*="display: flex"]:has(> [style*="width: 480px"]){flex-direction:column !important;align-items:stretch !important}
  .wk-root [style*="width: 420px; flex-shrink: 0"],.wk-root [style*="width: 480px; flex-shrink: 0"]{width:100% !important;max-width:480px;margin:0 auto}
  .wk-root div[style*="display: flex"]{flex-wrap:wrap}
  .wk-root div[style*="align-items: flex-end"][style*="justify-content: space-between"]{flex-direction:column !important;align-items:flex-start !important}
  .wk-root div[style*="align-items: flex-end"][style*="justify-content: space-between"] > p,.wk-root div[style*="align-items: flex-end"][style*="justify-content: space-between"] > div{max-width:none !important}
  .wk-root [style*="width: 42.5%"]{width:100% !important}
  .wk-root div[style*="position: relative; height: 640px"]{height:auto !important;display:flex;flex-direction:column;gap:20px}
  .wk-root div[style*="position: relative; height: 640px"] > *{position:static !important;transform:none !important;width:100% !important;height:auto !important;aspect-ratio:3/4}
  .wk-root div[style*="position: relative; height: 640px"] > img{display:none}
  .wk-root [style*="padding: 22px 28px"][style*="gap: 28px"]{flex-wrap:wrap}
  .wk-root [style*="width: 230px"]{width:30% !important;margin-bottom:0 !important}
}
@media (max-width:760px){
  .wk-root [style*="px 96px;"],.wk-root [style*="px 96px 0"],.wk-root [style*="px 80px;"],.wk-root [style*="px 72px;"],.wk-root [style*="px 64px;"],.wk-root [style*="padding: 80px 96px"],.wk-root [style*="padding: 72px 96px"],.wk-root [style*="padding: 88px 96px"],.wk-root [style*="padding: 64px 96px"]{padding-left:16px !important;padding-right:16px !important}
  .wk-nav > a:not([style*="background"]):not(.btn){display:none !important}
  .wk-nav:not(:has(> a[style*="background"])){display:none !important}
  .wk-head .wk-nav{flex-basis:100%;flex-wrap:nowrap;gap:10px !important;justify-content:stretch}
  .wk-head .wk-nav > a{flex:1 1 0;justify-content:center;height:44px !important;padding:0 12px !important;font-size:15px !important}
  .wk-root [style*="justify-content: space-between"][style*="padding"][style*="96px"]{flex-wrap:wrap;gap:12px}
  .wk-root h1{font-size:clamp(30px,8vw,44px) !important;line-height:1.1 !important}
  .wk-root [style*="font-size: 60px"]{font-size:40px !important}
  .wk-root [style*="font-size: 54px"]{font-size:36px !important}
  .wk-root [style*="width: 230px"]{width:100% !important;max-width:230px;margin:0 auto}
  .wk-root [style*="display: flex"][style*="gap: 14px"] > a{flex:1 1 auto;justify-content:center}
  .wk-root > div:first-child{padding-top:16px !important;padding-bottom:16px !important}
  .wk-root > div:first-child + div{padding-top:32px !important;padding-bottom:40px !important;gap:18px !important}
}
