/* Site-wide additions on top of the Relume page stylesheets (loaded on every page after <page>.css):
   logo size, phone/WhatsApp in the header, floating WhatsApp button, and the sections added after the
   Relume export (home hero, trust bar, team, service area, radius map, prints and extras). */

.fb-icon { font-family: var(--icon-font-family, "Material Symbols Rounded"); font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; -webkit-font-smoothing: antialiased; }
.fb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- header: logo, phone, WhatsApp */
.company-logo { height: 40px !important; width: auto; }
.nav-logo-wrapper { flex: none; }
.navbar-container .nav-menu { margin-left: auto; }
.fb-nav-contact { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; position: relative; z-index: 2; flex: none; }
.fb-nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; min-width: 44px; min-height: 44px; padding: 0 0.75rem; border-radius: var(--button-radius, 12px); border: 1px solid var(--scheme-border); color: var(--scheme-heading); text-decoration: none; font-family: var(--font-family-body); font-weight: 600; white-space: nowrap; transition: background-color 0.2s ease, border-color 0.2s ease; }
.fb-nav-link:hover { border-color: var(--scheme-heading); }
.fb-nav-link:focus-visible { outline: 2px solid var(--scheme-accent); outline-offset: 2px; }
.fb-nav-link .fb-icon { font-size: 1.25rem; }
.fb-nav-wa { background: #25D366; border-color: #25D366; color: #08070A; }
.fb-nav-wa:hover { background: #1fb959; border-color: #1fb959; }
.fb-wa-glyph { width: 1.25rem; height: 1.25rem; flex: none; }
@media (max-width: 1439px) {
  .fb-nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fb-nav-link { padding: 0; width: 44px; }
  .nav-menu .nav-link { padding-left: 0.625rem; padding-right: 0.625rem; }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .navbar { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .company-logo { height: 36px !important; }
  .nav-menu .nav-link { font-size: 0.875rem; padding-left: 0.375rem; padding-right: 0.375rem; }
  .nav-menu .button { padding-left: 0.875rem; padding-right: 0.875rem; }
  .fb-nav-contact { margin-left: 0.5rem; gap: 0.375rem; }
}
@media (max-width: 991px) {
  .fb-nav-contact { margin-left: auto; margin-right: 0.75rem; gap: 0.375rem; }
  .navbar-container .nav-menu { margin-left: 0; }
}
@media (max-width: 479px) {
  .company-logo { height: 34px !important; }
  .fb-nav-link { width: 42px; min-width: 42px; min-height: 42px; }
}

/* ---------- floating WhatsApp button */
.fb-wa-float { position: fixed; right: 16px; bottom: calc(16px + var(--fb-float-offset, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #08070A; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(8, 7, 10, 0.25); transition: opacity 0.2s ease, transform 0.2s ease; text-decoration: none; }
.fb-wa-float:hover { transform: scale(1.05); }
.fb-wa-float:focus-visible { outline: 3px solid #08070A; outline-offset: 3px; }
.fb-wa-float svg { width: 30px; height: 30px; }
.fb-wa-float.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
@media (max-width: 767px) { .fb-wa-float { width: 52px; height: 52px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .fb-wa-float { transition: none; } }

/* ---------- home hero */
.fb-hero { position: relative; min-height: clamp(560px, 86vh, 820px); display: flex; align-items: center; overflow: hidden; background: #121016; color: #fff; }
.fb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.fb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 7, 10, 0.55) 0%, rgba(8, 7, 10, 0.62) 55%, rgba(8, 7, 10, 0.78) 100%); }
.fb-hero-inner { position: relative; z-index: 1; width: 100%; padding: 7rem 1rem 5rem; }
.fb-hero-content { max-width: 52rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.fb-hero-content .tagline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.fb-hero-title { color: #fff; margin: 0; text-wrap: balance; }
.fb-hero-text { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 40rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.fb-hero-price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.5rem; margin: 0; font-family: var(--font-family-heading); font-weight: 700; color: #fff; font-size: 1.125rem; }
.fb-hero-price strong { font-size: 1.75rem; }
.fb-hero-price > * { white-space: nowrap; }
.fb-hero .button-group { justify-content: center; }
.fb-hero .button-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.fb-hero .button-secondary:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 479px) {
  .fb-hero { min-height: 0; }
  .fb-hero-inner { padding: 5.5rem 1rem 3.5rem; }
  .fb-hero .button-group { flex-direction: column; align-items: stretch; width: 100%; }
  .fb-hero .button-group .button { justify-content: center; }
}

/* ---------- trust bar */
.fb-trust { padding: 1.25rem 0; border-bottom: 1px solid var(--scheme-border); }
.fb-trust-list { list-style: none; margin: 0 auto; padding: 0 1rem; max-width: 80rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.fb-trust-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--scheme-heading); font-weight: 600; line-height: 1.3; }
.fb-trust-list .fb-icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--scheme-accent-subtle, rgba(107, 78, 255, 0.1)); color: var(--scheme-accent); font-size: 1.375rem; }
@media (max-width: 991px) { .fb-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .fb-trust-list { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---------- shared layout for added sections */
.fb-section { padding: clamp(4rem, 8vw, 7rem) 1rem; }
.fb-container { max-width: 80rem; margin: 0 auto; }
.fb-head { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.fb-head h2 { margin: 0; }
.fb-head p { margin: 0; }
.fb-card { background: var(--scheme-background); border: 1px solid var(--scheme-border); border-radius: var(--radius-large, 24px); overflow: hidden; }

/* ---------- team */
.fb-team { display: flex; justify-content: center; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.fb-person { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.fb-person img { width: clamp(9rem, 18vw, 12rem); height: clamp(9rem, 18vw, 12rem); border-radius: 50%; object-fit: cover; border: 4px solid var(--scheme-background); box-shadow: 0 0 0 1px var(--scheme-border); }
.fb-person-name { font-family: var(--font-family-heading); font-weight: 700; font-size: 1.375rem; color: var(--scheme-heading); }
.fb-person-role { color: var(--scheme-text-muted); }

/* ---------- service area */
.fb-area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 991px) { .fb-area { grid-template-columns: 1fr; } }
.fb-towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fb-towns li { padding: 0.5rem 0.875rem; border-radius: 999px; border: 1px solid var(--scheme-border); color: var(--scheme-heading); font-weight: 600; background: var(--scheme-background); }
.fb-area-text { display: flex; flex-direction: column; gap: 1.25rem; }
.fb-area-text p { margin: 0; }
.fb-note { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.125rem; border-radius: var(--radius-medium, 16px); background: var(--scheme-background-secondary); color: var(--scheme-text); line-height: 1.5; }
.fb-note .fb-icon { color: var(--scheme-accent); font-size: 1.375rem; flex: none; margin-top: 0.05rem; }
.fb-note strong { color: var(--scheme-heading); }
.fb-note-warn { background: color-mix(in srgb, #F2B705 16%, var(--scheme-background)); }
.fb-note-warn .fb-icon { color: #9a6a00; }

/* ---------- radius check (Pakete page and booking step 2) */
.fb-radius { display: flex; flex-direction: column; gap: 1rem; }
.fb-radius-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 0.75rem; align-items: end; }
.fb-radius-form label { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.9375rem; color: var(--scheme-heading); font-weight: 600; }
.fb-radius-form .input { min-height: 48px; }
.fb-radius-form .button { min-height: 48px; }
@media (max-width: 767px) { .fb-radius-form { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .fb-radius-form .fb-wide { grid-column: 1 / -1; } }
.fb-map { width: 100%; aspect-ratio: 4 / 3; max-height: 460px; border-radius: var(--radius-medium, 16px); border: 1px solid var(--scheme-border); overflow: hidden; background: var(--scheme-background-secondary); z-index: 0; }
@media (max-width: 479px) { .fb-map { aspect-ratio: 1 / 1; } }
.fb-map-fallback { display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--scheme-text-muted); }
.fb-radius-result { min-height: 1.5rem; }
.fb-radius-result:empty { display: none; }
.fb-result { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.125rem; border-radius: var(--radius-medium, 16px); border: 1px solid var(--scheme-border); background: var(--scheme-background); line-height: 1.5; }
.fb-result .fb-icon { font-size: 1.5rem; flex: none; }
.fb-result strong { display: block; color: var(--scheme-heading); }
.fb-result.is-in .fb-icon { color: #1a7f37; }
.fb-result.is-zh .fb-icon { color: var(--scheme-accent); }
.fb-result.is-out .fb-icon { color: #9a6a00; }
.fb-result.is-error .fb-icon { color: #b42318; }
.fb-small { font-size: 0.875rem; color: var(--scheme-text-muted); line-height: 1.5; }
.fb-small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.leaflet-container { font-family: var(--font-family-body); }
.leaflet-control-attribution { font-size: 11px; }

/* ---------- prints and extras (Pakete page) */
.fb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.fb-tile { display: flex; flex-direction: column; }
.fb-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fb-tile-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.fb-tile-title { font-family: var(--font-family-heading); font-weight: 700; font-size: 1.1875rem; color: var(--scheme-heading); margin: 0; }
.fb-tile-price { font-family: var(--font-family-heading); font-weight: 700; font-size: 1.375rem; color: var(--scheme-heading); }
.fb-tile-body p { margin: 0; color: var(--scheme-text); line-height: 1.5; }
.fb-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; padding: 0.25rem 0.625rem; border-radius: 999px; background: color-mix(in srgb, #F2B705 22%, var(--scheme-background)); color: #5c4000; }
.fb-included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem 1.5rem; }
.fb-included li { display: flex; gap: 0.625rem; align-items: center; color: var(--scheme-heading); font-weight: 600; }
.fb-included .fb-icon { color: var(--scheme-accent); font-size: 1.375rem; }
.fb-stack { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.fb-subhead { font-family: var(--font-family-heading); font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--scheme-heading); margin: 0 0 1.25rem; }

/* sections added next to a Relume section of the same scheme get the secondary background */
.fb-trust, .fb-alt { background-color: var(--scheme-background-secondary); }
.fb-person { margin: 0; }
.fb-person figcaption { display: flex; flex-direction: column; gap: 0.25rem; }
.fb-area-img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; border-radius: var(--radius-large, 24px); display: block; }
.fb-area .fb-towns li { background: transparent; }
@media (max-width: 767px) { .fb-radius-form .fb-wide-mobile { grid-column: 1 / -1; } }

/* rotating testimonials (home) */
#\35 9134e18-ac84-41b0-9429-0d372386bd8d .grid-column-2 { transition: opacity 0.3s ease; }
#\35 9134e18-ac84-41b0-9429-0d372386bd8d .grid-column-2.fb-fading { opacity: 0; }
.fb-quote-dots { display: flex; justify-content: center; gap: 0.25rem; }
.fb-quote-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.fb-quote-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--scheme-border); transition: background-color 0.2s ease, transform 0.2s ease; }
.fb-quote-dots button[aria-current="true"]::before { background: var(--scheme-accent); transform: scale(1.2); }
.fb-quote-dots button:focus-visible { outline: 2px solid var(--scheme-accent); outline-offset: -4px; border-radius: 50%; }

/* team illustrations (full figure next to the box): show whole image, no circle crop */
.fb-person img { border-radius: var(--radius-large, 24px); width: clamp(13rem, 24vw, 17rem); height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.media.fb-illustration { object-fit: contain; background: #fff; }
.media-wrapper.aspect-portrait:has(> .fb-illustration) { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius-large, 24px); }
