/* funchal.de – Stylesheet
   Grundgerüst aus visitturin.com; Farben: Atlantik-Petrol, Lorbeergrün,
   Bougainvillea-Pink als Akzent.
   Klassennamen: siehe components.md */

:root {
  --c-brand: #0e4d5c;      /* Kopfzeile, Widget-Kopf */
  --c-accent: #17845a;     /* Buttons, Links, Haken */
  --c-accent-dk: #0f6845;
  --c-ink: #0f2a33;        /* Überschriften */
  --c-text: #24383e;       /* Fließtext */
  --c-muted: #607a80;
  --c-soft: #3c555b;
  --c-cream: #f6f4ef;      /* Seitenhintergrund */
  --c-cream-2: #ebe8e0;
  --c-line: #dcd9d0;
  --c-white: #fff;
  --c-star: #f5a623;
  --c-green: #2d7a4a;
  --c-dark: #0b3540;
  --c-pop: #c2457f;      /* Bougainvillea – Hero-Badge */       /* Sticky-Leiste, Footer */
  --font: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15, 42, 51, .08);
  --container: 1180px;
  --stickybar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--c-text); background: var(--c-cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-dk); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fd-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.fd-jumplink { position: absolute; left: -999px; top: 0; background: var(--c-ink); color: #fff; padding: 8px 14px; z-index: 10000; }
.fd-jumplink:focus { left: 8px; }

/* ---------- Header ---------- */
.fd-header { background: var(--c-brand); color: #fff; position: relative; z-index: 50; }
.fd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.fd-logo { display: block; line-height: 0; }
.fd-logo img { width: 200px; height: auto; }
.fd-navtoggle { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 6px;
  padding: 8px 12px; font: inherit; font-size: 15px; align-items: center; gap: 8px; cursor: pointer; }
.fd-navtoggle svg { width: 20px; height: 20px; }
.fd-nav { display: flex; align-items: center; gap: 18px; }
.fd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.fd-menu > li { position: relative; display: flex; align-items: center; }
.fd-menu a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; display: block; border-radius: 6px; }
.fd-menu > li > a:hover, .fd-menu > li.is-current > a { background: rgba(255,255,255,.14); color: #fff; }
.fd-subtoggle { background: none; border: 0; color: #fff; padding: 4px; margin-left: -8px; cursor: pointer; }
.fd-subtoggle svg { width: 14px; height: 14px; transition: transform .2s; }
.fd-has-sub:hover .fd-subtoggle svg, .fd-has-sub:focus-within .fd-subtoggle svg { transform: rotate(180deg); }
.fd-submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: none; }
.fd-has-sub:hover .fd-submenu, .fd-has-sub:focus-within .fd-submenu, .fd-submenu.is-open { display: block; }
.fd-submenu a { color: var(--c-ink); font-weight: 500; font-size: 15px; padding: 9px 12px; }
.fd-submenu a:hover, .fd-submenu .is-current a { background: var(--c-cream); color: var(--c-accent); }

.fd-lang { position: relative; }
.fd-lang-trigger { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.45);
  color: #fff; border-radius: 6px; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fd-lang-globe { width: 18px; height: 18px; } .fd-lang-caret { width: 12px; height: 12px; }
.fd-lang-list { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: 100%; background: #fff;
  border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); min-width: 160px; display: none; }
.fd-lang:hover .fd-lang-list, .fd-lang:focus-within .fd-lang-list { display: block; }
.fd-lang-list a { display: block; padding: 7px 12px; color: var(--c-ink); text-decoration: none; font-size: 15px; border-radius: 6px; }
.fd-lang-list a:hover, .fd-lang-list a.is-current { background: var(--c-cream); color: var(--c-accent); }
.fd-lang-select { display: none; }

@media (max-width: 960px) {
  .fd-navtoggle { display: inline-flex; }
  .fd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-brand);
    flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 10px; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
  .fd-nav.is-open { display: flex; }
  .fd-menu { flex-direction: column; }
  .fd-menu > li { flex-wrap: wrap; }
  .fd-menu > li > a { flex: 1; }
  .fd-subtoggle { margin: 0; padding: 10px; }
  .fd-submenu { position: static; display: none; width: 100%; box-shadow: none; background: rgba(255,255,255,.1); }
  .fd-has-sub:hover .fd-submenu, .fd-has-sub:focus-within .fd-submenu { display: none; }
  .fd-submenu.is-open { display: block; }
  .fd-submenu a { color: #fff; }
  .fd-submenu a:hover, .fd-submenu .is-current a { background: rgba(255,255,255,.14); color: #fff; }
  .fd-lang-trigger, .fd-lang-list { display: none !important; }
  .fd-lang-select { display: block; }
  .fd-lang-select select { width: 100%; padding: 10px; font: inherit; border-radius: 6px; border: 0; }
}

/* ---------- Brotkrumen ---------- */
.fd-crumbs ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--c-muted); }
.fd-crumbs a { color: var(--c-muted); }

