/*
 * SH Abschleppdienst — responsive hardening v2
 * Loaded after site.css. Keeps the desktop identity while making every
 * component safe and comfortable from 320px phones to wide desktops.
 */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 280px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

main,
header,
footer,
section,
.container,
.hero__inner > *,
.section-heading > *,
.process-grid > *,
.area-grid > *,
.social-grid > *,
.faq-grid > *,
.contact-grid > * {
  min-width: 0;
}

.hero,
.process,
.area,
.social-section,
.contact,
.site-footer,
.map-card,
.visual-frame,
.phone-shell {
  overflow: clip;
}

h1,
h2,
h3,
.hero__lead,
.section-heading p,
.contact-copy p,
.area-copy p,
.process-copy p,
.footer-grid a,
.footer-grid span {
  overflow-wrap: break-word;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

input,
select,
textarea {
  min-width: 0;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 207, 75, .72);
  outline-offset: 3px;
}

/* Mobile-only components are hidden on larger screens. */
.mobile-nav-contact,
.mobile-contact-bar {
  display: none;
}

/* Keep decorative objects from widening the document. */
.hero-orb--one {
  right: max(-250px, calc((100vw - 1180px) / 2 - 250px));
}

.map-grid,
.map-road,
.post-scene img,
.visual-frame > img {
  will-change: transform;
}

/* Smooth, readable scaling between desktop and tablet. */
@media (max-width: 1180px) {
  :root {
    --container: min(100% - 36px, 1040px);
  }

  .nav-wrap {
    gap: 18px;
  }

  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero__inner {
    gap: 24px;
  }

  .visual-frame > img {
    width: 116%;
    transform: translate(-4%, 5%);
  }

  .section {
    padding-block: 92px;
  }
}

