@charset "UTF-8";
:root {
  /* Halbmayr token alignment — variables map to design tokens in _halbmayr.scss */
  --WIH: 100vh;
  --font-family-default: "Museo Sans", "Helvetica Neue", Arial, sans-serif;
  --font-family-headline: "Museo Sans", "Helvetica Neue", Arial, sans-serif;
  --font-size: var(--fs-body);
  --line-height: 1.4;
  --font-size-small: 14px;
  --line-height-small: 1.4;
  --font-size-smaller: 12px;
  --line-height-smaller: 1.4;
  --font-size-h1: var(--fs-display);
  --line-height-h1: 1.1;
  --font-size-h2: var(--fs-h1);
  --line-height-h2: 1.1;
  --font-size-h3: var(--fs-h2);
  --line-height-h3: 1.1;
  --font-size-h4: var(--fs-h3);
  --line-height-h4: 1.3;
  --color-default: var(--rk-ink, #1a1a18);
  --color-primary: var(--rk-ink, #1a1a18);
  --color-secondary: var(--rk-taupe, #a2631c);
  --color-white: #ffffff;
  --color-grey: var(--rk-mid, #666666);
  --color-line: var(--rk-line, #c4c4c4);
  --color-bg: var(--rk-cream, #f0ede7);
  --color-red: #d43f3f;
  --color-yellow: #eec100;
  --color-green: #4e8132;
  --section-x: 7vw;
  --section-width: auto;
  --space-intro-top: 120px;
  --space-xs: 10px;
  --space-sm: 15px;
  --space-md: 30px;
  --space-lg: 50px;
  --space-xl: 75px;
  --space-xxl: 100px;
  --space-xxxl: 150px;
  --content-padding-sm: 10px;
  --content-padding-md: 20px;
  --content-padding-lg: 30px;
  --border-radius-xs: 5px;
  --border-radius-sm: 20px;
  --border-radius-md: 30px;
  --header-small-height: 78px;
  --header-logo-height: 32px;
  --header-logo-aspect-ratio: 364/32;
}
@media screen and (min-width: 1024px) {
  :root {
    --space-intro-top: 150px;
    --space-md: 50px;
    --space-lg: 75px;
    --space-xl: 100px;
    --space-xxl: 150px;
    --space-xxxl: 200px;
  }
  #admin-toolbar {
    display: flex !important;
  }
  .node-edit-actions {
    display: block;
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --section-x: 10vw;
    --space-intro-top: 200px;
    --space-xs: 10px;
    --space-sm: 25px;
    --space-md: 50px;
    --space-lg: 100px;
    --space-xl: 150px;
    --space-xxl: 200px;
    --space-xxxl: 250px;
  }
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: DESIGN TOKENS — mirror /design-system/colors_and_type.css 1:1
   --------------------------------------------------------------------- */
/* =========================================================================
   DESIGN TOKENS — mirror /design-system/colors_and_type.css 1:1
   --c-*  : internal alias kept for legacy use inside this prototype.
   --rk-* : canonical names — same value, same source.
   ========================================================================= */
:root {
  /* Color: neutrals */
  --rk-white:#ffffff;
  --rk-cream:#f0ede7;
  --rk-ink:#1a1a18;
  --rk-ink-soft:#636362;
  --rk-mid:#666666;
  --rk-line:#c4c4c4;
  --rk-line-soft:#d8d8d8;
  /* Color: brand accent */
  --rk-taupe:#a2631c;
  --rk-taupe-deep:#885318;
  /* Internal aliases — keep existing component class refs valid */
  --c-white:var(--rk-white);
  --c-cream:var(--rk-cream);
  --c-ink:var(--rk-ink);
  --c-ink-soft:var(--rk-ink-soft);
  --c-gray:var(--rk-mid);
  --c-line:var(--rk-line);
  --c-bronze:var(--rk-taupe);
  --c-bronze-soft:#b98a55;
  /* Type */
  --font-sans:"Museo Sans","Helvetica Neue",Arial,sans-serif;
  --ff:var(--font-sans);
  /* Spacing — DS scale (named, no magic px) */
  --space-none:0;
  --space-xxs:10px;
  --space-xs:15px;
  --space-sm:25px;
  --space-md:50px;
  --space-lg:75px;
  --space-xl:100px;
  --space-xxl:150px;
  --space-xxxl:200px;
  --space-rand:324px;
  /* ---------- Fluid layout tokens (responsive) ---------- */
  /* Side gutter: Figma uses 324 on 1920 canvas. Scales down by breakpoint. */
  --pad-x: 20px;
  /* mobile base; min-width queries step up to clamp() */
  --content-w: min(1272px, calc(100vw - 2 * var(--pad-x)));
  /* Section padding top/bottom — mirrors --space-xxl so everything that
     matches section padding (header, c_cta, c_process_steps, quote_slab_slider,
     c_text_images) scales in sync. */
  --sec-pad: var(--space-xxl);
  /* Hero height — Figma 1080, scales down */
  --hero-h: auto;
  /* mobile base; restored at min-width:768 */
  /* ---------- Fluid type ---------- */
  /* Display: Figma 100 → mobile 44 */
  --fs-display:  clamp(44px, 6.4vw, 100px);
  --fs-h1:       clamp(34px, 3.6vw, 50px);
  --fs-h2:       clamp(26px, 2.5vw, 35px);
  --fs-h3:       clamp(24px, 1.9vw, 35px);
  --fs-body:     clamp(16px, 1.05vw, 18px);
  --fs-body-sm:  13px;
  --fs-overline: 12px;
  --fs-numeral:  clamp(36px, 3.6vw, 50px);
  --lh-body:1.55;
  /* Motion */
  --ease-soft:cubic-bezier(0.4,0,0.2,1);
  --dur-base:220ms;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff);
  background: var(--rk-white);
  color: var(--rk-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-weight: 300;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
/* Mobile-first :root token overrides. Base values (mobile) are in the
   :root block above; each min-width tier overrides for larger viewports. */
@media (min-width: 480px) {
  :root {
    --pad-x: 32px;
  }
}
@media (min-width: 768px) {
  :root {
    --pad-x: 50px;
    --hero-h: clamp(560px, 70vh, 1080px);
    /* restore fluid hero height */
    --header-small-height: 78px;
  }
}
@media (min-width: 1024px) {
  :root {
    --pad-x: 80px;
    --header-small-height: 100px;
  }
}
@media (min-width: 1248px) {
  :root {
    --pad-x: 140px;
    --header-small-height: 100px;
  }
}
@media (min-width: 1440px) {
  :root {
    --pad-x: clamp(20px, 6.5vw, 324px);
    /* fluid side gutter on wide desktop */
    --header-small-height: 100px;
  }
}
@font-face {
  font-family: "icomoon";
  src: url("/themes/custom/assets/icons/icomoon.eot?bz90qe11");
  src: url("/themes/custom/assets/icons/icomoon.eot?bz90qe11#iefix") format("embedded-opentype"), url("/themes/custom/assets/icons/icomoon.woff2?bz90qe11") format("woff2"), url("/themes/custom/assets/icons/icomoon.ttf?bz90qe11") format("truetype"), url("/themes/custom/assets/icons/icomoon.woff?bz90qe11") format("woff"), url("/themes/custom/assets/icons/icomoon.svg?bz90qe11#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/* ─── rk-icons font (replaces icomoon glyph-by-glyph as new SVGs come in) */
@font-face {
  font-family: "rk-icons";
  src: url("/themes/custom/assets/icons/rk-icons.woff2") format("woff2"), url("/themes/custom/assets/icons/rk-icons.woff") format("woff"), url("/themes/custom/assets/icons/rk-icons.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"], [class*=" icon-"] {
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  --icon-close: "";
  --icon-upload: "";
}
.icon-x:before {
  content: "";
}
.icon-xing:before {
  content: "";
}
.icon-copy-link:before {
  content: "";
}
.icon-apply:before {
  content: "";
}
.icon-close:before {
  content: "";
}
.icon-download:before {
  content: "";
}
.icon-linkedin:before {
  content: "";
}
.icon-play:before {
  content: "";
}
.icon-share:before {
  content: "";
}
.icon-tiktok:before {
  content: "";
}
.icon-youtube:before {
  content: "";
}
.icon-upload:before {
  content: "";
}
.icon-check:before {
  content: "";
}
.icon-arrow-up:before {
  content: "";
}
.icon-arrow-right:before {
  content: "";
}
.icon-arrow-left:before {
  content: "";
}
.icon-arrow-down:before {
  content: "";
}
.icon-angle-up:before {
  content: "";
}
.icon-angle-right:before {
  content: "";
}
.icon-angle-left:before {
  content: "";
}
.icon-angle-down:before {
  content: "";
}
.icon-instagram:before {
  content: "";
}
.icon-facebook:before {
  content: "";
}
/* ─── rk-icons overrides ───────────────────────────────────────────────
   Glyphs migrated from icomoon to the new rk-icons font. As more SVGs are
   added to rk-icons, append the class here and remove the icomoon entry
   above. Codepoints come from dist/rk-icons.scss in the iconfont build. */
.icon-arrow-right, .icon-arrow-left, .icon-download, .icon-facebook, .icon-instagram {
  font-family: "rk-icons" !important;
}
.icon-arrow-right:before {
  content: "";
}
.icon-arrow-left:before {
  content: "";
}
.icon-download:before {
  content: "";
}
.icon-facebook:before {
  content: "";
}
.icon-instagram:before {
  content: "";
}
/* =========================================================================
 * Halbmayr — webfonts.
 * Files live in assets/fonts/ (woff2 + woff). Both weights register under
 * the same "Museo Sans" family so font-weight: 300 | 700 selects between
 * them per __variables.scss (--font-family-default / --font-family-headline).
 * ========================================================================= */
@font-face {
  font-family: "Museo Sans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/themes/custom/assets/fonts/MuseoSans_300-webfont.woff2") format("woff2"), url("/themes/custom/assets/fonts/MuseoSans_300-webfont.woff") format("woff");
}
@font-face {
  font-family: "Museo Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/themes/custom/assets/fonts/MuseoSans_700-webfont.woff2") format("woff2"), url("/themes/custom/assets/fonts/MuseoSans_700-webfont.woff") format("woff");
}
*, *::after, *::before {
  box-sizing: border-box;
}
::-moz-selection {
  background: var(--color-grey);
  color: var(--color-white);
  -webkit-text-fill-color: var(--color-white);
}
::selection {
  background: var(--color-grey);
  color: var(--color-white);
  -webkit-text-fill-color: var(--color-white);
}
.clearfix:after {
  display: none;
}
.visually-hidden {
  display: none;
}
html.menu-open, html.noscrolling {
  overflow: hidden;
}
html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  padding: 0 !important;
  margin: 0 !important;
  font-size: var(--fs-body);
  /* mobile-first base */
  font-family: var(--font-family-default) !important;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 400;
  color: var(--color-default);
  text-align: left;
  position: relative;
  background: var(--color-white);
  opacity: 1;
}
.section {
  position: relative;
  /* Halbmayr: legacy horizontal margins removed — design's .section uses
       padding (var(--sec-pad) var(--pad-x)) for the full-width pattern. */
}
.section.space-y-xs {
  padding: var(--space-xs) 0;
}
.section.space-y-t-xs {
  padding-top: var(--space-xs);
}
.section.space-y-b-xs {
  padding-bottom: var(--space-xs);
}
.section.space-y-sm {
  padding: var(--space-sm) 0;
}
.section.space-y-t-sm {
  padding-top: var(--space-sm);
}
.section.space-y-b-sm {
  padding-bottom: var(--space-sm);
}
.section.space-y-md {
  padding: var(--space-md) 0;
}
.section.space-y-t-md {
  padding-top: var(--space-md);
}
.section.space-y-b-md {
  padding-bottom: var(--space-md);
}
.section.space-y-lg {
  padding: var(--space-lg) 0;
}
.section.space-y-t-lg {
  padding-top: var(--space-lg);
}
.section.space-y-b-lg {
  padding-bottom: var(--space-lg);
}
.section.space-y-xl {
  padding: var(--space-xl) 0;
}
.section.space-y-t-xl {
  padding-top: var(--space-xl);
}
.section.space-y-b-xl {
  padding-bottom: var(--space-xl);
}
.section.space-y-xxl {
  padding: var(--space-xxl) 0;
}
.section.space-y-t-xxl {
  padding-top: var(--space-xxl);
}
.section.space-y-b-xxl {
  padding-bottom: var(--space-xxl);
}
.section.space-y-xxxl {
  padding: var(--space-xxxl) 0;
}
.section.space-y-t-xxxl {
  padding-top: var(--space-xxxl);
}
.section.space-y-b-xxxl {
  padding-bottom: var(--space-xxxl);
}
#main > .section {
  padding: var(--space-intro-top) 0 var(--space-xl);
}
b, strong {
  font-weight: 700;
}
/* main element reset — flush, no inherited padding/margin. */
main {
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 400;
  display: block;
}
/* Halbmayr heading rules — Museo Sans, ink colour, no margin, design tokens */
.h1, .h2, .h3 {
  font-family: var(--font-family-headline);
  color: var(--color-primary);
  font-weight: 700;
  line-height: var(--line-height-h1);
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
.h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  letter-spacing: -0.01em;
}
.h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}
.h3 {
  font-size: var(--fs-body);
  line-height: 27px;
  letter-spacing: 0.2em;
  text-transform: none;
  color: var(--color-default);
}
.h4 {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  text-transform: none;
}
.text, .body {
  max-width: unset;
}
.text h2, .body h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  margin-bottom: var(--space-md);
  font-family: var(--font-family-headline);
  font-weight: 600;
}
.text h3, .body h3 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  margin-bottom: var(--space-md);
  font-family: var(--font-family-headline);
  font-weight: 600;
}
.text h4, .body h4 {
  margin-bottom: var(--space-md);
  color: var(--color-default);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 600;
  color: var(--color-secondary);
}
.text h5, .body h5 {
  font-family: var(--font-family-default);
  font-weight: 600;
  margin-bottom: 20px;
}
.text h6, .body h6 {
  margin-bottom: 30px;
}
.text p + h2, .body p + h2 {
  margin-top: 40px;
}
.text p + h3, .body p + h3 {
  margin-top: 40px;
}
.text p + h4, .body p + h4 {
  margin-top: 40px;
}
.text a, .body a {
  word-break: break-all;
  font-weight: 600;
  color: var(--color-primary);
}
.text a.internal-link, .body a.internal-link {
  font-weight: inherit;
  color: inherit !important;
}
@media (hover: hover) {
  .text a:hover, .body a:hover {
    color: var(--color-secondary) !important;
  }
  .text a.internal-link:hover, .body a.internal-link:hover {
    color: var(--color-secondary) !important;
  }
}
.color-grey {
  color: var(--color-grey);
}
.color-primary {
  color: var(--color-primary);
}
.color-secondary {
  color: var(--color-secondary);
}
.color-white {
  color: var(--color-white);
}
p {
  margin: 0 0 30px 0;
}
p:last-child {
  margin-bottom: 0;
}
hr {
  border: 0;
  height: 1px;
  background: var(--color-line);
  margin: 30px 0;
}
.text *:last-child {
  margin-bottom: 0;
}
span.small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}
article ul, .ui-dialog ul {
  margin: 0 0 30px;
  padding: 0;
}
article ul li, .ui-dialog ul li {
  list-style: none;
  padding: 0 0 15px 25px;
  position: relative;
}
article ul li:last-child, .ui-dialog ul li:last-child {
  padding-bottom: 0 !important;
}
article ul li > *:last-child, .ui-dialog ul li > *:last-child {
  margin-bottom: 0 !important;
}
article ul li:before, .ui-dialog ul li:before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0px;
  z-index: 19;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-default);
}
/*
article ul.checkmarks li,
.ui-dialog ul.checkmarks li {
    list-style: none;
    padding: 0 0 15px 35px;
    position: relative;
}

article ul.checkmarks li:before,
.ui-dialog ul.checkmarks li:before {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e902";
    color: var(--color-secondary);
    display: block;
    font-size: 22px;
    position: absolute;
    top: 5px;
    left: 0;
    z-index: 19;
    width: auto;
    height: auto;
    background: none;
}

article ul.checkmarks li:after,
.ui-dialog ul.checkmarks li:after {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e907";
    color: var(--color-primary);
    display: block;
    font-size: var(--fs-body);
    position: absolute;
    top: 4px;
    left: 6px;
    z-index: 19;
    width: auto;
    height: auto;
    background: none;
}
*/
/*
article ol,
.ui-dialog ol {
    margin: 0 0 30px;
    padding: 0;
    counter-reset: css-counter;
}

article ol li,
.ui-dialog ol li {
    list-style: none;
    padding: 0 0 15px 25px;
    position: relative;
    counter-increment: css-counter;
}

article ol li:last-child,
.ui-dialog ol li:last-child {
    padding-bottom: 0 !important;
}

article ol li>*:last-child,
.ui-dialog ol li>*:last-child {
    margin-bottom: 0 !important;
}

article ol li::before,
.ui-dialog ol li::before {
    content: counter(css-counter)+'.';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-grey);
    font-weight: 700;
}
*/
/*
table {
    margin: 0 0 30px 0;
    border-collapse: collapse;
    width: 100%;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;

    tr {
        th {
            border: 1px solid var(--color-line);
            background: var(--color-line);
            vertical-align: top;
            padding: 5px 10px;
        }

        td {
            border: 1px solid var(--color-line);
            vertical-align: top;
            padding: 5px 10px;
        }
    }
}
*/
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  object-fit: cover;
}
img.resizetoparent {
  object-fit: cover;
}
img.lazyload {
  opacity: 0;
}
img.lazyload.lazyloaded, img.lazyload.swiper-lazy-loaded {
  opacity: 1;
}
picture {
  display: block;
  position: relative;
}
/* --------------- Links & Buttons --------------- */
a, a:link, a:visited {
  /* Halbmayr: removed `display: inline;` and `background-color: transparent;`
       — both are CSS defaults and they were stripping the white background +
       flex layout from anchor-based cards (.svc-card, .proj-card, .ins-card).
       Color + transition + tap-highlight kept; component classes own layout. */
  color: var(--color-default);
  text-decoration: none;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@media (hover: hover) {
  a:hover, a:link:hover, a:visited:hover {
    color: var(--color-primary);
  }
}
.body a {
  text-decoration: underline;
}
/* ---------------- Preview  ----------------- */
.node-preview-container {
  position: fixed;
  top: 0;
  z-index: 9999999;
  padding: 0;
}
.node-preview-container form a.node-preview-backlink {
  position: fixed;
  top: -1px;
  z-index: 9999999;
  right: 35px;
  left: auto;
}
.node-preview-container form .form-item-view-mode, .node-preview-container form .form-submit {
  display: none !important;
}
/* ---------------- Messages  ----------------- */
.messages__wrapper {
  padding: 0;
  margin: 0 0 50px 0;
  z-index: 99;
}
.messages__wrapper .messages {
  margin: 0 0 50px;
  padding: 20px 30px;
  text-align: left;
  position: relative;
  background: none;
  border: 1px solid var(--color-green);
  border-radius: 3px;
  color: var(--color-green);
}
.messages__wrapper .messages.warning {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}
.messages__wrapper .messages.error {
  border-color: var(--color-red);
  color: var(--color-red);
}
.messages__wrapper .messages p {
  margin: 0;
}
.messages__wrapper .messages a {
  text-decoration: underline;
}
.messages__wrapper .messages a.link {
  text-decoration: none;
}
.messages__wrapper .messages ul {
  margin: 0 !important;
  padding: 0 !important;
}
.messages__wrapper .messages ul li {
  padding: 5px 0 5px 20px !important;
  list-style: none;
  position: relative;
}
.messages__wrapper .messages ul li:before {
  content: "-";
  line-height: inherit;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  position: absolute;
  top: 0;
  left: 0;
}
/* --------------- Dump --------------- */
pre.sf-dump {
  margin: 5px;
}
body + pre.sf-dump {
  margin-top: 30px;
}
/* --------------- Navigation --------------- */
aside.top-bar {
  display: none !important;
}
.admin-toolbar-control-bar, #admin-toolbar {
  display: none !important;
}
/* ---------------- Edit actions  ----------------- */
.node-edit-actions {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: var(--admin-toolbar-z-index);
  width: auto !important;
}
.node-edit-actions a {
  font-weight: 700 !important;
}
form.node-preview-form-select {
  display: none !important;
}
/* --------------- Contextual links --------------- */
.contextual {
  display: none !important;
}
/* --------------- Loader --------------- */
.ajax-progress, .ui-dialog .ajax-progress-throbber {
  background: none;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 999999;
  text-indent: -999999px;
  opacity: 1 !important;
}
.ajax-progress:before {
  content: "";
  background: var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}
