/* Werbe-Bausteine von HayTrip (Vorschau in der Verwaltung und später die App). Ruhig, hell, wenig Farbe. */
.wbx-app { font: 13px/1.35 Inter, system-ui, Arial, sans-serif; color: #16263a; background: #fff; height: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.wbx-app svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wbx-app svg.wbx-fill { fill: #f2a900; stroke: none; }
.wbx-top { padding: 12px 14px 6px; }
.wbx-logo { font-size: 17px; font-weight: 800; color: #e6002d; letter-spacing: -0.4px; }
.wbx-search { display: flex; align-items: center; gap: 8px; margin: 4px 14px 8px; padding: 9px 12px; border-radius: 12px; background: #f1f4f8; color: #7a8aa0; font-size: 12px; }
.wbx-chips { display: flex; gap: 6px; padding: 0 14px 6px; }
.wbx-chips span { padding: 6px 11px; border-radius: 99px; border: 1px solid #dfe5ee; background: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.wbx-chips span.on { background: #10213f; border-color: #10213f; color: #fff; }
.wbx-h { padding: 8px 14px 6px; font-weight: 800; font-size: 15px; }
.wbx-h em { display: block; font-style: normal; font-weight: 500; font-size: 11.5px; color: #7a8aa0; }
.wbx-card, .wbx-row, .wbx-offercard, .wbx-banner { display: flex; gap: 10px; align-items: center; }
.wbx-card { margin: 4px 10px; padding: 10px; border-radius: 16px; background: #f7f9fc; border: 1px solid #e6ebf3; align-items: flex-start; }
.wbx-row { margin: 0 10px; padding: 9px 4px; border-top: 1px solid #eef2f7; }
.wbx-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wbx-rt b { font-size: 13.5px; }
.wbx-sub { font-size: 11.5px; color: #6b7b90; display: flex; align-items: center; gap: 4px; }
.wbx-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; color: #6b7b90; }
.wbx-meta span { display: inline-flex; align-items: center; gap: 4px; }
.wbx-img { flex: none; background: #dde3ec center / cover no-repeat; border-radius: 12px; position: relative; overflow: hidden; }
.wbx-img.sm { width: 64px; height: 64px; }
.wbx-img.md { width: 74px; height: 74px; }
.wbx-img.bn { width: 70px; height: 70px; }
.wbx-img.lg { width: 100%; height: 190px; border-radius: 0; }
.wbx-grey { background: linear-gradient(135deg, #e5e9f0, #d3dae5); }
.wbx-auto { background: linear-gradient(135deg, #1b3566 0%, #2a4f8f 60%, #3b6bb5 100%); display: grid; place-items: center; text-align: center; }
.wbx-auto span { color: #fff; font-weight: 800; font-size: 11px; line-height: 1.15; padding: 6px; letter-spacing: -0.2px; }
.wbx-img.lg.wbx-auto span { font-size: 22px; padding: 18px; }
.wbx-tag { align-self: flex-start; background: #10213f; color: #fff; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: 0.2px; }
.wbx-tag.red { background: #fde8ec; color: #c8002a; }
.wbx-tag.big { position: absolute; left: 12px; top: 12px; background: #e6002d; font-size: 11px; padding: 4px 10px; border-radius: 8px; z-index: 2; }
.wbx-offer { margin-top: 4px; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; background: #fff; border: 1px solid #f3cbd2; color: #c8002a; font-size: 11.5px; font-weight: 600; }
.wbx-offer span { flex: 1; min-width: 0; line-height: 1.25; }
.wbx-offer i { display: block; font-style: normal; font-weight: 500; color: #6b7b90; font-size: 10.5px; }
.wbx-offer u { text-decoration: none; font-weight: 800; }
.wbx-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.wbx-price b { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.wbx-price.big b { font-size: 26px; }
.wbx-reg { color: #8b99ac; font-size: 12px; }
.wbx-off { background: #fde8ec; color: #c8002a; font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.wbx-det { background: #fff; }
.wbx-hero { height: 150px; background: linear-gradient(135deg, #cdd6e4, #b3bfd2) center / cover no-repeat; position: relative; flex: none; }
.wbx-rb { position: absolute; left: 10px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px #0003; }
.wbx-rb.r { left: auto; right: 10px; }
.wbx-dt { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.wbx-name { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.wbx-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.wbx-pills span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; border: 1px solid #dfe5ee; font-size: 11px; font-weight: 600; }
.wbx-pills span.ok { color: #14753f; }
.wbx-tabs { display: flex; gap: 14px; border-bottom: 1px solid #e6ebf3; font-weight: 600; font-size: 12px; color: #6b7b90; }
.wbx-tabs span { padding: 6px 0; }
.wbx-tabs span.on { color: #10213f; border-bottom: 2px solid #e6002d; }
.wbx-tabs i { font-style: normal; background: #e6002d; color: #fff; border-radius: 99px; font-size: 10px; padding: 1px 6px; margin-left: 3px; }
.wbx-offercard, .wbx-banner { padding: 10px; border-radius: 14px; background: #fff5f6; border: 1px solid #f3cbd2; }
.wbx-banner { margin: 4px 10px; }
.wbx-note { font-size: 10px; color: #8b99ac; margin-top: -2px; }
.wbx-note.c { text-align: center; margin: 8px 0 0; }
.wbx-btns { display: flex; gap: 8px; }
.wbx-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; background: #e6002d; color: #fff; font-weight: 700; font-size: 12.5px; }
.wbx-btn.ghost { background: #fff; color: #16263a; border: 1px solid #dfe5ee; }
.wbx-btn.full { display: flex; margin-top: 8px; }
.wbx-dim { background: #5a6272; justify-content: flex-end; }
.wbx-sheet { position: relative; background: #fff; border-radius: 22px 22px 0 0; overflow: hidden; margin-top: 26px; }
.wbx-close { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 2; box-shadow: 0 1px 4px #0003; }
.wbx-sb { padding: 12px 16px 16px; }
.wbx-when { display: flex; align-items: center; gap: 6px; color: #c8002a; font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.wbx-title { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.wbx-txt { font-size: 12.5px; color: #44546a; margin: 4px 0 6px; max-height: 66px; overflow: hidden; }
.wbx-valid { font-size: 11.5px; color: #6b7b90; margin: 2px 0 4px; }

/* In the app: the cards stand in the lists, the pop-up slides up from below */
.wbx-c { box-sizing: border-box; font: 13px/1.35 Inter, system-ui, Arial, sans-serif; color: #16263a; text-align: left; }
.wbx-c svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wbx-c svg.wbx-fill { fill: #f2a900; stroke: none; }
.wbx-c[data-wbx], .wbx-c [data-wbx] { cursor: pointer; }
.wbx-c:focus-visible { outline: 2px solid #10213f; outline-offset: 2px; }
a.wbx-btn, button.wbx-btn { border: 0; font: 700 12.5px Inter, system-ui, Arial, sans-serif; text-decoration: none; cursor: pointer; width: 100%; box-sizing: border-box; }
a.wbx-btn.ghost, button.wbx-btn.ghost { border: 1px solid #dfe5ee; }
button.wbx-close { border: 0; cursor: pointer; padding: 0; color: #16263a; }
#places .wbx-card.wbx-spons { margin: 0 0 14px; padding: 12px; border-radius: 18px; }
#places .wbx-card .wbx-img.sm { width: 76px; height: 76px; }
#wbx-banner { margin: 0 0 14px; }
#wbx-banner .wbx-banner { margin: 0; }
.wbx-sec { margin: 14px 0; }
.wbx-sech { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin: 0 0 8px; color: #16263a; }
.wbx-sech span { font-size: 10px; font-weight: 700; background: #10213f; color: #fff; padding: 2px 7px; border-radius: 6px; }
.wbx-sec .wbx-offercard { margin: 0 0 8px; }
#wbx-pop { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; background: rgba(16, 24, 40, 0); transition: background 0.45s ease; }
#wbx-pop[hidden] { display: none; }
#wbx-pop.open { background: rgba(16, 24, 40, 0.55); }
#wbx-pop .wbx-sheet { width: min(440px, 100%); margin: 0; max-height: 92vh; overflow: auto; transform: translateY(100%); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); padding-bottom: env(safe-area-inset-bottom); }
#wbx-pop.open .wbx-sheet { transform: none; }
@media (prefers-reduced-motion: reduce) { #wbx-pop, #wbx-pop .wbx-sheet { transition: none; } }
#places > .wbx-banner { grid-column: 1 / -1; }
#places .wbx-card.wbx-spons .wbx-rt b { font-size: 15px; }

/* Picture first: the wide picture of the offer is shown whole, the text stands underneath */
.wbx-img.hero { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 12px; }
.wbx-img.hero.wbx-auto span { font-size: 21px; padding: 18px; }
.wbx-card.wbx-spons { flex-direction: column; align-items: stretch; gap: 10px; }
.wbx-card.wbx-spons .wbx-rt { width: 100%; }
.wbx-banner.wbx-c, .wbx-offercard.wbx-c { flex-direction: column; align-items: stretch; gap: 10px; }
.wbx-foot { display: flex; align-items: center; gap: 10px; }
.wbx-foot > .wbx-rt { flex: 1; min-width: 0; }
.wbx-sub.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wbx-sheet .wbx-img.hero { border-radius: 0; }
.wbx-sheet { max-height: 100%; overflow: auto; }
.wbx-chiprow { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.wbx-chiprow .wbx-when { margin: 0; }
.wbx-hero { height: auto; aspect-ratio: 2 / 1; min-height: 120px; }

/* Cards show the upper part of the picture (headline and logo), the pop-up shows the whole picture */
.wbx-img.hero { background-position: 50% 16%; }
.wbx-hero { background-position: 50% 16% !important; }
.wbx-pic { position: relative; background: #111; overflow: hidden; display: flex; justify-content: center; }
.wbx-pic::before { content: ""; position: absolute; inset: -24px; background: var(--u) center / cover; filter: blur(22px) brightness(0.7); }
.wbx-pic img { position: relative; display: block; max-width: 100%; max-height: 250px; width: auto; height: auto; object-fit: contain; }
#wbx-pop .wbx-pic img { max-height: min(52vh, 480px); }

/* One neutral frame (16:10) for every picture: always whole, soft blur beside it */
.wbx-fit { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #111; display: flex; align-items: center; justify-content: center; }
.wbx-fit::before { content: ""; position: absolute; inset: -24px; background: var(--u) center / cover; filter: blur(22px) brightness(0.7); }
.wbx-fit img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.wbx-hero .wbx-fit { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.wbx-img.hero { aspect-ratio: 16 / 10; }

/* Pop-up "only the picture" */
.wbx-sheet.wbx-only { background: transparent; overflow: visible; border-radius: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 14px; width: 100%; max-height: 100%; }
.wbx-onlywrap { position: relative; width: 100%; display: flex; justify-content: center; }
.wbx-bigwrap { display: block; width: 100%; }
.wbx-bigpic { position: relative; display: flex; justify-content: center; width: 100%; border-radius: 16px; overflow: hidden; background: #111; }
.wbx-bigpic::before { content: ""; position: absolute; inset: -24px; background: var(--u) center / cover; filter: blur(22px) brightness(0.7); }
.wbx-bigpic img { position: relative; display: block; max-width: 100%; max-height: 410px; width: auto; height: auto; object-fit: contain; }
#wbx-pop .wbx-bigpic img { max-height: calc(100vh - 170px); }
.wbx-only .wbx-close { top: 10px; right: 10px; z-index: 3; }
.wbx-pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #16263a; font: 700 13px Inter, system-ui, Arial, sans-serif; padding: 10px 18px; border-radius: 99px; border: 0; text-decoration: none; box-shadow: 0 2px 10px #0004; cursor: pointer; }
.wbx-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#wbx-pop:has(.wbx-only) { align-items: center; }
#wbx-pop .wbx-sheet.wbx-only { width: min(440px, 100%); }
.wbx-dim:has(.wbx-only) { justify-content: center; }

/* Preview: the real HayTrip start page */
.wbx-home { background: #fff; }
.wbx-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; position: relative; }
.wbx-scroll::-webkit-scrollbar { display: none; }
.wbx-hero2 { position: relative; color: #fff; padding: calc(var(--sb, 0px) + 10px) 16px 40px; background: #2a3d5c center 30% / cover no-repeat; }
.wbx-hero2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 32, 0.4), rgba(8, 16, 32, 0.1) 38%, rgba(8, 16, 32, 0.72)); }
.wbx-hero2 > * { position: relative; }
.wbx-h2top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wbx-h2logo { height: 62px; width: auto; display: block; margin: -8px 0 -10px -6px; }
.wbx-wx { background: rgba(16, 28, 48, 0.62); border-radius: 12px; padding: 7px 11px; text-align: right; font-size: 10.5px; line-height: 1.35; white-space: nowrap; }
.wbx-wx b { display: block; font-size: 12.5px; }
.wbx-wx span { display: inline-flex; align-items: center; gap: 4px; }
.wbx-wx svg { width: 11px; height: 11px; }
.wbx-hi { display: inline-flex; align-items: center; margin: 120px 0 10px; background: #e6002d; border-radius: 99px; padding: 6px 13px; font-weight: 700; font-size: 12px; }
.wbx-h2t { font-size: 25px; line-height: 1.12; font-weight: 500; letter-spacing: -0.5px; }
.wbx-h2t b { display: block; font-weight: 800; }
.wbx-sbar { margin-top: 16px; display: flex; align-items: center; gap: 9px; background: #fff; color: #4a5a70; border-radius: 99px; padding: 12px 16px; font-size: 12.5px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); }
.wbx-sbar svg { width: 17px; height: 17px; stroke: #e6002d; }
.wbx-sbar svg:last-child { margin-left: auto; }
.wbx-sh2 { position: relative; margin-top: -24px; background: #fff; border-radius: 24px 24px 0 0; padding: 14px 0 20px; }
.wbx-nav { flex: none; display: flex; align-items: flex-end; justify-content: space-around; background: #10213f; padding: 9px 6px calc(var(--sbb, 0px) + 8px); border-radius: 20px 20px 0 0; color: #aab6cc; position: relative; z-index: 2; }
.wbx-ni { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; min-width: 58px; white-space: nowrap; }
.wbx-app .wbx-ni svg { width: 22px; height: 22px; }
.wbx-ni.on { color: #fff; font-weight: 800; }
.wbx-app .wbx-ni.on svg { stroke: #ff3b5c; }
.wbx-ni.mid { color: #aab6cc; }
.wbx-ni.mid i { width: 50px; height: 50px; margin-top: -30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff3358, #d9002b); display: grid; place-items: center; box-shadow: 0 0 0 5px #10213f; }
.wbx-ni.mid img { width: 26px; height: 26px; object-fit: contain; }
.wbx-ov { position: absolute; inset: 0; z-index: 8; background: rgba(8, 14, 26, 0.62); display: flex; flex-direction: column; justify-content: flex-end; }
.wbx-ov:has(.wbx-only) { justify-content: center; }
.wbx-ov .wbx-sheet { margin-top: 26px; }
.wbx-det .wbx-rb { top: calc(var(--sb, 0px) + 8px); }

/* Angebots-Ansage */
#talk-ask.wbx-ask .wbx-ask-h{grid-column:1 / -1;display:flex;align-items:center;gap:8px}
#talk-ask.wbx-ask .wbx-ask-h b{font:800 15px Inter,Arial,sans-serif;color:#10213f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#talk-ask.wbx-ask .wbx-tag{display:inline-block;background:#fde8ec;color:#c8002a;font:700 10.5px Inter,Arial,sans-serif;border-radius:99px;padding:3px 9px}

/* Entdecken list in blocks of six: headings, one ad tile inside a block, a banner under block 1 and 2 */
#places .wbx-sec-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font: 700 17px/1.2 Inter, Arial, sans-serif; color: #18283a; }
#places .wbx-sec-h::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: #e6002d; flex: none; }
#places > .wbx-slot { grid-column: 1 / -1; margin: 2px 0; }
#places > .wbx-slot .wbx-banner { margin: 0; }
/* the ad tile is one cell of the two columns, same size as a place tile, clearly marked "Anzeige" */
#places > .wbx-card.wbx-spons { grid-column: auto; margin: 0; padding: 0; overflow: hidden; border-radius: 18px; background: #fff; border: 1.5px solid #f3cbd2; gap: 0; align-items: stretch; box-shadow: 0 6px 18px #1c2c4412; animation: ps-up .5s ease both; }
#places > .wbx-card.wbx-spons .wbx-fit, #places > .wbx-card.wbx-spons .wbx-img.hero { width: 100%; height: 108px; aspect-ratio: auto; border-radius: 0; }
#places > .wbx-card.wbx-spons .wbx-img.hero.wbx-auto span { font-size: 16px; padding: 10px; }
#places > .wbx-card.wbx-spons .wbx-rt { padding: 10px 11px 11px; gap: 4px; }
#places > .wbx-card.wbx-spons .wbx-rt b { font-size: 14.5px; line-height: 1.2; }
#places > .wbx-card.wbx-spons .wbx-tag { background: #e6002d; font-size: 10.5px; padding: 3px 8px; }
#places > .wbx-card.wbx-spons .wbx-meta { font-size: 11.5px; }
#places > .wbx-card.wbx-spons .wbx-offer { margin-top: 2px; padding: 6px 7px; font-size: 11px; }
#places > .wbx-card.wbx-spons .wbx-offer svg:last-child { display: none; }
/* no advertising at all while a navigation runs */
body:has(.app.nav-running) #wbx-pop, .app.nav-running .wbx-spons, .app.nav-running .wbx-slot, .app.nav-running .wbx-sec, .app.nav-running .wbx-sec-h { display: none !important; }

/* a lonely tile without a partner takes the whole row */
#places > .wbx-wide { grid-column: 1 / -1; }

/* Gehzeit und Entfernung im Banner der Startliste */
.wbx-dm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wbx-dm span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: #eef1f6; color: #33445c; font: 700 14px/1 Inter, Arial, sans-serif; }
.wbx-dm svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
