/* Netzwerktechnik Wien – Mobile Front (Variante B, Vanilla-CSS, kein Tailwind-CDN)
   Scope: alles unter .ntw-m. Desktop: .ntw-m ist per CSS versteckt. */
.ntw-m {
  --ntw-navy: #0b1e36;
  --ntw-dark: #081426;
  --ntw-hero: #071324;
  --ntw-blue: #1351a8;
  --ntw-accent: #1e70e2;
  --ntw-ice: #f0f5fc;
  --ntw-border: #dbe7f5;
  --ntw-text: #334155;
  --ntw-muted: #64748b;
  background: #f6f9fc;
  color: var(--ntw-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 6px;
  max-width: 100%;
  overflow-x: clip;
}
.ntw-m *, .ntw-m *::before, .ntw-m *::after { box-sizing: border-box; }
.ntw-m img { max-width: 100%; height: auto; display: block; }
.ntw-m a { text-decoration: none; }
.ntw-m-wrap { max-width: 28rem; margin-left: auto; margin-right: auto; }
.ntw-m-pad { padding-left: 1rem; padding-right: 1rem; }

/* Header */
.ntw-m-header {
  position: sticky; top: 0; z-index: 50;
  background: #0a192f;
  border-bottom: 1px solid rgba(30, 58, 138, .4);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.ntw-m-header-in { max-width: 28rem; margin: 0 auto; padding: 0 1rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.ntw-m-logo { display: flex; flex-direction: column; line-height: 1; }
.ntw-m-logo-top { display: flex; align-items: center; gap: .375rem; }
.ntw-m-logo-dot { width: .625rem; height: .625rem; background: #3b82f6; border-radius: .125rem; display: inline-block; }
.ntw-m-logo-name { color: #fff; font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; text-transform: uppercase; }
.ntw-m-logo-sub { color: #93c5fd; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding-left: 1rem; margin-top: 2px; font-weight: 500; }
/* Original-Logo direkt auf dem Header, ohne Hintergrund */
.ntw-m-logo-badge { display: inline-flex; align-items: center; line-height: 0; max-width: 62%; }
.ntw-m-logo-badge img { height: 2.25rem; width: auto; max-width: 100%; }
.ntw-m-burger { width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .6rem; background: rgba(30,58,138,.35); color: #bfdbfe; border: 1px solid rgba(59,130,246,.35); cursor: pointer; padding: 0; }
.ntw-m-burger:active { transform: scale(.95); }
/* Burger-Icon als 3 echte Balken (unabhängig von SVG-Rendering) */
.ntw-m-burger-bars { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.ntw-m-burger-bars span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #bfdbfe; }

/* Drawer */
.ntw-m-drawer { display: none; background: #0a192f; border-bottom: 1px solid rgba(59,130,246,.25); }
.ntw-m-drawer.open { display: block; }
.ntw-m-drawer ul { list-style: none; margin: 0; padding: .5rem 1rem 1rem; display: flex; flex-direction: column; gap: 2px; max-width: 28rem; margin-left: auto; margin-right: auto; }
.ntw-m-drawer a { display: block; color: #dbeafe; font-size: .85rem; font-weight: 600; padding: .65rem .75rem; border-radius: .6rem; }
.ntw-m-drawer a:hover, .ntw-m-drawer a:focus { background: rgba(59,130,246,.15); color: #fff; }

/* Hero */
.ntw-m-hero { position: relative; background: var(--ntw-hero); color: #fff; overflow: hidden; }
.ntw-m-hero::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(#2563eb 1px, transparent 1px); background-size: 16px 16px; pointer-events: none; }
.ntw-m-hero-glow-a { position: absolute; right: -6rem; top: -6rem; width: 20rem; height: 20rem; background: rgba(37,99,235,.2); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.ntw-m-hero-glow-b { position: absolute; left: -5rem; bottom: 0; width: 18rem; height: 18rem; background: rgba(14,165,233,.15); border-radius: 50%; filter: blur(50px); pointer-events: none; }
.ntw-m-hero-in { position: relative; z-index: 1; max-width: 28rem; margin: 0 auto; padding: 2.5rem 1.25rem 2rem; }
.ntw-m-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(30,58,138,.6); border: 1px solid rgba(59,130,246,.4); color: #93c5fd; font-size: .75rem; font-weight: 600; margin-bottom: 1rem; }
.ntw-m-badge-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; animation: ntw-pulse 1.6s infinite; }
@keyframes ntw-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.ntw-m-hero h1, .ntw-m-hero-h { font-size: 1.5rem; line-height: 1.2; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 .75rem; color: #fff; }
.ntw-m-hero p { color: rgba(219,234,254,.9); font-size: .9rem; line-height: 1.6; margin: 0 0 1.5rem; }
/* Hero-Slider: Viewport + Track (Auto alle 5s, Swipe) */
.ntw-m-hero-view { overflow: hidden; max-width: 100%; }
.ntw-m-hero-track { display: flex; transition: transform .5s ease; will-change: transform; }
.ntw-m-hero-slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; }
/* CTA immer auf gleicher Höhe: füllt Resthöhe über dem Button */
.ntw-m-hero-slide .ntw-m-cta { margin-top: auto; }
.ntw-m-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: .9rem 1.5rem; background: #fff; color: #172554; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border-radius: .8rem; box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.ntw-m-cta:active { transform: translateY(1px); }
.ntw-m-cta svg { width: 1rem; height: 1rem; margin-left: .5rem; color: #1e40af; }
.ntw-m-dots { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 2rem; }
.ntw-m-dots button { background: none; border: none; padding: .4rem; margin: -.4rem; cursor: pointer; display: inline-flex; }
.ntw-m-dots button span { display: block; height: .5rem; border-radius: 999px; background: rgba(255,255,255,.4); width: .5rem; transition: width .3s ease, background .3s ease; }
.ntw-m-dots button.on span { width: 1.75rem; background: #fff; }

/* Sections */
.ntw-m-sec { max-width: 28rem; margin: 0 auto; padding: 2.5rem 1rem 1.5rem; }
.ntw-m-kicker { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ntw-blue); background: #eff6ff; padding: .3rem .8rem; border-radius: 999px; border: 1px solid #dbeafe; }
.ntw-m-h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; color: var(--ntw-navy); line-height: 1.25; margin: .75rem 0 0; text-align: center; }
.ntw-m-h2 span { color: var(--ntw-blue); }
.ntw-m-rule { width: 4rem; height: .25rem; background: var(--ntw-blue); margin: .75rem auto 0; border-radius: 999px; }
.ntw-m-sub { text-align: center; color: var(--ntw-muted); font-size: .75rem; margin-top: .5rem; }
.ntw-m-center { text-align: center; }

/* Cards */
.ntw-m-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; box-shadow: 0 4px 20px -2px rgba(19,81,168,.08), 0 2px 6px -1px rgba(0,0,0,.04); }
.ntw-m-photo { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid #e2e8f0; background: #0f172a; margin-bottom: 1.5rem; }
.ntw-m-photo img { width: 100%; height: 14rem; object-fit: cover; opacity: .92; }
.ntw-m-photo-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; background: linear-gradient(to top, rgba(2,6,23,.8), transparent); }
.ntw-m-photo-tag span { font-size: .75rem; font-weight: 600; color: #fff; background: rgba(30,58,138,.8); padding: .3rem .7rem; border-radius: .4rem; border: 1px solid rgba(255,255,255,.15); }
.ntw-m-body { padding: 1.5rem; }
.ntw-m-body h3 { font-size: 1rem; font-weight: 700; color: var(--ntw-navy); line-height: 1.4; margin: 0 0 .75rem; }
.ntw-m-body p { font-size: .85rem; line-height: 1.65; color: #475569; margin: 0 0 .9rem; }
.ntw-m-foot { margin: 1rem -1.5rem -1.5rem; padding: 1.25rem 1.5rem; background: var(--ntw-ice); border-top: 1px solid #e2e8f0; border-radius: 0 0 1rem 1rem; }
.ntw-m-foot p { color: var(--ntw-blue); font-weight: 700; font-size: .85rem; text-align: center; margin: 0; }

/* Services */
.ntw-m-svc { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.ntw-m-svc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 4px 20px -2px rgba(19,81,168,.08); }
.ntw-m-svc-row { display: flex; gap: 1rem; align-items: flex-start; }
.ntw-m-ico { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: .8rem; background: #eff6ff; border: 1px solid #dbeafe; display: flex; align-items: center; justify-content: center; color: var(--ntw-blue); }
.ntw-m-ico svg { width: 1.5rem; height: 1.5rem; }
.ntw-m-svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--ntw-navy); margin: 0 0 .4rem; }
.ntw-m-svc-card h3 a { color: inherit; }
.ntw-m-svc-card p { font-size: .8rem; line-height: 1.6; color: #475569; margin: 0; }

/* About */
.ntw-m-about { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 10px 30px -4px rgba(11,30,54,.12); }
.ntw-m-about img { border-radius: .8rem; height: 12rem; width: 100%; object-fit: cover; }
.ntw-m-eyebrow { font-size: .75rem; font-weight: 700; color: var(--ntw-blue); letter-spacing: .12em; text-transform: uppercase; }
.ntw-m-about h2 { font-size: 1.5rem; font-weight: 900; color: var(--ntw-navy); text-transform: uppercase; margin: .2rem 0 1rem; }
.ntw-m-note { font-size: .75rem; color: #64748b; background: #f8fafc; padding: .75rem; border-radius: .6rem; border: 1px solid #e2e8f0; }
.ntw-m-btn-o { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: .8rem 1rem; border: 2px solid var(--ntw-blue); color: var(--ntw-blue); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; border-radius: .8rem; margin-top: 1.5rem; }
.ntw-m-btn-o svg { width: 1rem; height: 1rem; margin-left: .5rem; }

/* Blog-Slider: horizontal swipbar (Scroll-Snap) + Dots */
.ntw-m-blog-view { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -1rem; padding: 0 1rem 0.25rem; max-width: 100%; }
.ntw-m-blog-view::-webkit-scrollbar { display: none; }
.ntw-m-blog-track { display: flex; gap: 12px; }
.ntw-m-post { flex: 0 0 calc(100% - 8px); scroll-snap-align: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 20px -2px rgba(19,81,168,.08); }
.ntw-m-post-img { position: relative; }
.ntw-m-post-img img { width: 100%; height: 12rem; object-fit: cover; }
.ntw-m-post-badge { position: absolute; top: .75rem; left: .75rem; background: var(--ntw-blue); color: #fff; font-size: 11px; font-weight: 700; padding: .25rem .6rem; border-radius: .4rem; }
.ntw-m-post-in { padding: 1.25rem; }
.ntw-m-post-in time { font-size: .75rem; font-weight: 600; color: #94a3b8; display: block; margin-bottom: .4rem; }
.ntw-m-post-in h3 { font-size: 1rem; font-weight: 700; color: var(--ntw-navy); line-height: 1.4; margin: 0 0 .5rem; }
.ntw-m-post-in h3 a { color: inherit; }
.ntw-m-post-in p { font-size: .8rem; line-height: 1.6; color: #475569; margin: 0 0 1rem; }
.ntw-m-more { display: inline-block; padding: .6rem 1.25rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ntw-blue); border: 1px solid rgba(19,81,168,.3); border-radius: .6rem; }
.ntw-m-cdots { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.25rem; }
.ntw-m-cdots button { background: none; border: none; padding: .4rem; margin: -.4rem; cursor: pointer; display: inline-flex; }
.ntw-m-cdots button span { display: block; width: .5rem; height: .5rem; border-radius: 50%; background: #cbd5e1; transition: background .3s ease; }
.ntw-m-cdots button.on span { background: var(--ntw-blue); width: .625rem; height: .625rem; }

/* Contact */
.ntw-m-contact { background: linear-gradient(to bottom, #09172b, #040b17); color: #fff; border-radius: 1.5rem; padding: 1.5rem; border: 1px solid rgba(30,58,138,.6); position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.ntw-m-contact h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; text-align: center; margin: 0; }
.ntw-m-contact .ntw-m-rule { background: #3b82f6; }
.ntw-m-contact-sub { text-align: center; font-size: .75rem; color: rgba(191,219,254,.8); margin-top: .5rem; }
.ntw-m-contact form, .ntw-m-contact .wpcf7 { margin-top: 1.5rem; position: relative; z-index: 1; }
.ntw-m-contact .wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.ntw-m-contact .wpcf7-form > p { margin: 0; color: #bfdbfe; font-size: .75rem; }
.ntw-m-contact label { display: block; font-size: .75rem; font-weight: 500; color: #bfdbfe; margin-bottom: .3rem; }
.ntw-m-contact input:not([type=submit]):not([type=checkbox]),
.ntw-m-contact select, .ntw-m-contact textarea {
  width: 100%; padding: .8rem .9rem; border-radius: .8rem; background: #fff; color: #0f172a;
  font-size: .85rem; border: 1px solid transparent; outline: none;
}
.ntw-m-contact input:focus, .ntw-m-contact select:focus, .ntw-m-contact textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(59,130,246,.3); }
.ntw-m-contact textarea { min-height: 5.5rem; resize: vertical; }
.ntw-m-contact .wpcf7-acceptance, .ntw-m-gdpr { display: flex; gap: .6rem; align-items: flex-start; font-size: 11px; line-height: 1.45; color: rgba(191,219,254,.9); }
.ntw-m-contact input[type=checkbox] { width: 1rem; height: 1rem; margin-top: 2px; accent-color: var(--ntw-blue); flex-shrink: 0; }
/* DSGVO-Zeile: Checkbox + Text nebeneinander in sichtbarer Box (Pflichtfeld nicht übersehen) */
.ntw-m-contact .wpcf7-acceptance .wpcf7-list-item > label { display: flex; gap: .6rem; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(147,197,253,.4); border-radius: .6rem; padding: .6rem .7rem; cursor: pointer; }
.ntw-m-contact .wpcf7-acceptance .wpcf7-list-item-label { display: inline; }
.ntw-m-contact .wpcf7-form.invalid .wpcf7-acceptance .wpcf7-list-item > label,
.ntw-m-contact .wpcf7-form.unaccepted .wpcf7-acceptance .wpcf7-list-item > label { border-color: #f87171; background: rgba(248,113,113,.12); }
/* Kontaktseite: schwebende Leiste ausblenden (dort redundant) */
body.page-id-460 .ntw-m-bar { display: none !important; }
.ntw-m-contact input[type=submit], .ntw-m-submit {
  width: 100%; padding: .9rem 1.5rem; border: none; border-radius: .8rem; cursor: pointer;
  background: linear-gradient(to right, #2563eb, var(--ntw-accent)); color: #fff;
  font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 10px 20px rgba(30,58,138,.5); display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.ntw-m-contact .wpcf7-response-output { color: #bfdbfe; border-color: rgba(147,197,253,.4); border-radius: .6rem; font-size: .8rem; }
.ntw-m-contact .wpcf7-not-valid-tip { color: #fca5a5; font-size: .75rem; }

/* Footer */
.ntw-m-footer { background: #081528; color: #fff; padding: 2.5rem 0 5.5rem; border-top: 1px solid #172554; margin-top: 2rem; }
.ntw-m-footer-in { max-width: 28rem; margin: 0 auto; padding: 0 1.25rem; }
.ntw-m-quote { font-size: .75rem; color: #cbd5e1; line-height: 1.6; font-style: italic; background: rgba(30,58,138,.25); padding: .8rem; border-radius: .6rem; border: 1px solid rgba(30,58,138,.4); margin-top: .8rem; }
.ntw-m-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(30,58,138,.4); border-bottom: 1px solid rgba(30,58,138,.4); margin: 1.5rem 0; font-size: .75rem; }
.ntw-m-fgrid h4 { font-weight: 700; color: #60a5fa; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; margin: 0 0 .75rem; }
.ntw-m-fgrid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ntw-m-fgrid a { color: #cbd5e1; font-weight: 500; }
.ntw-m-contactbox { display: flex; flex-direction: column; gap: .8rem; font-size: .75rem; color: #cbd5e1; background: rgba(30,58,138,.2); padding: 1rem; border-radius: .8rem; border: 1px solid rgba(30,58,138,.3); margin-bottom: 1.5rem; }
.ntw-m-contactbox strong { color: #fff; display: block; }
.ntw-m-contactbox a { color: #93c5fd; }
.ntw-m-crow { display: flex; gap: .6rem; align-items: flex-start; }
.ntw-m-crow svg { width: 1rem; height: 1rem; color: #60a5fa; flex-shrink: 0; margin-top: 2px; }
.ntw-m-legal { font-size: 11px; color: #94a3b8; text-align: center; border-top: 1px solid rgba(30,58,138,.3); padding-top: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.ntw-m-legal nav, .ntw-m-legal ul.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .4rem; text-transform: uppercase; font-size: 11px; list-style: none; margin: 0; padding: 0; }
.ntw-m-legal a { color: #94a3b8; }
.ntw-m-legal ul.menu li { display: inline; margin: 0; padding: 0; }
.ntw-m-legal ul.menu li + li::before { content: "·"; margin-right: .75rem; color: #64748b; }

/* Floating bar */
.ntw-m-bar { position: fixed; bottom: .75rem; left: .75rem; right: .75rem; z-index: 40; max-width: 26.5rem; margin: 0 auto; }
.ntw-m-bar-in { background: rgba(15,23,42,.92); border: 1px solid rgba(51,65,85,.6); border-radius: 1rem; padding: .5rem; display: flex; gap: .5rem; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.ntw-m-tel { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem .75rem; border-radius: .75rem; background: #172554; color: #bfdbfe; border: 1px solid #1e3a8a; font-size: .75rem; font-weight: 600; }
.ntw-m-tel svg { width: 1rem; height: 1rem; color: #34d399; }
.ntw-m-req { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem .75rem; border-radius: .75rem; background: var(--ntw-blue); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Unterseiten: Hero-Band + Inhaltskarte */
.ntw-m-pagehero { position: relative; background: var(--ntw-hero); color: #fff; overflow: hidden; }
.ntw-m-pagehero::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(#2563eb 1px, transparent 1px); background-size: 16px 16px; pointer-events: none; }
.ntw-m-pagehero-in { position: relative; z-index: 1; max-width: 28rem; margin: 0 auto; padding: 2rem 1.25rem 1.75rem; text-align: center; }
.ntw-m-pagehero h1 { font-size: 1.35rem; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: #fff; }
.ntw-m-pagehero-meta { color: #93c5fd; font-size: .75rem; font-weight: 600; margin: .6rem 0 0; }
.ntw-m-pagehero-sub { color: rgba(219,234,254,.85); font-size: .85rem; line-height: 1.55; margin: .6rem 0 0; }
.ntw-m-pagecard { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.5rem 1.25rem; box-shadow: 0 4px 20px -2px rgba(19,81,168,.08); overflow-wrap: break-word; }
.ntw-m-pagecard > :first-child { margin-top: 0; }
.ntw-m-pagecard > :last-child { margin-bottom: 0; }
.ntw-m-pagecard h2 { font-size: 1.15rem; font-weight: 800; color: var(--ntw-navy); text-transform: uppercase; line-height: 1.35; margin: 1.5rem 0 .6rem; }
.ntw-m-pagecard h3 { font-size: 1rem; font-weight: 700; color: var(--ntw-navy); line-height: 1.4; margin: 1.25rem 0 .5rem; }
.ntw-m-pagecard p { font-size: .87rem; line-height: 1.7; color: #475569; margin: 0 0 1rem; }
.ntw-m-pagecard ul, .ntw-m-pagecard ol { font-size: .87rem; line-height: 1.7; color: #475569; margin: 0 0 1rem; padding-left: 1.25rem; }
.ntw-m-pagecard li { margin-bottom: .4rem; }
.ntw-m-pagecard a { color: var(--ntw-blue); }
.ntw-m-pagecard img { border-radius: .6rem; }
.ntw-m-pagecard figure { margin: 0 0 1rem; max-width: 100%; }
.ntw-m-pagecard blockquote { border-left: 3px solid var(--ntw-blue); background: var(--ntw-ice); margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 0 .6rem .6rem 0; font-size: .87rem; color: #475569; }
.ntw-m-pagecard table { width: 100%; font-size: .8rem; border-collapse: collapse; margin: 0 0 1rem; display: block; overflow-x: auto; }
.ntw-m-pagecard th, .ntw-m-pagecard td { border: 1px solid #e2e8f0; padding: .5rem .6rem; text-align: left; }
.ntw-m-pagecard .wp-block-button__link, .ntw-m-pagecard .wp-block-button a { display: inline-block; padding: .7rem 1.4rem; background: var(--ntw-blue); color: #fff; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; border-radius: .7rem; }
.ntw-m-pagecard input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.ntw-m-pagecard select, .ntw-m-pagecard textarea { width: 100%; max-width: 100%; padding: .75rem .85rem; border-radius: .7rem; border: 1px solid #cbd5e1; font-size: .85rem; }
.ntw-m-pagecard input[type=submit], .ntw-m-pagecard button[type=submit] { width: 100%; padding: .85rem 1.4rem; border: none; border-radius: .7rem; background: var(--ntw-blue); color: #fff !important; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.ntw-m-pagecard .search-form { display: flex; gap: .5rem; }
.ntw-m-pagecard .search-field { flex: 1; min-width: 0; }
.ntw-m-pagecard .search-submit { width: auto; white-space: nowrap; }
.ntw-m-minicard { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1rem 1.1rem; box-shadow: 0 4px 20px -2px rgba(19,81,168,.08); }
.ntw-m-minicard strong { display: block; font-size: .92rem; color: var(--ntw-navy); margin-bottom: .3rem; }
.ntw-m-minicard span { display: block; font-size: .78rem; line-height: 1.55; color: #64748b; }
.ntw-m-pager { display: flex; gap: .75rem; justify-content: space-between; margin-top: 1.25rem; }
.ntw-m-pager a { display: inline-block; padding: .6rem 1.1rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ntw-blue); border: 1px solid rgba(19,81,168,.3); border-radius: .6rem; background: #fff; }

/* Unterseiten: Inhalte laufen frei im Fluss (keine Box), nur Struktur-Fixes */
.ntw-m-flow { max-width: 100%; }
/* Spectra-Mehrspalter mobil stapeln (Desktop unberührt) */
.ntw-m-flow .uagb-container-inner-blocks-wrap { flex-wrap: wrap !important; }
.ntw-m-flow .uagb-container-inner-blocks-wrap > .wp-block-uagb-container { max-width: 100% !important; width: 100% !important; flex: 0 0 100% !important; }
.ntw-m-flow .wp-block-columns { flex-wrap: wrap !important; }
.ntw-m-flow .wp-block-columns > .wp-block-column { flex: 0 0 100% !important; max-width: 100% !important; }
/* Nur doppelt verschachtelte Root-Container verlieren den Seitenrand (kein Doppel-Einzug) */
.ntw-m-flow .uagb-is-root-container .uagb-is-root-container:not(.full-width) { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }
.ntw-m-flow .wp-block-uagb-image__figure img { max-width: 100%; height: auto; }
/* Spectra-Überschriften mobil lesbar begrenzen */
.ntw-m-flow h1.uagb-heading-text { font-size: 1.4rem !important; line-height: 1.3 !important; overflow-wrap: break-word; }
.ntw-m-flow h2.uagb-heading-text { font-size: 1.15rem !important; line-height: 1.4 !important; overflow-wrap: break-word; }
/* Über-Uns Kundenlogos: sauberes 2er-Grid statt gequetschter 30%-Spalten */
body.page-id-2 .ntw-m-flow .uagb-block-dea81604 > .uagb-container-inner-blocks-wrap { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; align-items: center; }
body.page-id-2 .ntw-m-flow .uagb-block-dea81604 > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container { max-width: 100% !important; width: auto !important; }
body.page-id-2 .ntw-m-flow .uagb-block-dea81604 .wp-block-uagb-image__figure { text-align: center; }
body.page-id-2 .ntw-m-flow .uagb-block-dea81604 img { margin: 0 auto; max-width: 135px; }
/* Beitragsbild auf Singles: freistehend mit Seitenabstand */
.ntw-m-flow > .ntw-m-photo { margin: 1.25rem 1rem 0; }
/* Suche (404/keine Treffer): mobil nutzbar */
.ntw-m .search-form { display: flex; gap: .5rem; }
.ntw-m .search-field { flex: 1; min-width: 0; padding: .75rem .85rem; border-radius: .7rem; border: 1px solid #cbd5e1; font-size: .85rem; }
.ntw-m .search-submit { width: auto; white-space: nowrap; padding: .75rem 1.1rem; border: none; border-radius: .7rem; background: var(--ntw-blue); color: #fff; font-weight: 700; font-size: .75rem; text-transform: uppercase; cursor: pointer; }

/* Über-Uns mobil (Stitch-Stil, Vanilla) */
.ntw-m-uhero { position: relative; background: linear-gradient(to bottom, #102a4e, #1d4273 55%, #2563eb); color: #fff; overflow: hidden; box-shadow: 0 10px 25px rgba(15,40,80,.35); }
.ntw-m-uhero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 16px 16px; pointer-events: none; }
.ntw-m-uhero-in { position: relative; z-index: 1; max-width: 28rem; margin: 0 auto; padding: 2.25rem 1.25rem 3rem; text-align: center; }
.ntw-m-uhbadge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #bae6fd; font-size: .75rem; font-weight: 500; margin-bottom: .8rem; }
.ntw-m-uhero h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .5rem; color: #fff; }
.ntw-m-crumb { display: flex; justify-content: center; align-items: center; gap: .5rem; font-size: .75rem; color: #bae6fd; margin-bottom: 1.5rem; }
.ntw-m-crumb a { color: #bae6fd; }
.ntw-m-crumb .on { color: #fff; font-weight: 600; }
.ntw-m-usearch { position: relative; max-width: 20rem; margin: 0 auto; }
.ntw-m-usearch input { width: 100%; padding: .65rem 2.75rem .65rem 1rem; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .85rem; outline: none; }
.ntw-m-usearch input::placeholder { color: rgba(186,230,253,.7); }
.ntw-m-usearch input:focus { box-shadow: 0 0 0 3px rgba(125,211,252,.4); background: rgba(255,255,255,.2); }
.ntw-m-usearch button { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #bae6fd; cursor: pointer; padding: .2rem; line-height: 0; }
/* Siegel: Original Since-2006-Grafik */
.ntw-m-sealwrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.ntw-m-sealimg { width: 9rem; height: auto; filter: drop-shadow(0 12px 20px rgba(37,99,235,.30)); }
/* About-Texte */
.ntw-m-utext p { font-size: .85rem; line-height: 1.7; color: #475569; margin: 0 0 1rem; }
.ntw-m-utext strong { color: #334155; }
.ntw-m-quotebar { padding: .85rem; background: #f0f9ff; border-left: 4px solid #0ea5e9; border-radius: 0 .6rem .6rem 0; color: #334155; font-weight: 500; font-size: .85rem; line-height: 1.65; margin: 0 0 1rem; }
.ntw-m-loc { display: flex; gap: .4rem; align-items: flex-start; font-size: .75rem !important; color: #64748b !important; }
.ntw-m-loc svg { flex-shrink: 0; color: #0284c7; margin-top: 2px; }
/* Kunden-Grid mit echten Logos */
.ntw-m-clients { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ntw-m-client { display: flex; align-items: center; justify-content: center; padding: .8rem; min-height: 75px; border-radius: .8rem; border: 1px solid #f1f5f9; background: #f8fafc; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
.ntw-m-client img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.ntw-m-client-wide { grid-column: span 2; min-height: 65px; }
.ntw-m-client-wide img { max-height: 34px; }
/* FAQ-Akkordeon (nativ, ohne JS) */
.ntw-m-faq { display: flex; flex-direction: column; gap: .65rem; }
.ntw-m-faq-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: .8rem; overflow: hidden; }
.ntw-m-faq-item[open] { background: rgba(240,249,255,.7); border-color: #bae6fd; }
.ntw-m-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem; cursor: pointer; font-size: .75rem; font-weight: 500; color: #1e293b; list-style: none; }
.ntw-m-faq-item summary::-webkit-details-marker { display: none; }
.ntw-m-faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 1.1rem; font-weight: 400; color: #94a3b8; line-height: 1; transition: transform .2s ease; }
.ntw-m-faq-item[open] summary { color: var(--ntw-blue); font-weight: 600; }
.ntw-m-faq-item[open] summary::after { content: "–"; color: var(--ntw-blue); }
.ntw-m-faq-item > div { padding: 0 .85rem .85rem; font-size: .75rem; line-height: 1.65; color: #475569; border-top: 1px solid #e2e8f0; padding-top: .6rem; }
/* CTA-Banner */
.ntw-m-ctabanner { position: relative; background: linear-gradient(135deg, #121b2d, #1a233a 50%, #0f172a); border: 1px solid #1e293b; border-radius: 1rem; padding: 1.5rem; text-align: center; overflow: hidden; box-shadow: 0 15px 30px rgba(2,6,23,.35); }
.ntw-m-ctabanner h3 { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.5; margin: 0 0 1rem; position: relative; z-index: 1; }
.ntw-m-ctabanner a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1.5rem; border-radius: .8rem; background: #fff; color: var(--ntw-navy); font-weight: 700; font-size: .85rem; position: relative; z-index: 1; }
.ntw-m-ctabanner a:active { transform: scale(.98); }

/* Services mobil (Stitch-Stil, Vanilla) */
.ntw-m-shero { position: relative; background: linear-gradient(180deg, #1d6ec7 0%, #2f8be6 40%, #52a9f5 100%); color: #fff; overflow: hidden; box-shadow: inset 0 2px 8px rgba(8,41,73,.25); }
.ntw-m-shero .ntw-m-uhero-in { padding-top: 2rem; }
.ntw-m-shero h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .5rem; color: #fff; }
/* Artikel-Bild mit Badge */
.ntw-m-artimg { position: relative; background: #0f172a; }
.ntw-m-artimg img { width: 100%; height: 13rem; object-fit: cover; opacity: .92; display: block; }
.ntw-m-artimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); pointer-events: none; }
.ntw-m-artbadge { position: absolute; left: 1rem; bottom: .8rem; z-index: 1; background: rgba(14,142,233,.92); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: .4rem; }
.ntw-m-hl { color: var(--ntw-blue); }
.ntw-m-listhead { font-size: .8rem; font-weight: 700; color: #1e293b; text-transform: uppercase; letter-spacing: .06em; margin: 1.25rem 0 .75rem; }
.ntw-m-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.ntw-m-check li { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: #334155; }
.ntw-m-check svg { flex-shrink: 0; color: #0270c7; margin-top: 2px; }
.ntw-m-notebox { margin-top: 1rem; padding: .85rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: .8rem; }
.ntw-m-notebox p { font-size: .75rem; font-style: italic; line-height: 1.6; color: #64748b; margin: 0 0 .5rem; }
.ntw-m-notebox p:last-child { margin-bottom: 0; }
/* Sub-Navigation */
.ntw-m-subnav { display: flex; flex-direction: column; gap: .5rem; }
.ntw-m-subnav a { display: flex; align-items: center; justify-content: space-between; padding: .8rem; border-radius: .8rem; background: #f8fafc; color: #334155; font-size: .85rem; font-weight: 500; }
.ntw-m-subnav a svg { color: #0e8ee9; }
/* Aktuelle Service-Seite markiert */
.ntw-m-subnav a.on { background: #f0f7ff; color: #0359a1; border: 1px solid #bae0fd; font-weight: 600; }
.ntw-m-subnav a.on > span { display: inline-flex; align-items: center; gap: .5rem; }
.ntw-m-dot { width: .375rem; height: .375rem; border-radius: 50%; background: #0e8ee9; display: inline-block; }
/* Anruf-Box */
.ntw-m-callout { position: relative; background: #0270c7; color: #fff; border-radius: 1rem; padding: 1.5rem 1.25rem; text-align: center; overflow: hidden; box-shadow: 0 10px 25px rgba(2,112,199,.35); }
.ntw-m-callout::before { content: ""; position: absolute; top: -2.5rem; right: -2.5rem; width: 8rem; height: 8rem; background: rgba(255,255,255,.12); border-radius: 50%; filter: blur(20px); pointer-events: none; }
.ntw-m-callout-ico { width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: #0270c7; display: flex; align-items: center; justify-content: center; margin: 0 auto .8rem; box-shadow: 0 4px 10px rgba(0,0,0,.2); position: relative; z-index: 1; }
.ntw-m-callout p { font-size: .75rem; color: #dbeafe; line-height: 1.6; margin: 0 0 .8rem; position: relative; z-index: 1; }
.ntw-m-callout a { display: block; font-weight: 700; font-size: 1rem; letter-spacing: .02em; color: #fff; position: relative; z-index: 1; padding: .15rem 0; }
/* Bürozeiten */
.ntw-m-hours { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.ntw-m-hours > div { display: flex; align-items: center; gap: .7rem; padding: .75rem; background: #f8fafc; border-radius: .8rem; font-size: .75rem; color: #334155; }
.ntw-m-hours svg { flex-shrink: 0; color: #0270c7; }
.ntw-m-closed { color: #f43f5e; font-style: normal; font-weight: 500; }
.ntw-m-btnblue { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1rem; border-radius: .8rem; background: #0270c7; color: #fff !important; font-weight: 600; font-size: .75rem; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(2,112,199,.35); }
.ntw-m-btnblue:active { transform: scale(.99); }
/* Neueste Beiträge */
.ntw-m-recent > article { padding: .8rem 0; border-bottom: 1px solid #f1f5f9; }
.ntw-m-recent > article:first-child { padding-top: 0; }
.ntw-m-recent > article:last-child { padding-bottom: 0; border-bottom: none; }
.ntw-m-recent-date { display: block; font-size: 11px; font-weight: 600; color: #0270c7; margin-bottom: .25rem; }
.ntw-m-recent-row { display: flex; gap: .5rem; align-items: flex-start; }
.ntw-m-recent-row svg { flex-shrink: 0; color: #0e8ee9; margin-top: 2px; }
.ntw-m-recent-row strong { font-size: .75rem; font-weight: 600; color: #1e293b; line-height: 1.5; }
/* Themenblöcke Begriffserklärungen */
.ntw-m-topic { padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.ntw-m-topic:first-of-type { padding-top: .25rem; }
.ntw-m-topic:last-of-type { border-bottom: none; padding-bottom: 0; }
.ntw-m-topic h3 { font-size: .95rem; font-weight: 700; color: var(--ntw-navy); margin: 0 0 .4rem; }
.ntw-m-topic p { font-size: .8rem; line-height: 1.6; color: #475569; margin: 0 0 .6rem; }
.ntw-m-topic a { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #0270c7; }

/* Glossar-Unterseiten: Definitionen */
.ntw-m-gloss h2 { font-size: 1.1rem; font-weight: 800; color: var(--ntw-navy); text-transform: uppercase; line-height: 1.35; margin: 1.25rem 0 .6rem; }
.ntw-m-gloss h2:first-child { margin-top: 0; }
.ntw-m-gloss h3 { font-size: .92rem; font-weight: 700; color: var(--ntw-navy); margin: 1.1rem 0 .45rem; }
.ntw-m-gloss p { font-size: .82rem; line-height: 1.65; color: #475569; margin: 0 0 .85rem; }
.ntw-m-gloss a { color: #0270c7; }
.ntw-m-gloss img { border-radius: .6rem; max-width: 100%; height: auto; }
/* Stichwort-Index als Chips */
.ntw-m-gloss ul { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ntw-m-gloss ul li { margin: 0; }
.ntw-m-gloss ul a { display: inline-block; font-size: .75rem; font-weight: 500; color: #0359a1; background: #f0f7ff; border: 1px solid #bae0fd; border-radius: 999px; padding: .3rem .7rem; }
.ntw-m-gloss ol { font-size: .82rem; line-height: 1.65; color: #475569; margin: 0 0 .85rem; padding-left: 1.2rem; }
/* Rücksprung nach jedem Begriff (wie im Original) dezent stylen */
.ntw-m-gloss a[href="#SeitenBeginn"] { display: inline-block; font-size: .75rem; font-weight: 600; color: #0270c7; margin: .1rem 0 .9rem; }
.ntw-m-gloss a[href="#SeitenBeginn"]::before { content: "↑ "; }

/* Artikel-Ansicht (Single) */
.ntw-m-uhbadge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #bae6fd; font-size: .75rem; font-weight: 500; margin-bottom: .8rem; }
.ntw-m-meta { font-size: .75rem; font-weight: 600; color: #0270c7; margin: 0 0 .5rem; }
.ntw-m-article { overflow-wrap: break-word; }
.ntw-m-article > :first-child { margin-top: 0; }
.ntw-m-article p { font-size: .87rem; line-height: 1.7; color: #475569; margin: 0 0 1rem; }
.ntw-m-article h2 { font-size: 1.1rem; font-weight: 800; color: var(--ntw-navy); text-transform: uppercase; line-height: 1.35; margin: 1.4rem 0 .6rem; }
.ntw-m-article h3 { font-size: .95rem; font-weight: 700; color: var(--ntw-navy); margin: 1.2rem 0 .5rem; }
.ntw-m-article h4 { font-size: .87rem; font-weight: 700; color: var(--ntw-navy); margin: 1.1rem 0 .4rem; }
.ntw-m-article ul, .ntw-m-article ol { font-size: .85rem; line-height: 1.65; color: #475569; margin: 0 0 1rem; padding-left: 1.25rem; }
.ntw-m-article li { margin-bottom: .4rem; }
.ntw-m-article a { color: #0270c7; }
.ntw-m-article img { border-radius: .6rem; max-width: 100%; height: auto; }
.ntw-m-article figure { margin: 0 0 1rem; max-width: 100%; }
.ntw-m-article figcaption { font-size: .75rem; color: #94a3b8; text-align: center; margin-top: .4rem; }
.ntw-m-article blockquote { border-left: 3px solid var(--ntw-blue); background: var(--ntw-ice); margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 0 .6rem .6rem 0; font-size: .85rem; color: #475569; }
.ntw-m-article table { width: 100%; font-size: .78rem; border-collapse: collapse; margin: 0 0 1rem; display: block; overflow-x: auto; }
.ntw-m-article th, .ntw-m-article td { border: 1px solid #e2e8f0; padding: .5rem .6rem; text-align: left; }
.ntw-m-article .uagb-container-inner-blocks-wrap { flex-wrap: wrap !important; }
.ntw-m-article .uagb-container-inner-blocks-wrap > .wp-block-uagb-container { max-width: 100% !important; width: 100% !important; flex: 0 0 100% !important; }
.ntw-m-article .uagb-is-root-container:not(.full-width) { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }

/* Kontakt: helle Info-Box (für weiße Karten) */
.ntw-m-infolight { display: flex; flex-direction: column; gap: .8rem; font-size: .78rem; color: #334155; background: #f8fafc; padding: 1rem; border-radius: .8rem; border: 1px solid #e2e8f0; }
.ntw-m-infolight strong { color: var(--ntw-navy); }
.ntw-m-infolight a { color: #0270c7; }
.ntw-m-infolight .ntw-m-crow svg { color: #0270c7; }

/* Sichtbarkeit: mobil vs. desktop (cache-sicher via CSS) */
.ntw-m { display: none; }
/* Wrapper darf das Astra-Layout nicht beeinflussen (Flex/Grid) – nur mobil ausblenden */
.ntw-desktop { display: contents; }
@media (max-width: 768px) {
  .ntw-m { display: block; }
  .ntw-desktop, #masthead, #colophon { display: none !important; }
  /* Astra drückt inline 0.54em Seitenpadding auf .ast-container (liegt VOR allem Mobilen) */
  #content.site-content > .ast-container { padding-left: 0 !important; padding-right: 0 !important; }
  /* Anker-Sprünge unter dem sticky Header landen (4rem Header + Abstand) */
  html { scroll-padding-top: 5rem; }
  .ntw-m-gloss [id], .ntw-m-gloss a[name] { scroll-margin-top: 5rem; }
}
@media (min-width: 769px) {
  .ntw-m, .ntw-m-bar { display: none !important; }
}
