/* =====================================================================
   NB Design – Frontend-Styles
   Abschnitte: 1 Basis · 2 Kopfzeile · 3 Hero-Slider · 4 Inhalt/Abschnitte
   5 Projekte · 6 Referenzen · 7 FAQ/Features · 8 Buttons/Formular · 9 Fußzeile
   10 Popup · 11 Sonstiges (Back-to-top, Cookie, Reveal) · 12 Responsive
   Werte stammen aus der Vermessung der alten Seite (nb-design.at, Sept. 2026).
   ===================================================================== */

/* 1 Basis ------------------------------------------------------------ */
:root {
	--nb-accent: #fbd05c;
	--nb-accent-dark: #dda305;
	--nb-accent-hover: #ab7e04;
	--nb-text: #606060;
	--nb-heading: #333333;
	--nb-black: #111111;
	--nb-dark: #222222;
	--nb-grey: #f5f5f5;
	--nb-header-h: 125px;
	--nb-header-small-h: 70px;
	--nb-font-heading: Montserrat, Arial, Helvetica, sans-serif;
	--nb-font-body: Arial, Helvetica, sans-serif;
	--nb-container: 1170px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.nb-modal-open { overflow: hidden; }
body { margin: 0; font: 400 13px/1.8 var(--nb-font-body); color: var(--nb-text); background: #fff; padding-top: var(--nb-header-h); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #888; text-decoration: none; transition: color .3s; }
a:hover { color: #555; }
p { margin: 0 0 20px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nb-font-heading); font-weight: 400; color: var(--nb-heading); line-height: 1.1; margin: 0 0 20px; }
h1 { font-size: 32px; } h2 { font-size: 30px; } h3 { font-size: 18px; margin-bottom: 10px; } h4 { font-size: 16px; }
h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong { font-weight: 400; color: var(--nb-accent); }
strong, b { font-weight: 700; }
.nb-container, .wp-block-group.nb-container { width: 100%; max-width: var(--nb-container); margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--nb-accent-dark); outline-offset: 2px; }
.nb-main { min-height: 300px; }
/* Unterseiten: Inhalt beginnt 25px unter der Kopfzeile (alt: padding-top 150px) */
.nb-main .wp-block-post-content.is-layout-flow > :first-child:not(.nb-hero):not(.alignfull) { margin-top: 25px; }
.nb-main .wp-block-post-content.is-layout-flow > .nb-side-bg.alignfull:first-child { margin-top: 25px; }

/* Standard-Layout im Inhalt: Blöcke sind auf Container-Breite, alignfull bricht aus */
.wp-block-post-content > :where(:not(.alignfull):not(.alignwide)) { max-width: var(--nb-container); margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.wp-block-post-content > .alignwide { max-width: var(--nb-container); margin-left: auto; margin-right: auto; }
.wp-block-post-content > .alignfull { max-width: none; width: 100%; }
.wp-block-post-content > .alignfull > .nb-container { padding-left: 15px; padding-right: 15px; }
.wp-block-columns { gap: 30px; margin-bottom: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-separator { border: 0; border-bottom: 1px solid rgba(0,0,0,.1); margin: 30px 0; width: 100%; }
.wp-block-separator.is-style-wide { width: 100%; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 0; padding: 5px 10px 5px 0; vertical-align: top; }
.wp-block-image { margin: 0 0 20px; }
.wp-block-image figcaption { font-size: 12px; color: #888; margin: 6px 0 0; }
.wp-block-group.is-style-nb-band { background: var(--nb-accent); padding: 60px 15px; text-align: center; }
.wp-block-group.is-style-nb-grey { background: var(--nb-grey); padding: 90px 15px; }
.wp-block-group.is-style-nb-dark { background: var(--nb-black); color: #fff; padding: 60px 15px; }
.wp-block-group.is-style-nb-dark h1, .wp-block-group.is-style-nb-dark h2, .wp-block-group.is-style-nb-dark h3 { color: #fff; }
.nb-page-title, .wp-block-heading.has-text-align-center { text-align: center; }
.wp-block-heading.is-style-nb-section-title { text-align: center; margin: 0 0 30px; }
.wp-block-heading.is-style-nb-section-title::after { content: ""; display: block; width: 100%; max-width: 630px; height: 6px; margin: 30px auto 0; background:
	linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)) left 5px / calc(50% - 15px) 1px no-repeat,
	linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)) right 5px / calc(50% - 15px) 1px no-repeat,
	radial-gradient(circle, var(--nb-accent) 2.5px, transparent 3px) center / 6px 6px no-repeat; }
.wp-block-heading.is-style-nb-accent-first-word { color: var(--nb-heading); }
.wp-block-heading.is-style-nb-accent-first-word b, .wp-block-heading.is-style-nb-accent-first-word strong { color: var(--nb-accent); font-weight: 400; }
.wp-block-heading.is-style-nb-feature { color: var(--nb-accent); font-size: 18px; margin-bottom: 10px; }
.wp-block-columns.is-style-nb-features .wp-block-column h3, .wp-block-columns.is-style-nb-features .wp-block-column h2 { color: var(--nb-accent); font-size: 18px; }

/* Bildreihe (3 Spalten, 16:9) */
.wp-block-gallery.is-style-nb-image-row { gap: 30px; }
.wp-block-gallery.has-nested-images.is-style-nb-image-row figure.wp-block-image { flex: 0 0 calc(33.333% - 20px); width: calc(33.333% - 20px); margin: 0; }
.wp-block-gallery.is-style-nb-image-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Team */
.wp-block-gallery.is-style-nb-team { gap: 30px; justify-content: flex-start; align-items: flex-start; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image { flex: 0 0 165px; width: 165px; margin: 0; }
.wp-block-gallery.is-style-nb-team img { width: 100%; height: auto !important; object-fit: unset; }
.wp-block-gallery.is-style-nb-team figcaption { font-size: 12px; color: var(--nb-heading); margin-top: 6px; text-align: center; }
/* Standard-Galerie: dichtes Raster mit 1px Abstand (wie WPBakery-Galerien) */
.wp-block-gallery:not(.is-style-nb-team):not(.is-style-nb-image-row):not(.nb-project-gallery) { gap: 1px; }
.wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-gallery.columns-4:not(.is-style-nb-team) figure.wp-block-image { width: calc(25% - .75px); flex: 0 0 calc(25% - .75px); }
.wp-block-gallery.columns-3:not(.is-style-nb-team) figure.wp-block-image { width: calc(33.333% - .67px); flex: 0 0 calc(33.333% - .67px); }
.wp-block-gallery.columns-2 figure.wp-block-image { width: calc(50% - .5px); flex: 0 0 calc(50% - .5px); }
.wp-block-gallery.is-style-nb-thumbs img { aspect-ratio: 132 / 120; }
.wp-block-gallery.is-style-nb-strip img { aspect-ratio: 130 / 230; }
/* Bild-Slideshow (Galerie mit Punkten) */
.wp-block-gallery.is-style-nb-slideshow { display: block; position: relative; padding-bottom: 24px; }
.wp-block-gallery.is-style-nb-slideshow figure.wp-block-image { display: none; width: 100%; margin: 0; }
.wp-block-gallery.is-style-nb-slideshow figure.wp-block-image.is-active { display: block; }
.wp-block-gallery.is-style-nb-slideshow img { width: 100%; aspect-ratio: 450 / 280; object-fit: cover; }
.nb-slideshow__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px; }
.nb-slideshow__dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #869791; opacity: .5; cursor: pointer; }
.nb-slideshow__dots button.is-active { opacity: 1; }

/* 2 Kopfzeile -------------------------------------------------------- */
.nb-site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; }
.nb-header { height: var(--nb-header-h); background: rgba(255,255,255,.87); transition: height .3s, background .3s; }
.nb-topbar { display: flex; flex-wrap: wrap; gap: 0 32px; height: 45px; align-items: center; padding-top: 0; padding-bottom: 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 12px; letter-spacing: 1px; transition: opacity .3s; }
.nb-icontext { display: inline-flex; align-items: center; gap: 8px; color: #000; }
.nb-icontext__icon { width: 14px; height: 14px; color: var(--nb-accent); }
.nb-icontext__label { color: var(--nb-accent); font-weight: 700; }
.nb-icontext__value { color: #000; }
.nb-icontext--phone .nb-icontext__value { font-weight: 700; }
.nb-icontext--email .nb-icontext__value { color: #888; }
.nb-header__main { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nb-logo, .nb-logo a { display: block; line-height: 0; }
.nb-logo img, .wp-block-site-logo.is-default-size.nb-logo img { height: 87px !important; width: auto !important; max-width: 340px; transition: height .3s; }
.nb-header__right { display: flex; align-items: center; gap: 0; }
.nb-nav { font-family: var(--nb-font-heading); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.nb-nav .wp-block-navigation__container { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.nb-nav .wp-block-navigation-item { position: relative; margin: 0; }
.nb-nav .wp-block-navigation-item__content { display: inline-block; color: #000; padding: 25px 0 22px 20px; line-height: 33px; text-decoration: none; transition: color .3s; }
.nb-nav .wp-block-navigation-item__content:hover { color: var(--nb-accent); }
.nb-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.nb-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content { color: var(--nb-accent-dark); }
.nb-nav .wp-block-navigation-item.is-active > .wp-block-navigation-item__content { color: var(--nb-accent); }
/* gelbe Trennstriche (alt: fa-minus) */
.nb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after,
.nb-nav > .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation-item__content::after { content: ""; display: inline-block; width: 9px; height: 2px; background: var(--nb-accent); margin-left: 20px; vertical-align: middle; }
.nb-nav .wp-block-navigation-submenu__toggle { display: none; }
.nb-nav .wp-block-navigation__submenu-icon { display: none; }
.nb-nav .wp-block-navigation__submenu-container { position: absolute; top: 100%; left: 20px; min-width: 220px; margin: 0; padding: 0; list-style: none; background: #222327; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .4s, transform .4s, visibility .4s; z-index: 10; }
.nb-nav .wp-block-navigation-item:hover > .wp-block-navigation__submenu-container,
.nb-nav .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-container { opacity: 1; visibility: visible; transform: none; }
.nb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; color: #ccc; padding: 8px 20px; line-height: 1.8; border-bottom: 1px solid rgba(255,255,255,.06); }
.nb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { content: none; }
.nb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--nb-accent-hover); color: #fff; }
.nb-langswitch { position: relative; margin-left: 10px; }
.nb-langswitch__current { background: none; border: 0; padding: 6px; cursor: pointer; line-height: 0; }
.nb-langswitch__flag { width: 16px; height: 11px; display: block; }
.nb-langswitch__menu { position: absolute; top: 100%; left: 0; margin: 0; padding: 8px; list-style: none; background: #222327; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nb-langswitch:hover .nb-langswitch__menu, .nb-langswitch.is-open .nb-langswitch__menu, .nb-langswitch:focus-within .nb-langswitch__menu { opacity: 1; visibility: visible; }
.nb-langswitch__menu a { display: block; padding: 6px; line-height: 0; }
.nb-menu-btn { display: none; width: 36px; height: 36px; border: 0; background: #333; padding: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nb-menu-btn span { display: block; height: 3px; background: #eceff3; transition: transform .3s, opacity .3s; }
.nb-menu-btn.is-active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nb-menu-btn.is-active span:nth-child(2) { opacity: 0; }
.nb-menu-btn.is-active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
/* verkleinerte Kopfzeile ab 100px Scroll (Desktop) */
@media (min-width: 993px) {
	.nb-header.is-small { height: var(--nb-header-small-h); background: #18191b; border-bottom: 1px solid #333; }
	.nb-header.is-small .nb-topbar { position: absolute; opacity: 0; pointer-events: none; }
	.nb-header.is-small .nb-header__main { height: var(--nb-header-small-h); }
	.nb-header.is-small .nb-logo img { height: 55px !important; max-width: 250px; }
	.nb-header.is-small .nb-nav .wp-block-navigation-item__content { color: #fff; padding-top: 18px; padding-bottom: 17px; }
	.nb-header.is-small .nb-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { color: var(--nb-accent-dark); }
	.nb-header.is-small .nb-nav .wp-block-navigation-item__content:hover { color: var(--nb-accent); }
}

/* 3 Hero-Slider ------------------------------------------------------ */
.nb-hero { position: relative; height: var(--nb-hero-h, 600px); max-height: 80vh; min-height: 320px; background: #e9e9e9; overflow: hidden; }
.nb-hero__track, .nb-hero__slide { position: absolute; inset: 0; }
.nb-hero__slide { opacity: 0; transition: opacity 1s ease; }
.nb-hero__slide.is-active { opacity: 1; z-index: 1; }
.nb-hero__img { width: 100%; height: 100%; object-fit: cover; }
.nb-hero--kenburns .nb-hero__slide.is-active .nb-hero__img { animation: nb-kenburns 9s linear forwards; }
@keyframes nb-kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
.nb-hero__caption { position: absolute; left: 11.7%; top: 56%; z-index: 2; opacity: 0; transform: translateY(10px); }
.nb-hero__slide.is-active .nb-hero__caption { animation: nb-caption .8s ease-in-out .8s forwards; }
@keyframes nb-caption { to { opacity: 1; transform: none; } }
.nb-hero__text { margin: 0; font: 300 30px/30px Raleway, Arial, Helvetica, sans-serif; letter-spacing: 2px; color: #fff; background: #000; border: 2px solid #000; border-radius: 3px; padding: 3px 5px 3px 8px; white-space: nowrap; }
.nb-hero__caption a { color: #fff; }
.nb-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border: 0; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; opacity: .7; transition: opacity .3s, background .3s; padding: 0; display: grid; place-items: center; }
.nb-hero__arrow svg { width: 14px; height: 14px; }
.nb-hero__arrow--prev { left: 20px; } .nb-hero__arrow--next { right: 20px; }
.nb-hero:hover .nb-hero__arrow, .nb-hero:focus-within .nb-hero__arrow { opacity: 1; }
.nb-hero__arrow:hover { background: #000; }
.nb-hero__dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.nb-hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(#999, #e1e1e1); }
.nb-hero__dot.is-active, .nb-hero__dot:hover { background: #666; }

/* 4 Inhalt / Abschnitte ------------------------------------------------ */
.nb-intro { margin-top: 20px; }
.nb-intro h1 { font-size: 32px; color: #232323; text-align: center; margin: 0; }
/* Über uns: Bild links halbseitig, Text rechts */
.nb-side-bg { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.nb-side-bg__image { min-height: 490px; background-size: cover; background-position: center; }
.nb-side-bg__image img { width: 100%; height: 100%; object-fit: cover; }
.nb-side-bg__text { padding: 40px 15px 20px 30px; max-width: 500px; }
.nb-side-bg__text h1 { text-align: left; margin: 0 0 70px; }
.nb-side-bg__text .wp-block-image, .nb-side-bg__text figure { margin: 0; height: 100%; }

/* 5 Projekte ---------------------------------------------------------- */
.nb-projects { --nb-cols: 4; }
.nb-projects--cols-2 { --nb-cols: 2; } .nb-projects--cols-3 { --nb-cols: 3; } .nb-projects--cols-4 { --nb-cols: 4; } .nb-projects--cols-5 { --nb-cols: 5; } .nb-projects--cols-6 { --nb-cols: 6; }
.nb-projects--band { background: var(--nb-accent); }
.nb-projects__grid { display: grid; grid-template-columns: repeat(var(--nb-cols), 1fr); gap: 0; }
.nb-projects__item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #ddd; }
.nb-projects__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.nb-projects__item:hover .nb-projects__img { transform: scale(1.3); }
.nb-projects__overlay { position: absolute; inset: 0; background: rgba(17,17,17,.9); opacity: 0; transition: opacity .5s; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.nb-projects__item:hover .nb-projects__overlay { opacity: 1; }
.nb-projects__title { color: var(--nb-accent); font-family: var(--nb-font-heading); font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; transform: translateY(30px); transition: transform .3s; }
.nb-projects__item:hover .nb-projects__title { transform: none; }
.nb-projects__more { text-align: center; padding: 20px 0 30px; }
.nb-projects--band .nb-projects__more { padding: 20px 0 30px; }
/* Filter-Pille „PROJEKTE“ (nur Text auf gelbem Band) */
.nb-projects__label, .nb-filter { text-align: center; margin: 30px 0 20px; font-family: var(--nb-font-heading); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--nb-black); }
.nb-projects__label span, .nb-filter span { display: inline-block; padding: 8px 20px; background: var(--nb-accent); }

/* 6 Referenzen ------------------------------------------------------- */
.nb-logos { overflow: hidden; margin: 0 0 10px; }
.nb-logos__track { display: flex; align-items: center; height: 70px; will-change: transform; }
.nb-logos__item { flex: 0 0 calc(100% / var(--nb-logos-visible, 6)); display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.nb-logos__img { height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.nb-logos--animate .nb-logos__track { transition: transform .8s ease; }

/* 7 FAQ / Features (Nummern- oder Icon-Kacheln) ---------------------------- */
.nb-faq, .nb-feature { position: relative; padding-left: 100px; min-height: 80px; margin-bottom: 40px; }
.nb-faq__icon, .nb-feature__num { position: absolute; left: 0; top: 0; width: 80px; height: 80px; background: var(--nb-accent); color: var(--nb-dark); display: grid; place-items: center; border-radius: 50%; font-family: var(--nb-font-heading); font-size: 48px; }
.nb-faq__icon svg { width: 48px; height: 48px; }
.nb-faq__icon--square { border-radius: 0; }
.nb-faq__q { color: var(--nb-accent); font-size: 18px; margin: 0 0 10px; }
.nb-faq__a p:last-child { margin-bottom: 0; }
.nb-reveal--rotate.is-visible .nb-faq__icon { animation: nb-rotate-in 1s both; }
/* Feature-Spalten (Startseite): nummerierte Kacheln über CSS-Zähler */
.wp-block-columns.is-style-nb-features { counter-reset: nb-feature; }
.wp-block-columns.is-style-nb-features .wp-block-column { position: relative; padding-left: 100px; counter-increment: nb-feature; min-height: 80px; }
.wp-block-columns.is-style-nb-features .wp-block-column::before { content: counter(nb-feature); position: absolute; left: 0; top: 0; width: 80px; height: 80px; background: var(--nb-accent); color: var(--nb-dark); font: 400 48px/80px var(--nb-font-heading); text-align: center; }
.wp-block-columns.is-style-nb-features.nb-features--start-4 { counter-reset: nb-feature 3; }

/* 8 Buttons / Formular ------------------------------------------------- */
.nb-btn, .wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; gap: 12px; font-family: var(--nb-font-heading); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--nb-black); background: transparent; border: 1px solid var(--nb-black); border-radius: 0; padding: 10px 30px; line-height: normal; cursor: pointer; transition: background .3s, color .3s; text-decoration: none; }
.nb-btn:hover, .wp-block-button__link:hover, .wp-element-button:hover { background: var(--nb-black); color: #fff; }
.nb-btn__icon { width: 10px; height: 10px; }
.wp-block-button__link::after, .nb-btn--chevron::after { content: ""; display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 4px; }
.nb-btn--ghost { border-color: #888; color: #888; }
.wp-block-button.is-style-nb-outline-light .wp-block-button__link { border-color: rgba(255,255,255,.4); color: #fff; }
.wp-block-button.is-style-nb-outline-light .wp-block-button__link:hover { background: #fff; color: var(--nb-black); }
.wp-block-buttons { gap: 15px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.nb-form { max-width: 700px; }
.nb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.nb-form__field { display: block; margin-bottom: 15px; }
.nb-form__field span { display: block; font-weight: 700; color: var(--nb-heading); margin-bottom: 4px; }
.nb-form input:not([type=checkbox]), .nb-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; background: #f5f5f5; color: #333; border-radius: 0; font: inherit; }
.nb-form input:focus-visible, .nb-form textarea:focus-visible { outline: 2px solid var(--nb-dark); outline-offset: 1px; border-color: var(--nb-accent-dark); }
.nb-form input:user-invalid, .nb-form textarea:user-invalid { border-color: #d31e2b; }
.nb-form__check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 20px; }
.nb-form__hp { position: absolute; left: -9999px; }
.nb-form__status { min-height: 1.8em; }
.nb-form__status.is-ok { color: #1a7f37; } .nb-form__status.is-error { color: #d31e2b; }
.nb-form.is-sending { opacity: .6; pointer-events: none; }

/* 9 Fußzeile ---------------------------------------------------------- */
.nb-footer { background: var(--nb-black); color: #fff; margin-top: 30px; }
.nb-footer__grid { padding-top: 80px; padding-bottom: 60px; }
.nb-footer__cols { gap: 30px; }
.nb-footer__col { font-size: 13px; line-height: 1.43; }
.nb-footer__col p { margin-bottom: 10px; line-height: 1.8; }
.nb-footer__logo { margin: 0; }
.nb-footer__logo img { width: 100%; max-width: 263px; }
.nb-footer__title { color: #fff; font-size: 20px; margin: 0 0 20px; }
.nb-footer__address { line-height: 1.43; }
.nb-footer a { color: #ccc; }
.nb-footer a:hover { color: var(--nb-accent); }
.wp-block-table.is-style-nb-contact table { width: 100%; }
.wp-block-table.is-style-nb-contact td { padding: 5px 0; border-bottom: 1px solid var(--nb-dark); line-height: 1.43; }
.wp-block-table.is-style-nb-contact td:first-child { width: 60px; color: var(--nb-accent); font-weight: 700; }
.wp-block-table.is-style-nb-contact tr:last-child td { border-bottom: 1px solid var(--nb-dark); }
.nb-footer__person { margin: 0 0 10px; }
.nb-footer__person img { width: 100px; height: auto; }
.nb-map { line-height: 0; }
.nb-map iframe { width: 100%; height: var(--nb-map-h, 200px); border: 0; }
.nb-subfooter { background: #353535; color: #ccc; }
.nb-subfooter__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 20px; }
.nb-subfooter__copy { margin: 0; }
.nb-social { color: #fff; display: inline-block; width: 20px; height: 20px; }
.nb-social svg { width: 20px; height: 20px; }
.nb-social:hover { color: var(--nb-accent); }

/* 10 Projekt-Popup und Projektseite --------------------------------------- */
.nb-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 15px; }
.nb-modal__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.8); }
.nb-modal__box { position: relative; background: #fff; width: 100%; max-width: 1170px; padding: 40px; }
.nb-modal__close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 44px; cursor: pointer; color: #333; }
.nb-modal__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 60px; border: 0; background: rgba(0,0,0,.4); cursor: pointer; }
.nb-modal__nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: solid #fff; border-width: 3px 3px 0 0; transform: translate(-50%,-50%) rotate(45deg); }
.nb-modal__nav--prev { left: 0; } .nb-modal__nav--prev::before { transform: translate(-30%,-50%) rotate(-135deg); }
.nb-modal__nav--next { right: 0; }
.nb-modal__loading { text-align: center; padding: 40px; }
.nb-project__title { text-align: center; margin: 0 0 30px; }
.nb-project--fragment .nb-project__title { text-align: left; font-size: 24px; }
.nb-project .nb-project-gallery, .nb-project-gallery { gap: 10px; }
.nb-project-gallery figure.wp-block-image { margin: 0; }
.nb-project-gallery.columns-4 figure.wp-block-image { flex-basis: calc(25% - 7.5px); width: calc(25% - 7.5px); }
.nb-project-gallery.columns-3 figure.wp-block-image { flex-basis: calc(33.333% - 6.67px); width: calc(33.333% - 6.67px); }
.nb-project-gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.wp-block-table.is-style-nb-spec td:first-child { font-weight: 700; color: var(--nb-heading); width: 200px; }
.nb-project__link { margin-top: 20px; }
.nb-project-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 30px 0; }
.nb-project-nav a { font-family: var(--nb-font-heading); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--nb-heading); display: inline-flex; align-items: center; gap: 8px; }
.nb-project-nav a svg { width: 10px; height: 10px; }
.nb-project-nav a:hover { color: var(--nb-accent-dark); }

/* 11 Sonstiges ---------------------------------------------------------- */
.nb-totop { position: fixed; right: 40px; bottom: 40px; width: 32px; height: 32px; background: var(--nb-accent); border-radius: 2px; z-index: 900; opacity: 0; pointer-events: none; transition: opacity .2s; }
.nb-totop::before { content: ""; position: absolute; left: 50%; top: 55%; width: 10px; height: 10px; border: solid var(--nb-dark); border-width: 2px 0 0 2px; transform: translate(-50%,-50%) rotate(45deg); }
.nb-totop.is-visible { opacity: 1; pointer-events: auto; }
.nb-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; background: #333; color: #fff; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: center; font-size: 13px; }
.nb-cookie p { margin: 0; } .nb-cookie a { color: var(--nb-accent); }
.nb-cookie__actions { display: flex; gap: 10px; }
.nb-cookie .nb-btn { color: #fff; border-color: #fff; padding: 6px 18px; font-size: 12px; }
.nb-cookie .nb-btn:hover { background: #fff; color: #333; }
.nb-reveal { opacity: 0; transition: opacity .8s ease, transform .8s ease; }
.nb-reveal--up { transform: translateY(40px); }
.nb-reveal--right { transform: translateX(60px); }
.nb-reveal.is-visible { opacity: 1; transform: none; }
@keyframes nb-rotate-in { from { transform: rotate(-200deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nb-reveal { opacity: 1; transform: none; transition: none; } .nb-hero--kenburns .nb-hero__slide.is-active .nb-hero__img { animation: none; } }
.nb-404 { padding: 60px 15px; text-align: center; min-height: 40vh; }

/* 12 Responsive ---------------------------------------------------------- */
@media (max-width: 1199px) {
	.nb-nav .wp-block-navigation-item__content { padding-left: 12px; letter-spacing: 2px; }
	.nb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { margin-left: 12px; }
}
@media (max-width: 992px) {
	:root { --nb-header-h: 80px; }
	.nb-main .wp-block-post-content.is-layout-flow > .nb-side-bg.alignfull:first-child { margin-top: 0; }
	/* Core-Layout-Klassen (.is-layout-flex) haben höhere Spezifität → !important nötig */
	.nb-header .nb-topbar { display: none !important; }
	.nb-header { background: #fff; }
	.nb-header .nb-header__main { height: 80px; }
	.nb-logo img { height: 60px !important; }
	.nb-menu-btn { display: flex !important; }
	.nb-header .nb-nav { position: absolute; left: 0; right: 0; top: 80px; display: none !important; background: #111; max-height: calc(100vh - 80px); overflow-y: auto; }
	.nb-header .nb-nav.is-open { display: block !important; }
	.nb-nav .wp-block-navigation__container { display: block !important; }
	.nb-header__right { gap: 0; }
	.nb-nav .wp-block-navigation-item__content { display: block; color: #eceff3; padding: 12px 20px; border-bottom: 1px solid #333; line-height: 1.6; }
	.nb-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after,
	.nb-nav > .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation-item__content::after { content: none; }
	.nb-nav .wp-block-navigation__submenu-container { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: #1a1a1a; min-width: 0; }
	.nb-nav .wp-block-navigation-item.is-open > .wp-block-navigation__submenu-container { display: block; }
	.nb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding-left: 40px; }
	.nb-nav .has-child > .wp-block-navigation-item__content::after { content: ""; float: right; width: 8px; height: 8px; border: solid #888; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: 6px; }
	.nb-nav .has-child.is-open > .wp-block-navigation-item__content::after { transform: rotate(-135deg); margin-top: 10px; }
	.nb-langswitch { margin: 0 10px; }
	.nb-projects__grid { grid-template-columns: repeat(2, 1fr); }
	.nb-side-bg { grid-template-columns: 1fr; }
	.nb-side-bg__image { min-height: 260px; }
	.nb-side-bg__text { max-width: none; padding: 30px 15px; }
	.nb-side-bg__text h1 { margin-bottom: 30px; }
	.nb-hero { --nb-hero-h: 420px; }
	.nb-hero__text { font-size: 22px; line-height: 24px; }
	.nb-logos__item { flex-basis: 33.333%; }
	.nb-footer__cols { flex-wrap: wrap; }
	.nb-footer__cols .wp-block-column { flex-basis: calc(50% - 15px) !important; }
	.nb-main .wp-block-post-content.is-layout-flow > :first-child:not(.nb-hero):not(.alignfull) { margin-top: 20px; }
}
@media (max-width: 767px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; width: 100%; }
	.nb-form__row { grid-template-columns: 1fr; gap: 0; }
	.nb-footer__cols .wp-block-column { flex-basis: 100% !important; }
	.nb-footer__grid { padding-top: 50px; padding-bottom: 30px; }
	.nb-subfooter__inner { flex-direction: column; gap: 10px; }
	.nb-hero { --nb-hero-h: 320px; }
	.nb-hero__caption { left: 15px; top: auto; bottom: 50px; }
	.nb-hero__text { font-size: 16px; line-height: 20px; letter-spacing: 1px; white-space: normal; }
	.nb-hero__arrow { display: none; }
	.nb-logos__item { flex-basis: 50%; }
	.wp-block-gallery.is-style-nb-team .wp-block-image { flex-basis: calc(50% - 15px); width: calc(50% - 15px); }
	.wp-block-gallery.is-style-nb-image-row .wp-block-image { flex-basis: 100%; }
	.nb-modal { padding: 0; }
	.nb-modal__box { padding: 40px 15px; min-height: 100%; }
	.nb-project-nav { flex-wrap: wrap; justify-content: center; }
	.nb-totop { right: 15px; bottom: 15px; }
	h1 { font-size: 26px; } h2 { font-size: 24px; }
}
@media (max-width: 600px) {
	.nb-projects__grid { grid-template-columns: 1fr; }
	.nb-project-gallery figure.wp-block-image, .nb-project-gallery.columns-3 figure.wp-block-image, .nb-project-gallery.columns-4 figure.wp-block-image { flex-basis: calc(50% - 5px); width: calc(50% - 5px); }
	.nb-logos__item { flex-basis: 50%; }
}
@media print { .nb-site-header, .nb-totop, .nb-cookie, .nb-hero__arrow, .nb-hero__dots { display: none !important; } body { padding-top: 0; } }

/* Team-Bilder: Name/Funktion beim Überfahren */
.wp-block-gallery.is-style-nb-team .wp-block-image { position: relative; }
.wp-block-gallery.is-style-nb-team figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 8px; background: rgba(17,17,17,.85); color: #fff; font-size: 12px; line-height: 1.4; text-align: center; opacity: 0; transition: opacity .3s; }
.wp-block-gallery.is-style-nb-team .wp-block-image:hover figcaption { opacity: 1; }
.nb-projects__label { margin: 30px 0 20px; }
h1.nb-projects__label { font-size: 11px; }

/* Feinabstimmung nach Vergleich mit der alten Seite */
.nb-weiteres { padding-top: 60px; }
.nb-references { padding-top: 20px; }
.nb-references .is-style-nb-section-title { margin-bottom: 40px; }
.nb-social-list { display: inline-flex; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image img { aspect-ratio: auto; }
@media (max-width: 767px) { .wp-block-gallery.has-nested-images.is-style-nb-image-row figure.wp-block-image { flex-basis: 100%; width: 100%; } .wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image { flex-basis: calc(50% - 15px); width: calc(50% - 15px); } }

/* Galerien: Core nutzt :not(#individual-image) für hohe Spezifität – hier gleichziehen */
.wp-block-gallery.has-nested-images.is-style-nb-image-row { gap: 30px !important; }
.wp-block-gallery.has-nested-images.is-style-nb-image-row figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 20px); flex-basis: calc(33.333% - 20px); }
.wp-block-gallery.has-nested-images.is-style-nb-image-row figure.wp-block-image:not(#individual-image) img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.wp-block-gallery.has-nested-images.is-style-nb-team { gap: 30px !important; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) { width: 165px; flex-basis: 165px; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) img { height: auto; aspect-ratio: auto; }
.wp-block-gallery.has-nested-images.is-style-nb-thumbs figure.wp-block-image:not(#individual-image) img,
.wp-block-gallery.has-nested-images.is-style-nb-strip figure.wp-block-image:not(#individual-image) img,
.wp-block-gallery.has-nested-images.is-style-nb-slideshow figure.wp-block-image:not(#individual-image) img { height: auto; }
.wp-block-gallery.has-nested-images.is-style-nb-thumbs figure.wp-block-image:not(#individual-image) img { aspect-ratio: 132 / 120; object-fit: cover; }
.wp-block-gallery.has-nested-images.is-style-nb-strip figure.wp-block-image:not(#individual-image) img { aspect-ratio: 130 / 230; object-fit: cover; }
.wp-block-gallery.has-nested-images.is-style-nb-slideshow figure.wp-block-image:not(#individual-image) { width: 100%; flex-basis: 100%; display: none; }
.wp-block-gallery.has-nested-images.is-style-nb-slideshow figure.wp-block-image.is-active:not(#individual-image) { display: block; }
.wp-block-gallery.has-nested-images.is-style-nb-slideshow figure.wp-block-image:not(#individual-image) img { aspect-ratio: 450 / 280; object-fit: cover; }
.wp-block-gallery.has-nested-images.nb-project-gallery { gap: 10px !important; }
.wp-block-gallery.has-nested-images.nb-project-gallery.columns-3 figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 6.67px); flex-basis: calc(33.333% - 6.67px); }
.wp-block-gallery.has-nested-images.nb-project-gallery.columns-2 figure.wp-block-image:not(#individual-image) { width: calc(50% - 5px); flex-basis: calc(50% - 5px); }
.wp-block-gallery.has-nested-images.nb-project-gallery figure.wp-block-image:not(#individual-image) img { aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
@media (max-width: 767px) {
	.wp-block-gallery.has-nested-images.is-style-nb-image-row figure.wp-block-image:not(#individual-image) { width: 100%; flex-basis: 100%; }
	.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) { width: calc(50% - 15px); flex-basis: calc(50% - 15px); }
	.wp-block-gallery.has-nested-images.nb-project-gallery figure.wp-block-image:not(#individual-image) { width: calc(50% - 5px); flex-basis: calc(50% - 5px); }
}

/* Mobil: Logo und Slider-Höhe (Inline-Variable bzw. spezifischere Desktop-Regel überstimmen) */
@media (max-width: 992px) {
	.nb-header .nb-logo img, .wp-block-site-logo.is-default-size.nb-logo img { height: 60px !important; }
	.nb-hero { height: 420px !important; }
}
@media (max-width: 767px) {
	.nb-header .nb-logo img, .wp-block-site-logo.is-default-size.nb-logo img { height: 52px !important; }
	.nb-hero { height: 320px !important; min-height: 0; }
}

/* Projekt-Galerie auch dort korrekt, wo das Core-Galerie-CSS nicht geladen ist (Popup auf der Projektübersicht) */
.nb-project-gallery.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 0; }
.nb-project-gallery.wp-block-gallery figure.wp-block-image:not(#individual-image) { margin: 0; flex: 0 0 calc(33.333% - 6.67px); width: calc(33.333% - 6.67px); }
.nb-project-gallery.wp-block-gallery.columns-2 figure.wp-block-image:not(#individual-image) { flex-basis: calc(50% - 5px); width: calc(50% - 5px); }
.nb-project-gallery.wp-block-gallery figure.wp-block-image:not(#individual-image) img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.nb-modal .nb-project__content { max-width: 100%; }
@media (max-width: 600px) { .nb-project-gallery.wp-block-gallery figure.wp-block-image:not(#individual-image) { flex-basis: calc(50% - 5px); width: calc(50% - 5px); } }

/* ===== Feinabgleich mit der alten Seite (gemessen am 06.09.2026) ===== */
/* Startseite */
.nb-home-intro { margin-top: 20px; }
.nb-intro h3 { margin-bottom: 10px; }
.nb-home-intro .is-style-nb-image-row { margin-top: 20px; }
.wp-block-columns.is-style-nb-features { margin-top: 35px; margin-bottom: 67px; }
.wp-block-columns.is-style-nb-features.nb-features--start-4 { margin-top: 0; margin-bottom: 40px; }
.wp-block-columns.is-style-nb-features h3 { margin-bottom: 10px; }
.nb-projects--band { padding-top: 35px; }
.nb-projects--band .nb-projects__more { padding: 0 0 20px; }
.nb-projects:not(.nb-projects--band) .nb-projects__label { margin: 55px 0 20px; }
.nb-projects:not(.nb-projects--band) .nb-projects__grid { margin-bottom: 30px; }
.nb-references { padding-top: 40px; }
.nb-references .is-style-nb-section-title { margin-bottom: 62px; }
.nb-footer { margin-top: 50px; }
.nb-footer__grid { padding-bottom: 80px; }
.nb-footer__logo { margin-top: 30px; }
.nb-subfooter__copy { line-height: 1.8; }
/* Über uns */
.nb-side-bg__text { padding: 0 15px 20px 98px; max-width: 586px; }
.nb-side-bg__text h1 { font-size: 30px; margin: 20px 0 30px; }
.wp-block-group.is-style-nb-grey h2 { margin: 20px 0 30px; }
.wp-block-gallery.has-nested-images.is-style-nb-team { align-items: flex-start !important; gap: 30px !important; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) { display: block; flex: 0 0 165px; width: 165px; height: auto; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) img { width: 165px; height: auto !important; flex: none; aspect-ratio: auto; object-fit: unset; display: block; }
/* Weiteres */
.nb-weiteres { padding-top: 90px; }
.nb-weiteres h2 { margin: 0 0 30px; }
.nb-weiteres .wp-block-separator { margin: 35px 0 70px; }
.nb-weiteres .wp-block-columns { margin-bottom: 0; }
/* FAQ */
.nb-faq-grid { margin-top: 30px; }
.nb-faq { margin-bottom: 50px; }
/* Impressum, Datenschutz, Cookie */
.nb-legal { padding-top: 90px; }
.nb-legal--narrow { max-width: 780px; margin-left: 0; }
.nb-legal h1 { font-size: 32px; margin: 0 0 20px; }
.nb-legal h2 { font-size: 30px; margin: 20px 0 30px; }
.nb-legal h3 { font-size: 20px; margin: 10px 0 10px; }
.nb-legal h4 { font-size: 18px; margin: 10px 0 10px; }
.nb-legal p { margin-bottom: 20px; }
@media (max-width: 992px) { .nb-side-bg__text { padding: 30px 15px; max-width: none; } .nb-weiteres, .nb-legal { padding-top: 40px; } .nb-projects:not(.nb-projects--band) .nb-projects__label { margin-top: 30px; } }

/* Lazy-Bilder: WordPress setzt contain-intrinsic-size 3000x1500 für sizes="auto" – in Galerien mit fester Breite führt das zu verzerrten Platzhaltern */
.wp-block-gallery img[sizes^="auto" i], .nb-logos__img[sizes^="auto" i], .nb-footer img[sizes^="auto" i] { contain-intrinsic-size: auto !important; }
.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) img { contain-intrinsic-size: auto !important; max-height: none; }
/* Über uns: Abschnitt beginnt wie im Original 25px unter der Kopfzeile */
.nb-side-bg { margin-top: 25px; }
.wp-block-group.is-style-nb-grey .wp-block-heading, .is-style-nb-grey .nb-container > .wp-block-heading { margin-top: 20px; margin-bottom: 30px; }

/* Startseiten-Slider liegt wie im Original unter der halbtransparenten Kopfzeile (Bild scheint leicht durch) */
.nb-main .wp-block-post-content.is-layout-flow > .nb-hero:first-child { margin-top: calc(-1 * var(--nb-header-h)); }
.nb-hero__caption { top: calc(56% + 40px); }
@media (max-width: 992px) { .nb-main .wp-block-post-content.is-layout-flow > .nb-hero:first-child { margin-top: 0; } .nb-hero__caption { top: 56%; } }
/* Über uns: Überschrift 20px unter Abschnittsbeginn wie im Original */
.nb-side-bg .nb-side-bg__text.is-layout-flow > h1:first-child { margin-top: 20px; }
.nb-weiteres { padding-bottom: 20px; }
/* Nummern-Kacheln drehen sich beim Scrollen ein (wie rotateIn im Original) */
.wp-block-columns.is-style-nb-features .wp-block-column::before { opacity: 0; }
.wp-block-columns.is-style-nb-features .wp-block-column.is-visible::before { animation: nb-rotate-in 1s 1s both; }
@media (prefers-reduced-motion: reduce) { .wp-block-columns.is-style-nb-features .wp-block-column::before { opacity: 1; animation: none !important; } }
/* Startseite: Feinjustierung auf die Originalpositionen (655/1115/1609/1674/1740/2219/2279/2572) */
.nb-home-intro { margin-top: 55px; }
.wp-block-columns.is-style-nb-features.nb-features--start-4 { margin-bottom: 26px; }
.nb-projects__label { margin-bottom: 30px; }
.wp-block-table.is-style-nb-contact td { padding: 12px 0; }
.nb-subfooter__inner { padding-bottom: 26px; }

/* Mobil wie im Original: Slider skaliert mit der Breite (600/1170), 30px Seitenrand, Kacheln bleiben links */
@media (max-width: 992px) {
	.nb-hero { height: calc(100vw * 0.5128) !important; min-height: 0; }
	.nb-hero__text { font-size: clamp(12px, 2.56vw, 30px); line-height: 1; letter-spacing: 1px; white-space: nowrap; }
	.nb-hero__caption { left: 11.7%; top: 56%; bottom: auto; }
	.nb-hero__dots { bottom: 8px; }
}
@media (max-width: 767px) {
	.nb-hero { height: calc(100vw * 0.5128) !important; }
	.nb-container, .wp-block-group.nb-container, .wp-block-post-content > :where(:not(.alignfull):not(.alignwide)) { padding-left: 30px; padding-right: 30px; }
	.nb-header .nb-container { padding-left: 30px; padding-right: 30px; }
	.nb-logo img { height: 60px !important; }
	.nb-home-intro { margin-top: 55px; }
	.nb-references { padding-left: 30px; padding-right: 30px; }
}

/* Projekt-Popup wie im Original: Bilder links (2 Spalten), Projektdaten rechts */
.nb-project--fragment .nb-project__content:has(.is-style-nb-spec) { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; align-items: start; }
.nb-project--fragment .nb-project__content:has(.is-style-nb-spec) .nb-project-gallery.wp-block-gallery figure.wp-block-image:not(#individual-image) { flex-basis: calc(50% - 5px); width: calc(50% - 5px); }
.nb-project--fragment .is-style-nb-spec td { padding: 6px 10px 6px 0; border: 0; line-height: 1.6; }
.nb-project--fragment .is-style-nb-spec td:first-child { width: 160px; }
.nb-project__content .wp-block-table.is-style-nb-spec { margin: 0; }
@media (max-width: 767px) { .nb-project--fragment .nb-project__content:has(.is-style-nb-spec) { grid-template-columns: 1fr; } }

.nb-weiteres h1 { font-size: 30px; margin: 0 0 30px; }

/* ===== Korrekturen aus dem Design-Vergleich (06.09.2026) ===== */
/* Verkleinerte Kopfzeile bleibt im Original weiß-transparent (archi-child überschreibt die dunkle Theme-Regel) */
@media (min-width: 993px) {
	.nb-header.is-small { background: rgba(255,255,255,.87); border-bottom: 0; }
	.nb-header.is-small .nb-nav .wp-block-navigation-item__content { color: #000; }
}
.nb-nav .wp-block-navigation-item__content, .nb-nav .wp-block-navigation-item__label { color: #000; }
.nb-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content, .nb-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content .wp-block-navigation-item__label { color: var(--nb-accent-dark); }
.nb-nav .wp-block-navigation-item__content:hover, .nb-nav .wp-block-navigation-item__content:hover .wp-block-navigation-item__label { color: var(--nb-accent); }
/* Slider-Pfeile und Punkte wie Revolution Slider „persephone“/„hesperiden“ */
.nb-hero__arrow { background: transparent; border: 1px solid #fff; opacity: 1; }
.nb-hero__arrow:hover { background: rgba(0,0,0,.5); }
.nb-hero__dot { width: 18px; height: 18px; background: transparent; border: 3px solid #e5e5e5; box-sizing: border-box; }
.nb-hero__dot.is-active, .nb-hero__dot:hover { background: #e5e5e5; }
/* Fußzeile: Facebook-Icon 28px weiß */
.nb-social, .nb-social svg { width: 28px; height: 28px; }
.nb-social { color: #fff; }
@media (max-width: 767px) {
	.nb-intro h1 { font-size: 26px; }
	.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) { flex-basis: 100%; width: 100%; }
	.wp-block-gallery.has-nested-images.is-style-nb-team figure.wp-block-image:not(#individual-image) img { width: 100%; }
}
/* Slideshow-Punkte etwas kräftiger */
.nb-slideshow__dots button { background: #999; opacity: .6; }
.nb-slideshow__dots button.is-active { background: #333; opacity: 1; }

/* hidden-Attribut muss display:flex der Lightbox und des Cookie-Hinweises überstimmen */
.nb-modal[hidden], .nb-cookie[hidden] { display: none !important; }
