/*
Theme Name: MOYA Elements
Version: 3.1.2
Description: MOYA Elements Design System 1.0; HTML-Vorlagen Oktober 2026.
Text Domain: moyaelements
*/
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--moya-font); font-size: 17px; line-height: 1.6; color: var(--moya-petrol); background: var(--moya-white); }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
moya-list, moya-item, moya-if { display: contents; }
img, svg { max-width: 100%; }
img { vertical-align: middle; }
button, input, select, textarea { font: inherit; }
.moya button, .moya input:not([type='range']):not([type='checkbox']), .moya select, .moya textarea { border-radius: 0; }
.moya a.g-btn-dark:hover, .moya a.w-btn-dark:hover { color: var(--moya-white); }
button, a, input, select, textarea { -webkit-tap-highlight-color: rgba(227,198,113,.25); }
a, button { touch-action: manipulation; }
a { text-underline-offset: 4px; }
input, textarea { caret-color: var(--moya-petrol); }
::selection { color: var(--moya-white); background: var(--moya-petrol); }
::placeholder { color: var(--moya-text-muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--moya-gold-text); outline-offset: 5px; }
footer :focus-visible, .moya-dark :focus-visible { outline-color: var(--moya-gold); }
.moya-page { min-width: 0; }
.moya-schutzsysteme > .moya-container.moya-section { padding-inline: var(--moya-gutter); }
.moya-page h1, .moya-page h2, .moya-page h3 { overflow-wrap: break-word; text-wrap: balance; }
.moya-page h1 { max-width: 22ch; }
.moya-page p { max-width: 75ch; }
.moya-page button { min-height: 44px; }
.moya-page a[class*='btn'], .moya-header > div > a:last-child { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; }
.moya-page [role='tablist'] { flex-wrap: wrap; }
.moya-page [role='tab'] { min-height: 48px; }
.moya-page [role='tab']:focus-visible { outline-offset: -4px; }
.moya-page input[type='range'] { width: 100%; min-height: 44px; accent-color: var(--moya-petrol); touch-action: pan-y; cursor: ew-resize; }
.moya-diagram { height: auto; }
.moya-page figure { min-width: 0; }
.moya-page details > summary { min-height: 52px; padding-block: 16px; cursor: pointer; }
.moya-page details > summary::marker { color: var(--moya-gold-text); }
.moya-page a[href^='tel:'] { min-height: 44px; display: inline-flex; align-items: center; }
.moya-skip { position: fixed; z-index: 100000; top: 12px; left: 12px; padding: 12px 20px; color: var(--moya-white); background: var(--moya-petrol); transform: translateY(-200%); }
.moya-skip:focus { transform: translateY(0); }
#moya-mobile-toggle { display: none; background: var(--moya-white); border: 1px solid var(--moya-border-strong); color: var(--moya-petrol); min-width: 72px; min-height: 48px; padding: 10px 16px; }
.moya-megamenu-shell { position: absolute; top: 100%; left: 0; right: 0; }
.moya .moya-megamenu-shell > .g-menu { position: relative; top: auto; }
.moya .moya-megamenu-shell .g-logo img { filter: none; opacity: 1; }
.moya-header a, .moya-footer a { min-height: 44px; }
.moya-header nav [aria-current='page'] { border-bottom: 2px solid var(--moya-gold); }
.moya .moya-topbar a, .moya .moya-topbar a:hover { color: var(--moya-on-dark); }
.moya .moya-topbar a { font-weight: 400; border-bottom: 2px solid transparent; }
.moya .moya-topbar a[aria-current='page'] { color: var(--moya-white); font-weight: 600; border-bottom-color: var(--moya-gold); }
.moya .moya-topbar a[href^='tel:'] { color: var(--moya-white); }
.moya [data-page='karriere'] .moya-career-benefits { padding-bottom: 56px; }
@media (max-width: 768px) {
  .moya [data-page='karriere'] .moya-career-benefits { padding-bottom: 32px; }
}
.moya .moya-topbar .moya-audience a { border-bottom: 2px solid transparent !important; }
.moya .moya-topbar .moya-audience a[aria-current='page'] { border-bottom-color: var(--moya-gold) !important; }
.moya-source-note { padding-block: 24px; }
.moya-source-note p { margin: 0; font-size: 14px; color: var(--moya-text-muted); }
.moya-footer a { display: inline-flex; align-items: center; width: fit-content; }
.moya .moya-footer a { color: var(--moya-on-dark); }
.moya-footer a:hover { color: var(--moya-white) !important; text-decoration: underline !important; }
.moya-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.moya-form-feedback { padding: 16px; border: 1px solid var(--moya-risk); color: var(--moya-risk); background: var(--moya-white); }
.moya-upload-hint { font-size: 14px; color: var(--moya-text-muted); }
.moya-quick-thanks { color: var(--moya-petrol); background: var(--moya-white); padding: 32px; }
button:disabled { opacity: .6; cursor: wait; }
.moya-dialog-open { overflow: hidden; }
[role='dialog'] { max-height: 90dvh; overflow-y: auto; }
.moya-generic { max-width: 1320px; margin: auto; padding: 32px 40px 96px; }
.moya-generic h1 { font-size: clamp(36px, 4vw, 60px); font-weight: 500; line-height: 1.06; margin: 24px 0 40px; }
.moya-generic h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.12; margin-top: 56px; }
.moya-generic h3 { font-size: 26px; font-weight: 600; }
.moya-generic .elementor { max-width: 100%; }
.moya-generic iframe { width: 100%; min-height: 780px; border: 1px solid var(--moya-border); }
.moya-breadcrumbs { font-size: 14px; color: var(--moya-text-muted); }
.moya-service-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: 24px; }
.moya-service-grid a { border-top: 2px solid var(--moya-petrol); padding: 28px 0; display: block; text-decoration: none; }
.moya-service-grid h2 { margin: 0 0 14px; font-size: 28px; }
.moya-service-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 1100px) {
  #moya-mobile-toggle { display: block; margin-left: auto; }
  .moya-header > div { gap: 12px; }
  #moya-navigation { display: none; flex-basis: 100%; order: 5; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  #moya-navigation.moya-nav-open { display: flex; }
  #moya-navigation a, #moya-navigation button { padding: 14px 0; min-height: 48px; }
  .moya-megamenu-shell { position: static; }
  .moya-megamenu-shell > div { position: static; box-shadow: none; }
  .moya-header > div > a:last-child { padding: 12px 18px; }
}
@media (max-width: 700px) {
  .moya-schutzsysteme .moya-features { grid-template-columns: 1fr; }
  .moya-schutzsysteme .moya-features > * { padding-inline: 0; border-left: 0; }
  :root { --moya-gutter: 20px; --moya-section-y: 80px; }
  html { scroll-padding-top: 16px; }
  .moya-page h1 { font-size: 36px; line-height: 1.1; }
  .moya-page h2 { font-size: 30px; }
  .moya-page h3 { font-size: 25px; }
  .moya .moya-topbar > div { gap: 0; padding-block: 2px; }
  .moya .moya-topbar > div > div { gap: 4px 18px; }
  .moya .moya-topbar > div > div:nth-child(2) > a:nth-child(-n+2) { display: none; }
  .moya-frame { width: 100%; }
  .moya-header > div > a:first-child img { max-width: 180px; height: 44px; }
  .moya-header > div > a:last-child { display: none; }
  .moya-header > div { min-height: 80px; }
  .moya-header nav a { width: 100%; }
  .moya .moya-home-hero > div { height: auto; min-height: 0; padding-top: 240px; }
  .moya .moya-home-hero > div > div:last-child { position: relative; bottom: auto; }
  .moya-home-hero > div > div:last-child > div { gap: 16px; }
  .moya-home-hero h1 { max-width: 17ch; }
  .moya-home-hero p { font-size: 17px; }
  .moya-page [role='dialog'] { width: calc(100vw - 24px); max-height: 88dvh; }
  .moya-page [role='dialog'] > div { min-width: 0; }
  .moya-generic { padding: 24px 20px 80px; }
  .moya-page input[type='file'] { max-width: 100%; font-size: 14px; }
  .moya-referenzen section > div { min-width: 0; }
  .moya .moya-referenzen .m-1e8aea6269 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .moya-referenzen [aria-label*='Details'] { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-fade, .g-menu, .g-tile img, .w-photo, .w-tile img, .g-part { transition: none; }
  .g-tile:hover img, .w-tile:hover img { transform: none; }
}
