/* FlowLink v6.5 — single authoritative mobile layout layer.
   Flat mobile, immediate conversion, shared spacing on Home and Identity.
   Last stylesheet on both pages. Desktop untouched. */
.mobile-header-cta{display:none}
@media (max-width:800px){
 :root{
   --m-gutter:var(--ui-mobile-gutter,16px);
   --m-xs:var(--ui-space-2,8px);
   --m-sm:var(--ui-space-3,12px);
   --m-md:var(--ui-space-4,16px);
   --m-lg:var(--ui-space-5,24px);
   --m-xl:var(--ui-space-6,32px);
   --m-card:var(--ui-radius-card,20px);
   --m-panel:var(--ui-radius-panel,24px);
   --m-control:var(--ui-radius-control,12px);
   --m-ink:#15212b;
   --m-muted:#576674;
   --m-line:#d9e1e6;
   --m-paper:#ffffff;
   --m-base:#edf1f3;
   --m-cta:#173d56;
 }
 html{scroll-behavior:smooth;scroll-padding-top:calc(92px + env(safe-area-inset-top))!important}
 body.has-mobile-dock{background:var(--m-base)!important;overflow-x:hidden}
 body.has-mobile-dock .editorial{background:var(--m-base)!important;overflow-x:clip}
 body.has-mobile-dock main :is(section,form){scroll-margin-top:calc(92px + env(safe-area-inset-top))}
 .editorial .ed-wrap{width:calc(100% - 2 * var(--m-gutter))!important;max-width:650px!important;margin-inline:auto!important}

 /* Floating island. The outer positioning layer is completely transparent. */
 body .site-header,body .site-header.is-scrolled,
 body .identity-header,body .identity-header.scrolled{
   position:fixed!important;inset:0 0 auto!important;height:auto!important;
   padding:calc(8px + env(safe-area-inset-top)) 0 0!important;
   background:transparent!important;border:0!important;box-shadow:none!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:1000!important
 }
 body .site-header::before,body .site-header::after,
 body .identity-header::before,body .identity-header::after{content:none!important;display:none!important}
 body .site-header .header-inner,body .identity-header .topbar{
   position:relative;width:calc(100% - 2 * var(--m-sm))!important;max-width:650px!important;
   height:62px!important;min-height:62px!important;
   padding:0 var(--m-sm)!important;margin-inline:auto!important;display:flex!important;align-items:center!important;
   justify-content:flex-end!important;gap:var(--m-xs)!important;
   border-radius:var(--m-panel)!important;border:1px solid rgba(155,169,180,.32)!important;
   background:rgba(255,255,255,.91)!important;
   backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;
   box-shadow:0 9px 25px rgba(18,34,48,.11)!important;
 }
 body .site-header .brand,body .identity-header .logo{margin-right:auto!important;min-width:0!important;flex:0 1 auto!important}
 body .site-header .brand-image-header,body .identity-header .logo img{display:block!important;width:clamp(92px,27vw,124px)!important;height:auto!important;max-height:42px!important;object-fit:contain!important;object-position:left center!important}
 .mobile-header-cta{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;
   min-height:44px;padding:0 var(--m-sm);border-radius:var(--m-control);background:var(--m-cta);color:#fff!important;
   font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-decoration:none!important;white-space:nowrap}
 .mobile-header-cta span{font-size:14px}
 .site-header .menu-toggle,.identity-header .menu-toggle{
   display:flex!important;position:relative!important;flex:0 0 44px!important;width:44px!important;height:44px!important;
   align-items:center!important;justify-content:center!important;min-height:44px!important;
   padding:0!important;margin:0!important;border:1px solid var(--m-line)!important;border-radius:var(--m-control)!important;
   background:#f3f6f8!important;box-shadow:none!important;color:#17384a!important;cursor:pointer;
 }
 .site-header .menu-toggle .fli{position:static!important;width:20px!important;height:20px!important;font-size:20px!important;flex:none!important}
 .site-header .menu-toggle .fli-menu{display:inline-block!important}
 .site-header .menu-toggle .fli-close{display:none!important}
 .site-header .menu-toggle[aria-expanded='true'] .fli-menu{display:none!important}
 .site-header .menu-toggle[aria-expanded='true'] .fli-close{display:inline-block!important}
 .identity-header .menu-toggle span{position:absolute!important;left:11px!important;top:20px!important;width:20px!important;height:2px!important;background:#17384a!important;border-radius:2px!important;transform:none!important;transition:none!important;display:block!important}
 .identity-header .menu-toggle span:first-child{top:14px!important}
 .identity-header .menu-toggle span:last-child{top:26px!important}
 .identity-header .menu-toggle[aria-expanded='true'] span:first-child{top:20px!important;transform:rotate(45deg)!important}
 .identity-header .menu-toggle[aria-expanded='true'] span:nth-child(2){display:none!important}
 .identity-header .menu-toggle[aria-expanded='true'] span:last-child{top:20px!important;transform:rotate(-45deg)!important}
 .site-header .main-nav,.identity-header .topbar nav{
   position:absolute!important;top:calc(100% + var(--m-xs))!important;left:0!important;right:0!important;
   display:none!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;
   padding:var(--m-xs)!important;border-radius:var(--m-panel)!important;border:1px solid var(--m-line)!important;
   background:rgba(255,255,255,.98)!important;box-shadow:0 18px 35px rgba(16,35,52,.14)!important;
   width:auto!important;height:auto!important
 }
 .site-header .main-nav.is-open,.identity-header .topbar nav.open{display:flex!important}
 .site-header .main-nav a,.identity-header .topbar nav a{min-height:48px!important;padding:var(--m-sm) var(--m-md)!important;border-radius:var(--m-control)!important;
   font-size:15px!important;font-weight:600!important;line-height:1.45!important;
   text-decoration:none!important;color:#19384c!important;background:transparent!important;box-shadow:none!important}
 .site-header .main-nav .button,.identity-header .topbar nav .nav-cta{background:#173d56!important;color:#fff!important}

 /* First fold: headline + CTA, without huge empty blocks or the Identity mockup above the heading. */
 .editorial.fl-home .ed-hero,.editorial.fl-id .ed-id-hero{
   padding:calc(100px + env(safe-area-inset-top)) 0 var(--m-lg)!important;
   min-height:0!important;border:0!important;background:var(--m-base)!important
 }
 .editorial .ed-hero-grid,.editorial .ed-id-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--m-lg)!important;align-items:start!important}
 .editorial.fl-id .ed-id-grid>div:first-child{order:0!important}
 .editorial.fl-id .ed-id-grid>.ed-preview-shell{order:1!important}
 .editorial h1,.editorial .ed-id-hero h1{font-size:clamp(32px,9vw,42px)!important;line-height:1.07!important;letter-spacing:-.045em!important;margin:0!important;max-width:540px}
 .editorial .ed-lead{font-size:15px!important;line-height:1.6!important;margin:var(--m-md) 0 var(--m-lg)!important;max-width:590px}
 .editorial .ed-actions{display:grid!important;grid-template-columns:1fr!important;gap:var(--m-sm)!important;margin:0!important}
 .editorial .ed-button,.editorial .ed-textlink{
   width:100%!important;min-height:52px!important;display:flex!important;align-items:center!important;
   justify-content:space-between!important;padding:0 var(--m-md)!important;
   margin:0!important;border-radius:var(--m-control)!important;gap:var(--m-md)!important;
   font-size:14px!important;font-weight:700!important;text-decoration:none!important
 }
 .editorial .ed-button{background:var(--m-cta)!important;color:#fff!important;border:1px solid var(--m-cta)!important}
 .editorial .ed-textlink{background:#fff!important;color:#173d56!important;border:1px solid var(--m-line)!important}
 .editorial .ed-under{margin:var(--m-md) 0 0!important;padding:var(--m-sm) var(--m-md)!important;background:#fff!important;border:1px solid var(--m-line)!important;border-radius:var(--m-control)!important;line-height:1.6!important}

 /* Spacing system shared by both marketing pages. */
 .editorial .ed-section,.editorial .ed-feature,.editorial .ed-identity,.editorial .ed-cta{padding:var(--m-sm) 0!important;background:transparent!important}
 .editorial .ed-section-heading{display:block!important;margin:0 0 var(--m-lg)!important}
 .editorial .ed-section-note{font-size:15px!important;line-height:1.62!important;margin:12px 0 0!important;color:var(--m-muted)!important}
 .editorial h2{font-size:clamp(27px,7.7vw,36px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:0 0 var(--m-md)!important}
 .editorial h3{line-height:1.25!important}
 .editorial .ed-service p,.editorial .ed-steps p,.editorial .ed-faq p{line-height:1.65!important}
 .editorial .ed-aside,.editorial.fl-home #leistungen .ed-wrap,
 .editorial.fl-home #projekt .ed-wrap,.editorial.fl-home #vorgehen .ed-wrap,
 .editorial.fl-home .ed-identity-inner,
 .editorial.fl-id #vorteile .ed-wrap,.editorial.fl-id #ablauf .ed-wrap,
 .editorial.fl-id #faq .ed-wrap,.editorial.fl-id #kontakt .ed-wrap,
 .contact-copy,.contact-form{
   border:1px solid var(--m-line)!important;border-radius:var(--m-panel)!important;
   padding:var(--m-lg)!important;background:#fff!important;box-shadow:none!important
 }
 .editorial.fl-home .ed-identity-inner{background:#17384a!important;color:white!important}
 .editorial .ed-identity-inner,.editorial .ed-cta-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:var(--m-md)!important}
 .editorial .ed-cta-inner{padding:var(--m-lg)!important;border:1px solid var(--m-line)!important;border-radius:var(--m-panel)!important;background:#fff!important;box-shadow:none!important}
 .editorial .ed-list{border-top:0!important;display:grid!important;gap:var(--m-sm)!important}
 .editorial .ed-service,.editorial .ed-steps>div,.editorial .ed-faq details{
   display:block!important;margin:0!important;padding:var(--m-md)!important;border:1px solid var(--m-line)!important;
   border-radius:var(--m-card)!important;background:#f7f9fa!important;box-shadow:none!important
 }
 .editorial .ed-service h3{font-size:20px!important;margin:0 0 var(--m-xs)!important}
 .editorial .ed-service>span:last-child{display:none!important}
 .editorial .ed-feature-grid{display:grid!important;grid-template-columns:1fr!important;gap:var(--m-lg)!important}
 .editorial .ed-steps{display:grid!important;grid-template-columns:1fr!important;gap:var(--m-sm)!important;margin:0!important}
 .editorial .ed-steps>div{border-top:1px solid var(--m-line)!important}
 .editorial .ed-steps h3{font-size:20px!important;margin:0 0 var(--m-sm)!important}
 .editorial .ed-faq{max-width:none!important;margin:0!important;display:grid!important;gap:var(--m-sm)!important}
 .editorial .ed-faq details{border-bottom:1px solid var(--m-line)!important;padding-bottom:var(--m-md)!important}
 .editorial .ed-faq summary{font-size:16px!important;line-height:1.5!important}

 /* No 3D, no lifted shadows, no animated perspective on handheld. */
 .editorial .fl3-stage{display:none!important}
 .editorial .fl3-world,.editorial .fl3-spec,.editorial .fl3-identity-shell,.editorial .fl3-identity-card{
   perspective:none!important;transform:none!important;transform-style:flat!important;filter:none!important;box-shadow:none!important
 }
 .editorial .fl3-identity-shell::before,.editorial .fl3-identity-shell::after,
 .editorial .ed-service::after,.editorial .ed-steps>div::after,.editorial .ed-faq details::after,
 .contact-copy::after,.contact-form::after{content:none!important;display:none!important}
 .editorial .ed-spec,.editorial .fl3-identity-shell{border:1px solid var(--m-line)!important;border-radius:var(--m-panel)!important;overflow:hidden!important;background:#e8eef2!important;box-shadow:none!important}
 .editorial .fl3-identity-shell{padding:var(--m-md)!important}
 .editorial .fl3-identity-card{padding:var(--m-lg)!important;background:#fff!important;border:1px solid var(--m-line)!important;border-radius:var(--m-card)!important}
 .editorial .ed-preview-link{border:1px solid var(--m-line)!important;background:#f7f9fa!important;border-radius:var(--m-control)!important;box-shadow:none!important}
 .editorial .ed-spec-top{padding:var(--m-md)!important}
 .editorial .ed-spec-body{padding:var(--m-md)!important}
 .editorial .ed-spec-title{font-size:18px!important}
 .editorial .ed-spec-stat{padding:var(--m-md) 0!important}

 /* The homepage contact form must be accessible after scrolling and above the dock. */
 .contact-section{padding:var(--m-sm) 0!important;background:transparent!important}
 .contact-grid{width:calc(100% - 2 * var(--m-gutter))!important;max-width:650px!important;
   display:grid!important;grid-template-columns:1fr!important;gap:var(--m-sm)!important;margin-inline:auto!important}
 .contact-copy{color:var(--m-ink)!important}
 .contact-copy h2{color:var(--m-ink)!important}
 .contact-copy p,.contact-copy .contact-small{color:var(--m-muted)!important}
 .contact-form{color:var(--m-ink)!important}
 .contact-form .form-row{display:grid!important;grid-template-columns:1fr!important;gap:var(--m-md)!important}
 .contact-form .field{min-width:0}
 .contact-form :is(input,textarea){width:100%!important;max-width:100%!important;border-radius:var(--m-control)!important;font-size:16px!important}
 .contact-form .form-submit{width:100%!important;min-height:52px!important;border-radius:var(--m-control)!important}
 .contact-form :is(input,textarea):focus{scroll-margin-bottom:160px}

 /* Two real thumb-zone actions, never clipped by the footer. */
 body.has-mobile-dock .editorial{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
 body.has-mobile-dock .fl-site-footer{padding-bottom:calc(98px + env(safe-area-inset-bottom))!important}
 body.has-mobile-dock .mobile-dock{position:fixed!important;display:block!important;left:0!important;right:0!important;bottom:0!important;
   padding:var(--m-xs) var(--m-sm) calc(var(--m-xs) + env(safe-area-inset-bottom))!important;
   z-index:1200!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(237,241,243,0),rgba(237,241,243,.97) 20%,#edf1f3)!important}
 .mobile-dock__inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:var(--m-xs)!important;
   max-width:650px!important;margin-inline:auto!important;padding:var(--m-xs)!important;border-radius:var(--m-panel)!important;
   background:rgba(255,255,255,.97)!important;border:1px solid var(--m-line)!important;box-shadow:0 5px 20px rgba(20,40,60,.12)!important;pointer-events:auto!important}
 .mobile-dock__action{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;
   min-width:0!important;min-height:52px!important;padding:0 var(--m-sm)!important;border-radius:var(--m-control)!important;
   background:#f3f6f8!important;color:#17384a!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important}
 .mobile-dock__action--primary{background:#173d56!important;color:#fff!important}
 .mobile-dock__action span{flex:0 0 auto}
 body:has(form :focus) .mobile-dock{display:none!important}
 .fl-footer-wrap{width:calc(100% - 2 * var(--m-gutter))!important}
 .fl-footer-links{justify-content:center!important;gap:var(--m-xs) var(--m-md)!important}
 .fl-footer-links :is(a,button){white-space:normal!important;min-height:44px!important}
 :is(.mobile-dock__action,.mobile-header-cta,.ed-button,.ed-textlink):focus-visible{outline:3px solid #508fbe!important;outline-offset:3px!important}
}
@media (max-width:375px){
 :root{--m-gutter:12px}
 .editorial h1,.editorial .ed-id-hero h1{font-size:32px!important}
 .mobile-dock__action{font-size:12px!important;padding:0 10px!important}
 .mobile-header-cta{padding-inline:10px!important;font-size:11px!important}
 .editorial .ed-aside,.editorial.fl-home #leistungen .ed-wrap,.editorial.fl-home #projekt .ed-wrap,
 .editorial.fl-home #vorgehen .ed-wrap,.editorial.fl-home .ed-identity-inner,
 .editorial.fl-id #vorteile .ed-wrap,.editorial.fl-id #ablauf .ed-wrap,
 .editorial.fl-id #faq .ed-wrap,.editorial.fl-id #kontakt .ed-wrap,.contact-copy,.contact-form{padding:var(--m-md)!important}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* v6.7 mobile rhythm — flat design retained. */
@media (max-width:800px){
 :root{--m-gutter:16px}
 .editorial.fl-home .ed-hero,.editorial.fl-id .ed-id-hero{padding-bottom:16px!important}
 .editorial .ed-section,.editorial .ed-feature,.editorial .ed-identity,.editorial .ed-cta,
 .editorial.fl-home .contact-section{padding:10px 0!important}
 .editorial h2{margin-bottom:16px!important}
 .editorial .ed-section-heading{margin-bottom:20px!important}
 .editorial .ed-service h3{margin-bottom:8px!important}
 .editorial .ed-service p{font-size:14px!important;line-height:1.62!important}
 .editorial .ed-steps p{font-size:14px!important}
 .editorial .ed-steps>div{min-height:0!important}
 .editorial.fl-home .contact-copy{padding-bottom:24px!important}
 .editorial.fl-home .contact-copy h2{font-size:clamp(27px,7.5vw,36px)!important}
 .editorial.fl-home .contact-copy>p:not(.eyebrow){margin-top:12px!important;color:#576674!important}
 .editorial.fl-home .contact-copy .direct-mail{color:#173d56!important;margin-top:20px!important;font-size:17px!important;overflow-wrap:anywhere}
 .editorial.fl-home .contact-form h3{font-size:22px!important}
 .editorial.fl-home .contact-form label{font-size:13px!important;margin-bottom:8px!important}
 .editorial.fl-home .contact-form .field{margin-bottom:16px!important}
 .editorial .fl3-identity-card{box-shadow:none!important}
 .fl-footer-links{gap:4px 16px!important}
 .fl-footer-links :is(a,button#fl-privacy-open){font-size:12px!important}
}
@media(max-width:375px){:root{--m-gutter:12px}}

/* v6.7 form field density — avoid doubled row/field gaps. */
@media(max-width:800px){
 .editorial.fl-home .contact-form .form-intro{margin-bottom:18px!important}
 .editorial.fl-home .contact-form .form-row{gap:14px!important;margin-bottom:14px!important}
 .editorial.fl-home .contact-form .form-row .field{margin-bottom:0!important}
 .editorial.fl-home .contact-form > .field{margin-bottom:14px!important}
 .editorial.fl-home .contact-form .form-disclaimer{margin:8px 0 18px!important;line-height:1.55!important}
}