/* ---------- Hero ---------- */
.fd-hero { padding: 28px 0 44px; }
.fd-hero-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.fd-hero--noimg .fd-hero-inner { grid-template-columns: 1fr; max-width: 820px; }
.fd-hero-badge { display: inline-block; background: var(--c-pop); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 18px; }
.fd-h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.fd-hero-sub { font-size: 18px; color: var(--c-soft); max-width: 560px; }
.fd-hero-usps { margin: 0 0 26px; }
.fd-hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.fd-hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--c-muted); }
.fd-hero-trust .fd-rating { display: flex; align-items: center; gap: 8px; }
.fd-hero-via { padding-left: 14px; border-left: 1px solid var(--c-line); }
.fd-hero-media .fd-fig img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; width: 100%; }
@media (max-width: 899px) {
  .fd-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .fd-hero-media { order: -1; }
  .fd-hero-media .fd-fig img { aspect-ratio: 16 / 10; }
}

/* ---------- Preis ---------- */
.fd-pricebig { display: flex; flex-direction: column; line-height: 1.1; margin: 0; }
.fd-pricebig .fd-price-label { font-size: 12px; color: var(--c-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fd-pricebig .fd-price-val { font-size: 34px; font-weight: 800; color: var(--c-ink); letter-spacing: -.03em; }
.fd-pricebig .fd-price-per { font-size: 12px; color: var(--c-muted); }
.fd-price { margin: 0; font-size: 15px; color: var(--c-muted); }
.fd-price .fd-price-val { font-size: 22px; font-weight: 800; color: var(--c-ink); }
.fd-price--leer { min-height: 1px; }

/* ---------- Buttons ---------- */
.fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--c-accent); color: #fff !important;
  font-weight: 700; font-size: 16px; text-decoration: none; padding: 12px 22px; border-radius: 4px; border: 0;
  box-shadow: 0 4px 16px rgba(23,132,90,.28); transition: background .2s, transform .15s; white-space: nowrap; cursor: pointer; }