/* Tablet navigation and single-column content. */
@media (max-width: 900px) {
  :root {
    --header-h: 72px;
    --container: min(100% - 32px, 760px);
  }

  html {
    scroll-padding-top: 86px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    height: var(--header-h);
    background: rgba(9, 11, 15, .96);
    border-bottom-color: var(--line);
  }

  .nav-wrap {
    position: relative;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 39px;
    font-size: 22px;
    flex: 0 0 auto;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    margin-top: 4px;
    font-size: 8px;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
    display: block;
    width: 44px;
    height: 44px;
    margin-left: 0;
    border: 1px solid var(--line);
    background: #10141b;
  }

  .nav-toggle span {
    width: 23px;
    margin-inline: auto;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .language-picker {
    width: 68px;
    height: 42px;
    justify-content: center;
    padding-inline: 7px;
  }

  .language-picker > span {
    display: none;
  }

  .language-picker select {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: calc((100vw - 100%) / -2);
    right: calc((100vw - 100%) / -2);
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px max(16px, calc((100vw - var(--container)) / 2)) 16px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0 0 20px 20px;
    background: rgba(11, 14, 19, .985);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav > a:not(.mobile-nav-button) {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .primary-nav > a::after {
    display: none;
  }

  .mobile-nav-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding-top: 12px;
  }

  .mobile-nav-button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-nav-button--call {
    background: var(--accent);
    color: #171006;
  }

  .mobile-nav-button--wa {
    background: var(--green);
    color: #06170e;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__content {
    padding-bottom: 0;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(48px, 8vw, 66px);
  }

  .hero__lead {
    max-width: 680px;
  }

  .hero__visual {
    width: min(100%, 620px);
    margin-inline: auto;
    padding: 8px 0 90px;
  }

  .visual-frame {
    min-height: 445px;
  }

  .visual-frame::before {
    width: min(76vw, 430px);
    height: min(76vw, 430px);
  }

  .visual-frame::after {
    width: min(58vw, 330px);
    height: min(58vw, 330px);
  }

  .visual-frame > img {
    width: min(112%, 650px);
    max-width: none;
    transform: translate(-3%, 5%);
  }

  .emergency-panel-wrap {
    margin-top: -54px;
  }

  .emergency-panel {
    position: relative;
    inset: auto;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    padding: 18px;
  }

  .emergency-panel__title,
  .emergency-submit {
    grid-column: 1 / -1;
  }

  .emergency-panel__title {
    padding: 0 0 3px;
  }

  .proof-strip {
    padding-top: 62px;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip__grid > div {
    border-bottom: 1px solid var(--line);
  }

  .proof-strip__grid > div:nth-child(2n) {
    border-right: 0;
  }

  .proof-strip__grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 34px;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 270px;
  }

  .process-grid,
  .area-grid,
  .social-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .area-copy {
    order: -1;
  }

  .faq-copy {
    position: static;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card p {
    min-height: 0;
  }

  .social-phone {
    min-height: 560px;
  }

  .contact-copy {
    max-width: 680px;
  }

  .final-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Phones: compact, touch-friendly and no overlapping floating controls. */
@media (max-width: 640px) {
  :root {
    --header-h: 68px;
    --container: calc(100% - 28px);
    --mobile-dock-h: 72px;
  }

  html {
    scroll-padding-top: 78px;
  }

  body {
    padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom));
  }

  .top-alert {
    display: none;
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 44px;
    height: 36px;
    font-size: 20px;
  }

  .brand-copy {
    display: flex;
    max-width: 108px;
    overflow: hidden;
  }

  .brand-copy strong {
    font-size: 9px;
    letter-spacing: .035em;
    white-space: nowrap;
  }

  .brand-copy small {
    font-size: 6.5px;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .language-picker {
    width: 61px;
    height: 40px;
    border-radius: 11px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .primary-nav {
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-bottom));
    padding-inline: 14px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .mobile-nav-contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
    background:
      radial-gradient(circle at 78% 18%, rgba(243, 183, 25, .12), transparent 32%),
      linear-gradient(180deg, #0a0d12 0%, #090b0f 88%);
  }

  .hero-grid {
    background-size: 38px 38px;
  }

  .hero-orb--one {
    width: 260px;
    height: 260px;
    right: -180px;
  }

  .hero-orb--two {
    width: 160px;
    height: 160px;
    left: -105px;
    top: 390px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .075em;
  }

  .eyebrow-badge {
    flex: 0 0 auto;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(38px, 11.4vw, 50px);
    line-height: 1.01;
    letter-spacing: -.045em;
    margin-bottom: 21px;
  }

  h2 {
    font-size: clamp(32px, 9.5vw, 41px);
    line-height: 1.06;
    letter-spacing: -.038em;
  }

  h3 {
    font-size: 18px;
  }

  .hero__lead {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 11px;
  }

  .hero__buttons .btn {
    width: 100%;
    min-height: 62px;
    justify-content: flex-start;
    padding-inline: 18px;
  }

  .btn:hover,
  .service-card:hover,
  .social-link:hover {
    transform: none;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 10px;
    margin-top: 26px;
  }

  .trust-item {
    min-width: 0;
    align-items: flex-start;
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
  }

  .trust-item > span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .trust-item strong {
    font-size: 11px;
  }

  .trust-item small {
    font-size: 9px;
  }

  .hero__visual {
    width: 100%;
    padding: 10px 0 68px;
  }

  .visual-frame {
    min-height: clamp(310px, 88vw, 370px);
  }

  .visual-frame::before {
    width: min(82vw, 330px);
    height: min(82vw, 330px);
  }

  .visual-frame::after {
    width: min(63vw, 255px);
    height: min(63vw, 255px);
  }

  .visual-frame > img {
    width: min(110%, 450px);
    transform: translate(-2.5%, 5%);
  }

  .availability-card,
  .route-card,
  .rating-card {
    max-width: calc(100% - 4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
  }

  .availability-card {
    top: 8px;
    left: 2px;
    padding: 10px 11px;
  }

  .route-card {
    left: 2px;
    bottom: 24px;
    padding: 10px 11px;
  }

  .rating-card {
    right: 2px;
    bottom: 65px;
    padding: 9px 11px;
  }

  .availability-card small,
  .route-card small,
  .rating-card small {
    font-size: 8px;
  }

  .availability-card strong,
  .route-card strong {
    font-size: 10px;
  }

  .rating-card strong {
    font-size: 18px;
  }

  .emergency-panel-wrap {
    margin-top: -28px;
  }

  .emergency-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 17px;
    border-radius: 19px;
  }

  .emergency-panel__title,
  .emergency-submit {
    grid-column: auto;
  }

  .emergency-panel label {
    display: flex !important;
  }

  .emergency-panel__title {
    padding-bottom: 2px;
  }

  .emergency-icon {
    width: 40px;
    height: 40px;
  }

  .emergency-panel__title strong {
    font-size: 14px;
  }

  label {
    gap: 6px;
    font-size: 12px;
  }

  input,
  select,
  textarea {
    font-size: 16px; /* Prevents iOS form zoom. */
  }

  input,
  select {
    height: 52px;
  }

  .emergency-submit {
    min-height: 54px;
    height: auto;
  }

  .proof-strip {
    padding: 48px 0 26px;
  }

  .proof-strip__grid {
    border-radius: 16px;
  }

  .proof-strip__grid > div {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1px;
    padding: 14px;
  }

  .proof-strip strong {
    font-size: 21px;
  }

  .proof-strip span {
    font-size: 10px;
    line-height: 1.35;
  }

  .section {
    padding-block: 64px;
  }

  .section-kicker {
    margin-bottom: 11px;
    font-size: 9px;
  }

  .section-heading {
    margin-bottom: 27px;
  }

  .section-heading > p,
  .process-copy > p,
  .area-copy > p,
  .social-copy > p,
  .faq-copy > p,
  .contact-copy > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
    border-radius: 17px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 23px;
  }

  .service-card p {
    min-height: 0;
    margin-bottom: 19px;
    font-size: 13px;
    line-height: 1.68;
  }

  .process-grid,
  .area-grid,
  .social-grid,
  .faq-grid,
  .contact-grid {
    gap: 34px;
  }

  .process-note {
    margin: 22px 0;
    padding: 16px;
  }

  .steps::before {
    left: 23px;
    top: 51px;
    bottom: 51px;
  }

  .steps li {
    gap: 14px;
    margin-bottom: 10px;
    padding: 17px;
    border-radius: 15px;
  }

  .steps li > span {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 18px;
  }

  .steps h3 {
    margin-bottom: 6px;
  }

  .steps p {
    font-size: 12px;
    line-height: 1.58;
  }

  .map-card {
    width: 100%;
    height: min(104vw, 410px);
    min-height: 340px;
    border-radius: 20px;
    contain: paint;
  }

  .map-grid {
    inset: -10%;
    transform: rotate(-6deg) scale(1.08);
  }

  .road-one {
    width: 180%;
    left: -40%;
  }

  .road-two {
    width: 155%;
    left: -18%;
  }

  .road-three {
    width: 130%;
    left: 0;
  }

  .map-radius {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 0 50px rgba(243, 183, 25, .025), 0 0 0 100px rgba(243, 183, 25, .016);
  }

  .map-live {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .area-tags {
    margin: 21px 0;
    gap: 6px;
  }

  .area-tags span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .distance-box {
    padding: 15px;
  }

  .rating-summary {
    align-self: flex-start;
  }

  .review-card {
    padding: 20px;
  }

  .review-card p {
    font-size: 13px;
    line-height: 1.68;
  }

  .review-top > small {
    display: none;
  }

  .social-links {
    margin-top: 22px;
  }

  .social-link {
    min-height: 68px;
    padding: 11px 12px;
  }

  .social-link small {
    font-size: 10px;
  }

  .social-phone {
    min-height: 495px;
  }

  .social-phone::before {
    width: 390px;
    height: 390px;
  }

  .phone-shell {
    width: min(270px, 78vw);
    height: 500px;
    border-width: 7px;
    border-radius: 36px;
    transform: rotate(1.5deg);
  }

  .post-scene {
    height: 292px;
  }

  .floating-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 17px;
  }

  .floating-social--one {
    right: 2%;
  }

  .floating-social--two {
    left: 1%;
  }

  .floating-social--three {
    right: 1%;
  }

  .accordion summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 17px 45px 17px 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .accordion summary::after {
    right: 0;
    top: 16px;
  }

  .accordion p {
    padding: 0 8px 20px 0;
    font-size: 13px;
  }

  .contact-direct {
    margin-top: 22px;
  }

  .contact-direct a,
  .contact-direct > div {
    min-height: 68px;
    padding: 12px;
  }

  .contact-direct strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .request-form {
    padding: 17px;
    border-radius: 18px;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .file-label {
    min-height: 86px;
  }

  .checkbox {
    font-size: 11px;
    line-height: 1.5;
  }

  .form-submit {
    min-height: 56px;
  }

  .final-cta {
    padding: 40px 0;
  }

  .final-cta .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .site-footer {
    padding: 54px 0 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-grid h3 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    margin-top: 32px;
    line-height: 1.5;
  }

  .floating-actions {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 170;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-height: var(--mobile-dock-h);
    padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    border-top: 1px solid var(--line-strong);
    background: rgba(8, 10, 14, .96);
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 35px rgba(0, 0, 0, .35);
  }

  .mobile-contact-bar a {
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 950;
  }

  .mobile-contact-bar__call {
    background: var(--accent);
    color: #171006;
  }

  .mobile-contact-bar__wa {
    background: var(--green);
    color: #06170e;
  }

  .mobile-contact-bar span {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(var(--mobile-dock-h) + 10px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--mobile-dock-h) - 30px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .cookie-banner > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .toast {
    width: min(calc(100% - 24px), 430px);
    bottom: calc(var(--mobile-dock-h) + 14px + env(safe-area-inset-bottom));
    text-align: center;
  }

  .legal-page {
    padding: 48px 0 72px;
  }

  .legal-page h1 {
    font-size: 38px;
  }

  .legal-card {
    padding: 20px;
  }

  /* Legal pages have a simpler header without a toggle. */
  .legal-page + .site-footer {
    padding-bottom: 18px;
  }
}

/* Very narrow devices (older 320px phones, split-screen windows). */
@media (max-width: 360px) {
  :root {
    --container: calc(100% - 22px);
  }

  .brand-copy {
    max-width: 82px;
  }

  .brand-copy small {
    display: none;
  }

  .language-picker {
    width: 56px;
  }

  h1 {
    font-size: clamp(36px, 11.8vw, 42px);
  }

  .hero__lead {
    font-size: 15px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-item:last-child {
    grid-column: auto;
  }

  .rating-card {
    display: none;
  }

  .route-card {
    right: 2px;
  }

  .proof-strip__grid > div {
    min-height: 82px;
    padding: 12px;
  }

  .mobile-contact-bar {
    gap: 6px;
    padding-inline: 7px;
  }

  .mobile-contact-bar a {
    gap: 5px;
    font-size: 11px;
  }

  .mobile-contact-bar span {
    width: 24px;
    height: 24px;
  }
}

/* Phone/tablet landscape: preserve content density without clipping. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 620px) {
  .hero {
    padding-top: 34px;
  }

  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }

  h1 {
    font-size: clamp(38px, 6.3vw, 52px);
  }

  .hero__lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .trust-row {
    margin-top: 18px;
  }

  .hero__visual {
    padding: 0 0 44px;
  }

  .visual-frame {
    min-height: 330px;
  }

  .emergency-panel-wrap {
    margin-top: -20px;
  }

  .emergency-panel {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .emergency-panel__title,
  .emergency-submit {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .mobile-contact-bar {
    transition: none !important;
  }
}

/* The legal pages use a compact single-link header and do not need an off-canvas menu. */
@media (max-width: 900px) {
  .legal-body .primary-nav {
    position: static;
    inset: auto;
    width: auto;
    max-height: none;
    margin-left: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .legal-body .primary-nav > a:not(.mobile-nav-button) {
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #10141b;
    font-size: 12px;
    white-space: nowrap;
  }

  .legal-body .nav-actions,
  .legal-body .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .legal-body {
    padding-bottom: 0;
  }

  .legal-body .brand-copy {
    display: none;
  }

  .legal-body .site-header {
    height: 64px;
  }
}

/* Stable custom language selector: native arrows were clipping the language code on Chromium/Android. */
.language-picker {
  position: relative;
}

.language-picker::after {
  content: "⌄";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-53%);
  color: #d8dde5;
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.language-picker select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 20px 0 2px;
  text-align: left;
}

/* Tablets also use the non-overlapping conversion dock. */
@media (min-width: 641px) and (max-width: 900px) {
  :root {
    --mobile-dock-h: 74px;
  }

  body {
    padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom));
  }

  .floating-actions {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 170;
    display: grid;
    grid-template-columns: minmax(210px, 320px) minmax(210px, 320px);
    justify-content: center;
    gap: 10px;
    min-height: var(--mobile-dock-h);
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-strong);
    background: rgba(8, 10, 14, .96);
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 35px rgba(0, 0, 0, .35);
  }

  .mobile-contact-bar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 950;
  }

  .mobile-contact-bar__call {
    background: var(--accent);
    color: #171006;
  }

  .mobile-contact-bar__wa {
    background: var(--green);
    color: #06170e;
  }

  .mobile-contact-bar span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
  }

  .cookie-banner {
    bottom: calc(var(--mobile-dock-h) + 12px + env(safe-area-inset-bottom));
    transform: translateY(calc(100% + var(--mobile-dock-h) + 50px));
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .toast {
    bottom: calc(var(--mobile-dock-h) + 16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    transform: translateY(calc(100% + var(--mobile-dock-h) + 50px));
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 340px) {
  .brand-copy {
    display: none;
  }
}

@media (max-width: 340px) {
  .trust-item small {
    display: none;
  }

  .trust-row {
    gap: 9px;
  }
}

@media (max-width: 900px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    background: rgba(2, 4, 7, .72);
    backdrop-filter: blur(3px);
  }

  body.nav-open .mobile-contact-bar {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-contact-bar {
    transition: transform .22s ease, opacity .22s ease;
  }
}