.ajax-progress:after {
  content: "";
  background: url("/themes/custom//themes/custom/assets/images/ajax-loader.svg") center center no-repeat transparent;
  height: 100px;
  width: 100px;
  border-radius: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -50px;
  z-index: 2;
  padding: 0 !important;
  opacity: 1 !important;
}
.ajax-progress .message, .ajax-progress .throbber {
  display: none !important;
}
/* --------------- Moremedia Logo --------------- */
a.moremedia {
  width: 5px;
  height: 50px;
  padding: 6px;
  position: fixed;
  right: 2px;
  bottom: 2px;
  z-index: 9999;
  opacity: 0.5;
  box-sizing: content-box !important;
  mix-blend-mode: difference;
}
@media (hover: hover) {
  a.moremedia:hover {
    opacity: 1;
  }
}
body.loaded a.moremedia {
  display: block !important;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: TYPE
   --------------------------------------------------------------------- */
/* =========================================================================
   TYPE
   ========================================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-overline);
  line-height: 14px;
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  flex: 0 0 auto;
}
.eyebrow.dark {
  color: var(--rk-taupe);
}
/* heading rules now live in style.scss — context-scoped overrides remain below */
.body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 300;
  color: var(--rk-mid);
}
.body-sm {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  font-weight: 300;
  color: var(--rk-mid);
}
.numeral {
  font-size: var(--fs-numeral);
  line-height: 1;
  font-weight: 700;
  color: var(--rk-taupe);
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
  body {
    font-size: var(--fs-body);
    /* tablet/desktop default */
  }
}
/* Site header — merged from the legacy #header rules so there is one
   single coherent surface. The element renders as <header id="header"
   class="site-header" …>, so all properties live on the .site-header
   selector. */
.site-header .header-small-sizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: var(--header-small-height);
  opacity: 0;
}
#menu-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  z-index: 1019;
  cursor: pointer;
  text-align: center;
  border-radius: 50%;
  background-color: var(--color-default);
  transition: background-color 0.3s ease;
}
#menu-icon .line {
  background-color: #ffffff;
  height: 1px;
  width: 18px;
  position: absolute;
  top: calc(50% - 5px);
  border-radius: 2px;
  left: 6px;
  transition: color 0.3s ease, opacity 0s, transform 0.3s ease;
}
#menu-icon .line.second {
  top: calc(50% - 0px);
}
#menu-icon .line.third {
  top: calc(50% + 5px);
}
#menu-icon.is-active {
  background-color: #ffffff;
}
#menu-icon.is-active .line {
  top: 50%;
  transform: rotate(45deg);
  background-color: var(--color-default);
}
#menu-icon.is-active .line.third {
  transform: rotate(-45deg);
}
#menu-icon.is-active .line.second {
  opacity: 0;
}
#navigation {
  position: fixed;
  left: 100%;
  top: 0;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease;
  z-index: 999;
  background-color: var(--color-default);
}
#navigation .table {
  height: 100%;
  width: 100%;
  overflow-y: scroll;
}
#navigation .table .table-cell {
  min-height: 100%;
  width: 100%;
  padding: var(--space-xl) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (hover: hover) {
  #navigation .table .table-cell > .menu ul li a:hover {
    color: var(--color-secondary);
  }
}
/* html.menu-open #header > .section #navigation block removed — the menu overlay is its own DOM element now (.menu-overlay), not nested inside #header. */
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase C) -----------------


/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: HEADER
   --------------------------------------------------------------------- */
/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 399;
  padding: 14px var(--pad-x);
  transition: box-shadow 0.5s ease, background 0.5s ease, padding 0.5s ease;
  /* mobile-first base — fixed at 14, responsive kicks in at 1024+ */
}
.site-header > .header-inner {
  max-width: 1272px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}
