:root{color-scheme:light;--ink:#151515;--accent:#488aff;--content-width:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:#fff;font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-underline-offset:4px}a:hover{color:#367be6}a:focus-visible,summary:focus-visible{outline:3px solid #488aff;outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,h4{line-height:1.2;margin:0 0 .55em;overflow-wrap:anywhere}h1{font-size:inherit}h2{font-size:inherit}h3{font-size:1.15rem}p{margin:0 0 1em}p:last-child{margin-bottom:0}ul,ol{padding-left:1.4em}table{max-width:100%;border-collapse:collapse}td,th{padding:8px;vertical-align:top}hr{border:0;border-top:1px solid #ddd;margin:24px 0}.skip-link{position:absolute;left:16px;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}.site-header{min-height:76px;background:#050505;color:#fff;display:flex;align-items:center;gap:32px;padding:16px 3.5%;position:sticky;top:0;z-index:20}.brand{display:block;flex:0 0 225px;line-height:0}.brand img{width:225px;max-height:45px;object-fit:contain;filter:invert(1)};filter:invert(1).primary{margin-left:auto;display:flex;align-items:center;gap:32px}.primary a{font-size:14px;font-weight:500;letter-spacing:1.8px;text-transform:uppercase;text-decoration:none;white-space:nowrap}.menu summary{cursor:pointer;list-style:none;font-size:26px;line-height:1;padding:8px}.menu summary::-webkit-details-marker{display:none}.menu nav{position:absolute;right:0;top:100%;width:min(390px,100%);max-height:calc(100vh - 80px);overflow:auto;padding:24px 32px;background:#0a0a0a;box-shadow:0 12px 25px #0004;display:flex;flex-direction:column;gap:14px}.menu nav a{text-decoration:none}.outer{padding:60px 24px}.section>.row,.container>.row{display:flex;flex-wrap:wrap;max-width:var(--content-width);width:100%;margin:auto;position:relative}.column{width:var(--col,100%);min-width:0;display:flex;flex-direction:column;justify-content:center;padding:12px;gap:14px}.column>.section{width:100%}.widget{max-width:100%;overflow-wrap:anywhere}.widget-heading{font-size:32px}.widget-text-editor{line-height:1.6}.widget-image{text-align:center}.widget-image img{width:var(--image-width,auto);max-width:100%;object-fit:contain}.image-link{display:block}.image-box{text-align:center;display:block;text-decoration:none;padding:18px 8px;transition:transform .15s}.image-box:hover{transform:translateY(-3px)}.image-box img{width:auto;height:76px;max-width:100%;object-fit:contain;margin:0 auto 18px}.image-box h3{font-size:18px;font-weight:700;margin-bottom:4px}.image-box p{font-size:16px;line-height:1.45}.button{display:inline-block;padding:14px 24px;border:1px solid currentColor;text-decoration:none;border-radius:2px;font-size:16px;font-weight:600;line-height:1.5;max-width:100%;text-align:center}.button:hover{background:#488aff;color:#fff;border-color:#488aff}.icon-list{list-style:none;margin:0;padding:0}.icon-list li{margin-bottom:10px}.icon-list a{text-decoration:none}.social{display:flex;gap:20px;flex-wrap:wrap}.has-bg{background-size:cover;background-position:center;position:relative}.has-bg>.row{z-index:1}.anchor{scroll-margin-top:90px}.contact-action p{margin-top:20px}.site-footer{background:#080808;color:#fff;padding:48px max(24px,5vw);display:flex;justify-content:space-between;gap:48px;font-size:14px}.site-footer strong{font-size:24px}.site-footer nav{display:flex;gap:14px 28px;flex-wrap:wrap;max-width:650px;align-content:center}.site-footer a{text-decoration:none}.video-link{margin:12px 0}.widget-icon img{height:48px;width:auto}.spacer{max-height:80px}.widget-slides article{padding:24px}
@media(min-width:1101px){.hide_desktop{display:none!important}}
@media(min-width:701px) and (max-width:1100px){.hide_tablet{display:none!important}.primary{gap:16px}.primary a{font-size:12px;letter-spacing:1px}.brand,.brand img{width:180px;flex-basis:180px}.site-header{gap:16px}}
@media(max-width:700px){.hide_mobile{display:none!important}.primary{display:none}.site-header{min-height:66px;padding:12px 20px;justify-content:space-between}.brand{flex-basis:180px}.brand img{width:180px}.outer{padding:36px 18px!important;min-height:0!important}.row>.column{width:100%!important;padding:12px 0!important}.column{gap:16px}.widget-heading{font-size:clamp(22px,6vw,32px)!important}.widget-text-editor{font-size:16px!important}.image-box{padding:12px}.image-box img{height:70px}.spacer{max-height:30px}.site-footer{flex-direction:column;padding:36px 24px;gap:28px}.site-footer nav{flex-direction:column}.has-bg{background-position:center!important}.has-bg>.row{padding:12px}.section{max-width:100%}.button{padding:12px 18px}.widget{letter-spacing:normal!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.image-box{transition:none}}
.widget-heading h1,.widget-heading h2,.widget-heading h3{font-weight:inherit;font-size:inherit}.has-bg .button{color:inherit;background:#0006}.has-bg .button:hover{background:#488aff;color:#fff}
.cards>.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1100px}.cards .image-box{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.cards .image-box img{flex-shrink:0}.cards .widget-image-box h3,.cards .widget-image-box p{overflow-wrap:normal;hyphens:auto}.section-video{display:block;width:100%;max-height:620px;object-fit:cover;background:#111}.section:has(>.section-video){padding:0;min-height:0}.section:has(>.section-video)>.row:empty{display:none}.menu:not([open])>nav{display:none}
@media(max-width:700px){.cards>.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.cards .image-box{padding:8px 0}.cards .image-box h3{font-size:16px}.cards .image-box p{font-size:14px}}
@media(max-width:360px){.cards>.row{grid-template-columns:1fr}}
@media(max-width:700px){.widget-heading{font-size:clamp(18px,5vw,26px)!important}.widget-heading h1,.widget-heading h2,.widget-heading h3{line-height:1.35;hyphens:auto;overflow-wrap:break-word}}

/* Startseite: Headline-Zeilen kompakt setzen */
.e7894cce h1,.e5c3a39e h2,.ed980676 h2,.ed1cda9e h2,.eb4eacd7 h2{margin-bottom:0}

/* Einheitliches Vektorlogo in jedem Header */
.brand img{content:url("db-matik-logo.svg")}

/* Hauptnavigation bis zum rechten Menürand ausrichten */
.primary{margin-left:auto;gap:1em}
