/* Shared signal pattern, varied in position and scale according to the page. */
body[data-pattern]{position:relative;isolation:isolate}
body[data-pattern]::before{content:'';position:absolute;top:28px;right:0;width:100%;height:1150px;pointer-events:none;z-index:-1;background:url('assets/hero-signal-page.svg') right top/auto 1050px no-repeat;opacity:.28;mask-image:linear-gradient(to bottom,#000 15%,#000 55%,transparent 100%),linear-gradient(to right,transparent 5%,#000 88%);mask-composite:intersect}
[data-theme=dark] body[data-pattern]::before{opacity:.55}
body[data-pattern=home]::before{height:1550px;background-size:auto 1250px}
body[data-pattern=home]:not([data-hero-page=seite])::before{display:none}
body[data-pattern=webanwendungen]::before,body[data-pattern=api]::before{background-position:calc(100% + 220px) -170px;background-size:auto 1200px}
body[data-pattern=elearning]::before,body[data-pattern=vorgehen]::before{background-position:calc(100% + 170px) -330px;background-size:auto 1450px}
body[data-pattern=ki]::before,body[data-pattern=prototypen]::before{background-position:calc(100% + 350px) 0;background-size:auto 1000px}
body[data-pattern=projekte]::before,body[data-pattern=project]::before{background-position:calc(100% + 100px) -200px;background-size:auto 980px;opacity:.2}
[data-theme=dark] body[data-pattern=projekte]::before,[data-theme=dark] body[data-pattern=project]::before{opacity:.4}
body[data-pattern=impressum]::before,body[data-pattern=datenschutz]::before{opacity:.1;height:700px}
body[data-pattern] .header nav{background:transparent}
.page-intro{padding-block:62px 58px;min-height:310px}.page-intro h1{font-size:clamp(40px,4.4vw,66px);max-width:1150px;line-height:1.15}.page-intro .lead{font-size:19px;line-height:1.7;max-width:850px}.eyebrow{line-height:1.6}
.header-call{order:2;flex-shrink:0;font-size:12px;padding:12px;min-height:44px;gap:7px}.header nav{order:2}.header{gap:17px}.phone-symbol{display:inline-flex;align-items:center}.call-button{justify-content:center;gap:10px}.call-button .phone-symbol{font-size:inherit}.call-button svg{flex-shrink:0}.cta-actions{display:flex;flex-direction:column;gap:12px;flex-shrink:0}.cta .call-button{margin-top:0;color:#eee;border-color:#626262}.cta .call-button:hover{background:#292929}.contact-aside>.call-button{margin-bottom:22px}
.project-grid{gap:30px 24px}.project-card{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);background:var(--paper);padding:10px 10px 22px;border-radius:5px;transition:border-color .18s,box-shadow .18s}.project-card:hover{border-color:var(--red);box-shadow:0 8px 25px #0000000c}.project-card:focus-visible{outline-offset:3px}.project-card .case-media{aspect-ratio:1.65;border-radius:2px;overflow:hidden}.project-card .project-label{margin:20px 12px 12px;font-size:10px;line-height:1.65}.project-card h3{font-size:23px;line-height:1.25;margin:0 12px 14px;letter-spacing:-.025em}.project-card .project-summary{margin:0 12px;font-size:14px;line-height:1.75}.filter-item{min-width:0}.project-label>span:first-child{min-width:0}.case-facts{border-left:2px solid var(--red);padding:20px 0 20px 28px}.case-gallery{gap:24px}.case-gallery .case-media{border:1px solid var(--line);border-radius:4px;overflow:hidden}
.project-section{position:relative;isolation:isolate}.project-section::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('assets/hero-signal-page.svg') right -180px/auto 1000px no-repeat;opacity:.08}
.cta{position:relative;isolation:isolate;overflow:hidden}.cta::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('assets/hero-signal-page.svg') right center/auto 1250px no-repeat;opacity:.5;mask-image:linear-gradient(to right,transparent 5%,#000 88%)}
@media(max-width:760px){.cta::before{background-position:65% center;background-size:auto 1000px;opacity:.4}}
.steps article>span{display:inline-flex;border:1px solid var(--line);width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;font-size:12px}.steps h3{margin-top:24px}.tech-strip{border-left:2px solid var(--red);padding-left:22px}.service-row:hover .arrow{color:var(--red)}
@media(min-width:1101px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-grid.latest-projects{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1900px){.project-grid:not(.latest-projects){grid-template-columns:repeat(4,minmax(0,1fr))}.project-card h3{font-size:22px}}
@media(min-width:761px) and (max-width:1250px){.header{flex-wrap:wrap}.header nav{gap:14px}.header-call{font-size:11px;padding:10px}.header nav .button{font-size:12px}}
@media(max-width:760px){body[data-pattern]::before{height:1000px;background-position:65% -50px;background-size:auto 1000px;opacity:.14}[data-theme=dark] body[data-pattern]::before{opacity:.3}body[data-pattern=home]::before{height:1450px;background-size:auto 1150px}body[data-pattern] .header nav.open{background:var(--paper)}.header{gap:7px}.header-call{padding:10px 8px;font-size:10px;gap:5px}.header-call svg{width:14px;height:14px}.header .brand{flex-basis:85px}.header .brand img{width:85px;height:54px}.theme-toggle{font-size:9px;padding:9px 6px}.menu-toggle{font-size:11px;padding:10px 7px;gap:4px}.page-intro{padding-block:32px 35px;min-height:0}.page-intro h1{font-size:38px}.page-intro .lead{font-size:17px}.project-grid{grid-template-columns:1fr;gap:24px}.project-card h3{font-size:24px}.project-card .project-summary{font-size:15px}.cta-actions{margin-top:25px;align-items:flex-start}.cta-actions .button{margin-top:0}.case-facts{padding:15px 0 15px 20px}.tech-strip{padding-left:17px}.hero .actions{gap:10px}.hero .actions .call-button{padding:14px 16px}.project-section::before{opacity:.05}}
@media(max-width:360px){.header-call{display:none}}
@media(max-width:760px){.header-call{font-size:0;width:44px;min-width:44px;padding:10px}.header-call svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}}
/* Service navigation: separate overview link and disclosure button. */
.header{position:relative;z-index:20}
.nav-services{position:relative}
.nav-services-heading{display:flex;align-items:center;gap:2px}
.nav-services-heading>a{padding:10px 0;border-bottom:1px solid transparent}
.nav-services-heading>a:hover,.nav-services:has([aria-current=page]) .nav-services-heading>a{border-bottom-color:var(--red)}
.submenu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:2px;background:transparent;color:var(--ink);padding:0}
.submenu-toggle:hover,.submenu-toggle[aria-expanded=true]{background:var(--surface);color:var(--red)}
.submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.service-submenu{position:absolute;top:100%;left:-18px;width:320px;max-width:calc(100vw - 40px);padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:3px;box-shadow:0 16px 35px #0002;z-index:30}
.service-submenu[hidden]{display:none}
.service-submenu>a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.5;border-radius:2px}
.service-submenu>a:hover,.service-submenu>a[aria-current=page]{background:var(--surface);color:var(--red)}
@media(max-width:760px){.header .nav-services-heading>a{flex:1;padding:13px;font-size:16px}.service-submenu{position:static;width:100%;max-width:none;margin:4px 0 8px;padding:4px 0 4px 12px;border:0;border-left:2px solid var(--red);border-radius:0;box-shadow:none}.service-submenu>a{padding:10px 12px;font-size:14px}}
/* Editorial project tiles: image first, no nested card or image frames. */
.project-card{border:0;padding:0 0 24px;background:transparent;border-radius:0;box-shadow:none;transition:none}
.project-card:hover{border:0;box-shadow:none}
.project-card .case-media{padding:0;aspect-ratio:1.5;border-radius:3px;background:#e5e5e5;position:relative;overflow:hidden}
.project-card .case-media img{display:block;width:100%;height:100%;padding:0;object-fit:contain;transition:transform .3s ease}
.project-card .case-media.media-symbol img{object-fit:cover}
.project-card:hover .case-media img{transform:scale(1.025)}
.project-card .case-media.media-project img,.project-card .case-media.media-logo img{transform:none}
.project-card .case-media.media-logo img{padding:28px}
.project-card .case-media figcaption{position:absolute;left:12px;bottom:12px;right:auto;max-width:calc(100% - 24px);padding:4px 8px;border-radius:2px;background:rgba(0,0,0,.68);color:#f3f3f3;font-size:10px;line-height:1.5}
.project-card .case-media.media-project figcaption{position:static;display:none}
.project-card .project-label{margin:19px 0 12px;align-items:center;font-size:11px;letter-spacing:.06em;gap:12px}
.project-card .project-label>span:last-child{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;flex-shrink:0;font-size:17px;transition:color .18s,background .18s,border-color .18s}
.project-card:hover .project-label>span:last-child{background:var(--red);border-color:var(--red);color:#fff}
.project-card h3{margin:0 0 13px;font-size:23px;line-height:1.3;letter-spacing:-.025em}
.project-card .project-summary{margin:0;font-size:14px;line-height:1.75;max-width:96%}
.project-grid{column-gap:30px;row-gap:42px}
[data-theme=dark] .project-card .case-media{background:#1e1e1e}
[data-theme=dark] .project-card .case-media figcaption{background:rgba(0,0,0,.68);color:#f3f3f3}
.project-card:focus-visible{outline:2px solid var(--red);outline-offset:8px}
@media(max-width:760px){.project-card .case-media{padding:0}.project-card h3{font-size:24px}.project-grid{row-gap:35px}.project-card .project-summary{font-size:15px}}
@media(prefers-reduced-motion:reduce){.project-card .case-media img,.project-card .project-label>span:last-child{transition:none}.project-card:hover .case-media img{transform:none}}

/* Portfolio refinement: stronger rhythm and consistent interactive details. */
.demo .theme-toggle{order:0;min-height:32px;padding:5px 9px;font-size:10px;line-height:1.4;color:#dedede;border-color:#555;background:transparent}
.demo .theme-toggle:hover{color:#fff;background:#292929}
.demo-tools{flex-wrap:wrap;white-space:normal}
.header .header-call{order:3}
@media(max-width:760px){.demo .theme-toggle{min-height:44px;padding:8px 10px}.header .header-call{width:auto;min-width:44px;font-size:11px;gap:7px}.header .header-call svg{width:16px;height:16px}}
@media(max-width:360px){.header .header-call{display:inline-flex;font-size:0;width:44px}}
.hero h1,.page-intro h1,.section-heading h2,.cta h2{text-wrap:balance}
.hero .lead,.page-intro .lead{max-width:65ch}
.service-row{transition:background-color .225s ease;position:relative}
.service-row h3{transition:color .225s ease}
.service-row .arrow{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;font-size:23px;transition:background-color .225s ease,color .225s ease,border-color .225s ease,transform .225s ease}
.service-row:hover,.service-row:focus-visible{background:rgba(0,0,0,.025)}
[data-theme=dark] .service-row:hover,[data-theme=dark] .service-row:focus-visible{background:rgba(255,255,255,.035)}
.service-row:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.service-row:hover h3,.service-row:focus-visible h3{color:var(--red)}
[data-theme=dark] .service-row:hover h3,[data-theme=dark] .service-row:focus-visible h3{color:#fa7697}
.service-row:hover .arrow,.service-row:focus-visible .arrow{background:var(--red);border-color:var(--red);color:#fff;transform:translate(3px,-3px)}
@media(prefers-reduced-motion:reduce){.service-row,.service-row h3,.service-row .arrow{transition:none}.service-row:hover .arrow,.service-row:focus-visible .arrow{transform:none}}
.operating-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,48px)}
.operating-options article{border-top:2px solid var(--red);padding-top:24px;min-width:0}
.operating-options .eyebrow{margin-bottom:18px}
.operating-options h3{font-size:clamp(23px,2vw,30px);line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.operating-options p:not(.eyebrow){font-size:15px;color:var(--muted)}
.operating-options p.small{font-size:13px;margin-bottom:0}
.operating-note{max-width:80ch;margin:32px 0 22px;font-size:15px;color:var(--muted)}
@media(max-width:900px){.operating-options{grid-template-columns:1fr;gap:32px}}
.steps article{position:relative;padding-top:30px}
.steps article::before{content:'';position:absolute;top:-1px;left:0;width:42px;height:2px;background:var(--red)}
.steps h3{line-height:1.25;letter-spacing:-.025em}
.quote-section{position:relative}
.quote-section blockquote{border-left:2px solid var(--red);padding-left:clamp(20px,3vw,44px)}
.quote-section>p:last-child{padding-left:clamp(22px,3vw,46px)}
.cta{padding-block:clamp(55px,7vw,105px)}
.cta h2{font-size:clamp(34px,4.5vw,64px);line-height:1.15}
.project-card h3{transition:color .2s}
.project-card:hover h3,.project-card:focus-visible h3{color:var(--red)}
.text-link{text-underline-offset:5px;transition:color .2s,border-color .2s}
.text-link:hover{color:var(--red);border-color:var(--red)}
@media(min-width:1101px){.service-row{padding-block:34px;grid-template-columns:65px 1fr 40px}.service-row h3{font-size:clamp(28px,2.4vw,36px)}.section-heading{margin-bottom:56px}.steps{gap:38px}}
@media(max-width:760px){.service-row{grid-template-columns:24px minmax(0,1fr) 32px}.service-row .arrow{width:32px;height:32px;font-size:20px}.service-row h3{font-size:23px;line-height:1.25}.steps{gap:28px 20px}.quote-section blockquote{font-size:28px}.cta h2{font-size:36px}}

/* Quiet interaction feedback, with motion enabled only by user preference. */
@media(prefers-reduced-motion:no-preference){
 .button{transition:background-color .18s ease,border-color .18s ease,color .18s ease}
 .button>span[aria-hidden=true]:not(.phone-symbol){transition:transform .18s ease}
 .button:focus-visible>span[aria-hidden=true]:not(.phone-symbol){transform:translate(2px,-2px)}
 .project-card .case-media img{transition:transform .3s ease}
 .project-card:focus-visible .case-media img{transform:scale(1.025)}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .button:hover>span[aria-hidden=true]:not(.phone-symbol){transform:translate(2px,-2px)}
 .project-card:hover .case-media img{transform:scale(1.025)}
}
@media(prefers-reduced-motion:reduce){
 .button>span,.project-card .case-media img{transition:none!important;transform:none!important}
}

/* Equal action footprints; colour preserves the primary action hierarchy. */
.quote-section blockquote{max-width:820px;font-size:clamp(28px,3vw,42px);line-height:1.35}
.quote-source{display:flex;align-items:center;gap:24px;margin-left:clamp(22px,3vw,46px)}
.quote-logo{width:150px;flex:0 0 150px;background:#fff;padding:12px 14px}
.quote-logo img{width:100%;height:auto;object-fit:contain}
.quote-source p{margin:0;font-size:14px;line-height:1.65}
.quote-source strong{display:block;font-weight:600;color:var(--ink)}
.quote-source span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
@media(min-width:901px){
 .quote-section{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);column-gap:clamp(40px,5vw,90px);align-items:center}
 .quote-section>.eyebrow{grid-column:1/-1}
 .quote-section blockquote{margin-bottom:0;max-width:none}
 .quote-source{margin-left:0;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
 .quote-source .quote-logo{flex:0 0 auto;width:150px}
}
@media(max-width:760px){.quote-source{flex-wrap:wrap;gap:16px;margin-left:22px}.quote-logo{width:130px;flex-basis:130px}.quote-source p{flex:1 1 200px}}
.hero .actions .button,.cta-actions .button{width:auto;height:54px;min-height:54px;justify-content:center;gap:14px;padding:0 20px;font-size:14px;white-space:nowrap;line-height:1.3}
.cta-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:max-content;max-width:100%;align-items:stretch}
.cta-actions .button{width:100%;margin-top:0}
.hero .actions .button.call-button{padding:0 20px}
.button>span{line-height:1;display:inline-flex;align-items:center}
@media(min-width:761px){.header .header-call,.header nav .button{width:auto;height:48px;min-height:48px;justify-content:center;gap:12px;padding:0 16px;font-size:12px;line-height:1.3;white-space:nowrap}.hero .actions{align-items:center}.cta-actions{align-items:flex-start}}
@media(max-width:760px){
 .hero .actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:26px}
 .hero .actions .button,.cta-actions .button{width:auto;height:52px;min-height:52px;font-size:13px;gap:9px;padding:0 14px}
 .hero .actions .button:first-child{grid-column:1/-1}
 .hero .actions .button.call-button{padding:0 16px}
 .hero .lead,.hero[data-variant=bild] .lead,.hero[data-variant=grafik] .lead{font-size:16px;line-height:1.65;margin-bottom:0}
 .hero[data-variant=seite],.hero[data-variant=bild],.hero[data-variant=grafik]{padding-top:26px;padding-bottom:30px;margin-bottom:20px}
 .hero h1,.hero[data-variant=seite] h1,.hero[data-variant=bild] h1,.hero[data-variant=grafik] h1{font-size:clamp(29px,8.7vw,38px);line-height:1.13;margin-bottom:24px;text-wrap:initial}
 .hero .eyebrow{letter-spacing:.09em;margin-bottom:16px}
 .hero-note{margin-top:18px}
 .cta-actions{grid-template-columns:minmax(0,1fr);align-items:stretch}.cta-actions .button{width:100%;margin-top:0}
 .demo{gap:3px;padding-block:5px}.demo-tools{gap:5px 9px}.demo .theme-toggle{border:0;padding:4px 6px}.demo-tools>span:first-child{margin-right:0}
}

/* The chosen dark design keeps the signal visible across the whole page.
   A horizontal mask leaves the reading column calm, including on mobile. */
:root[data-theme=dark]{--ink:#f2f2f2;--muted:#c4c4c4;--line:#454545}
[data-theme=dark] body[data-pattern]::before,
[data-theme=dark] body[data-hero-page=seite]::before{
 top:0;bottom:0;height:auto;min-height:100vh;
 background-image:url('assets/hero-signal-page.svg');
 background-size:auto 1250px;background-position:right top;background-repeat:repeat-y;
 opacity:.46;mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.12) 38%,#000 85%);mask-composite:add;
}
[data-theme=dark] body[data-pattern] .project-section,
[data-theme=dark] body[data-pattern] .cta,
[data-theme=dark] body[data-pattern] .dark-feature,
[data-theme=dark] body[data-pattern] footer{background:rgba(10,10,10,.82)}
[data-theme=dark] .project-section::before,[data-theme=dark] .cta::before{display:none}
[data-theme=dark] .hero[data-variant=seite] em{color:#ff7b9e}
[data-theme=dark] .button.secondary{background:rgba(10,10,10,.88);border-color:#737373}
[data-theme=dark] .button.secondary:hover{background:#292929}
[data-theme=dark] .aside,[data-theme=dark] .form-note,[data-theme=dark] .legal-note{background:#171717}
[data-theme=dark] .service-submenu{background:#171717;border-color:#454545}
[data-theme=dark] :focus-visible{outline:2px solid #ff91af;outline-offset:4px}
@media(max-width:760px){
 [data-theme=dark] body[data-pattern]::before,
 [data-theme=dark] body[data-hero-page=seite]::before{background-size:auto 950px;background-position:65% top;opacity:.24;mask-image:linear-gradient(to right,rgba(0,0,0,.15),#000)}
 [data-theme=dark] body[data-pattern] .header nav.open{background:#111;border:1px solid #454545}
}
/* Shared language navigation and mobile return control. */
.header .language-switch { display: flex; gap: .15rem; align-items: center; flex-shrink: 0; position: static; padding: 0; margin-left: 0; border: 0; box-shadow: none; width: auto; order: 3; }
.header .language-switch > a:not(.button) { display: grid; place-items: center; min-height: 44px; padding: .5rem .35rem; font-size: .8rem; text-decoration: none; }
.language-switch a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: .3rem; }
.back-to-top { display: none; }
@media (max-width: 900px) {
  .header .language-switch { margin-left: auto; }
  .back-to-top { display: grid; place-items: center; position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.6rem; cursor: pointer; box-shadow: 0 3px 14px #0003; }
  .back-to-top[hidden] { display: none; }
}
.back-to-top:focus-visible, .language-switch a:focus-visible { outline: 3px solid #dc743c; outline-offset: 4px; }
@media (max-width: 400px) {
  .header .header-call { font-size: 0; width: 44px; padding: 10px; }
  .header .language-switch > a:not(.button) { padding-inline: .25rem; font-size: .75rem; }
}
/* TYPO3 Form: reuse the site's controls and provide visible validation feedback. */
.expert-contact-form{min-width:0}.expert-contact-form .form-grid>div{min-width:0}.expert-contact-form .actions{margin-top:24px}.expert-contact-form .form-error{display:block;margin-top:8px;color:var(--ink);font-size:13px;font-weight:600}.expert-contact-form .is-invalid input,.expert-contact-form .is-invalid textarea,.expert-contact-form .is-invalid select{border:2px solid var(--red)}.form-confirmation{padding:24px;border-left:3px solid var(--red);background:var(--paper);outline-offset:4px}.form-confirmation p{margin:0;line-height:1.6}.form-send-error p{margin:0 0 12px}.expert-contact-form .required{color:var(--red)}
.analytics-settings{display:grid;place-items:center;position:fixed;right:max(1rem, env(safe-area-inset-right));bottom:max(1rem, env(safe-area-inset-bottom));z-index:40;width:48px;height:48px;padding:0;border:1px solid currentColor;border-radius:50%;background:var(--paper);color:var(--ink);cursor:pointer;box-shadow:0 3px 14px #0003}.analytics-settings:hover{background:var(--ink);color:var(--paper)}.analytics-settings:focus-visible{outline:3px solid #dc743c;outline-offset:4px}.analytics-settings svg{display:block}@media(max-width:760px){.analytics-settings{right:calc(max(1rem, env(safe-area-inset-right)) + 60px)}}.analytics-consent{position:fixed;z-index:1000;bottom:20px;left:20px;right:20px;max-width:760px;margin:auto;padding:24px;background:var(--paper);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 40px #0003}.analytics-consent[hidden]{display:none}.analytics-consent h2{font-size:22px;line-height:1.3;margin:0 0 12px}.analytics-consent p{font-size:14px;line-height:1.6;margin:0 0 18px}.analytics-consent p a{text-decoration:underline}.analytics-consent-actions{display:flex;gap:12px}.analytics-consent-actions .button{flex:1;justify-content:center;font-size:14px}@media(max-width:480px){.analytics-consent{bottom:10px;left:10px;right:10px;padding:18px}.analytics-consent h2{font-size:19px}.analytics-consent-actions{flex-wrap:wrap}.analytics-consent-actions .button{min-width:130px}}
.analytics-info-link{margin:14px 0 0!important;font-size:12px!important}
/* Keep the optional statistics choice clearly visible in both site themes. */
.analytics-consent{background:#fff;color:#181818;border:1px solid #c7c7c7;border-top:4px solid #be1522;box-shadow:0 12px 60px #0008;max-width:800px;padding:26px;max-height:calc(100dvh - 40px);overflow-y:auto}.analytics-consent h2,.analytics-consent p,.analytics-consent a{color:#181818}.analytics-consent h2{font-size:23px;font-weight:700}.analytics-consent .button.secondary{background:#fff;color:#181818;border:1px solid #777;box-shadow:none}.analytics-consent .button.secondary:hover{background:#f0f0f0;color:#181818}.analytics-consent .button.secondary:focus-visible{outline:3px solid #be1522;outline-offset:3px}@media(max-width:480px){.analytics-consent{padding:18px;max-height:calc(100dvh - 20px)}.analytics-consent h2{font-size:20px}}

/* Keep the AI introduction in the two-line composition of the approved design. */
body[data-pattern=ki] .page-intro h1{max-width:780px}
.tech-list li>img{width:32px;height:32px;object-fit:contain}

/* Allow long client names to wrap without expanding responsive grid tracks. */
.case-intro>*,.detail-grid>*,.portrait-grid>*{min-width:0}
.case-facts h3{overflow-wrap:anywhere}

/* Supporting contact copy stays quiet and separate from validation messages. */
/* Compact project facts keep the image, context and case study connected. */
.case-intro .case-facts{padding:4px 0 4px 24px}
.case-facts .eyebrow{margin:0 0 12px}
.case-facts h3{font-size:clamp(24px,2vw,30px);line-height:1.25;margin:0 0 14px}
.case-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:12px}
.case-meta p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.case-facts .text-link{display:inline-block;margin:0;padding:10px 0;min-height:44px;font-size:14px;line-height:1.6}
.case-intro+.case-body{padding-top:48px}
@media(max-width:760px){
 .case-intro{gap:24px}
 .case-intro .case-facts{padding:0 0 0 16px}
 .case-facts .eyebrow{margin-bottom:8px}
 .case-facts h3{font-size:24px;margin-bottom:10px}
 .case-meta{gap:4px 12px;margin-bottom:6px}
 .case-meta p{font-size:12px}
 .case-intro+.case-body{padding-top:32px}
}

/* Reference images sit directly on the page, without grey mats or frames. */
.project-card .case-media,.case-intro>.case-media,.case-gallery .case-media,
[data-theme=dark] .project-card .case-media,[data-theme=dark] .case-intro>.case-media,[data-theme=dark] .case-gallery .case-media{background:transparent;border:0;box-shadow:none}
.case-intro>.case-media img,.case-gallery .case-media img{padding:0}
.case-media.media-symbol figcaption{display:none}

/* Mobile overview rhythm and compact footer actions. */
@media(max-width:760px){body[data-pattern=leistungen] .page-intro+.section{padding-top:25px}}
@media(max-width:359px){body[data-pattern=leistungen] .page-intro h1{font-size:34px;overflow-wrap:normal}}
@media(min-width:360px) and (max-width:760px){.cta-actions{grid-template-columns:max-content max-content;width:max-content;gap:10px}.cta-actions .button{width:auto}}

.expert-contact-form .contact-form-intro{margin:0 0 28px;font-size:15px;line-height:1.6}
.contact-form-required{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.expert-contact-form .contact-form-privacy{max-width:640px;margin:20px 0 0;font-size:13px;line-height:1.7;color:var(--muted)}
.contact-form-privacy a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;color:var(--ink)}
.contact-form-privacy a:hover{color:var(--red)}

/* Leave the final footer links above the fixed mobile controls. */
@media(max-width:900px){footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}}

/* Header signal motion; the following signal compositions remain static. */
body[data-pattern]::before,[data-theme=dark] body[data-pattern]::before,[data-theme=dark] body[data-hero-page=seite]::before{background-image:url('assets/hero-signal-page.svg'),url('assets/section-signals.svg');background-size:auto 1250px,auto 20000px;background-position:right top,right top;background-repeat:no-repeat;min-height:100vh;top:0;bottom:0;height:auto}
@media(prefers-reduced-motion:no-preference){body[data-pattern]::before,[data-theme=dark] body[data-pattern]::before,[data-theme=dark] body[data-hero-page=seite]::before{background-image:url('assets/hero-signal-animated.svg'),url('assets/section-signals.svg')}}
@media(max-width:760px){body[data-pattern]::before,[data-theme=dark] body[data-pattern]::before,[data-theme=dark] body[data-hero-page=seite]::before{background-size:auto 950px,auto 15200px;background-position:calc(65% - 90px) top,calc(65% - 90px) top}}
/* German copy preview: accommodate descriptive labels and longer process headings. */
:lang(de) .steps{grid-template-columns:repeat(4,minmax(0,1fr))}
:lang(de) .steps article{min-width:0}
:lang(de) .steps h3{overflow-wrap:anywhere;hyphens:auto}
:lang(de) .cta>div{min-width:0}
:lang(de) .cta-actions{max-width:100%;width:max-content;flex-shrink:0;grid-template-columns:max-content max-content}
:lang(de) .cta .button{white-space:nowrap;max-width:100%;overflow-wrap:normal}
:lang(de) .detail-grid .button{max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){:lang(de) .steps{grid-template-columns:repeat(2,minmax(0,1fr))}:lang(de) .steps h3{font-size:21px}:lang(de) .cta-actions{width:max-content;grid-template-columns:max-content max-content;max-width:100%}}
@media(max-width:360px){:lang(de) .steps{grid-template-columns:minmax(0,1fr)}}
:lang(de) main h2,:lang(de) main h3{overflow-wrap:anywhere;hyphens:auto}
/* Project overview: compact, single-line actions as in the original layout. */
:lang(de) #c193 .cta-actions{width:max-content;grid-template-columns:max-content max-content}
:lang(de) #c193 .cta-actions .button{white-space:nowrap;overflow-wrap:normal;width:auto}
@media(max-width:359px){:lang(de) #c193 .cta-actions{width:100%;grid-template-columns:minmax(0,1fr)}}

@media(max-width:359px){:lang(de) .cta-actions{width:100%;grid-template-columns:minmax(0,1fr)}}

@media(min-width:761px) and (max-width:1000px){:lang(de) .detail-grid{grid-template-columns:minmax(0,1fr);gap:35px}}
/* Compact mobile header: other language, direct call and borderless menu. */
.header .language-switch-mobile{display:none}
@media(max-width:760px){
 .header{justify-content:flex-start;gap:6px}
 .header .brand{margin-right:auto}
 .header .language-switch-desktop{display:none}
 .header .language-switch-mobile{display:flex;order:2;margin:0;padding:0;gap:0}
 .header .language-switch-mobile>a{min-width:44px;min-height:48px;padding:0;font-size:13px;font-weight:600}
 .header .header-call{order:3;display:inline-flex;font-size:0;width:48px;min-width:48px;height:48px;min-height:48px;padding:0;justify-content:center;border:0;background:transparent;box-shadow:none}
 .header .header-call svg{width:20px;height:20px}
 .header .menu-toggle{order:4;justify-content:center;gap:0;width:48px;min-width:48px;height:48px;min-height:48px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;font-size:24px;line-height:1;color:var(--ink)}
 .header .menu-label{display:none}
 .header #navigation{max-height:calc(100dvh - 100px);overflow-y:auto}
}
/* The same three strokes smoothly become a close icon and return on closing. */
.menu-icon{position:relative;display:block;width:22px;height:18px}
.menu-icon i{position:absolute;left:0;top:8px;width:22px;height:2px;background:currentColor;border-radius:1px;transition:transform .22s ease,opacity .16s ease}
.menu-icon i:first-child{transform:translateY(-7px)}
.menu-icon i:last-child{transform:translateY(7px)}
.menu-toggle[aria-expanded=true] .menu-icon i:first-child{transform:rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(2){opacity:0;transform:scaleX(.5)}
.menu-toggle[aria-expanded=true] .menu-icon i:last-child{transform:rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.menu-icon i{transition:none}}
/* English copy: the same compact contact actions and responsive rhythm as German. */
:lang(en) .steps{grid-template-columns:repeat(4,minmax(0,1fr))}
:lang(en) .steps article,:lang(en) .cta>div{min-width:0}
:lang(en) .steps h3,:lang(en) main h2,:lang(en) main h3{overflow-wrap:anywhere;hyphens:auto}
:lang(en) .cta-actions{max-width:100%;width:max-content;flex-shrink:0;grid-template-columns:max-content max-content}
:lang(en) .cta .button{white-space:nowrap;max-width:100%;overflow-wrap:normal}
:lang(en) .detail-grid .button{max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){:lang(en) .steps{grid-template-columns:repeat(2,minmax(0,1fr))}:lang(en) .steps h3{font-size:21px}:lang(en) .cta-actions{width:max-content;grid-template-columns:max-content max-content;max-width:100%}}
@media(max-width:359px){:lang(en) .steps,:lang(en) .cta-actions{grid-template-columns:minmax(0,1fr)}:lang(en) .cta-actions{width:100%}}
@media(min-width:761px) and (max-width:1000px){:lang(en) .detail-grid{grid-template-columns:minmax(0,1fr);gap:35px}}
/* Compact technology overview on mobile, with consistent icon and label alignment. */
@media(max-width:760px){
 .tech-strip{padding-block:20px}
 .tech-strip>p{margin-bottom:16px;line-height:1.5}
 .tech-strip .tech-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:480px;gap:14px 16px;align-items:center}
 .tech-strip .tech-list li{min-width:0;min-height:32px;gap:8px;font-size:15px;line-height:1.3;letter-spacing:0}
 .tech-strip .tech-icon,.tech-strip .tech-list li>img{width:24px;height:24px;flex:0 0 24px;object-fit:contain}
}
@media(min-width:380px) and (max-width:760px){.tech-strip .tech-list{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:14px}}
@media(max-width:760px){.hero .actions:not(:has(.call-button)){grid-template-columns:minmax(0,1fr)}}

/* Local signal illustrations: same curves, gradient and nodes as the existing background. */
.signal-illustration{margin:0;min-width:0;position:relative;align-self:center}
.signal-illustration img{display:block;width:100%;height:auto;aspect-ratio:10/7;object-fit:contain}
.signal-illustration figcaption{font-size:11px;line-height:1.5;letter-spacing:.04em;color:var(--muted);text-align:right;margin-top:-12px}
.hero.hero-signal-layout[data-variant=seite]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,3vw,60px);align-items:center;min-height:0;padding-block:60px}
.hero-signal-layout .hero-copy{min-width:0}
.hero.hero-signal-layout h1{font-size:clamp(38px,4.3vw,72px)}
.hero-signal-layout .signal-illustration{margin-right:-2vw}
.feature-signal-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,5vw,85px)}
.feature-signal-layout .feature-copy{min-width:0}
.feature-signal-layout .feature-copy p{max-width:60ch}
.page-intro.intro-signal-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4vw,70px);align-items:center;padding-block:40px}
.intro-signal-layout .intro-copy{min-width:0}
.intro-signal-layout h1{font-size:clamp(38px,4.1vw,66px)}
@media(max-width:1000px){.hero.hero-signal-layout[data-variant=seite],.page-intro.intro-signal-layout,.feature-signal-layout{grid-template-columns:minmax(0,1fr)}.hero-signal-layout .signal-illustration{width:min(100%,660px);margin:0 auto}.intro-signal-layout .signal-illustration,.feature-signal-layout .signal-illustration{width:min(100%,660px);margin-inline:auto}.hero.hero-signal-layout h1{font-size:clamp(38px,6vw,66px)}}
@media(max-width:760px){.hero.hero-signal-layout[data-variant=seite]{padding-block:36px 30px;gap:22px;margin-bottom:20px}.hero.hero-signal-layout h1{font-size:36px}.page-intro.intro-signal-layout{padding-block:32px 20px;gap:12px}.intro-signal-layout h1{font-size:38px}.feature-signal-layout{gap:20px}.signal-illustration figcaption{font-size:10px;margin-top:-6px}.signal-illustration{max-width:540px}}
@media(max-width:359px){.hero.hero-signal-layout h1,.intro-signal-layout h1{font-size:34px}}

.signal-illustration{isolation:isolate}.signal-illustration::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,var(--paper) 35%,transparent 72%);pointer-events:none}

/* Content support: keep the home hero quiet; illustrate the service explanations. */
.services-signal-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(30px,5vw,80px);align-items:center}.services-copy{min-width:0}.services-signal-layout .service-row{grid-template-columns:30px minmax(0,1fr) 40px;gap:16px}.services-signal-layout .service-row h3{font-size:clamp(22px,2vw,29px)}.services-signal-layout .signal-illustration{align-self:center}
@media(max-width:1100px){.services-signal-layout{grid-template-columns:minmax(0,1fr)}.services-signal-layout .signal-illustration{width:min(100%,540px);margin-inline:auto}.services-signal-layout .service-row h3{font-size:27px}}
@media(max-width:760px){.services-signal-layout{gap:15px}.services-signal-layout .service-row{grid-template-columns:22px minmax(0,1fr) 34px;gap:12px}.services-signal-layout .service-row h3{font-size:24px}.services-signal-layout .signal-illustration{max-width:380px}}

/* Local home: only original signal lines, with gently varying oscillation. Live geometry retained. */
@media(prefers-reduced-motion:no-preference){body[data-pattern=home][data-hero-page=seite]::before,[data-theme=dark] body[data-pattern=home][data-hero-page=seite]::before{background-image:url('assets/hero-lines-only.svg'),url('assets/section-signals.svg')}}
