/* ============================================================
   Prorec extras — phase 3
   - WhatsApp floating button (FAB)
   - "Open now" badge
   - Google review CTA
   - Maps embed wrapper
   - Service-area block
   ============================================================ */

/* ---- Open-now badge ---------------------------------------- */
.pr-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.pr-now--closed {
  background: rgba(244, 63, 94, 0.10);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.30);
}
.pr-now__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: prNowPulse 1.8s infinite;
}
.pr-now--closed .pr-now__dot { animation: none; }
@keyframes prNowPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---- Google review CTA ------------------------------------- */
.pr-gbp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: #202124;
  border: 1px solid #dadce0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  margin-left: 12px;
}
.pr-gbp-cta:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transform: translateY(-1px);
  color: #202124;
}
.pr-gbp-cta__star { color: #fbbc04; }

/* ---- Maps embed -------------------------------------------- */
.pr-map {
  margin-top: 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.10);
}
.pr-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ---- Service-area note ------------------------------------- */
.pr-service-area {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--pr-accent, #ff5e14);
  background: rgba(255, 94, 20, 0.06);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.55;
}
.pr-service-area strong { color: var(--pr-accent, #ff5e14); }

/* ---- Full-width map block under contact section ----------- */
.pr-map-full {
  margin: 28px 0 0;
}
.pr-map-full .container > .pr-service-area {
  margin: 0 0 24px;
}
.pr-map-full .pr-map {
  margin-top: 0;
  background: #1a1a1a;
}
/* Dark-mode filter for the embedded Google Maps iframe */
.pr-map-full .pr-map iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.85) contrast(0.95);
}
.pr-map-full .pr-map iframe {
  height: 380px;
}
@media (max-width: 767px) {
  .pr-map-full .pr-map iframe { height: 280px; }
}

/* ---- Footer open-now badge --------------------------------- */
.footer-widget-three__logo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-widget-three__logo-row .footer-widget-three__logo { margin: 0; }
.pr-now--footer {
  display: inline-flex;
  margin: 0;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.pr-now--footer .pr-now__text { color: #fff; }

/* ---- WhatsApp floating button ------------------------------ */
.pr-fab {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45),
              0 2px 6px rgba(0,0,0,.20);
  transition: transform .25s, box-shadow .25s;
}
.pr-fab,
.pr-fab:hover,
.pr-fab:focus,
.pr-fab:active,
.pr-fab:visited,
.pr-fab i {
  color: #fff !important;
}
.pr-fab:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55),
              0 2px 8px rgba(0,0,0,.25);
  background: #25D366;
}
.pr-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: prFabPulse 2.4s infinite;
}
@keyframes prFabPulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* avoid overlap with cookie banner on small screens */
@media (max-width: 575px) {
  .pr-fab { left: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 26px; }
}

/* hide FAB when print */
@media print { .pr-fab { display: none !important; } }

/* ---- Careers section --------------------------------------- */
.careers-one {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
  color: #fff;
  overflow: hidden;
}
.careers-one::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(250, 110, 44, 0.10), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(250, 110, 44, 0.06), transparent 60%);
  pointer-events: none;
}
.careers-one__inner { position: relative; z-index: 1; }

.careers-one .section-title__title {
  color: #fff;
  margin-bottom: 22px;
}
.careers-one__lead {
  color: #c9c9c9;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 600px;
}
.careers-one__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
@media (max-width: 575px) {
  .careers-one__perks { grid-template-columns: 1fr; }
}
.careers-one__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e5e5e5;
  font-size: 15px;
  line-height: 1.55;
}
.careers-one__perks li i {
  color: #fa6e2c;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.careers-one__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.careers-one__actions .thm-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
}
.careers-one__actions .thm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.careers-one__actions .thm-btn--ghost i { margin-right: 8px; }

.careers-one__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(6px);
}
@media (max-width: 991px) {
  .careers-one__card { margin-top: 50px; }
}
.careers-one__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(250, 110, 44, 0.14);
  color: #fa6e2c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.careers-one__card-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.careers-one__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.careers-one__card-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e5e5;
  font-size: 15px;
}
.careers-one__card-list li:last-child { border-bottom: 0; }
.careers-one__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fa6e2c;
}
.careers-one__card-foot {
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.10);
  margin-top: 16px;
}

