/* Gemeinsame Rudolf-Hartmann-Komponenten. Diese Datei wird nach den Seitensstilen geladen. */
.hartmann-site {
  font-family: var(--rh-font);
}

/* Lange Seitentitel duerfen auf kleinen Displays das Hero-Raster nicht verbreitern. */
.hartmann-site .page-hero > * {
  min-width: 0;
}
.hartmann-site .page-hero :is(h1, h2) {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hartmann-site :focus-visible {
  outline: 3px solid var(--rh-yellow);
  outline-offset: 4px;
}

.hartmann-site .site-header {
  min-height: 82px;
  padding: 0 clamp(18px, 3.5vw, 52px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(5, 5, 5, .13);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .055);
  backdrop-filter: blur(16px);
}

.hartmann-site .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.hartmann-site .brand-logo {
  width: clamp(110px, 9vw, 145px);
  height: auto;
}

.hartmann-site .main-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(13px, 1.6vw, 23px);
}

.hartmann-site .main-nav > a,
.hartmann-site .nav-group > a {
  min-height: 82px;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--rh-black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hartmann-site .main-nav > a::after,
.hartmann-site .nav-group > a::after {
  content: "";
  height: 4px;
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  background: var(--rh-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--rh-motion-fast);
}

.hartmann-site .main-nav > a:hover::after,
.hartmann-site .main-nav > a:focus-visible::after,
.hartmann-site .main-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hartmann-site .nav-group { position: relative; display: flex; align-items: center; min-width: 0; }
.hartmann-site .nav-group > a:hover::after,
.hartmann-site .nav-group > a:focus-visible::after,
.hartmann-site .nav-group > a[aria-current="page"]::after { transform: scaleX(1); }
.hartmann-site .nav-subtoggle { display: grid; place-items: center; width: 32px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #111; cursor: pointer; }
.hartmann-site .nav-subtoggle span { display: grid; place-items: center; width: 26px; height: 26px; background: var(--rh-paper); transition: background var(--rh-motion-fast); }
.hartmann-site .nav-subtoggle svg { width: 18px; height: 18px; transition: transform var(--rh-motion-fast); }
.hartmann-site .nav-subtoggle:hover span,
.hartmann-site .nav-subtoggle:focus-visible span,
.hartmann-site .nav-subtoggle[aria-expanded="true"] span { background: var(--rh-yellow); }
.hartmann-site .nav-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.hartmann-site .nav-subtoggle:focus-visible { outline: 2px solid var(--rh-ink); outline-offset: 2px; }
.hartmann-site .nav-submenu { position: absolute; top: calc(100% - 1px); left: -18px; width: 320px; padding: 12px; background: #fff; border: 1px solid #ddd; border-top: 3px solid var(--rh-yellow); box-shadow: 0 18px 28px #0002; }
.hartmann-site .nav-submenu[hidden] { display: none; }
.hartmann-site .nav-submenu a { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; color: var(--rh-ink); font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; white-space: normal; }
.hartmann-site .nav-submenu a::after { content: none; display: none; }
.hartmann-site .nav-submenu a[aria-current] { box-shadow: inset 3px 0 var(--rh-yellow); background: var(--rh-paper); }
.hartmann-site .nav-submenu a:hover,
.hartmann-site .nav-submenu a:focus-visible { background: var(--rh-yellow); color: #000; text-decoration: none; box-shadow: none; }
.hartmann-site .nav-submenu a:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
.hartmann-site .nav-submenu .nav-overview { border-bottom: 1px solid #ddd; margin-bottom: 6px; }
.hartmann-site .nav-group:last-of-type .nav-submenu { left: auto; right: 0; }
@media (min-width: 1181px) and (max-width: 1500px) { .hartmann-site .main-nav { gap: 12px; } .hartmann-site .site-header { gap: 18px; padding-inline: 28px; } }
@media (max-width: 1180px) {
  .hartmann-site .main-nav.is-open { display: block; }
  .hartmann-site .nav-group { display: grid; grid-template-columns: minmax(0, 1fr) 48px; border-bottom: 1px solid var(--rh-line); }
  .hartmann-site .nav-group > a { min-height: 54px; }
  .hartmann-site .nav-group > a::after { bottom: 0; right: auto; width: 70px; }
  .hartmann-site .nav-subtoggle { width: 48px; min-height: 48px; }
  .hartmann-site .nav-submenu { position: static; width: 100%; grid-column: 1 / -1; box-shadow: none; border: 0; border-left: 2px solid var(--rh-yellow); padding: 0 0 10px 8px; margin-bottom: 12px; }
  .hartmann-site .main-nav > a { display: flex; }
}

.hartmann-site .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hartmann-site .language-switch,
.hartmann-site .mobile-language-switch {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--rh-black);
  color: var(--rh-white);
  font-size: 11px;
  font-weight: 900;
}

.hartmann-site .language-switch a,
.hartmann-site .mobile-language-switch a {
  color: var(--rh-white);
  text-decoration: none;
}

.hartmann-site .language-switch a[aria-current="page"],
.hartmann-site .mobile-language-switch a[aria-current="page"],
.hartmann-site .language-switch a:hover,
.hartmann-site .mobile-language-switch a:hover {
  color: var(--rh-yellow);
}

.hartmann-site .language-pending {
  color: rgba(255, 255, 255, .42);
  cursor: not-allowed;
}

.hartmann-site .mobile-language-switch {
  display: none;
}

.hartmann-site .header-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--rh-black);
  background: var(--rh-yellow);
  color: var(--rh-black);
  box-shadow: 4px 4px 0 var(--rh-black);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--rh-motion-fast), box-shadow var(--rh-motion-fast), background-color var(--rh-motion-fast), color var(--rh-motion-fast);
}

.hartmann-site .header-cta:hover,
.hartmann-site .header-cta:focus-visible {
  transform: translate(-1px, -1px);
  background: var(--rh-black);
  color: var(--rh-yellow);
  box-shadow: 2px 2px 0 var(--rh-yellow);
}

.hartmann-site .nav-toggle {
  width: 46px;
  height: 46px;
  border: 2px solid var(--rh-black);
  background: var(--rh-white);
}

.hartmann-site .button {
  min-height: 58px;
  width: auto;
  padding: 0 22px 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 2px solid var(--rh-black);
  border-radius: var(--rh-radius);
  background: var(--rh-yellow);
  color: var(--rh-black);
  box-shadow: var(--rh-shadow-offset);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--rh-motion-fast), box-shadow var(--rh-motion-fast), background-color var(--rh-motion-fast), color var(--rh-motion-fast);
}

