/* Site-wide refinements for the static HTML edition. */

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.14;
  text-wrap: balance;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.22;
  text-wrap: balance;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
  text-wrap: balance;
}

.elementor-widget-text-editor {
  line-height: 1.75;
}

.elementor-widget-text-editor p {
  margin-block-end: 1em;
}

.elementor-widget-text-editor p:last-child {
  margin-block-end: 0;
}

.elementor-widget-button .elementor-button,
.elementskit-info-image-box .elementskit-btn {
  border-radius: 5px;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.elementor-widget-button .elementor-button:hover,
.elementskit-info-image-box .elementskit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgb(14 57 92 / 18%);
}

.elementor a:focus-visible,
.elementor button:focus-visible,
.elementor [role="button"]:focus-visible {
  outline: 3px solid #d79a35;
  outline-offset: 3px;
}

/* Dropdown links fill their entire row, so the hover color is full-width. */
.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul {
  min-width: 240px;
  padding: 6px 0;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 16%);
}

.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul li {
  display: block;
  width: 100%;
  margin: 0;
}

.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul li > a,
.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu.eael-simple-menu-responsive li ul li > a {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  padding: 12px 20px;
  line-height: 1.45;
  transition: color 160ms ease, background-color 160ms ease;
}

.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul li:hover > a,
.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul li > a:hover,
.elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul li > a:focus-visible {
  color: #fff !important;
  background-color: #0e395c !important;
}

