/**
 * Reise-OS 8.7.0 — Becker-Website: Lesbarkeit und Bedienung (Mobile-Durchgang 11.10.2026)
 *
 * Nach den Stilen der Komponente geladen (überschreibt ohne die Komponente zu ändern).
 * Maßstab: ältere Nutzer am Handy — Fließtext 16 px, Kleintext mind. 14 px, Kontrast mind. 4,5:1,
 * Tippflächen mind. 44 px, Eingabefelder 16 px (sonst zoomt das iPhone hinein).
 * CI-Farben bleiben (#FAF8EC #E6E4D9 #773E18 #E2B13B); nur die Grautöne sind dunkler.
 *
 * @copyright (C) jens-richter.com
 * @license   Proprietary
 */

/* ── Kontrast (überall) ─────────────────────────────────────────────── */
:root{
  --br-text-soft:#625443;      /* vorher #7a6a56: 4,3:1 auf Creme → jetzt 6,9:1 */
  --br-accent-dark:#7d5a08;    /* Schrift der Gold-Knöpfe: vorher 2,6:1 → jetzt 5,9:1 */
}
body.br-site .brs-cats__pill--inquiry,
body.br-site .brs-cats__pill--inquiry:hover{color:#7d5a08}
body.br-site .mbrr-card__price-note,body.br-site .mbrr-card__meta{color:#625443!important}
body.br-site .br-booking-box form > p[style]{font-size:14px!important;color:#625443!important}
body.br-site .br-footer-bottom,body.br-site .br-footer-bottom a{color:#4d4d4d}
body.br-site .br-footer-bottom .uk-container{font-size:13px}

/* ── Abzeichen auf Reisekarten untereinander statt übereinander ─────── */
body.br-site .brs-badge ~ .brs-badge:not(.brs-badge--sold){top:2.55rem}
body.br-site .brs-badge ~ .brs-badge ~ .brs-badge:not(.brs-badge--sold){top:4.4rem}

/* ── Schaltflächen in der Website-Schrift ───────────────────────────── */
body.br-site #br-main button,body.br-site #br-main .br-btn,body.br-site #br-main input[type=submit]{font-family:inherit}

/* ── Kopf: Anruf-Knopf neben dem Menü (nur Handy/Tablet) ────────────── */
.br-kopf-telefon{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px}
.br-navbar .br-kopf-telefon{color:#773E18}
.br-has-hero .br-header--overlay .br-navbar .br-kopf-telefon{color:#fff}
.br-has-hero .br-header--overlay .uk-navbar-sticky .br-kopf-telefon{color:#773E18}
.br-kopf-telefon:focus-visible,.uk-navbar-toggle:focus-visible{outline:3px solid #E2B13B;outline-offset:2px}
body.br-site .uk-navbar-toggle{min-width:48px;min-height:48px;justify-content:center;padding:0 6px}

@media (max-width:959px){
  /* Grundschrift */
  body.br-site{font-size:16px}

  /* Kleintext mindestens 14 px */
  body.br-site .brt-card__meta-item,body.br-site .brt-card__price-note,body.br-site .brt-card__cat,
  body.br-site .brt-card__avail,body.br-site .brt-card time,body.br-site .brs-badge,
  body.br-site .br-booking-box__meta-label,body.br-site .br-booking-box__price-note,
  body.br-site .br-pickups th,body.br-site .br-contact-box__label,
  body.br-site .mbrr-tw-card__intro,body.br-site .mbrr-tw-card__arrow,body.br-site .mbrr-card__price-note,
  body.br-site .br-themen-card__intro,body.br-site .br-themen-card__arrow,
  body.br-site .br-karte__button,body.br-site .br-reisearten__fuss,body.br-site .br-page-header__cat,
  body.br-site .brs-cats-label,body.br-site .brs-toolbar__sort-label,body.br-site .brs-toolbar__count,
  body.br-site .br-jkarte__fusstext,body.br-site .br-jkarte__kat,body.br-site .br-detail-hero__category,
  body.br-site .br-detail-hero__fact,body.br-site .br-loc-card__meta,body.br-site .brs-landing-form__legal,
  body.br-site .br-jbeitrag__reisen-text,body.br-site .br-cart-empty__text,body.br-site .br-punkt__titel,
  body.br-site .cms-inhalt-card__typ,body.br-site .cms-inhalt-card__datum,body.br-site .br-motif-name,body.br-site .br-voucher-step-label span,
  body.br-site .page-link,
  body.br-site .br-footer-bottom,body.br-site .br-footer-bottom a,body.br-site .cms-kicker{font-size:14px;letter-spacing:.02em}

  body.br-site .mbrr-card__cat,body.br-site .mbrr-badge,body.br-site .mbrr-card__price-note,body.br-site .mbrr-card__meta-item{font-size:14px!important}

  /* Eingabefelder: 16 px (kein Hineinzoomen), 48 px hoch, nie breiter als ihr Kasten */
  body.br-site #br-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
  body.br-site #br-main select,body.br-site #br-main textarea{font-size:16px!important;max-width:100%}
  body.br-site #br-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
  body.br-site #br-main select{min-height:48px}
  body.br-site #br-main input[type=checkbox],body.br-site #br-main input[type=radio]{width:22px;height:22px;min-width:22px;accent-color:#773E18}

  /* Tippflächen */
  body.br-site .brs-cats__pill,body.br-site .brt-card .br-btn,body.br-site .mbrr-card .br-btn{min-height:44px;display:inline-flex;align-items:center}
  body.br-site .br-kontakt a[aria-label*=Fenster]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  body.br-site .br-jkarte__kat{display:inline-flex;align-items:center;min-height:32px}
  body.br-site .brs-select{min-height:44px}
  body.br-site .brs-viewtoggle button{min-width:44px;min-height:44px}
  body.br-site .mbrr-slider__arrow{width:44px!important;height:44px!important}
  body.br-site .mbrr-slider__dot{position:relative}
  body.br-site .mbrr-slider__dot::after{content:"";position:absolute;inset:-14px -8px}
  body.br-site .br-footer-social a,body.br-site .br-mobile-nav__social a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  body.br-site .br-footer li a{display:inline-block;padding:.55rem 0}
  body.br-site .br-cms form .uk-button{min-height:48px}
  body.br-site .br-mobile-nav .uk-modal-close-full{min-width:48px;min-height:48px;padding:14px}
  body.br-site .br-mobile-nav__contact a{display:inline-flex;align-items:center;min-height:44px}

  /* Bild-mit-Text-Abschnitte: Bild immer zuerst und nicht bildschirmhoch (Flotte, Startseite) */
  body.br-site .br-bild-punkte .br-bild-punkte__bild{order:-1}
  body.br-site .br-bild-punkte:not(.br-hg--braun) .br-bild-punkte__bild img{aspect-ratio:4/3;max-height:none;object-position:center 40%}

  /* Buchungsseite: Felder bleiben im Kasten, Preiszeile bricht sauber um */
  body.br-site .br-form-row > .br-form-group{min-width:0}
  body.br-site .br-booking-form select{width:100%}
  body.br-site .br-price-row{gap:.75rem}
  body.br-site .br-price-row > span:first-child{flex:1 1 auto;min-width:0}
  body.br-site .br-price-row > span:last-child{flex:0 0 auto;white-space:nowrap;font-weight:700}

  /* Vorschau-Leiste weicht den Aktionsleisten */
  body.br-has-sticky-bar .br-vorschau-leiste,body.br-hat-buchleiste .br-vorschau-leiste{display:none}
}

/* ── Feste Aktionsleiste der Kasse/des Warenkorbs (Komponente): nichts abschneiden ── */
@media (max-width:767px){
  body.br-site .br-m-sticky-bar-btn{white-space:normal;text-align:center;font-size:.95rem;line-height:1.25;padding:.65rem .8rem;font-family:inherit}
  body.br-site .br-m-sticky-bar-btn--secondary{flex:0 0 auto}
  body.br-site .br-m-sticky-bar-btn:not(.br-m-sticky-bar-btn--secondary){flex:1 1 auto;min-width:0}
}

/* ── Zustiegsstellen als Karten (mobil.js setzt die Beschriftungen) ──── */
@media (max-width:767px){
  body.br-site table.br-tabelle-karten,body.br-site table.br-tabelle-karten tbody{display:block;width:100%;border:0}
  body.br-site table.br-tabelle-karten thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body.br-site table.br-tabelle-karten tr{display:block;margin:0 0 .75rem;padding:.75rem 1rem;background:#fff;border:1px solid #E6E4D9}
  body.br-site table.br-tabelle-karten td{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border:0;font-size:16px;text-align:right}
  body.br-site table.br-tabelle-karten td::before{content:attr(data-label);font-weight:600;color:#625443;text-align:left}
  body.br-site table.br-tabelle-karten td:first-child{display:block;font-weight:700;font-size:17px;color:#773E18;text-align:left;border-bottom:1px solid #E6E4D9;padding-bottom:.5rem;margin-bottom:.25rem}
  body.br-site table.br-tabelle-karten td:first-child::before{display:none}
}

/* ── Reiseseite: feste Leiste „Preis · Jetzt buchen“ ─────────────────── */
.br-buchleiste{display:none}
@media (max-width:959px){
  .br-buchleiste.br-buchleiste--an{display:flex;align-items:center;gap:.75rem;position:fixed;left:0;right:0;bottom:0;z-index:1005;
    padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom,0));background:#FAF8EC;border-top:1px solid #E6E4D9;box-shadow:0 -4px 16px rgba(60,40,20,.12)}
  .br-buchleiste__preis{display:flex;flex-direction:column;line-height:1.15;min-width:0}
  .br-buchleiste__preis strong{font-size:1.35rem;color:#773E18;font-weight:700;white-space:nowrap}
  .br-buchleiste__preis span{font-size:14px;color:#625443}
  .br-buchleiste__knopf{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:.6rem 1rem;
    background:#773E18;color:#fff!important;font-weight:700;font-size:1.05rem;text-align:center;text-decoration:none!important;line-height:1.2}
  .br-buchleiste__knopf:hover{background:#5f2f10}
  .br-buchleiste__knopf:focus-visible{outline:3px solid #E2B13B;outline-offset:2px}
  body.br-hat-buchleiste{padding-bottom:84px}
}

/* ── Startseite: Reisearten auf dem Handy als breite Kacheln untereinander ── */
@media (max-width:640px){
  body.br-site .br-reisearten .uk-grid > *{width:100%}
  body.br-site .br-reiseart{aspect-ratio:2/1}
  body.br-site .br-reiseart__titel{font-size:20px;letter-spacing:.04em}
}
