/* Base site styles (clean, newly authored). Webfonts for the proven active families.
   NOTE: "Chamberí SuperDisplay" has no font binary in the evidence and is NOT substituted.
   The generated CSS declares it as `"Chamberí SuperDisplay", Sans-serif`, so affected
   headings fall back to the browser sans-serif until a licensed font is supplied. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Roboto+Condensed:wght@300;400;500;700&family=Roboto+Slab:wght@300;400;500;700&family=Krona+One&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', Sans-serif;
  color: #7A7A7A;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
img.emoji, img.wp-smiley { height: 1em; width: 1em; display: inline-block; margin: 0 .07em; vertical-align: -0.1em; border: 0; }

/* Screen-reader-only labels must be visually hidden (Elementor core rule, not in the pack).
   Without this the social-icon platform names ("instagram", "tiktok"…) show as text. */
.elementor-screen-only, .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Floating social contact bar: source marks these social-icons _position:fixed,
   offset to the right at 40% height (51px cyan bar). Pin it fixed on the right so it
   stays visible while scrolling. */
.spg-social-fixed {
  position: fixed !important;
  right: 0 !important;
  left: auto !important;
  top: 40%;
  z-index: 450;
  margin: 0 !important;
}
.spg-social-fixed .elementor-social-icons-wrapper { flex-direction: column; gap: 0; }
.spg-social-fixed .elementor-grid-item { width: 100%; display: flex; justify-content: center; }
.spg-social-fixed .elementor-social-icon { width: 100%; border-radius: 0; }
@media (max-width: 767px) { .spg-social-fixed .elementor-social-icon { padding: 8px; } }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: #152242; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---------- Layout frame ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.site-main { min-height: 40vh; }
.site-footer { }