/* ---- Accessibility (Phase 7) -------------------------------- */

/* Skip-to-content link — only visible on keyboard focus.
   Helps screen-reader and keyboard-only users bypass the long nav. */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100000;
  padding: 12px 18px;
  background: #fa6e2c;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: top 0.18s ease-out;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Visible keyboard-focus ring across interactive elements.
   We deliberately use :focus-visible so mouse clicks don't show the ring,
   but Tab navigation does. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #fa6e2c;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Some template controls remove outline — undo for keyboard users */
.thm-btn:focus-visible,
.cookie-banner__btn:focus-visible,
.pr-fab:focus-visible,
.pr-wa-btn:focus-visible,
.pr-gbp-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(250, 110, 44, 0.45);
}

/* Visually hidden helper for screen-reader-only labels */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Respect reduced-motion preference — kill template auto-animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .float-bob-x,
  .float-bob-y { animation: none !important; }
}

/* Make sure the page-level main landmark scrolls cleanly */
main:focus { outline: none; }

/* ---- Contact buttons: larger phone & WhatsApp icons -------- */
.why-choose-one__btn-box .thm-btn > span:last-child {
  width: 50px;
  height: 50px;
}
.why-choose-one__btn-box .thm-btn > span:last-child > i {
  font-size: 19px;
}
/* Make the WhatsApp glyph optically larger inside its circle */
.why-choose-one__btn-box .thm-btn.pr-wa-btn > span:last-child > i.fa-whatsapp {
  font-size: 28px;
  line-height: 1;
}

/* ---- Hover: keep orange button, white text, no orange pill behind text ----- */
/* Override prorec-dark.css which makes hover bg white + text orange */
.thm-btn:not(.pr-wa-btn):not(.thm-btn--ghost),
.thm-btn:not(.pr-wa-btn):not(.thm-btn--ghost):hover {
  background-color: var(--tanspot-base) !important;
  color: #fff !important;
  border-color: var(--tanspot-base) !important;
}
/* WhatsApp button: green pill, white icon-circle with green glyph */
.thm-btn.pr-wa-btn,
.thm-btn.pr-wa-btn:hover {
  background-color: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}
.thm-btn.pr-wa-btn > span:last-child:not([data-i18n]) {
  background-color: #fff !important;
  color: #25D366 !important;
}
.thm-btn.pr-wa-btn > span:last-child:not([data-i18n]) > i { color: #25D366 !important; }

/* Ghost button (Karriere "Direkt anrufen"): transparent bg, white outline+text at all states */
.thm-btn.thm-btn--ghost,
.thm-btn.thm-btn--ghost:hover {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.30) !important;
}
.thm-btn.thm-btn--ghost:hover {
  background-color: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.55) !important;
}
.thm-btn.thm-btn--ghost > span:last-child:not([data-i18n]) {
  background-color: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}