.site-header.solid {
  position: sticky;
  top: 0;
  background: var(--rk-ink);
  color: #fff;
  padding: 14px var(--pad-x);
  /* mobile-first base — same fixed 14 as .site-header */
}
.site-header.solid .logo, .site-header.solid .menu-btn {
  color: #fff;
}
.site-header .logo {
  display: block;
  width: 140px;
  height: auto;
  /* mobile-first base */
  color: #fff;
  flex: 0 0 auto;
}
.site-header .logo a {
  display: block;
  width: 100%;
  height: auto;
}
.site-header .logo img, .site-header .logo svg {
  width: 100%;
  height: auto;
  max-width: 306px;
  max-height: 75px;
  display: block;
  aspect-ratio: 7.3684210526;
  flex-shrink: 0;
  min-width: 0;
  overflow: visible;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: MENU OVERLAY — 3 columns on desktop, 1 column on mobile
   --------------------------------------------------------------------- */
/* =========================================================================
   MENU OVERLAY — 3 columns on desktop, 1 column on mobile
   ========================================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--rk-cream);
  display: grid;
  grid-template-columns: 1fr;
  pointer-events: none;
  /* mobile-first base */
  opacity: 0;
  transition: opacity 0.35s ease;
  overflow-y: auto;
}
/* Sub-menu column (cream, hairline rows) */
.menu-overlay .col-sub {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.menu-overlay .sub-item {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-lg);
  font-size: var(--fs-body-sm);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rk-ink);
  border-bottom: 1px solid var(--rk-line);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s ease;
}
.menu-overlay .sub-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), var(--sub-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu-overlay .sub-item > * {
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .menu-overlay .sub-item:hover {
    color: #fff;
  }
  .menu-overlay .sub-item:hover span {
    color: #fff;
  }
  .menu-overlay .sub-item:hover svg {
    color: #fff;
  }
  .menu-overlay .sub-item:hover svg path {
    stroke: #fff;
  }
  .menu-overlay .sub-item:hover::before {
    opacity: 1;
  }
}
/* First sub-item ("Zur Übersicht") — solid dark hover, no image */
.menu-overlay .sub-item:first-child::before {
  background-image: none;
  background-color: var(--rk-ink);
}
.menu-overlay .sub-item:last-child {
  border-bottom: 0;
}
/* Dim non-hovered nav items when sub-menu is open */
.menu-overlay .nav-item.dimmed {
  color: var(--rk-line);
}
.menu-overlay .nav-item.sub-open {
  color: var(--rk-ink);
}
.menu-overlay .sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55em;
  height: 0.55em;
  line-height: 1;
  /* scales with nav-item font-size */
  color: inherit;
  /* follow nav-item color in every state */
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.menu-overlay .col-nav {
  padding: var(--sec-pad) var(--pad-x);
  display: flex;
  /* matches section padding */
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  border-right: 1px solid var(--rk-line);
}
.menu-overlay .nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-overlay .nav-item {
  font-size: clamp(26px, 5vw, 50px);
  line-height: 1.2;
  /* mobile-first base, capped at 50 */
  font-weight: 700;
  color: var(--rk-line);
  padding: 4px 0;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu-overlay .nav-item .num {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
  width: 30px;
}
@media (hover: hover) {
  .menu-overlay .nav-item:hover {
    color: var(--rk-ink);
  }
}
.menu-overlay .nav-item.active {
  color: var(--rk-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (hover: hover) {
  .menu-overlay .nav-item.disabled:hover {
    color: var(--rk-line);
  }
}
.menu-overlay .nav-item.disabled {
  color: var(--rk-line);
  cursor: default;
}
.menu-overlay .cta-row {
  margin-top: 0;
}
.menu-overlay .col-image {
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url("/themes/custom/assets/img/wohnzimmer.jpg");
  min-height: 280px;
}
.menu-overlay .col-contact {
  background: var(--rk-ink);
  color: #fff;
  padding: var(--sec-pad) var(--pad-x);
  display: flex;
  /* matches section padding */
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}
.menu-overlay .contact-image {
  width: 100%;
  aspect-ratio: 1.3333333333;
  background-position: center;
  background-size: cover;
}
.menu-overlay .col-contact .eyebrow {
  color: var(--rk-taupe);
}
.menu-overlay .col-contact .eyebrow + .addr {
  margin-top: calc(var(--space-sm) - var(--space-md));
}
@media (min-width: 1024px) {
  .menu-overlay .col-contact .eyebrow + .addr {
    margin-top: 0;
  }
}
.menu-overlay .col-contact .addr {
  font-size: var(--fs-body);
  line-height: 27px;
  font-weight: 300;
  max-width: 260px;
}
.menu-overlay .col-contact a {
  text-decoration: underline;
  font-size: var(--fs-body);
  line-height: 27px;
  font-weight: 300;
}
.menu-overlay .col-contact .hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-overlay .col-contact .hours .line {
  display: flex;
  gap: 30px;
  font-size: var(--fs-body);
  line-height: 27px;
}
.menu-overlay .col-contact .hours .day {
  width: 80px;
}
.menu-overlay .col-contact .socials {
  display: flex;
  gap: 10px;
}
.menu-overlay .col-contact .social {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--rk-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .menu-overlay .col-contact .social:hover {
    background: var(--rk-taupe);
    border-color: var(--rk-taupe);
  }
}
.menu-overlay .col-contact .social svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* --- Restored from _halbmayr.scss (Pass 1 / Phase C re-restore) -------
   Block: Body page-node-type-* header dark
   --------------------------------------------------------------------- */
/* Projects + Insights overview — no dark hero behind the header, so force
   the .small state (ink background + tight padding) from page load so the
   white logo + menu bars stay readable on the cream content. */
body.page-node-type-entdecken .site-header, body.page-node-type-insights .site-header, body.page-node-type-downloads .site-header, body.page-node-type-page .site-header, body.page-node-type-anfragen .site-header, body:not([class*="page-node-type"]) .site-header {
  background-color: var(--rk-ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
/* Above 1248: tighten header padding on the 5 dark-header bundles —
   insights, entdecken, page, anfragen, downloads — to brand --space-sm. */
@media (min-width: 1024px) {
  body.page-node-type-insights .site-header, body.page-node-type-entdecken .site-header, body.page-node-type-page .site-header, body.page-node-type-anfragen .site-header, body.page-node-type-downloads .site-header {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
/* ── Mobile-first min-width tiers ─────────────────────────────────────
   Base values above target ≤480 viewport. These media queries layer the
   tablet/desktop versions back on as the viewport grows. */
@media (min-width: 480px) {
  /* small tablet+ */
  .site-header .logo {
    width: 160px;
  }
}
@media (min-width: 768px) {
  /* tablet+ — header padding STAYS at the mobile 14px until ≥1024;
     only the logo + menu-btn label scale here. */
  /* .menu-btn .bars sized via canonical .site-header .menu-btn .bars (46×32, in addons) */
  /* .col-nav and .col-contact padding is fluid via var(--sec-pad) var(--pad-x);
     no breakpoint override needed. .close button removed from template. */
  .site-header .logo {
    width: clamp(180px, 22vw, 364px);
  }
  .menu-btn span:not(.bars) {
    display: inline-flex;
  }
  .menu-overlay {
    grid-template-columns: 1fr 360px;
  }
}
@media (min-width: 1024px) {
  /* large tablet / small desktop */
  .menu-overlay .col-image {
    display: block;
  }
  .menu-overlay {
    grid-template-columns: 1fr 480px;
  }
}
@media (min-width: 1280px) {
  /* desktop+ */
  .menu-overlay {
    grid-template-columns: 1fr 564px;
  }
}
/* ─── Migrated from _halbmayr_addons.scss — Pass 1 / Phase F cleanup ─── */
/* =========================================================================
 * Halbmayr: fixed header with scroll-driven `.small` state.
 *   - .site-header is fixed so it follows on scroll
 *   - logo word-mark + menu icon bars are white by default (designed to sit
 *     over the dark hero)
 *   - JS in halbmayr.js adds `.small` when window.scrollY > 80; that flips
 *     on a near-black background and tightens vertical padding
 * ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  /* Mobile-first base: use the small 14px vertical padding so the header
     stays compact through mobile + tablet. min-width:1248 below restores
     the generous desktop padding. */
  padding: 14px var(--pad-x);
  transition: background-color 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  background-color: transparent;
}
@media (min-width: 1248px) {
  /* desktop — restore generous vertical padding. .small still overrides
     to 14px below, so the scroll-driven tighten effect remains. */
  .site-header {
    padding: var(--space-md) var(--pad-x);
  }
}
/* Logo + menu icon — white over the transparent header (and stay white
 * once the small / scrolled background kicks in). */
.site-header .logo {
  color: #fff;
}
.site-header .logo svg {
  fill: currentColor;
}
.site-header .menu-btn {
  color: #fff;
  background: transparent;
}
.site-header .menu-btn .bars span {
  background: currentColor;
}
/* `.small` state — bg + shadow apply at every viewport; only the
   padding tightening is scoped to >=1024 (mobile keeps the fixed 14px). */
.site-header.small {
  background-color: var(--rk-ink);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
@media (min-width: 1024px) {
  .site-header.small {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
}
/* =========================================================================
 * Halbmayr: menu overlay (prototype-accurate).
 * - Grid: nav column flex + contact column fixed 564px (collapses on narrow).
 * - Overlay body has NO padding so the dark .col-contact bleeds to the edge.
 * - No divider border between columns.
 * ========================================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--rk-cream);
  display: grid;
  grid-template-columns: 1fr;
  /* mobile-first base */
  gap: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.35s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  /* desktop+ — split into cream nav + dark contact columns.
     Outer paddings of each column stay at var(--pad-x) (matching section
     padding) so the column edges align with the page rhythm; inner
     paddings (where the columns touch) shrink to var(--space-md). */
  .menu-overlay {
    grid-template-columns: 1fr 400px;
  }
  .menu-overlay .col-nav {
    padding-right: var(--space-md);
  }
  .menu-overlay .col-contact {
    padding-left: var(--space-md);
  }
}
@media (min-width: 1440px) {
  /* wide desktop — desktop design has the dark column at a fixed
     640px wide on a 1920 viewport (cream takes the rest). */
  .menu-overlay {
    grid-template-columns: 1fr 640px;
  }
}
.menu-overlay .close {
  display: none;
  /* mobile: header .menu-btn handles closing */
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  /* sits over the dark col-contact */
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 320;
  /* above col-nav/col-contact content */
  padding: 0;
}
@media (min-width: 1024px) {
  /* When overlay is open, the header menu-btn yields to the overlay
     close button to avoid two close icons stacking. */
  .menu-overlay .close {
    display: inline-flex;
  }
  html.menu-open .site-header .menu-btn {
    display: none;
  }
}
@media (hover: hover) {
  .menu-overlay .close:hover {
    background: #fff;
    color: var(--rk-ink);
    border-color: #fff;
  }
}
.menu-overlay .col-nav {
  padding: var(--sec-pad) var(--pad-x);
  /* matches section padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}
.menu-overlay .nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* nav-item — clamp font, line color default, ink hover, underline on active. */
.menu-overlay .nav-item {
  font-size: clamp(26px, 5vw, 50px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--rk-line);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .menu-overlay .nav-item:hover {
    color: var(--rk-ink);
  }
}
.menu-overlay .nav-item.active {
  color: var(--rk-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* sub-toggle (+) — pure CSS plus/minus.
   Two pseudo bars positioned dead-centre. ::before stays horizontal,
   ::after sits vertical via rotate(90deg) and rotates back to 0 on
   .expanded — the vertical bar swings flat into the horizontal one, so
   the visible glyph morphs from + into −. The transition is on the
   pseudo elements' transform, so the bar visibly rotates rather than
   snapping. will-change hints the compositor. */
.menu-overlay .sub-toggle {
  position: relative;
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  /* scales with nav-item font-size */
  color: inherit;
  /* follow nav-item color in every state */
  flex-shrink: 0;
  pointer-events: none;
}
.menu-overlay .sub-toggle::before, .menu-overlay .sub-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5em;
  height: 0.1em;
  /* bolder bars that scale */
  background: currentColor;
  transform-origin: center;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-overlay .sub-toggle::before {
  transform: translate(-50%, -50%) rotate(0deg);
}
.menu-overlay .sub-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.menu-overlay .nav-item.has-sub.expanded .sub-toggle::after {
  transform: translate(-50%, -50%) rotate(180deg);
}
.menu-overlay .nav-item.expanded {
  color: var(--rk-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.menu-overlay .col-contact {
  background: var(--rk-ink);
  color: #fff;
  padding: var(--sec-pad) var(--pad-x);
  /* matches section padding */
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}
.menu-overlay .contact-image {
  width: 100%;
  aspect-ratio: 1.3333333333;
  background-position: center;
  background-size: cover;
}
.menu-overlay .col-contact a {
  color: #fff;
  text-decoration: none;
}
/* Phone + mail anchors — underline so they read as actionable links. */
.menu-overlay .col-contact a[href^="tel:"], .menu-overlay .col-contact a[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .menu-overlay .col-contact a:hover {
    color: var(--rk-taupe);
  }
}
.menu-overlay .col-contact .hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--rk-line);
}
.menu-overlay .col-contact .hours .line {
  display: flex;
  gap: var(--space-md);
}
.menu-overlay .col-contact .hours .day {
  min-width: 70px;
  color: #fff;
}
.menu-overlay .col-contact .socials {
  display: flex;
  gap: var(--space-sm);
}
.menu-overlay .col-contact .social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) {
  .menu-overlay .col-contact .social:hover {
    background: #fff;
    color: var(--rk-ink);
  }
}
.menu-overlay .col-contact .social svg {
  width: 14px;
  height: 14px;
}
/* @media (max-width:900) — removed; mobile-first base now stacks the columns. */
/* (menu .bars rules consolidated into the canonical block below) */
/* Open state */
body.menu-open .site-header {
  background-color: transparent;
}
body.menu-open .site-header .menu-btn {
  color: #fff;
  border-color: #fff;
}
body.menu-open .site-header .logo {
  color: var(--rk-ink);
}
body.menu-open .site-header .menu-btn .bars {
  width: 22px;
  height: 22px;
  justify-content: center;
  align-items: center;
}
body.menu-open .site-header .menu-btn .bars span {
  width: 22px;
  height: 1.5px;
  position: absolute;
  top: 50%;
  left: 50%;
}
body.menu-open .site-header .menu-btn .bars span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
body.menu-open .site-header .menu-btn .bars span:nth-child(2) {
  width: 22px;
  transform: translate(-50%, -50%) rotate(-45deg);
}
body.menu-open .site-header .menu-btn .bars span:nth-child(3) {
  /* X morph uses only spans 1+2; hide the third bar in open state. */
  opacity: 0;
}
/* =========================================================================
 * Halbmayr: menu-btn — closed state matches prototype (38×24 bars,
 * second bar 30px shifted right). Open state morphs into a 50px white-
 * bordered circle with a centered X.
 * ========================================================================= */
.site-header .menu-btn {
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.site-header .menu-btn .bars {
  /* Mobile-first base — small 32×24 icon. min-width:768 below scales it
     back to the canonical 46×32 (menu.svg measurements). */
  position: relative;
  width: 32px;
  height: 24px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
}
.site-header .menu-btn .bars span {
  display: block;
  height: 3px;
  background: currentColor;
  border-radius: 50px;
  transform-origin: center;
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease, top 0.25s ease, left 0.25s ease;
}
.site-header .menu-btn .bars span:nth-child(1) {
  width: 24px;
}
.site-header .menu-btn .bars span:nth-child(2) {
  width: 32px;
}
.site-header .menu-btn .bars span:nth-child(3) {
  width: 17.6px;
}
@media (min-width: 768px) {
  /* tablet+ — restore canonical 46×32 from menu.svg */
  .site-header .menu-btn .bars {
    width: 46px;
    height: 32px;
  }
  .site-header .menu-btn .bars span {
    height: 4.5px;
  }
  .site-header .menu-btn .bars span:nth-child(1) {
    width: 34.5px;
  }
  .site-header .menu-btn .bars span:nth-child(2) {
    width: 46px;
  }
  .site-header .menu-btn .bars span:nth-child(3) {
    width: 25.3px;
  }
}
/* Open state — circular X */
body.menu-open .site-header {
  background-color: transparent;
}
body.menu-open .site-header .menu-btn {
  color: #fff;
  border-color: #fff;
}
body.menu-open .site-header .logo {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
/* fade transition so logo eases out instead of popping */
.site-header .logo {
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
body.menu-open .site-header .logo {
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
body.menu-open .site-header .menu-btn .bars {
  width: 22px;
  height: 22px;
  gap: 0;
  align-items: center;
  justify-content: center;
}
body.menu-open .site-header .menu-btn .bars span {
  width: 22px;
  height: 1.5px;
  position: absolute;
  top: 50%;
  left: 50%;
}
body.menu-open .site-header .menu-btn .bars span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
body.menu-open .site-header .menu-btn .bars span:nth-child(2) {
  width: 22px;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* =========================================================================
 * Halbmayr: menu-overlay split contact links — phone + email each on its own
 * line, taupe-on-hover, no underline (matches design's flat type pattern).
 * ========================================================================= */
.menu-overlay .col-contact .ks-phone, .menu-overlay .col-contact .ks-email {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 4px;
}
/* Phone + email form a tight contact pair: cancel the .col-contact
   flex gap above .ks-email and add a small 4px breathing space, so the
   two lines sit visually grouped. .ks-phone no longer needs its own
   margin-top — the flex gap already separates it from the address. */
.menu-overlay .col-contact .ks-email {
  margin-top: calc(4px - var(--space-md));
}
@media (hover: hover) {
  .menu-overlay .col-contact .ks-phone:hover, .menu-overlay .col-contact .ks-email:hover {
    color: var(--rk-taupe);
  }
}
/* =========================================================================
 * Halbmayr: Realisieren submenu — slide-down expand using grid-template-rows
 * 0fr → 1fr (smooth height animation without needing a fixed max-height).
 * The list items are taupe-on-hover, ink-on-active.
 * ========================================================================= */
/* .nav-group wraps the has-sub trigger + its sublist as ONE flex child
   of .nav-list, so the parent gap:6px applies only AROUND the group, not
   between the anchor and the sublist. When collapsed, the sublist truly
   contributes 0 space. */
.menu-overlay .nav-group {
  display: flex;
  flex-direction: column;
}
/* Hard 0px box when closed (max-height + overflow:hidden is bulletproof —
   no row-track quirks, no padding leakage). max-height of 600px on open
   covers any realistic submenu length. */
.menu-overlay .nav-sublist {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0s linear 0.4s;
}
/* sibling combinator (+) already covers the expanded-submenu case;
   :has() variant removed per project policy. */
.menu-overlay .nav-item.expanded + .nav-sublist {
  max-height: 600px;
  visibility: visible;
  opacity: 1;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease 0.05s, visibility 0s linear 0s;
}
.menu-overlay .nav-sublist-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Flush-left with main nav. Padding adds breathing room above AND
     below the sub items when the sublist is open — when collapsed the
     sublist's grid row is 0fr so the padding contributes 0 to layout. */
  padding: var(--space-sm) 0 var(--space-sm) 0;
}
.menu-overlay .nav-subitem {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--rk-mid);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
@media (hover: hover) {
  .menu-overlay .nav-subitem:hover {
    color: var(--rk-ink);
  }
}
.menu-overlay .nav-subitem--overview {
  color: var(--rk-taupe);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
/* =========================================================================
 * Halbmayr: header / overlay z-index relationship + menu-btn hover states.
 *
 * Stacking order:
 *   .menu-overlay        300   (above header so .small box-shadow is covered)
 *   .site-header .menu-btn (when body.menu-open) — own stacking context at 350
 *   .site-header         250
 *
 * Hover effects on .menu-btn:
 *   - Closed state: bars subtly fade to taupe + button gets a soft taupe halo.
 *   - Open state (circular X): white fill, X tints to ink.
 * ========================================================================= */
/* Lift the entire header above the overlay when menu is open. The menu-btn
   sits inside .site-header (z:250 = stacking context), so giving the btn a
   higher z-index can't escape its parent. Raising the header itself does.
   We null out background + shadow so the lifted header is invisible apart
   from the menu-btn (logo is already opacity:0 via body.menu-open rules). */
body.menu-open .site-header {
  z-index: 400;
  /* mobile-first: above .menu-overlay's 300 so .menu-btn X stays clickable */
  background-color: transparent !important;
  box-shadow: none !important;
}
body.menu-open .site-header.small {
  background-color: transparent !important;
  box-shadow: none !important;
}
@media (min-width: 1024px) {
  /* desktop+: overlay-internal close button handles closing, so the
     header drops back below the overlay (its menu-btn is hidden anyway). */
  body.menu-open .site-header {
    z-index: auto;
  }
}
/* Closed-state hover — taupe wash on the bars, very soft. */
.site-header .menu-btn {
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.site-header .menu-btn .bars span {
  transition: background-color 0.25s ease, width 0.2s ease;
}
@media (hover: hover) {
  .site-header:not(.menu-open) .menu-btn:hover .bars span, body:not(.menu-open) .site-header .menu-btn:hover .bars span {
    background-color: var(--rk-taupe);
  }
}
/* Open-state hover — circle fills white, X turns ink. */
@media (hover: hover) {
  body.menu-open .site-header .menu-btn:hover {
    background-color: #fff;
    color: var(--rk-ink);
    border-color: #fff;
  }
}
@media (hover: hover) {
  body.menu-open .site-header .menu-btn:hover .bars span {
    background-color: var(--rk-ink);
  }
}
/* Halbmayr: header logo must NOT respond to hover. Two states to neutralize:
   normal (white) + menu-open (ink). Match the non-hover values explicitly so
   the global a:hover color shift in style.scss has no visible effect. */
.site-header .logo, .site-header .logo:hover, .site-header .logo:focus, .site-header .logo:active {
  color: #fff;
  transition: none;
}
body.menu-open .site-header .logo, body.menu-open .site-header .logo:hover, body.menu-open .site-header .logo:focus, body.menu-open .site-header .logo:active {
  color: var(--rk-ink);
}
/* Non-node pages — give the login / register / password-reset section
   generous top + bottom breathing room. Header is solid ink (see rule
   above) so content needs to clear it; bottom padding balances the
   sparse single-form layout against the footer. */
body:not([class*="page-node-type"]) main#main > .section.slidein {
  padding-top: calc(var(--space-xxl) + var(--header-small-height));
  padding-right: var(--pad-x);
  padding-bottom: var(--space-xxl);
  padding-left: var(--pad-x);
}
/* Pages with the solid ink header from page-load (no over-hero transparent
   state) need to clear the header height with padding-top on the node
   article wrapper. --header-small-height is the matching token. */
body.page-node-type-insights article.node.node--type-insights, body.page-node-type-entdecken article.node.node--type-entdecken, body.page-node-type-downloads article.node.node--type-downloads, body.page-node-type-anfragen article.node.node--type-anfragen, body.page-node-type-page article.node.node--type-page {
  padding-top: var(--header-small-height) !important;
}
/* Full-viewport background blocker inside .menu-overlay. Sits behind every
   nav column at z-index 0 so the page contents can't peek through on iOS
   overscroll / rubber-band scrolling. */
.menu-overlay-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--rk-cream);
  z-index: 0;
  pointer-events: none;
}
/* Lift every direct child of .menu-overlay above the blocker. */
.menu-overlay > .col-nav, .menu-overlay > .col-contact, .menu-overlay > .col-sub {
  position: relative;
  z-index: 1;
}
/* Menu overlay — mobile compaction.
   Sidebar image hidden, col-nav bottom + col-contact top padding reduced
   to --space-lg so the stacked layout doesn't feel airy. Restored to
   --sec-pad at ≥1024 where the columns sit side-by-side. */
.menu-overlay .contact-image {
  display: none;
}
.menu-overlay .col-nav {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}
.menu-overlay .col-contact {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}
@media (min-width: 1024px) {
  .menu-overlay .col-nav {
    padding-top: var(--sec-pad);
    padding-bottom: var(--sec-pad);
  }
  .menu-overlay .col-contact {
    padding-top: var(--sec-pad);
    padding-bottom: var(--sec-pad);
  }
  .menu-overlay .cta-row {
    margin-top: var(--space-md);
  }
}
/* When the menu overlay is open: mobile-first base gives the menu-btn a
   cream background (matches the .col-nav background it sits over);
   above 1024 the right column is dark, so the btn flips to ink. */
body.menu-open .site-header .menu-btn {
  background: var(--rk-cream);
  color: var(--rk-ink);
  border-color: var(--rk-ink);
}
@media (min-width: 1024px) {
  body.menu-open .site-header .menu-btn {
    background: var(--rk-ink);
    color: #fff;
    border-color: #fff;
  }
}
/* Body + html lock while the menu overlay is open. ScrollSmoother is also
   paused via JS so the smooth-scroll engine doesn't keep advancing the
   smooth-content transform underneath. */
html.menu-open, body.menu-open {
  overflow: hidden;
}
/* ──────────────────────────────────────────────────────────────────────
   Realisieren menu cards (desktop right-half of .col-nav).
   The wrapper sits position:absolute inside .col-nav, width:50%, full
   height. col-nav itself gets padding-right:50% so the main nav list
   only occupies the left half. Mobile keeps the existing inline
   .nav-sublist accordion and hides this grid.
   ────────────────────────────────────────────────────────────────────── */
.menu-overlay .realisieren-menu-grid {
  display: none;
}
@media (min-width: 1024px) {
  /* Desktop vertical padding tightens to space-xl on both columns. */
  .menu-overlay .col-nav, .menu-overlay .col-contact {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}
@media (min-width: 1248px) {
  /* Realisieren submenu only kicks in at >=1248 — at 1024 the column
     is too narrow to hold the cards next to the main nav. */
  /* Hide the inline accordion sublist at >=1248 — cards do the job. */
  .menu-overlay .col-nav {
    padding-right: 50%;
  }
  .menu-overlay .realisieren-menu-grid {
    display: flex;
    flex-direction: column;
    /* absolute (nicht fixed) im .col-nav: die Spalte traegt seit Pin 5860
       ein transform fuer die Einfahr-Animation und ist damit Containing
       Block fuer fixed-Kinder — mit fixed schrumpfte das Grid auf die
       halbe Spaltenbreite zusammen. Die rechte Haelfte von .col-nav ist
       ohnehin genau 50% der Spalte, also breakpoint-unabhaengig. */
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow-y: auto;
    z-index: 305;
    border-left: 1px solid var(--rk-line);
    /* Hidden by default — slides in from the right when realisieren is expanded. */
    transform: translateX(100%);
    /* Zusaetzlich opacity 0 im Grundzustand (Pin 5860): das Grid liegt
       ausgefahren rechts NEBEN der Navi-Spalte, also mitten im Overlay.
       Waehrend .col-nav von links hereinfaehrt, wandert es mit und waere
       dabei kurz sichtbar. Erst .with-sub (Klick auf Realisieren)
       blendet es ein. */
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .menu-overlay.with-sub .realisieren-menu-grid {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-overlay .nav-sublist {
    display: none;
  }
}
/* Card — full-width row, hero image as bg, cream overlay + title + arrow
   on top. Hover fades the overlay + text out so the image shows. */
.menu-card {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-height: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--rk-line);
  text-decoration: none;
  overflow: hidden;
}
.menu-card:last-child {
  border-bottom: 0;
}
.menu-card .overlay {
  position: absolute;
  inset: 0;
  background: var(--rk-cream);
  transition: background 0.3s ease;
  z-index: 1;
}
.menu-card .menu-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
  padding: var(--space-md) var(--space-md);
  transition: opacity 0.3s ease;
}
.menu-card .menu-card-ttl {
  font-size: var(--fs-body);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rk-ink);
  transition: color 0.3s ease;
}
.menu-card .icon {
  font-size: 13px;
  color: var(--rk-ink);
  transition: color 0.3s ease;
}
@media (hover: hover) {
  /* On hover the cream overlay fades to a dark veil (same darkening
     pattern as the services grid). Title + arrow stay visible and flip
     to white so they read cleanly against the bg image. */
  .menu-card:hover .overlay {
    background: rgba(0, 0, 0, 0.45);
  }
  .menu-card:hover .menu-card-ttl, .menu-card:hover .icon {
    color: #fff;
  }
}
/* INSTAMONT logo — INSTA turns bronze in the scrolled / forced .small header state.
   Default (transparent header) keeps the whole logo white via `.site-header .logo { color:#fff }`. */
.site-header.small .logo .logo-insta {
  fill: var(--rk-taupe);
}
/* The inlined logo SVG colours itself via currentColor; the wrapping <a> would
   otherwise pick up the global link colour. Inherit so the logo follows
   `.site-header .logo { color }` (white by default, ink while menu open). */
.site-header .logo a {
  color: inherit;
}
/* Pages whose header is dark/.small from page load (no dark hero behind it)
   also need INSTA bronze from the start — mirrors the forced-dark selector list above. */
body.page-node-type-entdecken .site-header .logo .logo-insta, body.page-node-type-insights .site-header .logo .logo-insta, body.page-node-type-downloads .site-header .logo .logo-insta, body.page-node-type-page .site-header .logo .logo-insta, body.page-node-type-anfragen .site-header .logo .logo-insta, body:not([class*="page-node-type"]) .site-header .logo .logo-insta {
  fill: var(--rk-taupe);
}
/* =========================================================================
 * Menue-Overlay — die beiden Hauptspalten fahren herein/heraus.
 * Beim Oeffnen kommt .col-nav von links und .col-contact von rechts, beim
 * Schliessen fahren beide wieder hinaus (Pin 5860). Dauer .35s = identisch
 * zur opacity-Transition des Overlays, damit Slide und Fade zusammen enden.
 * overflow-x:hidden verhindert, dass die ausgefahrenen Spalten das
 * scrollbare Overlay (overflow-y:auto) horizontal aufziehen.
 * Der geschlossene Startzustand steht zusaetzlich im kritischen Inline-CSS
 * (assets/css/critical.css) — gleiche Begruendung wie bei opacity:0 dort.
 * ========================================================================= */
.menu-overlay {
  overflow-x: hidden;
}
.menu-overlay > .col-nav, .menu-overlay > .col-contact {
  transition: transform 0.35s ease;
  will-change: transform;
}
.menu-overlay > .col-nav {
  transform: translateX(-100%);
}
.menu-overlay > .col-contact {
  transform: translateX(100%);
}
.menu-overlay.open > .col-nav, .menu-overlay.open > .col-contact {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .menu-overlay > .col-nav, .menu-overlay > .col-contact {
    transition: none;
    transform: none;
  }
}
#footer {
  z-index: 299;
  position: relative;
}
@media screen and (min-width: 1024px) {
  #footer .section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 100px;
    row-gap: 0;
    grid-template-areas: "contact social" "menu menu";
  }
  #footer .section .c-footer-contact {
    grid-area: contact;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  #footer .section .e-social-media {
    grid-area: social;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    align-self: end;
    justify-self: end;
  }
  #footer .section .u-footer-menu {
    grid-area: menu;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #ccc;
  }
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase C) -----------------


/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: FOOTER
   --------------------------------------------------------------------- */
/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--rk-ink);
  color: #fff;
  padding: var(--space-lg) var(--pad-x) var(--space-xxl);
  /* mobile-first base */
}
.footer .rule {
  height: 1px;
  background: var(--rk-ink-soft);
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
}
.footer .row {
  max-width: 1272px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* mobile-first base */
  gap: var(--space-lg);
  padding-top: var(--space-md);
  /* mobile-first base */
  /* mobile-first base */
}
.footer .brand {
  display: flex;
  flex-direction: column;
  max-width: 420px;
  gap: var(--space-sm);
}
.footer .brand-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer .brand-tagline {
  font-size: var(--fs-body-sm);
  line-height: 27px;
  font-weight: 300;
  color: var(--rk-line);
  margin: 0;
  max-width: 340px;
}
.footer .footer-logo {
  width: 299px;
  max-width: 100%;
  height: auto;
  display: block;
  color: #fff;
  fill: currentColor;
}
.footer .footer-logo a {
  display: block;
  width: 100%;
  height: auto;
}
.footer .footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.footer .footer-logo path {
  fill: currentColor !important;
}
.footer .slogan {
  width: 299px;
  max-width: 100%;
  height: 16px;
}
.footer .cols {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  /* mobile-first base */
  flex: 0 0 auto;
  /* mobile-first base */
}
.footer .col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
  flex: 0 0 auto;
  /* sized by its widest child */
}
/* Kontakt column: phone, email + relevant val lines stay on one line so
   the column self-sizes to its widest row-line. */
.footer .cols > .col:nth-child(3) .row-line:nth-of-type(1) .val, .footer .cols > .col:nth-child(3) .row-line:nth-of-type(2) .val, .footer .cols > .col:nth-child(3) .row-line:nth-of-type(4) .val, .footer .cols > .col:nth-child(3) .row-line:nth-of-type(5) .val {
  white-space: nowrap;
}
.footer .col h4 {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}
.footer .col .underline {
  width: 25px;
  height: 1px;
  background: var(--rk-taupe);
  margin: 8px 0 12px;
}
.footer .col a {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--rk-line);
  font-weight: 300;
  letter-spacing: 0;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .footer .col a:hover {
    color: #fff;
  }
}
.footer .col .row-line {
  display: flex;
  gap: 25px;
  align-items: baseline;
}
.footer .col .label {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  min-width: 80px;
  font-weight: 700;
  text-transform: uppercase;
  flex: 0 0 80px;
}
.footer .col .val {
  font-size: var(--fs-body-sm);
  color: var(--rk-line);
  font-weight: 300;
}
.footer .col a.val {
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .footer .col a.val:hover {
    color: #fff;
  }
}
.footer .legal {
  max-width: 1272px;
  margin: 0 auto;
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--rk-ink-soft);
}
.footer .legal a {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
  text-transform: uppercase;
}
.footer .socials {
  display: flex;
  gap: 10px;
}
.footer .social {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--rk-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .footer .social:hover {
    background: var(--rk-taupe);
    border-color: var(--rk-taupe);
  }
}
.footer .social svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* --- Restored from _halbmayr.scss (Pass 1 / Phase C re-restore) -------
   Block: Footer menus drupal_menu
   --------------------------------------------------------------------- */
/* Footer menus rendered by drupal_menu() — strip the default ul/li/a styling
   so the columns look identical to the previous flat anchor list, and hide
   any nested submenus (we never show child items inside the footer columns). */
.footer .col ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
}
.footer .col ul.menu li {
  margin: 0;
  padding: 0;
  font-size: var(--fs-body-sm);
  line-height: 1.6;
}
.footer .col ul.menu ul, .footer .col ul.menu .menu {
  display: none;
}
.footer .legal ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* mobile-first base */
  gap: var(--space-xxs);
}
.footer .legal ul.menu li {
  margin: 0;
  padding: 0;
  font-size: var(--fs-body-sm);
  line-height: 1.6;
}
/* Footer menus — active item matches the :hover color (#fff). Drupal applies
   .menu-item--active-trail on the <li> and .is-active on the <a>. */
.footer .col ul.menu li.menu-item--active-trail > a, .footer .col ul.menu a.is-active, .footer .legal ul.menu li.menu-item--active-trail > a, .footer .legal ul.menu a.is-active {
  color: #fff;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
/* ── Mobile-first min-width tiers ─────────────────────────────────────
   Base values target ≤768 viewport. These media queries restore the
   desktop row layouts + larger gaps as the viewport grows. */
@media (min-width: 768px) {
  /* tablet+ — only .cols flips to row here; .row stays column until 1248. */
  /* Change 4: .cols is a 2-col grid through mobile+tablet (see end of file). */
  /* .legal ul.menu stays column through tablet — restored to row at 1024 below. */
}
@media (min-width: 1024px) {
  /* desktop — tighten .row + .cols gaps; flip the .legal menu to row. */
  .footer .row {
    gap: var(--space-md);
  }
  .footer .cols {
    gap: var(--space-md);
  }
  .footer .legal ul.menu {
    flex-direction: row;
    gap: var(--space-md);
  }
}
@media (min-width: 1248px) {
  /* large desktop — .row flips to a strict single-row layout so the
     awkward 1248-1440 wrap-glitch is gone. Brand sits left, cols span
     the remaining width with space-between so the last col touches the
     right edge. */
  .footer .row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--space-xxl);
    padding-top: var(--space-lg);
  }
  .footer .brand {
    flex: 0 0 auto;
  }
  .footer .cols {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: var(--space-md);
    margin-left: 0;
  }
}
/* ─── Migrated from _halbmayr_addons.scss — Pass 1 / Phase F cleanup ─── */
/* =========================================================================
 * Halbmayr: footer contact links — phone, email, address are now <a> tags
 * so they're tappable. Inherit the surrounding text style so the visual
 * matches the original .val span.
 * ========================================================================= */
.footer .row-line a.val {
  color: var(--rk-line);
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .footer .row-line a.val:hover {
    color: #fff;
  }
}
/* =========================================================================
 * Halbmayr: footer legal nav bar — hover state for Impressum / Datenschutz /
 * Downloads links. Prototype only ships base styling (taupe, uppercase);
 * we add the missing transition + hover lift to white. Matches the existing
 * .footer .col a:hover behaviour from _halbmayr.scss.
 * ========================================================================= */
.footer .legal a {
  transition: color 0.2s ease;
}
.footer .legal a:link, .footer .legal a:visited {
  color: var(--rk-taupe);
}
@media (hover: hover) {
  .footer .legal a:hover, .footer .legal a:focus {
    color: #fff;
  }
}
/* Halbmayr: footer phone + mail links — underline per design feedback.
   Address link in the Kontakt column is intentionally kept un-underlined
   (it's a map link, not a primary contact action). */
.footer .row-line a.val[href^="tel:"], .footer .row-line a.val[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Footer brand block: bronze eyebrow (replaces the old slogan logo graphic),
   matching the column eyebrow style (.footer .col h4). */
.footer .brand-kicker {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}
/* Change 4: footer cols — 2-col grid (mobile+tablet), flex row at 1024+. */
.footer .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer .cols > .col:nth-child(3) {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .footer .cols {
    display: flex;
    flex-direction: row;
  }
  .footer .cols > .col:nth-child(3) {
    grid-column: auto;
  }
}
.component.margin-top-xs {
  margin-top: var(--space-xs);
}
.component.margin-top-sm {
  margin-top: var(--space-sm);
}
.component.margin-top-md {
  margin-top: var(--space-md);
}
.component.margin-top-lg {
  margin-top: var(--space-lg);
}
.component.margin-top-xl {
  margin-top: var(--space-xl);
}
.component.margin-top-xxl {
  margin-top: var(--space-xxl);
}
.component.margin-top-xxxl {
  margin-top: var(--space-xxxl);
}
#klaro .klaro {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}
#klaro .klaro a {
  color: var(--color-default);
  text-decoration: underline;
  transition: color 0.5s;
}
@media (hover: hover) {
  #klaro .klaro a:hover {
    color: var(--color-primary);
  }
}
#klaro .cookie-modal {
  z-index: 2000;
}
#klaro .cookie-modal .cookie-modal-notice {
  max-width: 600px;
  border-radius: 0;
  color: var(--color-default);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  padding: min(7vw, 30px);
  max-height: 100%;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body p {
  color: var(--color-default);
  margin-top: 0;
  font-size: var(--font-size-small);
}
#klaro .cookie-modal .cookie-modal-notice .cn-body p span .h5 {
  margin-bottom: 10px;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body p .buttons {
  margin-top: 10px;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body p .buttons a {
  font-weight: 700;
  margin: 0 5px 0 0;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok {
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cn-buttons {
  display: flex;
  gap: 10px;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cn-buttons .cm-btn {
  /* Visual chrome lives in the brand-override block
                               at the bottom of this file. Keep only layout
                               concerns local here. */
  margin: 0;
}
#klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success {
  order: -1;
}
@media (hover: hover) {
  #klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cn-buttons .cm-btn:hover {
    background: var(--color-secondary);
  }
}
#klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cm-btn-learn-more {
  order: 9;
  background: none;
  padding: 0;
  color: var(--color-grey);
  text-decoration: underline;
  font-weight: 700;
  margin: 0;
  transition: color 0.5s;
}
@media (hover: hover) {
  #klaro .cookie-modal .cookie-modal-notice .cn-body .cn-ok .cm-btn-learn-more:hover {
    color: var(--color-default);
  }
}
#klaro .cookie-modal .cm-modal {
  max-width: 600px;
  border-radius: 0;
  color: var(--color-default);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  padding: min(7vw, 30px);
  max-height: 100%;
}
#klaro .cookie-modal .cm-modal .cm-header {
  padding: 0;
  border-bottom: 0;
}
#klaro .cookie-modal .cm-modal .cm-header button.hide {
  display: none !important;
}
#klaro .cookie-modal .cm-modal .cm-header h1 {
  display: none !important;
}
#klaro .cookie-modal .cm-modal .cm-header p {
  color: var(--color-default);
  margin-top: 0;
}
#klaro .cookie-modal .cm-modal .cm-header p span .h5 {
  margin-bottom: 10px;
}
#klaro .cookie-modal .cm-modal .cm-header p .buttons {
  margin-top: 10px;
}
#klaro .cookie-modal .cm-modal .cm-header p .buttons a {
  font-weight: 700;
  margin: 0 5px 0 0;
}
#klaro .cookie-modal .cm-modal .cm-body {
  padding: 20px 0 0 0;
  margin-top: 20px;
  border-top: 1px solid var(--color-line);
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose {
  color: var(--color-default);
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  padding-left: 40px;
  min-height: 20px;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-input {
  width: 30px;
  height: 20px;
  margin: 0;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-label .cm-required {
  padding-left: 5px;
  color: var(--color-grey);
  font-size: var(--font-size-smaller);
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-label .cm-switch {
  height: 20px;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-label .cm-switch .slider {
  width: 30px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  background: none;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-label .cm-switch .slider:before {
  width: 10px;
  height: 10px;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-input:checked + .cm-list-label .slider {
  background: var(--color-primary);
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-input:checked + .cm-list-label .slider:before {
  transform: translateX(10px);
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-list-input.required:checked + .cm-list-label .slider {
  opacity: 0.3;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-services .cm-caret a span {
  display: none;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-services .cm-content .cm-service {
  padding-left: 55px;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-services .cm-content .cm-service .cm-list-label .cm-switch {
  left: 15px;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-services .cm-content .cm-service .cm-list-description {
  padding-top: 0;
  color: var(--color-grey);
  font-size: var(--font-size-smaller);
  line-height: var(--line-height-smaller);
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose .cm-services .cm-content .cm-service .purposes {
  display: none;
}
#klaro .cookie-modal .cm-modal .cm-body .cm-purposes .cm-purpose.cm-toggle-all {
  display: none !important;
}
#klaro .cookie-modal .cm-modal .cm-footer {
  padding: 0;
  border-top: 0;
  margin-top: 20px;
}
#klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons {
  justify-content: start;
}
#klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons .cm-btn {
  /* Visual chrome lives in the brand-override block
                           at the bottom of this file. */
  margin: 0 10px 0 0;
}
@media (hover: hover) {
  #klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons .cm-btn:hover {
    background: var(--color-secondary);
  }
}
#klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept {
  order: -2;
}
#klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept-all, #klaro .cookie-modal .cm-modal .cm-footer .cm-footer-buttons .cm-btn.cn-decline {
  display: none;
}
#klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by {
  display: none !important;
}
.klaro.cm-as-context-notice {
  padding: 0;
}
.klaro.cm-as-context-notice .context-notice {
  background: var(--color-bg);
  border: none;
  border-radius: 0;
  padding: 30px;
}
.klaro.cm-as-context-notice .context-notice p {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  font-weight: 700;
}
.klaro.cm-as-context-notice .context-notice p.cm-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.klaro.cm-as-context-notice .context-notice p.cm-buttons .cm-btn {
  /* Visual chrome lives in the brand-override block. */
  margin: 0;
}
@media (hover: hover) {
  .klaro.cm-as-context-notice .context-notice p.cm-buttons .cm-btn:hover {
    background: var(--color-secondary);
  }
}
/* ─── Halbmayr brand override on the Klaro cookie banner ───────────────
   Re-skin the buttons to match the rest of the site:
   - All .cm-btn → brand pill (taupe bg, white text, 9999px radius,
     fs-body-sm uppercase + tracked, 700).
   - .cm-btn-learn-more ("Individuelle Einstellungen") → secondary pill
     (transparent + taupe border + taupe text). Sits next to the primary
     accept button so it reads as the alternative action, not a link.
   - Modal: .cm-footer .cm-btn defaults to secondary, .cm-btn-accept
     to primary, matching the notice. */
#klaro .klaro .cm-btn, #klaro .klaro .cookie-modal .cm-btn, #klaro .klaro .cookie-modal .cn-buttons .cm-btn, #klaro .klaro .cookie-modal .cm-footer .cm-btn, .klaro.cm-as-context-notice .context-notice .cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  min-height: 32px;
  border: 0;
  border-radius: 9999px;
  background: var(--rk-taupe);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  #klaro .klaro .cm-btn:hover, #klaro .klaro .cookie-modal .cn-buttons .cm-btn:hover, #klaro .klaro .cookie-modal .cm-footer .cm-btn:hover, .klaro.cm-as-context-notice .context-notice .cm-btn:hover {
    background: var(--rk-taupe-deep, var(--rk-taupe));
    border-color: var(--rk-taupe-deep, var(--rk-taupe));
    color: #fff;
  }
}
/* Secondary variant — "individuelle einstellungen" / learn more /
   decline. Transparent + taupe border + taupe text, flips on hover. */
#klaro .klaro .cm-btn-learn-more, #klaro .klaro .cookie-modal .cn-learn-more, #klaro .klaro .cookie-modal .cm-footer .cm-btn:not(.cm-btn-accept):not(.cm-btn-accept-all) {
  background: transparent !important;
  color: var(--rk-taupe) !important;
  border-color: var(--rk-taupe) !important;
  text-decoration: none !important;
  padding: 8px 18px !important;
}
@media (hover: hover) {
  #klaro .klaro .cm-btn-learn-more:hover, #klaro .klaro .cookie-modal .cm-footer .cm-btn:not(.cm-btn-accept):not(.cm-btn-accept-all):hover {
    background: var(--rk-taupe) !important;
    color: #fff !important;
    border-color: var(--rk-taupe) !important;
  }
}
/* Container radius — match brand (no rounded card corners on the
   notice/modal panels). */
#klaro .klaro .cookie-modal .cookie-modal-notice, #klaro .klaro .cookie-modal .cm-modal, .klaro.cm-as-context-notice .context-notice {
  border-radius: 0;
}
/* =========================================================================
 * Halbmayr — buttons (single source of truth).
 *
 * Selectors include element+class compounds (a.btn, button.btn, …) so they
 * match the specificity of style.scss's `a:link / a:visited` rule and don't
 * get stripped by its `display: inline; background-color: transparent;` reset.
 *
 * Class palette:
 *   .btn               — primary pill (taupe → taupe-deep on hover)
 *   .btn-sec           — secondary pill, transparent w/ taupe border
 *   .btn-sec.on-dark   — secondary pill on dark surfaces (white border)
 *   .btn-ghost-link    — text + arrow link, gap-animates on hover
 *   .btn-ghost-link.on-dark
 *   .r-arrow           — masked arrow glyph (used inside btn variants)
 *   .menu-btn          — header menu icon (two bars)
 *   .kontakt-sidebar   — fixed right-edge contact pill (rotated label)
 *   .chip / .chip-ghost / .chip.on
 *   .proj-pill         — filter pill (active state inverts)
 *
 * Drupal form button compat:
 *   input.form-submit, button.form-submit  — picks up .btn styling
 * ========================================================================= */