@media (max-width: 767px) {
  body {
    line-height: 1.6;
  }

  .elementor-widget-text-editor {
    line-height: 1.7;
  }

  .elementor-29 .elementor-element.elementor-element-684a7ef .eael-simple-menu li ul {
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* A calmer, more consistent layout across the exported pages. */
body.elementor-page {
  color: #35424e;
  font-size: 16px;
}

body.elementor-page > .elementor > .elementor-section.elementor-top-section:not(:first-child):not(:has(.elementor-widget-google_maps)) {
  padding-block: clamp(3.75rem, 5vw, 5.75rem) !important;
}

body.elementor-page > .elementor > .elementor-top-section.elementor-section-boxed:not(:first-child) > .elementor-container {
  width: calc(100% - 48px);
  max-width: 1280px !important;
}

.elementor-section .elementor-widget-text-editor p {
  text-wrap: pretty;
}

.elementor-11 .elementor-element.elementor-element-b7bd447 .elementor-widget-image img {
  width: auto;
  max-height: 78px;
  object-fit: contain;
}



/* Service tiles become aligned cards with a restrained lift on hover. */
.elementor-widget-elementskit-image-box .elementskit-info-image-box {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(10 35 55 / 10%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgb(10 35 55 / 16%);
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-body {
  padding: 18px 22px 22px;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-style-content {
  margin-bottom: 18px;
}

.elementor-widget-elementskit-image-box .elementskit-info-box-title {
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.elementor-page {
    font-size: 15px;
  }

  body.elementor-page > .elementor > .elementor-section.elementor-top-section:not(:first-child):not(:has(.elementor-widget-google_maps)) {
    padding-block: 3.25rem !important;
  }

  body.elementor-page > .elementor > .elementor-top-section.elementor-section-boxed:not(:first-child) > .elementor-container {
    width: calc(100% - 32px);
  }

  .elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-body {
    padding: 16px 18px 20px;
  }

  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    text-align: left;
  }
}

/* ==========================================================================
   Ergänzungen (Design-Review 09/2026)
   ========================================================================== */

/* Kopfleiste: Öffnungszeiten, Adresse, Telefon einzeilig und mittig ausgerichtet */
.elementor-element-754b2f81 .elementor-widget-elementskit-header-info {
  width: auto !important;
  max-width: none !important;
}

.elementor-element-754b2f81 .ekit-header-info li,
.elementor-element-754b2f81 .ekit-header-info li > a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.3;
}

.elementor-element-754b2f81 .ekit-header-info svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0 !important;
  fill: currentColor;
}

.elementor-element-754b2f81 .ekit-header-info a[href^="tel:"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Leistungs-Kacheln: Text nutzt die volle Kartenbreite */
.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-content {
  padding-inline: 22px !important;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-body {
  display: flex;
  flex-direction: column;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-footer {
  margin-top: auto;
}

/* Abschnitte mit Form-Trenner oben: Inhalt nicht mehr von der Spitze überdeckt */
body.elementor-page .elementor-top-section:has(> .elementor-shape-top) > .elementor-container {
  padding-top: 44px;
}

@media (max-width: 767px) {
  body.elementor-page .elementor-top-section:has(> .elementor-shape-top) > .elementor-container {
    padding-top: 24px;
  }
}

/* Google-Maps-Platzhalter: Elementor setzt line-height:0 für Karten – Text überlappte */
.scc-placeholder {
  line-height: 1.5;
  border-radius: 0;
  border-inline: 0;
}

.scc-placeholder-icon {
  line-height: 1;
  margin-bottom: 12px;
}

.scc-placeholder-meta {
  line-height: 1.5;
  margin-top: 4px;
}

.scc-ph-load {
  background: #0e395c;
  border-color: #0e395c;
}

.scc-ph-load:hover,
.scc-ph-load:focus-visible {
  background: #17507f;
}

/* Cookie-Banner: Überschrift nicht von der globalen h2-Größe aufblähen lassen */
#scc-banner .scc-banner-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  line-height: 1.25;
  margin-bottom: 6px;
}

/* Barrierefreiheits-Button überdeckt bei offenem Cookie-Banner nicht dessen Buttons */
body:has(#scc-banner:not([hidden])) .a11y-widget.a11y-pos-bottom-right {
  top: 16px;
  bottom: auto !important;
}

/* Footer */
.ekit-template-content-footer a {
  transition: color 160ms ease;
}

.ekit-template-content-footer a:hover,
.ekit-template-content-footer a:focus-visible {
  color: #d79a35 !important;
}

@media (max-width: 767px) {
  .ekit-template-content-footer .elementor-widget-text-editor,
  .ekit-template-content-footer .elementor-widget-text-editor p {
    text-align: center !important;
  }
}

/* Weniger Bewegung für Nutzer, die das im System eingestellt haben */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .elementor-invisible {
    visibility: visible !important;
  }
}

/* Footer: einheitliche Schriftgröße in allen Spalten */
.ekit-template-content-footer .elementor-widget-text-editor,
.ekit-template-content-footer .elementor-widget-text-editor p,
.ekit-template-content-footer .elementor-icon-list-text,
.ekit-template-content-footer .elementor-widget-icon-list a {
  font-size: 15px !important;
  line-height: 1.75 !important;
}

/* ==========================================================================
   Design-Update 27.09.2026
   ========================================================================== */

:root {
  --jh-blue: #0e395c;
  --jh-blue-600: #17507f;
  --jh-orange: #e08a1e;
  --jh-radius: 12px;
  --jh-shadow: 0 10px 30px rgb(10 35 55 / 12%);
}

/* --- Kopfbereich: kompaktes Logo, feste Höhen (Grundlage für die Sticky-Navigation in jh-layout.css) --- */
.elementor-29 .elementor-element.elementor-element-b7bd447 {
  padding-block: 10px !important;
}

.elementor-29 .elementor-element.elementor-element-b7bd447 > .elementor-container {
  min-height: 0 !important;
}

.elementor-29 .elementor-element.elementor-element-b7bd447 .elementor-widget-image img {
  height: 64px !important;
  max-height: none !important;
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 1024px) {
  .elementor-29 .elementor-element.elementor-element-b7bd447 .elementor-widget-image img {
    height: 64px !important;
  }
}

@media (max-width: 767px) {
  .elementor-29 .elementor-element.elementor-element-b7bd447 {
    padding-block: 8px !important;
  }

  .elementor-29 .elementor-element.elementor-element-b7bd447 .elementor-widget-image img {
    height: 56px !important;
  }
}

/* Anker-Sprünge (#kontakt, #faq …) landen nicht unter der festen Navigation */
html {
  scroll-padding-top: 72px;
}

/* --- Dachzeilen über Überschriften: einheitlich als Label mit Akzentstrich --- */
.elementor-widget-heading:has(+ .elementor-widget-heading) p.elementor-heading-title {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4 !important;
}

.elementor-widget-heading:has(+ .elementor-widget-heading) p.elementor-heading-title::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin: -2px 10px 0 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--jh-orange);
}


/* --- Leistungs-Kacheln: gleiche Höhe, einheitliche Bildproportion --- */
.elementor-widget-elementskit-image-box,
.elementor-widget-elementskit-image-box > .elementor-widget-container,
.elementor-widget-elementskit-image-box .ekit-wid-con {
  height: 100%;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-header {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box .elementskit-box-header img {
  display: block;
  width: 100% !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 400ms ease;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box:hover .elementskit-box-header img {
  transform: scale(1.04);
}

/* --- Kontaktbereich: Anschrift / Telefon als ruhige Info-Karten --- */
.elementor-inner-section:has(.elementor-widget-heading h2) .elementor-inner-column:has(> .elementor-widget-wrap > .elementor-widget-heading + .elementor-widget-text-editor) > .elementor-widget-wrap {
  border-radius: var(--jh-radius);
}

.elementor-11 .elementor-element.elementor-element-b9c77f1 .elementor-inner-column > .elementor-element-populated {
  margin: 6px !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-left: 3px solid var(--jh-orange) !important;
  border-radius: 0 var(--jh-radius) var(--jh-radius) 0 !important;
  background: rgb(255 255 255 / 7%);
}

.elementor-11 .elementor-element.elementor-element-b9c77f1 .elementor-inner-column:not(:has(.elementor-widget-heading)) > .elementor-element-populated {
  border-left: 0 !important;
  background: none;
}

/* --- Buttons: einzeilig, großzügige Klickfläche --- */
.elementor-button {
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* --- Footer: Copyright-Zeile --- */
.ekit-template-content-footer p a[href*="pixelmedia"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 404-Seite --- */
.error-404 {
  max-width: 640px;
}

.error-404__lead {
  font-size: 1.1rem;
}

.error-404__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
}

.error-404__links a {
  display: block;
  padding: 12px 16px;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  background: #fff;
  color: var(--jh-blue);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.error-404__links a:hover,
.error-404__links a:focus-visible {
  background: var(--jh-blue);
  color: #fff;
}

@media (max-width: 767px) {
  .elementor-widget-heading:has(+ .elementor-widget-heading) p.elementor-heading-title {
    display: block !important;
    font-size: 12px !important;
  }

  .elementor-widget-heading:has(+ .elementor-widget-heading) p.elementor-heading-title::before {
    display: none;
  }
}

/* Nebeneinanderstehende Buttons (z. B. Karriere) mit Abstand */
.elementor-widget-button.elementor-widget__width-initial + .elementor-widget-button.elementor-widget__width-initial,
.elementor-widget-button.elementor-widget__width-auto + .elementor-widget-button.elementor-widget__width-auto {
  margin-left: 12px !important;
}

/* Telefonnummer im Kontaktblock (dunkler Hintergrund) gut lesbar in Weiß */
.elementor-11 .elementor-element.elementor-element-a44d8f7 a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Von iOS automatisch verlinkte Nummern/Adressen übernehmen die Textfarbe */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: inherit !important;
  font: inherit !important;
}