/* ---------- Apus primary menu (desktop) ---------- */
.apus-menu-wrap { width: 100%; }
.navbar-nav.megamenu,
.apus-primary-menu {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
  align-items: center; justify-content: center; gap: 0;
}
.megamenu li { position: relative; list-style: none; }
.megamenu > li > a { display: block; text-decoration: none; white-space: nowrap; }
.megamenu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  list-style: none; margin: 0; padding: 8px 0; display: none; z-index: 300;
}
.megamenu li:hover > .sub-menu { display: block; }
.megamenu .sub-menu li a { display: block; padding: 8px 18px; color: #152242; font-size: 13px; }
.megamenu .sub-menu li a:hover { color: #A5DAE0; }
.megamenu .sub-menu .sub-menu { top: 0; left: 100%; }

/* ---------- Mobile header + drawer ---------- */
.mobile-header { display: none; align-items: center; justify-content: space-between; padding: 10px 16px; }
.mobile-header .apus-logo img { max-height: 48px; width: auto; }
.mobile-toggle { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #152242; }
.mobile-drawer {
  display: none; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: #fff; z-index: 400; padding: 24px 20px; overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .25s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 350; }
.mobile-backdrop.open { display: block; }
.mobile-drawer .menu, .mobile-drawer .megamenu { flex-direction: column; align-items: stretch; }
.mobile-drawer .megamenu > li > a { padding: 12px 6px; border-bottom: 1px solid #eee; color: #152242; }
.mobile-drawer .sub-menu { position: static; display: block; box-shadow: none; padding-left: 14px; }
.mobile-drawer-close { position: absolute; top: 10px; right: 14px; font-size: 28px; border: 0; background: none; cursor: pointer; }
.mobile-widgets { margin-top: 22px; font-size: 14px; color: #152242; }
.mobile-widgets .mw-block { margin-bottom: 12px; }
.mobile-widgets .apus_socials_widget a { margin-right: 12px; font-size: 18px; color: #152242; }
@media (max-width: 1024px) {
  .desktop-header { display: none; }
  .mobile-header { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-drawer, .mobile-backdrop { display: none !important; }
}

/* ---------- Footer nav / social ---------- */
.apus-nav-menu .menu { list-style: none; margin: 0; padding: 0; }
.apus-nav-menu .menu li { margin: 0 0 8px; }
.apus-nav-menu .menu a { color: inherit; }
.apus-nav-menu .menu a:hover { color: #A5DAE0; }
.apus-social-links.social { display: flex; gap: 12px; align-items: center; }
.apus-social-links.social a { display: inline-flex; }
.apus-menu-missing { display: none; } /* footer 'service' menu absent from evidence (MISSING) */

/* ---------- apus_element_list_icon (feature list) ---------- */
.apus-list-icon { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.apus-cols-1 { grid-template-columns: 1fr; }
.apus-cols-2 { grid-template-columns: repeat(2, 1fr); }
.apus-cols-3 { grid-template-columns: repeat(3, 1fr); }
.apus-cols-4 { grid-template-columns: repeat(4, 1fr); }
.apus-feature { display: flex; gap: 14px; align-items: flex-start; }
.apus-feature-icon i { font-size: 28px; color: #A5DAE0; }
.apus-feature-icon img { width: 40px; height: 40px; object-fit: contain; }
.apus-feature-title { margin: 0 0 4px; font-size: 16px; color: #152242; }
.apus-feature-desc { font-size: 14px; }
@media (max-width: 767px) { .apus-cols-3, .apus-cols-4, .apus-cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- apus_element_posts / blog cards ---------- */
.apus-posts, .blog-index-list { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.apus-post-card, .blog-index-card { background: #FBF7F5; padding: 22px; border-radius: 4px; }
.apus-post-title, .blog-index-title { color: #152242; font-size: 18px; margin: 0 0 10px; }
.apus-post-excerpt, .blog-index-excerpt { font-size: 14px; color: #6E797A; }
.apus-post-more, .blog-index-more { display: inline-block; margin-top: 10px; color: #B96F4A; font-weight: 500; }
.blog-index { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.blog-index-heading { text-align: center; margin-bottom: 40px; }
.blog-index-meta { font-size: 12px; color: #A5A5A5; margin-bottom: 8px; }

/* ---------- Legal / article content ---------- */
.wp-content { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.wp-content h1 { font-size: 32px; } .wp-content h2 { font-size: 26px; }
.wp-content h3 { font-size: 20px; } .wp-content h4, .wp-content h5 { font-size: 17px; }
.wp-content p, .wp-content li { color: #5b5b5b; }
.wp-content a { color: #B96F4A; }
.article-header { max-width: 900px; margin: 0 auto; padding: 40px 20px 0; }
.article-header h1 { font-size: 30px; }
.article-meta { color: #A5A5A5; font-size: 13px; }

/* ---------- Elementor form ---------- */
.elementor-form .elementor-form-fields-wrapper { display: flex; flex-wrap: wrap; gap: 14px; }
.elementor-form .elementor-field-group { flex: 1 1 100%; }
.elementor-form .elementor-field {
  width: 100%; padding: 12px 14px; border: 1px solid #D1CECB; border-radius: 3px;
  font-family: inherit; font-size: 15px; background: #fff; color: #333;
}
.elementor-form textarea.elementor-field { resize: vertical; }
.elementor-form .elementor-field-type-acceptance { font-size: 12px; color: #6E797A; }
.elementor-form .elementor-field-type-acceptance a { color: #B96F4A; }
.elementor-form .elementor-hidden { display: none; }
.elementor-form .elementor-button { background: #A5DAE0; color: #fff; border: 0; padding: 14px 30px; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; }
.form-recaptcha-placeholder, .form-delivery-note {
  font-size: 12px; color: #9a9a9a; background: #F5F4F1; padding: 8px 12px; border-radius: 3px;
}
.form-delivery-note { margin-top: 12px; }

/* ---------- Review embed placeholders (Google reviews shortcodes) ---------- */
.review-embed-placeholder {
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  text-align: center; padding: 28px; background: #F5F4F1; border: 1px dashed #D1CECB; border-radius: 6px; margin: 10px auto; max-width: 700px;
}
.review-embed-label { font-weight: 600; color: #152242; }
.review-embed-note { font-size: 12px; color: #9a9a9a; }

/* ---------- Fixed/parallax banner ("BEHANDLUNGEN HÖCHSTER QUALITÄT", section 80fc22b) ---------- */
.elementor-element-80fc22b { background-attachment: fixed !important; }
/* iOS/Safari don't support background-attachment:fixed well; fall back to scroll there */
@media (max-width: 1024px) { .elementor-element-80fc22b { background-attachment: scroll !important; } }

/* ---------- Keyword marquee (scrolling SEO keyword strips) ---------- */
.spg-marquee { overflow: hidden; width: 100%; white-space: nowrap; }
.spg-marquee__track { display: inline-flex; width: max-content; animation: spg-marquee-scroll 40s linear infinite; }
.spg-marquee:hover .spg-marquee__track { animation-play-state: paused; }
.spg-marquee__item { display: inline-block; padding-right: 48px; white-space: nowrap; }
.spg-marquee__item p { display: inline; margin: 0; }
@keyframes spg-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .spg-marquee__track { animation: none; } }

/* ---------- Clean Revolution Slider re-creation ---------- */
/* Full-bleed: the hero is a stretched, fullscreen slider. Break out of the boxed
   1000px container to span the viewport (same technique as the site's .fullwidth_fix). */
.rev-slider {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #000;
}
.rev-slides { position: relative; width: 100%; height: clamp(420px, 78vh, 820px); }
.rev-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.rev-slide.is-active { opacity: 1; z-index: 2; }
.rev-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rev-bg-image { background-size: cover; background-position: center; }
.rev-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.28); z-index: 1; }
.rev-caption { position: relative; z-index: 2; width: 100%; padding: 0 8vw; color: #fff; }
.rev-caption-inner { max-width: 720px; }
.rev-eyebrow { font-family: 'Roboto Condensed', Sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 15px; margin-bottom: 10px; }
.rev-headline { font-family: 'Krona One', Sans-serif; font-size: clamp(30px, 5vw, 64px); line-height: 1.05; margin-bottom: 16px; color: #fff; }
.rev-subtitle { font-size: 18px; margin-bottom: 22px; opacity: .95; }
.rev-btn { display: inline-block; background: #A5DAE0; color: #fff; padding: 15px 34px; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; }
.rev-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(0,0,0,.35); color: #fff; border: 0; font-size: 30px; width: 48px; height: 60px; cursor: pointer; }
.rev-prev { left: 0; } .rev-next { right: 0; }
.rev-dots { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.rev-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.rev-dot.is-active { background: #fff; }

/* ---------- Elementor toggle (accordion) interactivity ---------- */
.elementor-tab-content { display: none; }
.elementor-tab-content.is-open { display: block; }
.elementor-tab-title { cursor: pointer; }
.elementor-toggle-icon-opened { display: none; }
.elementor-tab-title.is-active .elementor-toggle-icon-opened { display: inline-block; }
.elementor-tab-title.is-active .elementor-toggle-icon-closed { display: none; }

/* ---------- Cookie consent banner (compact, reuses site palette + button component) ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: #ffffff;
  border-top: 1px solid #D1CECB;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #152242;
  max-width: 820px;
}
.cookie-banner__text a { color: #B96F4A; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
/* Reuse the site's .elementor-button, but compact (not hero-CTA size); both equally prominent. */
.cookie-btn.elementor-button {
  font-size: 13px;
  padding: 9px 20px;
  line-height: 1.2;
  letter-spacing: .5px;
  text-transform: none;
  border-radius: 3px;
  transition: all .25s;
}
.cookie-btn--primary { background-color: #A5DAE0; color: #ffffff; border: 2px solid #A5DAE0; }
.cookie-btn--primary:hover, .cookie-btn--primary:focus { background-color: #152242; border-color: #152242; color: #ffffff; }
.cookie-btn--secondary { background-color: transparent; color: #152242; border: 2px solid #A5DAE0; }
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus { background-color: #A5DAE0; color: #ffffff; }
.cookie-btn:focus-visible { outline: 2px solid #152242; outline-offset: 2px; }

.footer-cookie-settings { text-align: center; padding: 14px 20px; background: #F8F8F8; }
.cookie-settings-link {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; color: #152242; text-decoration: underline; padding: 0;
}
.cookie-settings-link:hover, .cookie-settings-link:focus { color: #B96F4A; }
.cookie-settings-link:focus-visible { outline: 2px solid #152242; outline-offset: 2px; }

/* ---------- back-to-top ---------- */
#back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 300; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: #A5DAE0; color: #fff; font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#back-to-top.active { opacity: 1; pointer-events: auto; }