/* ---------- Primary button ---------- */
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, button.btn, .btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  /* mobile-first base — full-size restored at min-width:768 */
  border-radius: 9999px;
  background: var(--rk-taupe);
  color: #fff;
  width: 100%;
  /* mobile-first base — reverts at min-width:768 */
  justify-content: center;
  /* mobile-first base */
  font-size: var(--fs-body-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.25s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-height: 36px;
  border: 0;
  text-decoration: none;
  font-family: var(--font-family-default);
}
@media (hover: hover) {
  a.btn:hover, button.btn:hover, .btn:hover {
    background: var(--rk-taupe-deep);
    color: #fff;
  }
}
.btn .arrow {
  display: inline-block;
  line-height: 1;
}
/* ---------- Secondary (outline pill) ---------- */
a.btn-sec, a.btn-sec:link, a.btn-sec:visited, button.btn-sec, .btn-sec {
  background: transparent;
  color: var(--rk-ink);
  border: 1px solid var(--rk-taupe);
  text-transform: uppercase;
  font-weight: 700;
}
.btn-sec.on-dark {
  color: #fff;
  border-color: #fff;
  background: transparent;
}
@media (hover: hover) {
  a.btn-sec:hover, button.btn-sec:hover, .btn-sec:hover {
    background: var(--rk-taupe);
    color: #fff;
  }
  .btn-sec.on-dark:hover {
    background: #fff;
    color: var(--rk-ink);
    border-color: #fff;
  }
}
/* ---------- Ghost link (text + arrow, gap-animates) ----------
   Behaves as a text link even when e_link adds .btn next to it
   (rendered as class="btn btn-ghost-link"). The block here explicitly
   resets .btn's box (background, padding, min-height, border-radius,
   border) so .btn.btn-ghost-link looks like a plain text+arrow link. */