.hartmann-site .button::after {
  content: "\2192";
  font-size: 21px;
  line-height: 1;
  transition: transform var(--rh-motion-fast);
}

.hartmann-site .button:hover,
.hartmann-site .button:focus-visible {
  transform: translate(-2px, -2px);
  border-color: var(--rh-black);
  background: var(--rh-black);
  color: var(--rh-yellow);
  box-shadow: 2px 2px 0 var(--rh-yellow);
}

.hartmann-site .button:hover::after,
.hartmann-site .button:focus-visible::after {
  transform: translateX(4px);
}

.hartmann-site .button-ghost {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .04);
  color: var(--rh-white);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, .22);
}

.hartmann-site .button-ghost:hover,
.hartmann-site .button-ghost:focus-visible {
  border-color: var(--rh-yellow);
  background: var(--rh-yellow);
  color: var(--rh-black);
}

.hartmann-site.home-page .service-card {
  border-top: 6px solid var(--rh-black);
  border-radius: 0;
  box-shadow: 6px 6px 0 rgba(5, 5, 5, .08);
}

.hartmann-site.home-page .service-card:nth-child(2n) {
  border-top-color: var(--rh-yellow);
}

.hartmann-site.home-page .service-card:hover,
.hartmann-site.home-page .service-card:focus-within {
  transform: translate(-3px, -3px);
  border-color: var(--rh-black);
  box-shadow: 9px 9px 0 var(--rh-black);
}

.hartmann-site .rh-container {
  width: min(100% - (2 * var(--rh-page-gutter)), var(--rh-content));
  margin-inline: auto;
}

.hartmann-site .rh-section {
  padding-block: var(--rh-section-space);
  padding-inline: var(--rh-page-gutter);
}

.hartmann-site .rh-card {
  border: var(--rh-border);
  border-top: 6px solid var(--rh-yellow);
  background: var(--rh-white);
  box-shadow: 6px 6px 0 rgba(5, 5, 5, .08);
}

.hartmann-site .effect-lift {
  transition: transform var(--rh-motion-fast), box-shadow var(--rh-motion-fast), border-color var(--rh-motion-fast);
}