.fd-btn:hover { background: var(--c-accent-dk); transform: translateY(-1px); }
.fd-btn--lg { font-size: 17px; padding: 15px 30px; }
.fd-btn--sm { font-size: 15px; padding: 10px 16px; }
.fd-btn--block { display: flex; width: 100%; }
.fd-btn--ghost { background: transparent; color: var(--c-accent) !important; border: 2px solid var(--c-accent); box-shadow: none; }
.fd-btn--ghost:hover { background: var(--c-accent); color: #fff !important; }
.fd-ico { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Listen ---------- */
.fd-list { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fd-list li { display: flex; gap: 10px; align-items: flex-start; }
.fd-list--check .fd-ico { width: 20px; height: 20px; min-width: 20px; padding: 4px; background: var(--c-accent); color: #fff; border-radius: 50%; margin-top: 2px; }
.fd-li-ico { width: 20px; height: 20px; min-width: 20px; color: var(--c-accent); margin-top: 3px; }

/* ---------- Bewertungen ---------- */
.fd-stars { color: var(--c-star); letter-spacing: 1px; font-size: 17px; line-height: 1; }
.fd-star-empty { color: #d5d8d4; }
.fd-star-part { position: relative; display: inline-block; color: #d5d8d4; }
.fd-star-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--c-star); }
.fd-rating-row { display: flex; align-items: center; gap: 6px; }
.fd-rating-val { font-weight: 700; color: var(--c-ink); }
.fd-rating-count { font-size: 13px; color: var(--c-muted); }
.fd-ratingline-star { color: var(--c-star); }

/* ---------- Abschnitte ---------- */
.fd-sec { padding: 52px 0; }
.fd-sec--alt { background: var(--c-white); }
.fd-h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; }
.fd-intro { max-width: 760px; color: var(--c-soft); margin-bottom: 24px; }
.fd-prose { max-width: 760px; }
.fd-prose ul, .fd-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.fd-prose li { margin-bottom: .35em; }
.fd-prose h3 { font-size: 20px; margin-top: 1.2em; }
.fd-split { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
.fd-split .fd-prose { max-width: none; }
@media (max-width: 860px) { .fd-split { grid-template-columns: 1fr; } }
.fd-fig { margin: 0; }
.fd-fig img { border-radius: var(--radius); width: 100%; }
.fd-fig figcaption { font-size: 12px; color: var(--c-muted); margin-top: 6px; }
.fd-note { font-size: 14px; color: var(--c-muted); margin-top: 18px; }
.fd-more a { font-weight: 700; text-decoration: none; }

/* ---------- Tabs ---------- */
.fd-tabs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fd-tab { background: var(--c-cream-2); border: 0; padding: 10px 16px; border-radius: 30px; font: inherit; font-size: 15px;
  font-weight: 600; color: var(--c-soft); cursor: pointer; }
.fd-tab.is-active { background: var(--c-accent); color: #fff; }
.fd-tab-panel ul { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .fd-tab-panel ul { columns: 1; } }

/* ---------- Ersparnis-Rechner ---------- */
.fd-calc { background: var(--c-cream); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; }
.fd-calc-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .fd-calc-days { grid-template-columns: 1fr; } }
.fd-calc-day { background: #fff; border: 1.5px solid var(--c-line); border-radius: 8px; padding: 18px; }
.fd-calc-h { font-size: 17px; margin-bottom: 10px; }
.fd-calc-day ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.fd-calc-day li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--c-line); }
.fd-calc-val { white-space: nowrap; font-weight: 600; }
.fd-calc-sum { display: flex; justify-content: space-between; margin: 10px 0 0; color: var(--c-ink); }
.fd-calc-result { margin-top: 20px; padding: 16px 20px; background: #fff; border-left: 4px solid var(--c-green); border-radius: 6px; }
.fd-calc-result p:last-child { margin: 0; }

/* ---------- Buchungsbox ---------- */
.fd-buybox { max-width: 640px; margin: 0 auto; border: 1.5px solid var(--c-line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #fff; color: var(--c-ink); }
.fd-buybox-head { background: var(--c-brand); color: #fff; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fd-buybox-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 4px; }
.fd-buybox-title { font-size: 19px; font-weight: 700; margin: 0; color: #fff; }
.fd-buybox-head .fd-pricebig { text-align: right; }
.fd-buybox-head .fd-price-label, .fd-buybox-head .fd-price-per { color: rgba(255,255,255,.75); }
.fd-buybox-head .fd-price-val { color: #fff; font-size: 26px; }
.fd-buybox-body { padding: 20px 24px; color: var(--c-text); }
.fd-buybox-body .fd-rating { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; }
.fd-buybox-meta { font-size: 13px; text-align: center; margin: 10px 0 0; color: var(--c-green); }
.fd-buybox-foot { background: var(--c-cream); border-top: 1.5px solid var(--c-line); padding: 12px 24px; font-size: 12px; color: var(--c-muted); margin: 0; }
.fd-cancel-ok { color: var(--c-green); }
.fd-cancel-ltd { color: #8a6514; }

/* ---------- Schritte ---------- */
.fd-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; max-width: 820px; }
.fd-step { counter-increment: step; position: relative; padding: 18px 20px 6px 72px; background: var(--c-cream); border-radius: var(--radius); }
.fd-sec--alt .fd-step { background: var(--c-cream); }
.fd-sec:not(.fd-sec--alt) .fd-step { background: #fff; }
.fd-step::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fd-step-h { font-size: 18px; margin-bottom: 6px; }

/* ---------- Tour-Karten (Live-Daten) ---------- */
.fd-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.fd-tour { background: #fff; border: 1.5px solid var(--c-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: var(--c-text); }
.fd-tour-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fd-tour-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.fd-tour-h { font-size: 18px; margin-bottom: 6px; }
.fd-tour-rating { font-size: 14px; margin: 0 0 6px; }
.fd-tour-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--c-muted); margin: 0 0 10px; }
.fd-tour-text { font-size: 15px; flex: 1; }
.fd-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--c-line); }

/* ---------- Inhaltskarten ---------- */
.fd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.fd-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--c-text); }
.fd-sec--alt .fd-card { background: var(--c-cream); box-shadow: none; }
.fd-card-fig img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.fd-card-fig figcaption { padding: 0 18px; }
.fd-card-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.fd-card-h { font-size: 20px; }
.fd-card-body .fd-prose { flex: 1; font-size: 16px; }
.fd-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }

/* ---------- Querverweis ---------- */
.fd-callout { background: var(--c-cream-2); border-radius: 14px; padding: 32px; display: grid; gap: 32px; }
.fd-sec--alt .fd-callout { background: var(--c-cream); }
.fd-callout--img { grid-template-columns: 3fr 2fr; align-items: center; }
@media (max-width: 800px) { .fd-callout--img { grid-template-columns: 1fr; } }

/* ---------- Tabelle ---------- */
.fd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fd-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; min-width: 520px; }
.fd-table th, .fd-table td { padding: 11px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.fd-table thead th { background: var(--c-brand); color: #fff; }
.fd-table tbody th { color: var(--c-ink); }

/* ---------- Kundenstimmen ---------- */
.fd-reviews-agg { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; color: var(--c-muted); }
.fd-reviews-agg .fd-rating { display: flex; align-items: center; gap: 8px; }
.fd-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.fd-review { margin: 0; background: #fff; border: 1.5px solid var(--c-line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; color: var(--c-text); }
.fd-sec--alt .fd-review { background: var(--c-cream); }
.fd-review-text { margin: 0; font-size: 15.5px; flex: 1; }
.fd-review-by { font-size: 13px; color: var(--c-muted); }

/* ---------- FAQ ---------- */
.fd-acc { max-width: 860px; }
.fd-acc-item { border-bottom: 1px solid var(--c-line); }
.fd-acc-h { margin: 0; font-size: 18px; }
.fd-acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  background: none; border: 0; font: inherit; font-weight: 700; color: var(--c-ink); text-align: left; cursor: pointer; }
.fd-acc-chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; color: var(--c-accent); }
.fd-acc-btn[aria-expanded="true"] .fd-acc-chev { transform: rotate(180deg); }
.fd-acc-inner { padding: 0 0 18px; }
.fd-acc-inner p:last-child { margin-bottom: 0; }

/* ---------- Weitere Seiten ---------- */
.fd-weitere { padding: 40px 0 10px; }
.fd-weitere-h { font-weight: 800; color: var(--c-ink); font-size: 20px; }
.fd-weitere ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fd-weitere a { display: block; padding: 8px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 30px; text-decoration: none; font-size: 15px; font-weight: 600; }
.fd-weitere a:hover { border-color: var(--c-accent); }

/* ---------- Footer ---------- */
.fd-totop { text-align: center; margin: 30px 0 0; }
.fd-totop a { font-size: 14px; color: var(--c-muted); text-decoration: none; }
.fd-footer { background: var(--c-dark); color: #c6d6d9; padding: 40px 0; margin-top: 20px; font-size: 14px; }
.fd-footer a { color: #fff; }
.fd-footer-nav { columns: 4 200px; column-gap: 32px; margin: 0 0 30px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
.fd-footer-col { break-inside: avoid; margin: 0 0 24px; }
.fd-footer-h { margin: 0 0 10px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.fd-footer-nav ul { list-style: none; margin: 0; padding: 0; }
.fd-footer-nav li { margin: 0 0 7px; line-height: 1.35; }
.fd-footer-nav a { color: #e6eff0; text-decoration: none; font-weight: 500; }
.fd-footer-nav a:hover, .fd-footer-nav a:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 560px) { .fd-footer-nav { columns: 2; column-gap: 18px; } }
.fd-footer-note { color: #9fb7bb; font-size: 13px; }

/* ---------- Rechtsseiten ---------- */
.fd-legal { padding: 30px 20px 50px; max-width: 860px; }
.fd-legal-h1 { font-size: 34px; }

/* ---------- Sticky-Leiste (mobil) ---------- */
.fd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--c-dark); color: #fff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -3px 16px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .25s; }
.fd-sticky.is-visible { transform: translateY(0); }
.fd-sticky-inner { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 520px; margin: 0 auto; }
.fd-sticky-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; font-size: 12px; color: #a9c2c6; }
.fd-sticky-text strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-sticky-price { color: #fff; font-size: 19px; font-weight: 800; }
.fd-sticky-price .fd-price-label { font-size: 12px; font-weight: 600; color: #a9c2c6; margin-right: 3px; }
.fd-sticky .fd-rating-val { color: #fff; }
@media (min-width: 768px) { .fd-sticky { display: none !important; } }
@media (max-width: 767px) { body { padding-bottom: calc(var(--stickybar-h) + env(safe-area-inset-bottom, 0px)); } }

/* Bilder neben kurzen Texten nicht höher als der Text werden lassen */
.fd-split-media .fd-fig img, .fd-callout-media .fd-fig img { max-height: 420px; object-fit: cover; }
@media (max-width: 899px) { .fd-hero-media .fd-fig img { object-position: center 70%; } }

/* Hero-Galerie aus Anbieter-Bildern */
.fd-gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.fd-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.fd-gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; }
.fd-gallery-thumb.is-active { border-color: var(--c-accent); }
.fd-gallery-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.fd-hero-media .fd-gallery .fd-gallery-main { aspect-ratio: 3 / 2; }
.fd-hero-media .fd-gallery .fd-gallery-thumb img { aspect-ratio: 3 / 2; border-radius: 0; }

/* ---- 01.10.2026: Bildnachweise auf dem Bild, Preiszeile zweizeilig, einzeilige Kartentitel ---- */
.fd-fig { position: relative; }
.fd-fig figcaption {
	position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 2px 7px;
	font-size: 10.5px; line-height: 1.4; color: rgba(255,255,255,.92); background: rgba(8,25,30,.5);
	border-radius: 4px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	pointer-events: none;
}
.fd-card-fig figcaption { padding: 2px 7px; }
.fd-gallery figcaption { top: 8px; bottom: auto; }
.fd-card-foot .fd-price, .fd-tour-foot .fd-price { display: flex; flex-direction: column; line-height: 1.15; }
.fd-card-foot .fd-price .fd-price-label, .fd-tour-foot .fd-price .fd-price-label { font-size: 13px; }
.fd-card-h, .fd-tour-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-card-h { font-size: 17px; }
.fd-tour-h { font-size: 17px; }