a.btn-ghost-link, a.btn-ghost-link:link, a.btn-ghost-link:visited, button.btn-ghost-link, .btn-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rk-taupe);
  background: transparent;
  padding: 0;
  min-height: 0;
  border: 0;
  align-self: flex-start;
  /* mobile-first base — prevents stretch in flex column */
  border-radius: 0;
  text-decoration: none;
  padding-bottom: 0;
  transition: gap 0.25s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}
.btn-ghost-link .link-text, .svc-card .arrow-row .link-text, .ins-card .more .link-text, .proj-card .more .link-text {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.btn-ghost-link > svg {
  text-decoration: none;
}
@media (hover: hover) {
  a.btn-ghost-link:hover, a.btn-ghost-link:focus, button.btn-ghost-link:hover, .btn-ghost-link:hover {
    color: var(--rk-ink);
    background: transparent;
  }
}
.btn-ghost-link.on-dark, a.btn-ghost-link.on-dark:link, a.btn-ghost-link.on-dark:visited {
  color: #fff;
  text-decoration-color: #fff;
}
/* ---------- Reusable arrow glyph ---------- */
.r-arrow {
  width: 13px;
  height: 9px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 9' fill='none'><path d='M0 4.5h11M7 1l4 3.5L7 8' stroke='black' stroke-width='1'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 9' fill='none'><path d='M0 4.5h11M7 1l4 3.5L7 8' stroke='black' stroke-width='1'/></svg>") no-repeat center / contain;
}
/* ---------- Header menu button ---------- */
button.menu-btn, .menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  height: 32px;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 24px;
  justify-content: center;
  align-items: flex-start;
}
.menu-btn .bars span {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}
.menu-btn .bars span:nth-child(2) {
  width: 30px;
  align-self: flex-end;
}
/* ---------- Kontakt sidebar pill (fixed right edge) ---------- */
a.kontakt-sidebar, a.kontakt-sidebar:link, a.kontakt-sidebar:visited, .kontakt-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 39px;
  height: 268px;
  background: var(--rk-ink);
  color: #fff;
  border-radius: 12px 0 0 12px;
  display: none;
  /* mobile-first base — fixed pill takes up too much space */
  align-items: center;
  justify-content: center;
  z-index: 40;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease, width 0.2s ease;
  text-decoration: none;
}
@media (min-width: 1024px) {
  a.kontakt-sidebar, a.kontakt-sidebar:link, a.kontakt-sidebar:visited, .kontakt-sidebar {
    display: flex;
  }
}
@media (hover: hover) {
  a.kontakt-sidebar:hover, .kontakt-sidebar:hover {
    background: var(--rk-taupe);
    color: #fff;
  }
}
.kontakt-sidebar .ks-inner {
  transform: rotate(-90deg);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.kontakt-sidebar .ks-arrow {
  /* Icon-font glyph (rk-icons / .icon-arrow-right) handles the drawing. */
  display: inline-block;
  font-size: 11px;
  line-height: 1;
}
/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border: 1px solid var(--rk-line);
  border-radius: 100px;
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--rk-mid);
  background: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 30px;
  line-height: 1;
}
.chip.on {
  background: var(--rk-taupe);
  border-color: var(--rk-taupe);
  color: #fff;
}
@media (hover: hover) {
  .chip:hover {
    background: var(--rk-taupe);
    border-color: var(--rk-taupe);
    color: #fff;
  }
}
.chip-ghost {
  background: transparent;
  color: var(--rk-taupe);
  border-color: var(--rk-taupe);
}
/* ---------- Filter pills (Entdecken / Insights) ---------- */
.proj-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
button.proj-pill, .proj-pill {
  padding: 6px 20px;
  border-radius: 100px;
  border: 1px solid var(--rk-line);
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--rk-mid);
  background: transparent;
  text-transform: uppercase;
  transition: all 0.2s ease;
  min-height: 30px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-family-default);
}
@media (hover: hover) {
  .proj-pill:hover {
    border-color: var(--rk-taupe);
    color: var(--rk-ink);
  }
}
.proj-pill.active {
  background: var(--rk-taupe);
  color: #fff;
  border-color: var(--rk-taupe);
}
/* ---------- Drupal form submit buttons inherit .btn styling ---------- */
input.form-submit, button.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 35px;
  border-radius: 9999px;
  background: var(--rk-taupe);
  color: #fff;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-family-default);
  transition: background 0.25s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
  text-decoration: none;
}
@media (hover: hover) {
  input.form-submit:hover, button.form-submit:hover {
    background: var(--rk-taupe-deep);
    color: #fff;
  }
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* Desktop — revert mobile-first .btn full-width / centered defaults.
     Through mobile + small tablet (≤768) buttons stay full-width centered.
     Selector list matches the base block above so specificity is equal
     and source order wins (this rule loaded after, overrides). */
  /* Ghost-link is a text+arrow link — never gets the pill padding.
     Cascade order means .btn's padding lands on .btn.btn-ghost-link
     unless we re-apply 0 explicitly with at-least-matching specificity. */
  a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, button.btn, .btn {
    width: fit-content;
    justify-content: flex-start;
    padding: 18px 35px;
    min-height: 48px;
  }
  a.btn.btn-ghost-link, button.btn.btn-ghost-link, .btn.btn-ghost-link {
    padding: 0;
    min-height: 0;
  }
}
/* ---------- Big button (.btn-big) ----------
   Used in the menu overlay "Anfragen" CTA. Tighter on mobile, generous
   on desktop. Replaces an inline style="padding:22px 35px;font-size:18px"
   that was hardcoded in page.html.twig. */