.hartmann-site .effect-lift:hover,
.hartmann-site .effect-lift:focus-within {
  transform: translate(-4px, -4px);
  border-color: var(--rh-black);
  box-shadow: 10px 10px 0 var(--rh-black);
}

.hartmann-site .site-footer {
  padding: 0;
  display: block;
  border-top: 8px solid var(--rh-yellow);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 110px),
    #101010;
  color: var(--rh-white);
}

.hartmann-site .footer-inner {
  width: min(100%, var(--rh-content));
  margin: 0 auto;
  padding: 58px var(--rh-page-gutter) 48px;
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.42fr);
  gap: clamp(44px, 7vw, 100px);
}

.hartmann-site .footer-brand a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  line-height: 0;
  background: transparent;
}

.hartmann-site .footer-logo {
  width: min(140px, 100%);
  height: auto;
}

.hartmann-site .footer-brand p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.hartmann-site .footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hartmann-site .footer-navigation > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hartmann-site .footer-heading {
  margin: 0 0 8px;
  color: var(--rh-yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hartmann-site .footer-navigation a {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
  text-decoration: none;
  transition: color var(--rh-motion-fast), transform var(--rh-motion-fast);
}

.hartmann-site .footer-navigation a:hover,
.hartmann-site .footer-navigation a:focus-visible {
  color: var(--rh-yellow);
  transform: translateX(3px);
}

.hartmann-site .footer-bottom {
  width: min(100%, var(--rh-content));
  margin: 0 auto;
  padding: 20px var(--rh-page-gutter) 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .hartmann-site .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .hartmann-site .nav-toggle {
    display: block;
  }

  .hartmann-site .main-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 26px;
    padding: 14px var(--rh-page-gutter) 28px;
    border-bottom: 1px solid var(--rh-line);
    background: var(--rh-white);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .13);
  }

  .hartmann-site .main-nav.is-open {
    display: grid;
  }

  .hartmann-site .main-nav > a {
    min-height: 54px;
    border-bottom: 1px solid var(--rh-line);
  }

  .hartmann-site .main-nav > a::after {
    right: auto;
    bottom: -1px;
    width: 70px;
  }

  .hartmann-site .header-actions {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .hartmann-site .site-header {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .hartmann-site .brand-logo {
    width: min(30vw, 112px);
  }

  .hartmann-site .nav-toggle {
    justify-self: end;
  }

  .hartmann-site .header-actions {
    display: none;
  }

  .hartmann-site .main-nav {
    top: 72px;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
  }

  .hartmann-site .main-nav > a {
    min-height: 52px;
  }

  .hartmann-site .mobile-language-switch {
    min-height: 52px;
    margin-top: 16px;
    display: inline-flex;
    justify-content: center;
  }

  .hartmann-site .button {
    width: 100%;
    min-height: 56px;
  }

  .hartmann-site.services-navigator-page .service-decision-copy h1 {
    font-size: clamp(36px, 10vw, 42px);
    letter-spacing: -.03em;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hartmann-site .footer-inner {
    padding-top: 46px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hartmann-site .footer-navigation {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .hartmann-site .footer-navigation > div:first-child {
    grid-column: 1 / -1;
  }

  .hartmann-site .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (min-width: 761px) {
  .hartmann-site .brand-logo {
    width: clamp(165px, 13.5vw, 218px);
  }

  .hartmann-site .footer-logo {
    width: min(210px, 100%);
  }
}

/* Kurze Lageranfrage: gemeinsames Formular fuer Startseite, Lagerung und LP. */
.hartmann-site .storage-inquiry {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  background: #11130f;
  color: #fff;
}
.hartmann-site .storage-inquiry .contact-copy,
.hartmann-site .storage-inquiry-copy {
  padding: clamp(32px, 5vw, 72px);
  align-self: center;
}
.hartmann-site .storage-inquiry-copy p:not(.eyebrow) { color: #c6c9bf; font-size: 16px; line-height: 1.65; }
.hartmann-site .storage-inquiry-copy a { color: #fff; text-underline-offset: 4px; }
.hartmann-site .storage-inquiry-copy .storage-inquiry-email { display: inline-block; margin: 20px 0 8px; color: #FFD300; font-size: clamp(17px, 1.6vw, 23px); font-weight: 700; }
.hartmann-site .storage-inquiry h2 { margin: 0 0 24px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.hartmann-site .storage-inquiry .contact-methods { margin-top: 24px; }
.hartmann-site .storage-inquiry-email { overflow-wrap: anywhere; }
.hartmann-site .storage-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 60px);
  background: #f7f7f2;
  color: #151711;
}
.hartmann-site .storage-inquiry-form label {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  text-transform: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.hartmann-site .storage-inquiry-form label > span { display: inline; }
.hartmann-site .storage-inquiry-form input:not([type="hidden"]),
.hartmann-site .storage-inquiry-form textarea,
.hartmann-site .storage-inquiry-form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #151711;
  background: #fff;
  border: 1px solid #b6b9ad;
  border-radius: 0;
}
.hartmann-site .storage-inquiry-form .form-wide,
.hartmann-site .storage-inquiry-form .privacy-text,
.hartmann-site .storage-inquiry-form .form-feedback { grid-column: 1 / -1; }
.hartmann-site .storage-inquiry-form .field-hint,
.hartmann-site .storage-inquiry-form .privacy-text { margin: 0; color: #56594e; font-size: 13px; line-height: 1.55; font-weight: 400; }
.hartmann-site .storage-inquiry-form .button { width: 100%; font-size: 13px; white-space: normal; line-height: 1.35; }
.hartmann-site .storage-inquiry-form .form-feedback:empty { display: none; }
.hartmann-site .footer-email { color: #FFD300; font-size: 14px; line-height: 1.5; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .hartmann-site .storage-inquiry { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hartmann-site .storage-inquiry-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hartmann-site *,
  .hartmann-site *::before,
  .hartmann-site *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* Context navigation: storage topic pages share one compact, accessible link row. */
.hartmann-site .storage-subnav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 28px; padding: 18px var(--rh-page-gutter); border-bottom: 1px solid var(--rh-line); background: #f4f4ef; }
.hartmann-site .storage-subnav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.4; font-weight: 700; color: #4f544b; text-decoration: none; border-bottom: 3px solid transparent; }
.hartmann-site .storage-subnav a:hover, .hartmann-site .storage-subnav a[aria-current="page"] { color: #111; border-bottom-color: var(--rh-yellow); }
.hartmann-site .storage-subnav a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (max-width: 600px) { .hartmann-site .storage-subnav { justify-content: flex-start; gap: 4px 20px; padding-top: 14px; padding-bottom: 14px; } }
@media (max-width: 1180px) {
  .hartmann-site .main-nav.is-open { display: block; max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }
}
.hartmann-site .draft-notice { margin: 0; padding: 16px var(--rh-page-gutter); background: #fff5bf; border-bottom: 1px solid #d9c452; font-size: 14px; line-height: 1.6; color: #29281e; }
.hartmann-site .draft-notice a { color: inherit; text-decoration: underline; font-weight: 700; }

/* Freigegebene Markenschrift: Seitentitel und Kontaktabschluss, nicht normale H2. */
.hartmann-site.brand-type-page:not(.home-page) main h1 {
  font-family: var(--rh-font-display);
  font-weight: 800;
  letter-spacing: -.015em;
}
.hartmann-site.brand-type-page:not(.home-page) main :is(.storage-inquiry, .op-contact, .td-closing, .company-closing, .space-cta, .service-request-section) h2 {
  font-family: var(--rh-font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-transform: none;
}
.hartmann-site.brand-type-page:not(.home-page) main :is(.storage-inquiry, .op-contact, .td-closing, .company-closing, .space-cta) h2 {
  color: var(--rh-yellow);
}
@media (max-width: 760px) {
  .hartmann-site .space-profiler-intro h2 {
    font-size: clamp(28px, 7.5vw, 34px);
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}
/* Content cards must grow with their text, including long German compounds. */
.hartmann-site main :is(.service-detail-links-grid, .service-process-grid, .service-experience-grid, .service-workflow-list, .storage-next-grid, .space-criteria-list, .sd-related, .op-situations, .op-goods, .td-related) > * {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.hartmann-site main :is(article, .rh-card, .service-detail-links-grid a, .service-workflow-list li, .space-criteria-list li, .sd-related a, .td-related a, .storage-next-grid a) :is(h2, h3, strong, p, li) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.hartmann-site .service-detail-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.hartmann-site .service-detail-links-grid a {
  min-width: 0;
  min-height: 220px;
  height: auto;
  margin-top: 0;
}
.hartmann-site .service-detail-links-grid strong {
  margin-bottom: 24px;
  line-height: 1.2;
  text-transform: none;
}
.hartmann-site .service-detail-links-grid b { flex-shrink: 0; }
.hartmann-site .storage-goods-list article > span { flex-shrink: 0; white-space: nowrap; }
.hartmann-site .storage-goods-list article > div,
.hartmann-site .space-criteria-list li > div { min-width: 0; }
.hartmann-site .service-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hartmann-site .service-process-grid article { min-height: 0; }
.hartmann-site .service-process-grid article:nth-child(4) { border-top-color: var(--rh-yellow); }
@media (max-width: 1100px) {
  .hartmann-site .service-detail-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hartmann-site .service-detail-links-grid,
  .hartmann-site .service-process-grid { grid-template-columns: 1fr; }
  .hartmann-site .service-detail-links-grid a { min-height: 178px; }
}

/* Consent preview: the same local component on every page, without tag loading. */
.consent-banner[hidden] { display: none; }
.consent-banner { position: fixed; inset: auto 24px 24px; z-index: 1200; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 24px; max-width: 1150px; margin-inline: auto; padding: 26px 30px; background: #fff; color: #151515; border: 1px solid #151515; border-top: 4px solid #FFD300; box-shadow: 0 12px 60px #0003; font: 15px/1.5 Arial, Helvetica, sans-serif; }
.consent-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.consent-banner h2, .consent-dialog h2 { margin: 0 0 12px; font: 700 25px/1.15 Arial, Helvetica, sans-serif; letter-spacing: -.03em; text-transform: none; }
.consent-banner p, .consent-dialog p { margin-block: 0 12px; }
.consent-links { font-size: 13px; }
.consent-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.consent-actions button { width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid #151515; background: #fff; color: #151515; font: 700 14px/1.3 Arial, Helvetica, sans-serif; cursor: pointer; }
.consent-actions button:hover { background: #FFD300; }
.consent-actions button:focus-visible, .consent-close:focus-visible, .consent-option input:focus-visible { outline: 3px solid #151515; outline-offset: 3px; }
.consent-dialog { box-sizing: border-box; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; color: #151515; background: #fff; border: 1px solid #151515; border-top: 4px solid #FFD300; font: 15px/1.5 Arial, Helvetica, sans-serif; overflow-y: auto; }
.consent-dialog::backdrop { background: #0009; }
.consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consent-close { border: 0; background: transparent; color: #151515; font-size: 28px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.consent-option { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid #ddd; cursor: pointer; }
.consent-option strong, .consent-option span { display: block; }
.consent-option span { margin-top: 4px; font-size: 13px; }
.consent-option input { flex: 0 0 24px; width: 24px; height: 24px; accent-color: #151515; }
.consent-required { flex: 0 0 72px; font-size: 11px !important; text-align: right; font-weight: 700; }
.consent-planned { padding: 12px; background: #f4f4ef; font-size: 13px; }
.consent-dialog .consent-actions { margin-block: 18px; }
.consent-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent-page-status { min-height: 24px; }
/* Reference-inspired warehouse series: retain the important subject in each crop. */
.hartmann-site .storage-intro__photo img[data-warehouse-motif] { object-position: 50% center; }
.hartmann-site .op-photo img[data-warehouse-motif="lagerverwaltung-bestand"] { object-position: 80% center; }
.hartmann-site .op-photo img[data-warehouse-motif="industrie-komponenten"] { object-position: 67% center; }
.hartmann-site .op-photo img[data-warehouse-motif="warenuebergabe"] { aspect-ratio: 6 / 5; object-position: 70% center; }
.hartmann-site .service-warehouse-visual img[data-warehouse-motif] { object-position: center 62%; }
@media (max-width: 760px) {
  .hartmann-site .op-photo img[data-warehouse-motif="warenuebergabe"] { aspect-ratio: 4 / 3; object-position: 70% center; }
  .hartmann-site .service-warehouse-visual img[data-warehouse-motif] { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: 70% center; }
  .hartmann-site .service-warehouse-visual picture:has(img[data-warehouse-motif]) + figcaption { position: static; width: 100%; box-sizing: border-box; box-shadow: none; }
}
@media (max-width: 640px) {
  .consent-banner { inset: auto 12px 12px; padding: 18px; gap: 8px; grid-template-columns: 1fr; max-height: 82dvh; overflow-y: auto; font-size: 13px; }
  .consent-banner h2, .consent-dialog h2 { font-size: 22px; }
  .consent-dialog { padding: 18px; }
}