.thm-btn.thm-btn--ghost > span:last-child:not([data-i18n]) > i { color: #fff !important; }
.thm-btn.thm-btn--ghost:hover > span:last-child:not([data-i18n]) {
  background-color: #fff !important;
  color: var(--tanspot-base) !important;
}
.thm-btn.thm-btn--ghost:hover > span:last-child:not([data-i18n]) > i { color: var(--tanspot-base) !important; }
/* The text span must NEVER have its own background (kill the orange pill on hover) */
.thm-btn > span[data-i18n],
.thm-btn:hover > span[data-i18n] {
  background-color: transparent !important;
  color: #fff !important;
}
/* Icon-circle (last span): dark in normal, white on hover with accent icon */
.thm-btn:not(.pr-wa-btn) > span:last-child:not([data-i18n]) {
  background-color: var(--tanspot-black) !important;
  color: #fff !important;
}
.thm-btn:not(.pr-wa-btn) > span:last-child:not([data-i18n]) > i { color: #fff !important; }
.thm-btn:not(.pr-wa-btn):hover > span:last-child:not([data-i18n]) {
  background-color: #fff !important;
  color: var(--tanspot-base) !important;
}
.thm-btn:not(.pr-wa-btn):hover > span:last-child:not([data-i18n]) > i { color: var(--tanspot-base) !important; }
/* Disable the white ::before / ::after sweep injected by prorec-dark.css */
.thm-btn::before,
.thm-btn::after { background-color: transparent !important; }


/* =====================================================================
   Mobile responsive polish
   ===================================================================== */

/* When 3-up / 2-up grids collapse on tablet/phone, give every stacking
   column real vertical breathing room. NOTE: must apply margin to the
   COLUMN element, not the inner card, otherwise the bottom margin
   collapses out of the flex column and is ignored by the next col. */
@media (max-width: 991px) {
  .feature-two .row > [class*="col-"],
  .services-three .row > [class*="col-"],
  .testimonial-three .row > [class*="col-"],
  .careers-one .row > [class*="col-"],
  .footer-widget-three__column,
  .testimonial-three__single {
    margin-bottom: 30px;
  }
  .feature-two .row > [class*="col-"]:last-child,
  .services-three .row > [class*="col-"]:last-child,
  .testimonial-three .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  .branchen__list > li + li { margin-top: 0; }
  .branchen__list { gap: 30px !important; }

  /* Contact: left column (heading + bullets + buttons) needs space before form */
  .why-choose-one__left { margin-bottom: 30px; }

  /* Careers: stack columns with gap */
  .careers-one .col-lg-5 { margin-top: 30px; }

  /* About-three: image + text stack */
  .about-three__right { margin-top: 30px; }

  /* When About / Contact / FAQ stack on tablet & phone, center their
     section titles + intro paragraph (image-beside-text layout collapses) */
  .about-three__right .section-title,
  .why-choose-one__left .section-title,
  .faq-one__left .section-title {
    text-align: center !important;
  }
  .about-three__right .section-title__tagline-box,
  .why-choose-one__left .section-title__tagline-box,
  .faq-one__left .section-title__tagline-box {
    justify-content: center;
  }
  .about-three__text,
  .why-choose-one__text {
    text-align: center;
  }
}

/* Fine-tune for phones */
@media (max-width: 575px) {
  .careers-one__actions { flex-direction: column; align-items: stretch; }
  .careers-one__actions .thm-btn { justify-content: space-between; }

  .pr-map-full .pr-map iframe { height: 280px; }

  /* Footer columns: more vertical breathing on phones */
  .footer-widget-three__column { margin-bottom: 36px; }
  .footer-widget-three__logo-row { gap: 12px; }

  /* Stack hero buttons cleanly */
  .banner-two__btn-box,
  .banner-two__btn-and-funfact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Section paddings: trim a bit on phones */
  section { padding-top: 60px; padding-bottom: 60px; }
  .section-title__title { font-size: 28px; line-height: 1.2; }
}

/* =====================================================================
   Mobile sidebar (hamburger drawer)
   ===================================================================== */

/* Contact list: orange circle + WHITE glyph (was orange-on-orange = invisible) */
.mobile-nav__contact li > i {
  color: #fff !important;
  font-size: 13px;
}
.mobile-nav__contact li .fa-whatsapp { font-size: 15px; }

/* Social row: tighter horizontal gap, consistent click targets */
.mobile-nav__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mobile-nav__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;       /* override theme's letter-spacing */
  padding: 0;
}
.mobile-nav__social a svg { width: 14px; height: 14px; }

/* =====================================================================
   Button alignment on mobile
   ===================================================================== */
@media (max-width: 767px) {
  /* Hero quote form: center the "Anfrage senden" CTA */
  .banner-two__form-btn { text-align: center; }
  .banner-two__form-btn .thm-btn { display: inline-flex; }

  /* About-three: "Kontakt aufnehmen" + phone icon centered */
  .about-three__btn-and-video {
    flex-direction: column;
    align-items: center !important;
    gap: 24px !important;
    margin-top: 24px;
  }
  .about-three__btn-box { width: 100%; text-align: center; }
  .about-three__btn-box .thm-btn { display: inline-flex; }

  /* Contact form: "Anfrage senden" centered */
  .why-choose-one__form-btn { text-align: center; }
  .why-choose-one__form-btn .thm-btn { display: inline-flex; }
}

/* Contact section CTA buttons (Anrufen + WhatsApp): equal width side-by-side
   when there's room, stack to two rows when there isn't. */
.why-choose-one__btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.why-choose-one__btn-box .thm-btn {
  margin-left: 0 !important;
  flex: 1 1 220px;             /* grow equally, wrap when < ~440px row */
  min-width: 0;
  justify-content: space-between;
}
@media (max-width: 575px) {
  .why-choose-one__btn-box .thm-btn { flex-basis: 100%; }
}


/* Footer credit */
.pr-credit { opacity: .8; margin-left: 6px; }
.pr-credit a { color: var(--tanspot-base, #FD5523); text-decoration: none; }
.pr-credit a:hover { text-decoration: underline; }
@media (max-width: 575px) {
  .pr-credit { display: block; margin-left: 0; margin-top: 4px; }
}

/* Metal images: larger on mobile (~2.5x of previous mobile size) */
@media (max-width: 991px) {
  .sliding-text__list--metals .sliding-text__title img { height: 90px !important; max-width: 140px !important; }
  .sliding-text__list--metals .sliding-text__title { gap: 22px !important; }
}
@media (max-width: 575px) {
  .sliding-text__list--metals .sliding-text__title img { height: 100px !important; max-width: 150px !important; }
}
/* =====================================================================
   Gallery One — bento-style mosaic grid
   ===================================================================== */
.gallery-one { padding: 100px 0 110px; background: #0f1112; }
.dark-mode .gallery-one,
[data-pr-dark="true"] .gallery-one { background: #0a0a0a; }

/* Lightbox: frosted-glass + darker overlay (gallery + any .img-popup) */
.mfp-bg.mfp-fade.mfp-ready,
.mfp-bg { opacity: 1 !important; background: rgba(8, 9, 10, .82) !important; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.gallery-one .section-title { margin-bottom: 50px; }

.gallery-one__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-one__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #222;
  grid-row: span 1;
  grid-column: span 1;
  isolation: isolate;
}
.gallery-one__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
  display: block;
}
.gallery-one__item:hover img { transform: scale(1.06); }
.gallery-one__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.gallery-one__item:hover::after { opacity: 1; }
.gallery-one__zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--prorec-primary, #ff6a00);
  color: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease, transform .35s ease;
  z-index: 2;
  font-size: 18px;
}
.gallery-one__item:hover .gallery-one__zoom {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}

/* Bento spans */
.gallery-one__item--big  { grid-column: span 2; grid-row: span 2; }
.gallery-one__item--tall { grid-row: span 2; }
.gallery-one__item--wide { grid-column: span 2; }

@media (max-width: 991px) {
  .gallery-one { padding: 70px 0 80px; }
  .gallery-one__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
  .gallery-one__item--big  { grid-column: span 2; grid-row: span 2; }
  .gallery-one__item--tall { grid-row: span 2; grid-column: span 1; }
  .gallery-one__item--wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 575px) {
  .gallery-one__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .gallery-one__item--big  { grid-column: span 2; grid-row: span 2; }
  .gallery-one__item--tall { grid-column: span 1; grid-row: span 2; }
  .gallery-one__item--wide { grid-column: span 2; grid-row: span 1; }
}

/* Load-more: hidden state + reveal animation */
.gallery-one__item.is-hidden { display: none !important; }
.gallery-one__item.is-revealed { animation: galleryReveal .55s ease both; }
@keyframes galleryReveal {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Load-more button */
.gallery-one__more-wrap { margin-top: 36px; display: flex; justify-content: center; }
/* Load-more button — use site .thm-btn look; only neutralise the count span
   so it doesn't get rendered as a 44x44 circle by .thm-btn>span. */
.gallery-one__more.thm-btn { padding-left: 28px; }
.gallery-one__more.thm-btn > .gallery-one__more-count {
  background: transparent !important;
  color: inherit !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  display: inline !important;
  font-size: inherit !important;
  font-weight: 500;
  opacity: .9;
  margin-left: -2px;
  white-space: nowrap;
}
.gallery-one__more.is-done { opacity: .55; cursor: default; pointer-events: none; }