a.btn.btn-big, a.btn.btn-big:link, a.btn.btn-big:visited, button.btn.btn-big, .btn.btn-big {
  padding: 16px 28px;
  font-size: var(--fs-overline);
}
/* Desktop — restore the prototype's original 22×35 / 18px sizing.
   Selector list mirrors the mobile rule so specificity matches. */
@media (min-width: 1024px) {
  a.btn.btn-big, a.btn.btn-big:link, a.btn.btn-big:visited, button.btn.btn-big, .btn.btn-big {
    padding: 22px 53px;
    font-size: 18px;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0) rotate(0);
  }
  15% {
    transform: translateX(-3px) rotate(-2deg);
  }
  35% {
    transform: translateX(3px) rotate(2deg);
  }
  55% {
    transform: translateX(-2px) rotate(-1deg);
  }
  75% {
    transform: translateX(2px) rotate(1deg);
  }
  90% {
    transform: translateX(-1px) rotate(-0.5deg);
  }
}
.shake {
  animation: shake 0.5s ease-in-out infinite;
}
/* TOOLTIP */
.tooltip {
  position: relative;
  z-index: 9999999 !important;
}
span.tooltip-content {
  display: none;
}
.tooltip span.tooltip-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: none;
  display: block;
  text-align: center;
  color: var(--color-white) !important;
  text-transform: uppercase;
  font-size: var(--font-size-small);
  line-height: var(--line-height-smaller);
  font-weight: 700;
  font-size: 20px;
  padding-top: 30px;
  z-index: 99;
  cursor: pointer;
}
.tooltip span.tooltip-content:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: var(--color-white);
  border-width: 6px;
  margin-left: -6px;
}
.tooltip span.tooltip-content.left {
  left: 50%;
  margin-left: -20px;
  transform: none;
}
.tooltip span.tooltip-content.left:after {
  left: 20px;
}
.tooltip span.tooltip-content.right {
  left: auto !important;
  right: 50%;
  transform: none;
  margin-right: -20px;
}
.tooltip span.tooltip-content.right:after {
  left: auto;
  right: 20px;
  margin-left: 0;
  margin-right: -6px;
}
@media (hover: hover) {
  .tooltip:hover span.tooltip-content {
    display: block;
  }
}
/* PAGER */
nav.pager {
  margin: 0;
  padding: var(--space-lg) 0 0;
  text-align: center;
}
nav.pager .pager__items {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
nav.pager .pager__item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
nav.pager .pager__item:before {
  display: none !important;
}
nav.pager .pager__item > a, nav.pager .pager__item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: var(--font-family-default);
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  color: var(--rk-ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  nav.pager .pager__item > a:hover {
    color: var(--rk-taupe);
    border-color: var(--rk-line);
  }
}
nav.pager .pager__item.is-active > a, nav.pager .pager__item.is-active > span {
  color: var(--rk-white);
  background: var(--rk-ink);
  border-color: var(--rk-ink);
  font-weight: 600;
}
nav.pager .pager__item--previous > a, nav.pager .pager__item--next > a {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid var(--rk-line);
  color: var(--rk-ink);
}
nav.pager .pager__item--previous i, nav.pager .pager__item--next i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  margin: 0;
  padding: 0;
}
nav.pager .pager__item--previous i:before, nav.pager .pager__item--next i:before {
  position: static;
  animation: none;
}
nav.pager .pager__item--previous i:after, nav.pager .pager__item--next i:after {
  display: none !important;
}
@media (hover: hover) {
  nav.pager .pager__item--previous > a:hover, nav.pager .pager__item--next > a:hover {
    background: var(--rk-ink);
    border-color: var(--rk-ink);
    color: var(--rk-white);
  }
}
nav.pager .pager__item--previous.disable, nav.pager .pager__item--next.disable {
  pointer-events: none;
}
nav.pager .pager__item--previous.disable > a, nav.pager .pager__item--next.disable > a {
  opacity: 0.35;
  border-color: var(--rk-line);
  color: var(--rk-ink);
  background: transparent;
}
nav.pager .pager__item--previous {
  margin-right: 6px !important;
}
nav.pager .pager__item--next {
  margin-left: 6px !important;
}
@media (min-width: 768px) {
  nav.pager {
    padding-top: var(--space-xl);
  }
  nav.pager .pager__item > a, nav.pager .pager__item > span {
    min-width: 44px;
    height: 44px;
    font-size: 16px;
  }
  nav.pager .pager__item--previous > a, nav.pager .pager__item--next > a {
    width: 44px;
    min-width: 44px;
  }
  nav.pager .pager__item--previous i, nav.pager .pager__item--next i {
    font-size: 20px;
  }
}
/* --------------- SLIDE IN --------------- */
.slidein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.slidein.inview {
  opacity: 1;
  transform: translateY(0);
}
.slidein.inview.delay-300 {
  transition-delay: 0.3s;
}
.slidein.inview.delay-500 {
  transition-delay: 0.5s;
}
.slidein.inview.delay-700 {
  transition-delay: 0.7s;
}
.slidein.inview.delay-1000 {
  transition-delay: 1s;
}
/* --------------- REVEAL COVER ---------------
   Same animation API as .slidein but driven by a dedicated observer
   that triggers when the top of the element passes 20% from the top
   of the viewport (see custom.js — rootMargin '-20% 0px 0px 0px').
   Used for testimonial slab + c_text_images--cover instances. */
.reveal-cover {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal-cover.inview {
  opacity: 1;
  transform: translateY(0);
}
.reveal-cover.inview.delay-300 {
  transition-delay: 0.3s;
}
.reveal-cover.inview.delay-500 {
  transition-delay: 0.5s;
}
.reveal-cover.inview.delay-700 {
  transition-delay: 0.7s;
}
.reveal-cover.inview.delay-1000 {
  transition-delay: 1s;
}
.swiper-move .swiper-container .swiper-wrapper {
  animation: bilderSliderMove 1s 0s ease-out;
}
@keyframes bilderSliderMove {
  0% {
    left: 0;
  }
  50% {
    left: -50px;
  }
  100% {
    left: 0;
  }
}
.hyphenate br {
  display: none;
}
.mobile-no-break br {
  display: none;
}
.top-bar.gin--navigation-top-bar {
  display: none !important;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: STAGE — was 1920-fixed + CSS zoom. Now fluid 100%.
   --------------------------------------------------------------------- */
/* =========================================================================
   STAGE — was 1920-fixed + CSS zoom. Now fluid 100%.
   Stage hooks preserved so app.jsx layout still works.
   ========================================================================= */
/* #smooth-wrapper inherits what .stage used to do — full-viewport fluid
   container with horizontal overflow clipped so absolute-positioned
   children can't blow out the page width. */
#smooth-wrapper {
  width: 100%;
  min-height: 100vh;
  background: var(--rk-white);
  overflow-x: clip;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: SECTION
   --------------------------------------------------------------------- */
/* =========================================================================
   SECTION
   ========================================================================= */
.section {
  padding: var(--sec-pad) var(--pad-x);
  margin: 0;
  width: 100%;
}
.section-inner {
  max-width: 1272px;
  margin: 0 auto;
  width: 100%;
}
.section.dark {
  background: var(--rk-ink);
  color: var(--rk-white);
}
.section.dark .body {
  color: var(--rk-line);
}
/* Heading rules in style.scss pin color to --color-primary; override here so
   H1/H2/H3 inherit the dark section's white text instead. */
.section.dark .h1, .section.dark .h2, .section.dark .h3, .section.dark h1, .section.dark h2, .section.dark h3 {
  color: #fff;
}
.section.cream {
  background: var(--rk-cream);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 1272px;
}
.section-head .body {
  max-width: 872px;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: CHIPS
   --------------------------------------------------------------------- */
/* =========================================================================
   CHIPS
   ========================================================================= */
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: MISC
   --------------------------------------------------------------------- */
/* =========================================================================
   MISC
   ========================================================================= */
.divider {
  height: 1px;
  background: var(--rk-line);
  width: 100%;
}
.tag-pair {
  display: flex;
  gap: 30px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tag-pair .k {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  color: var(--rk-taupe);
  font-weight: 700;
}
.tag-pair .v {
  font-size: var(--fs-body-sm);
  color: var(--rk-ink);
  font-weight: 300;
}
.partner-card {
  border: 1px solid var(--rk-line);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: #fff;
}
.partner-card.dark {
  background: var(--rk-ink);
  color: #fff;
  border-color: var(--rk-ink-soft);
}
.partner-card .h2 {
  color: inherit;
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: KONTAKT SIDEBAR (vertical, sticky right edge)
   --------------------------------------------------------------------- */
/* =========================================================================
   KONTAKT SIDEBAR (vertical, sticky right edge)
   Figma component is 268w × 39h pill with top-only rounded corners.
   Implementation: outer box is the FINAL shape (39w × 268h) flush to the
   right edge so it never clips. Inner text is rotated -90° within.
   ========================================================================= */
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase D) -----------------
   Block: UTILITY GRID LAYOUTS
   --------------------------------------------------------------------- */
/* =========================================================================
   UTILITY GRID LAYOUTS
   Used to replace inline gridTemplateColumns in pages.jsx so they collapse
   to stacks at narrower breakpoints without inline media queries.
   ========================================================================= */
.two-col-50 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  /* mobile-first base */
  align-items: start;
}
.ref-row-a {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  /* mobile-first base */
}
.ref-row-b {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  /* mobile-first base */
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  /* mobile-first base */
  /* mobile-first base */
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md) var(--space-sm);
  /* mobile-first base */
  width: 100%;
  text-align: left;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-card.founder {
  grid-column: span 1;
}
/* mobile-first base */
.team-card .portrait {
  aspect-ratio: 1;
  background-color: var(--rk-cream);
  overflow: hidden;
}
.team-card .portrait picture, .team-card .portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-card.founder .portrait {
  aspect-ratio: 0.75;
  /* mobile-first base */
}
.team-card .portrait.placeholder {
  background-image: repeating-linear-gradient(135deg, var(--rk-cream) 0, var(--rk-cream) 14px, #e8e4dc 14px, #e8e4dc 28px);
}
.team-card .name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--rk-ink);
  margin: 0;
}
.team-card .role {
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--rk-taupe);
  text-transform: uppercase;
}
.team-card .contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--rk-ink-soft);
}
.team-card .contact a {
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 0;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .team-card .contact a:hover, .team-card .contact a:focus {
    color: var(--rk-taupe);
  }
}
/* ── Mobile-first restores for the team grid ──────────────────────── */
@media (min-width: 600px) {
  /* small tablet+ — 2 cols, founder spans 2 */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-card.founder {
    grid-column: span 2;
  }
  .team-card.founder .portrait {
    aspect-ratio: 1.5;
  }
}
@media (min-width: 1024px) {
  /* desktop — 4 cols */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.featured-insight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  /* mobile-first base */
  border: 1px solid var(--rk-line);
}
.featured-insight .ph {
  aspect-ratio: 1.7777777778;
  background-position: center;
  /* mobile-first base */
  background-size: cover;
  min-height: 320px;
}
.featured-insight .cp {
  padding: var(--space-md) var(--pad-x);
  display: flex;
  /* mobile-first base */
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  background: var(--rk-cream);
}
.cream-strip-cta {
  background: var(--rk-taupe);
  padding: var(--space-md) var(--pad-x);
  display: flex;
  /* mobile-first base */
  flex-direction: column;
  align-items: flex-start;
  /* mobile-first base */
  justify-content: flex-start;
  /* mobile-first base */
  gap: var(--space-sm);
  /* mobile-first base */
  flex-wrap: wrap;
}
.cream-strip-cta p {
  font-size: var(--fs-body);
  color: #fff;
  line-height: 27px;
  margin: 0;
  max-width: 970px;
}
.c-cta.cream-strip > p {
  text-align: center;
  /* mobile-first */
}
.c-cta.cream-strip > span.slidein {
  width: 100%;
  /* mobile-first — full-width btn wrap */
  display: block;
}
.c-cta.cream-strip .btn, .c-cta.cream-strip a.btn {
  width: 100%;
  /* mobile-first */
  justify-content: center;
}
/* cream-strip CTA buttons go content-width at 768 (matches global .btn) */
@media (min-width: 768px) {
  .c-cta.cream-strip > span.slidein {
    width: auto;
    display: inline-block;
  }
  .c-cta.cream-strip .btn, .c-cta.cream-strip a.btn {
    width: auto;
  }
}
/* tablet band: strip button wraps to its own line — center it under the centered text */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .c-cta.cream-strip > span.slidein {
    width: 100%;
    display: block;
    text-align: center;
  }
}
/* ── Mobile-first restores for two-col / row grids + cream-strip-cta ── */
@media (min-width: 1024px) {
  /* tablet+ — feat-grid gap returns to its desktop value */
  .feat-grid {
    gap: var(--space-lg) var(--space-xl);
  }
}
@media (min-width: 1024px) {
  /* desktop — restore 2-column layouts + horizontal strip CTA */
  .two-col-50 {
    grid-template-columns: 1fr 1fr;
  }
  .ref-row-a {
    grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  }
  .ref-row-b {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  }
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-insight {
    grid-template-columns: 1.2fr 1fr;
  }
  .featured-insight .ph {
    aspect-ratio: 1.25;
  }
  .featured-insight .cp {
    padding: var(--space-lg);
  }
  .cream-strip-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    padding-left: max(var(--pad-x), calc((100% - 1272px) / 2));
    padding-right: max(var(--pad-x), calc((100% - 1272px) / 2));
  }
  .c-cta.cream-strip > p {
    text-align: left;
  }
}
/* --- Migrated from _halbmayr.scss (Pass 1 / Phase E) -----------------
   Block: RESPONSIVE BREAKPOINTS (legacy max-width queries; Pass 2 flips to mobile-first)
   --------------------------------------------------------------------- */
/* --- Migrated from _page/project (Pass 1 / Phase F shared utilities) --
   Block: .detail-text + .back-link (project + insight detail intros)
   --------------------------------------------------------------------- */
.detail-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.detail-text .body {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--rk-mid);
  margin: 0;
  font-weight: 300;
  max-width: 520px;
}
/* Match style.scss's a:link/a:visited (0,1,1) specificity so the brand
   taupe sticks instead of falling back to the global --color-default. */
a.back-link, a.back-link:link, a.back-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-overline);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--rk-taupe);
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: var(--space-xs);
  align-self: flex-start;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.25s ease;
}
a.back-link::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  transition: width 0.25s ease;
}
a.back-link .link-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) {
  a.back-link:hover, a.back-link:focus {
    color: var(--rk-ink);
  }
  a.back-link:hover::before, a.back-link:focus::before {
    width: 40px;
  }
}
/* ─── Migrated from _halbmayr_addons.scss — Pass 1 / Phase F cleanup ─── */
/* =========================================================================
 * Halbmayr — additions for new Drupal-side components.
 * Loaded after _halbmayr.scss (which holds the design's full styles.css).
 * ========================================================================= */
/* Paragraph wrapper unset — Drupal renders each paragraph in a wrapper div
 * that may force display:block. Make sure paragraph wrappers don't break
 * the slab/hero full-bleed behaviors. */
.paragraph, .field--name-field-components > div {
  display: block;
}
/* Views row wrappers — the views unformatted style emits
 * <div class="views-row"><article>...</article></div>. Strip the visual
 * wrapper styling so the grid CSS from _halbmayr.scss applies to the cards. */
.c-projects-teasers .views-row, .c-insights-teasers .views-row {
  display: contents;
}
/* Empty testimonial slab — gentle hint state. */
.c-testimonial-slab.is-empty {
  color: var(--c-line);
}
/* =========================================================================
 * Halbmayr: page-top alignment — remove inherited top offsets on pages that
 * start with a hero section (image hero, cream-short hero, dark-flat hero,
 * project ref-hero, insight ins-hero). The fixed header sits transparently
 * over the hero, so no top padding is needed on #main.
 * ========================================================================= */
body {
  padding-top: 0;
  margin-top: 0;
}
#main {
  padding-top: 0;
  margin-top: 0;
}
#main > .block, #main > div > .block, #smooth-content > main {
  padding-top: 0;
  margin-top: 0;
}
.node--type-page > main, .node--type-service > main, .node--type-project > main, .node--type-insight > main {
  padding-top: 0;
  margin-top: 0;
}
/* The base .hero already declares padding:120px ... — that's the safe
 * clearance for the fixed header, not a "top gap". Keep it. But ensure no
 * EXTRA margin pushes the hero down. */
main > .hero:first-child, main > .ref-hero:first-child, main > .ins-hero:first-child {
  margin-top: 0;
}
/* =========================================================================
 * Halbmayr: float .node-edit-actions (admin "Edit" shortcut from page.html.twig)
 * out of normal document flow so it doesn't add top spacing on hero pages.
 * Still visible + clickable for users with edit permission.
 * ========================================================================= */
.node-edit-actions {
  display: none;
  /* show only on desktop ≥1440 */
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  margin: 0;
}
.node-edit-actions .toolbar-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--rk-ink, #1a1a18);
  color: #fff;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@media (hover: hover) {
  .node-edit-actions .toolbar-button:hover {
    background: var(--rk-taupe, #a2631c);
  }
}
/* Drupal admin toolbar nudge — if the user has the toolbar enabled, push below. */
body.toolbar-fixed .node-edit-actions {
  top: calc(16px + var(--drupal-displace-offset-top, 0px));
}
@media (min-width: 1440px) {
  .node-edit-actions {
    display: block;
  }
}
/* =========================================================================
 * Halbmayr: neutralise Drupal's main-content block wrapper. The rendered
 * structure is:
 *   <main>
 *     <div class="block block-system block-system-main-block">
 *       <article id="node-...">
 *         <section class="hero">…   <section class="section cream">…
 * The block wrapper would otherwise inherit any default `.block { margin }`
 * styling. Force it to be a pass-through.
 * ========================================================================= */
.block-system-main-block, #block-custom-content {
  padding: 0;
  margin: 0;
}
.block-system-main-block > article, #block-custom-content > article {
  padding: 0;
  margin: 0;
}
/* Halbmayr: section-head body — strip browser <p> margins so the
   wrapping div + paragraph reads as one block; .body inherits font,
   color, line-height down to the inner <p>. */
.section-head .body {
  color: var(--rk-mid);
}
.section-head .body > p:first-child {
  margin-top: 0;
}
.section-head .body > p:last-child {
  margin-bottom: 0;
}
.section-head .body p {
  font: inherit;
  color: inherit;
}
/* Team-card portrait — square mobile-first, restored at ≥1024 to the
   prototype 3:4 (regulars) / 3:2 (founders) ratios. */
@media (min-width: 1024px) {
  .team-card .portrait {
    aspect-ratio: 0.6;
  }
}
/* ─── Eyebrow → title spacing override ──────────────────────────────────
   Mobile base: tighten the gap between an .eyebrow and its directly
   following title element to var(--space-sm) without touching the
   parent flex .content gap (which stays at var(--space-md) so the
   space BELOW the title is preserved). Restored to the parent gap at
   >=1024. Pattern-matches every component that follows the standard
   .eyebrow + .title|h1|h2|h3 markup convention. */
.eyebrow + .title, .eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + .h1, .eyebrow + .h2, .eyebrow + .h3 {
  margin-top: calc(var(--space-sm) - var(--space-md));
}
@media (min-width: 1024px) {
  .eyebrow + .title, .eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + .h1, .eyebrow + .h2, .eyebrow + .h3 {
    margin-top: 0;
  }
}
/* Frontpage Planen/process section — clip the horizontal-pin overflow so
   the off-canvas cards don't leak a horizontal scrollbar on the body. */
#process {
  overflow: hidden;
}
/* Insight/Project detail intro: optional title + 2-column body text. */
h2.detail-title {
  margin: 0 0 var(--space-xl);
}
.detail-text .body {
  max-width: none;
}
@media (min-width: 1024px) {
  .node--type-insight .detail-text .body {
    column-count: 2;
    column-gap: var(--space-md);
  }
}
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 3px solid var(--rk-ink, #1a1a18);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.92);
}
.site-header :focus-visible, .footer :focus-visible, .menu-overlay :focus-visible, .c_hero :focus-visible, .hero-frame :focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 5px rgba(26, 26, 24, 0.92);
}
.process .section-head .body, .process-head .body {
  color: var(--rk-line, #c4c4c4);
}
.menu-overlay .nav-item, .menu-overlay .nav-item.dimmed {
  color: var(--rk-ink-soft, #636362);
}
.menu-overlay .nav-item.active, .menu-overlay .nav-item.expanded, .menu-overlay .nav-item.sub-open {
  color: var(--rk-ink, #1a1a18);
}
:root {
  --rk-bronze-text: #985d1a;
  --rk-bronze-text-dark: #bb7220;
}
.eyebrow, .hero-frame.cream .eyebrow, .chip-ghost, .btn-ghost-link {
  color: var(--rk-bronze-text, #985d1a);
}
.process-head .eyebrow, .footer .eyebrow, .menu-overlay .col-contact .eyebrow, .faq-toggle, .c-text-images--cover > .inner .eyebrow.bronze {
  color: var(--rk-bronze-text-dark, #bb7220);
}
.hero-frame .eyebrow, .c-text-images--cover > .inner .eyebrow {
  color: #fff;
}
/*# sourceMappingURL=__all.css.map */