/* =========================================================
   castel-sant-angelo.com – Basis-Stylesheet
   Aufbau von visit-colosseo.com, Farben „Travertin & Erzengel“
   der WordPress-Fassung (Terrakotta, Gold).
   ========================================================= */

:root {
  --bg:          #efe6dd;
  --surface:     #ffffff;
  --surface-alt: #f5f0ea;
  --ink:         #222222;
  --ink-mid:     #444444;
  --ink-mute:    #666666;
  --dark:        #3e3e3e;
  --red:         #9e4b2f;   /* Terrakotta, abgedunkelt für 4,5:1 auf Travertin */
  --red-dark:    #7b3721;
  --gold:        #e8a628;
  --star-empty:  #dddddd;
  --border:      #ddd5c8;
  --green:       #2d7a4a;
  --green-bg:    #eef7f1;
  --green-bd:    #c8e6d0;
  --amber:       #7a5e16;
  --amber-bg:    #fef8ec;
  --amber-bd:    #e8d5a3;
  --wrap:        1000px;
  --radius:      5px;
  --shadow:      0 0 14px rgba(0,0,0,.2);
  --font: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

.csa-container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.csa-jumplink {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--dark); color: #fff; padding: 10px 16px;
}
.csa-jumplink:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------------- Kopfbereich ---------------- */

.csa-header { background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.07); }
.csa-header-inner {
  display: flex; align-items: center; gap: 20px;
  padding-top: 10px; padding-bottom: 10px;
}
.csa-logo { display: block; flex-shrink: 0; line-height: 0; }
.csa-logo img { width: 190px; height: auto; }

.csa-navtoggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 8px 12px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
}
.csa-navtoggle svg { width: 20px; height: 20px; }

.csa-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }

.csa-menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.csa-menu > li { position: relative; }
.csa-menu a { color: var(--ink); text-decoration: none; font-size: 16px; display: block; padding: 6px 0; }
.csa-menu a:hover { color: var(--red); }
.csa-menu > li.is-current > a { color: var(--red); font-weight: 600; }

.csa-subtoggle { display: none; }

/* Zeigt auf dem Desktop an, dass hinter dem Punkt ein Untermenü liegt. */
.csa-menu > .csa-has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.csa-menu > .csa-has-sub > a::after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .15s;
}
.csa-menu > .csa-has-sub:hover > a::after,
.csa-menu > .csa-has-sub:focus-within > a::after { transform: rotate(-135deg) translate(-2px, -2px); }

.csa-submenu {
  position: absolute; left: -14px; top: 100%; min-width: 250px; z-index: 100;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  list-style: none; margin: 0; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.csa-has-sub:hover .csa-submenu,
.csa-has-sub:focus-within .csa-submenu { opacity: 1; visibility: visible; transform: none; }
.csa-submenu a { padding: 8px 16px; font-size: 15px; }
.csa-submenu a:hover { background: var(--surface-alt); }
.csa-submenu li.is-current > a { color: var(--red); font-weight: 600; }

.csa-lang { position: relative; }
.csa-lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 5px 9px; font: inherit; font-size: 14px; color: var(--ink);
  cursor: pointer; line-height: 1;
}
.csa-lang-trigger:hover { border-color: var(--red); color: var(--red); }
.csa-lang-globe { width: 16px; height: 16px; flex: 0 0 auto; }
.csa-lang-caret { width: 12px; height: 12px; flex: 0 0 auto; transition: transform .15s; }
.csa-lang:hover .csa-lang-caret,
.csa-lang:focus-within .csa-lang-caret { transform: rotate(180deg); }
.csa-lang-cur { font-weight: 600; letter-spacing: .02em; }

.csa-lang-list {
  position: absolute; right: 0; top: 100%; min-width: 160px; z-index: 100;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  list-style: none; margin: 6px 0 0; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.csa-lang:hover .csa-lang-list,
.csa-lang:focus-within .csa-lang-list { opacity: 1; visibility: visible; transform: none; }
.csa-lang-list a { display: block; padding: 8px 16px; font-size: 15px; color: var(--ink); text-decoration: none; }
.csa-lang-list a:hover { background: var(--surface-alt); color: var(--red); }
.csa-lang-list a.is-current { color: var(--red); font-weight: 600; }
.csa-lang-select { display: none; }
.csa-lang-select select {
  font: inherit; font-size: 15px; padding: 7px 10px;
  border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--ink);
}

/* ---------------- Hero ---------------- */

.csa-hero { position: relative; background: var(--dark) center/cover no-repeat; }
.csa-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 70%;
}
.csa-hero-inner {
  position: relative; z-index: 2;
  padding-top: 64px; padding-bottom: 84px;
  max-width: var(--wrap); margin: 0 auto;
}
.csa-hero-box { max-width: 620px; }
.csa-hero h1 {
  display: inline-block; margin: 0 0 16px;
  background: rgba(62,62,62,.8); color: #fff;
  font-size: 44px; font-weight: 400; line-height: 1.2; padding: 8px;
}
.csa-hero-sub {
  display: inline-block; margin: 0 0 16px;
  background: rgba(62,62,62,.8); color: #fff;
  font-size: 20px; font-weight: 400; padding: 8px;
}
.csa-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------------- Vertrauensleiste ---------------- */

.csa-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 34px 0 10px; text-align: center;
}
.csa-trust-icon { color: var(--red); }
.csa-trust-icon svg { width: 50px; height: 50px; }
.csa-trust-h { font-size: 20px; font-weight: 400; color: var(--dark); margin: 10px 0 4px; }
.csa-trust p { margin: 0; font-size: 16px; color: var(--ink-mid); }

/* ---------------- Typografie ---------------- */

.csa-section { padding: 26px 0 6px; }

h2, .csa-h2 {
  display: block; font-size: 28px; font-weight: 400; line-height: 1.3;
  background: var(--dark); color: #fff; padding: 6px 12px; margin: 0 0 16px;
  scroll-margin-top: 20px;
}
h3 { font-size: 20px; font-weight: 400; color: var(--dark); margin: 0 0 8px; line-height: 1.35; }
p { margin: 0 0 15px; }

.csa-lead { font-size: 18px; }
.csa-note { font-size: 18px; }
.csa-footnote { font-size: 14px; color: var(--ink-mute); margin: 10px 0 0; }

/* ---------------- Listen ---------------- */

.csa-list { list-style: none; margin: 0 0 16px; padding: 0; }
.csa-list li { display: flex; align-items: flex-start; gap: 9px; padding: 3px 0; font-size: 17px; }
.csa-li-ico { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.csa-list--check .csa-ico { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--red); }

/* ---------------- Buttons ---------------- */

.csa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff !important; text-decoration: none !important;
  font-size: 21.6px; font-weight: 400; line-height: 1.3;
  padding: 9px 22px; border-radius: 3px; border: 0;
  transition: background .18s;
}
.csa-btn:hover { background: var(--red-dark); }
.csa-btn--block { display: flex; width: 100%; }
.csa-btn--sm { font-size: 15px; padding: 11px 18px; }
.csa-btn--ghost { background: transparent; color: var(--red) !important; border: 2px solid var(--red); }
.csa-btn--ghost:hover { background: var(--red); color: #fff !important; }
.csa-ico { width: 15px; height: 15px; flex-shrink: 0; }
.csa-btn--sm .csa-ico { width: 13px; height: 13px; }

/* ---------------- Karten-Raster ---------------- */

.csa-grid { display: grid; gap: 24px; margin: 0 0 8px; }
.csa-grid--3 { grid-template-columns: repeat(3, 1fr); }
.csa-grid--2 { grid-template-columns: repeat(2, 1fr); }

.csa-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px 16px 16px;
}
.csa-card-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.csa-card-title { margin: 12px 0 6px; }
.csa-card-list { margin-top: 10px; }
.csa-card-list li { font-size: 16px; }
.csa-card-foot { margin-top: auto; }

/* ---------------- Bewertung ---------------- */

.csa-rating { margin: 0 0 8px; }
.csa-rating-row { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #333; }
.csa-stars { color: var(--gold); font-size: 18px; letter-spacing: 1px; line-height: 1; }
.csa-star-part { position: relative; display: inline-block; color: var(--star-empty); }
.csa-star-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--gold); }
.csa-star-empty { color: var(--star-empty); }
.csa-rating-val { font-weight: 600; }
.csa-rating-count { font-size: 12px; color: #777; }

/* ---------------- Preis ---------------- */

.csa-price { margin: 12px 0 10px; font-size: 18px; }
.csa-price-val { font-weight: 700; }
.csa-price-star { color: var(--ink-mute); }

/* ---------------- Badges ---------------- */

.csa-badge {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: fit-content; margin: 10px auto 0; padding: 6px 12px;
  border-radius: 6px; font-size: 12px; line-height: 1.35; text-align: left;
}
.csa-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.csa-badge--green { background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green); }
.csa-badge--amber { background: var(--amber-bg); border: 1px solid var(--amber-bd); color: var(--amber); }

/* ---------------- Zwei-Spalten-Block ---------------- */

.csa-split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 26px; align-items: start; }
.csa-split img { border-radius: var(--radius); width: 100%; }
.csa-split figure { margin: 0; }
.csa-split figcaption { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

/* ---------------- Akkordeon ---------------- */

.csa-acc { margin: 0 0 10px; }
.csa-acc-item + .csa-acc-item { margin-top: 6px; }
.csa-acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
.csa-acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--dark); color: #fff; border: 0;
  font: inherit; font-size: 18px; padding: 10px 14px;
}
.csa-acc-btn:hover { background: #333; }
.csa-acc-chev { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.csa-acc-btn[aria-expanded="true"] .csa-acc-chev { transform: rotate(180deg); }
.csa-acc-inner { padding: 20px; background: var(--surface); }
.csa-acc-inner > :last-child { margin-bottom: 0; }

/* ---------------- Brotkrume ---------------- */

.csa-crumbs { font-size: 14px; color: var(--ink-mute); padding: 14px 0 0; }
.csa-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.csa-crumbs a { color: var(--ink-mute); }
.csa-crumbs a:hover { color: var(--red); }

/* ---------------- Fußbereich ---------------- */

.csa-footer {
  background: var(--dark); color: #ddd; margin-top: 46px;
  padding: 28px 0 34px; font-size: 15px; text-align: center;
}
.csa-footer a { color: #fff; text-decoration: underline; }
.csa-footer a:hover { color: #fff; text-decoration: none; }
.csa-footer p { margin: 0 0 8px; }
.csa-footer-links span, .csa-footer-sisters span { margin: 0 8px; color: #888; }
.csa-footer-sisters { margin-top: 12px; }
.csa-footer-note { font-size: 13px; color: #aaa; max-width: 760px; margin: 12px auto 0; }

/* ---------------- Sticky-Leiste (mobil) ---------------- */

.csa-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.15);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform .3s ease;
}
.csa-sticky.is-visible { transform: translateY(0); }
.csa-sticky-inner {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
  align-items: center; justify-content: space-between; gap: 12px;
  max-width: 600px; margin: 0 auto;
}
.csa-sticky-text { font-size: 13px; color: #333; line-height: 1.3; }
.csa-sticky-text strong { display: block; font-size: 14px; font-weight: 700; }
.csa-sticky-text span { color: #777; font-size: 12px; }
.csa-sticky-rating { display: block; }
.csa-sticky-rating .csa-ratingline { font-size: 12px; color: #555; }
.csa-sticky-rating .csa-ratingline-star { color: var(--gold, #e8a020); }
.csa-sticky-rating .csa-rating-val { font-weight: 700; color: #333; }
.csa-sticky .csa-btn { white-space: nowrap; flex-shrink: 0; }

/* ---------------- Schwebendes Widget (Desktop) ---------------- */

.csa-widget {
  position: fixed; right: 24px; top: 50%; z-index: 9998; width: 260px;
  background: #fff; border-radius: 10px; box-shadow: 0 4px 24px rgba(0,0,0,.15);
  overflow: hidden;
  transform: translateY(-50%) translateX(120%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.csa-widget.is-visible { transform: translateY(-50%) translateX(0); }
.csa-widget-tabs { display: flex; background: var(--surface-alt); border-bottom: 1px solid #e5ddd4; }
.csa-widget-tab {
  flex: 1; padding: 10px 8px; text-align: center; font: inherit; font-size: 12px; font-weight: 600;
  color: #888; cursor: pointer; background: none; border: 0; border-bottom: 2px solid transparent;
  line-height: 1.3; transition: color .2s, border-color .2s, background .2s;
}
.csa-widget-tab:hover { color: #555; }
.csa-widget-tab.is-active { color: var(--red); border-bottom-color: var(--red); background: #fff; }
.csa-widget-panel { padding: 16px; }
.csa-widget-icon { text-align: center; font-size: 28px; margin-bottom: 8px; }
.csa-widget-title { font-size: 15px; font-weight: 700; color: var(--ink); text-align: center; margin: 0 0 4px; }
.csa-widget-sub { font-size: 12px; color: #888; text-align: center; margin: 0 0 6px; line-height: 1.4; }
.csa-widget-rating { text-align: center; margin: 0 0 14px; }
.csa-widget-rating .csa-ratingline { font-size: 12px; color: #555; }
.csa-widget-rating .csa-ratingline-star { color: var(--gold, #e8a020); }
.csa-widget-rating .csa-rating-val { font-weight: 700; color: #333; }
.csa-widget-list li { font-size: 12px; color: #555; padding: 2px 0; }
.csa-widget .csa-price { font-size: 14px; margin: 0 0 10px; text-align: center; }

/* ---------------- 404 ---------------- */

.csa-404 { padding: 70px 0 90px; text-align: center; }

/* ---------------- Responsive ---------------- */

@media (min-width: 1025px) {
  .csa-widget[hidden] { display: block; }
}
@media (max-width: 1024px) {
  .csa-widget { display: none !important; }
  .csa-sticky[hidden] { display: block; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1025px) {
  .csa-sticky { display: none !important; }
}

@media (max-width: 900px) {
  .csa-navtoggle { display: inline-flex; }
  .csa-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    order: 3; padding-bottom: 12px;
  }
  .csa-nav.is-open { display: flex; }
  .csa-header-inner { flex-wrap: wrap; }
  .csa-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .csa-menu > li { border-top: 1px solid var(--border); }
  .csa-menu a { padding: 11px 2px; }
  .csa-has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .csa-subtoggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
  }
  .csa-subtoggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .csa-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .csa-submenu {
    position: static; grid-column: 1 / -1; min-width: 0; opacity: 1; visibility: visible;
    transform: none; border: 0; box-shadow: none; background: transparent;
    padding: 0 0 6px 14px; display: none;
  }
  .csa-submenu.is-open { display: block; }
  .csa-has-sub:hover .csa-submenu:not(.is-open) { display: none; }
  .csa-menu > .csa-has-sub > a::after { display: none; }
  .csa-lang { position: static; border-top: 1px solid var(--border); padding-top: 12px; }
  .csa-lang-trigger { display: none; }
  .csa-lang-list { display: none; }
  .csa-lang-select { display: block; }

  .csa-grid--3, .csa-grid--2 { grid-template-columns: 1fr; }
  .csa-split { grid-template-columns: 1fr; }
  .csa-trust { grid-template-columns: 1fr 1fr; gap: 18px 12px; text-align: center; }
  .csa-hero h1 { font-size: 32px; }
  .csa-hero-sub { font-size: 17px; }
  .csa-hero-inner { padding-top: 40px; padding-bottom: 52px; }
  h2, .csa-h2 { font-size: 23px; }
  .csa-btn { font-size: 18px; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .csa-hero h1 { font-size: 27px; }
  .csa-btn { width: 100%; }
  .csa-hero-cta { flex-direction: column; align-items: stretch; }
  .csa-sticky .csa-btn { width: auto; font-size: 14px; padding: 10px 15px; }
}

/* ---------------- Hero der Unterseiten ---------------- */

.csa-hero--sub .csa-hero-inner { padding-top: 52px; padding-bottom: 60px; }
.csa-hero--sub h1 { font-size: 38px; }
@media (max-width: 900px) {
  .csa-hero--sub h1 { font-size: 28px; }
  .csa-hero--sub .csa-hero-inner { padding-top: 34px; padding-bottom: 40px; }
}

/* Inline-Preise in den Inhaltsblöcken erben die Schriftgröße der Umgebung. */
.csa-inline-price { font: inherit; color: inherit; }
.csa-inline-price .csa-price-val { font-weight: inherit; }

/* ---------------- Rechtstexte ---------------- */

.csa-legal { padding: 34px 0 10px; max-width: 820px; }
.csa-legal-h1 { font-size: 34px; font-weight: 400; color: var(--dark); margin: 0 0 20px; }
.csa-legal h2 { font-size: 24px; margin-top: 30px; }
.csa-legal h3 { font-size: 20px; margin-top: 22px; }
.csa-legal h4 { font-size: 18px; font-weight: 600; color: var(--dark); margin: 18px 0 6px; }
.csa-legal p, .csa-legal li { font-size: 16px; line-height: 1.65; }
.csa-legal ul { padding-left: 22px; }

/* Preis und CTA über die Spalten einer Kartenreihe fluchten lassen:
   die Karteninhalte wachsen oben, der Fuß sitzt unten, und die Badge-Zeile
   bekommt auch dann Platz, wenn eine Karte keine Stornierungsangabe hat. */
.csa-card-list { flex: 1 1 auto; }
.csa-card-badge { min-height: 46px; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; }
.csa-card-badge .csa-badge { margin: 0; }
.csa-grid--3 .csa-card, .csa-grid--2 .csa-card { align-items: stretch; }

@media (max-width: 900px) {
  /* Drittes Vertrauens-Element über beide Spalten zentrieren */
  .csa-trust > :nth-child(3):last-child { grid-column: 1 / -1; }
}

/* Tabellen aus den Inhaltsblöcken auf schmalen Displays scrollbar machen */
.csa-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 4px; }
.csa-tablewrap > table { min-width: 100%; }

/* Preiszeile ohne Cache-Wert: Höhe bleibt, damit die Karten fluchten,
   aber es erscheint keine erfundene Zahl. */
.csa-price--leer { min-height: 27px; }
.csa-ratingline-star { color: var(--gold); }

/* Produktbilder der Anbieter kommen in wechselnden Seitenverhältnissen. */
.csa-split-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
/* Offizieller Eintrittspreis des Parco archeologico – keine API-Zahl. */
.csa-price--fix { font-weight: 700; }

/* Stornohinweise in den Inhaltsblöcken */
.csa-cancel-ok  { color: var(--green); }
.csa-cancel-ltd { color: var(--amber); }

/* ---------------- Ergänzungen: Verlinkung, Auszeichnung, Mini Pass ---------------- */

/* Abschluss-Link einer Sektion */
.csa-more { margin: 14px 0 0; font-size: 17px; }
.csa-more a { text-decoration: none; border-bottom: 1px solid currentColor; }
.csa-more a:hover { border-bottom-color: transparent; }

/* Gesamtbewertung unter der Vertrauensleiste */
.csa-aggregat {
  margin: 4px 0 0; padding: 12px 0 0; text-align: center;
  font-size: 16px; color: var(--ink-mid); border-top: 1px solid var(--border);
}
.csa-aggregat .csa-stars { font-size: 17px; vertical-align: -1px; }
.csa-aggregat strong { color: var(--ink); }

/* Auszeichnung der günstigsten Karte */
.csa-tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font-size: 12px; font-weight: 600; line-height: 1.4;
  padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.csa-tag--best { background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green); }
.csa-card--best { box-shadow: 0 0 0 2px var(--green-bd), var(--shadow); }

/* Zweitrangiger Hero-Button */
.csa-btn--ghost-hero {
  background: rgba(255,255,255,.92); color: var(--red) !important;
  border: 2px solid rgba(255,255,255,.92);
}
.csa-btn--ghost-hero:hover { background: #fff; color: var(--red-dark) !important; }

/* Sprung nach oben */
.csa-totop { max-width: var(--wrap); margin: 30px auto 0; padding: 0 20px; text-align: right; font-size: 15px; }
.csa-totop a { color: var(--ink-mute); text-decoration: none; }
.csa-totop a:hover { color: var(--red); }

/* Footer-Navigation */
.csa-footer-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  list-style: none; margin: 0 0 20px; padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.csa-footer-nav a { text-decoration: none; font-size: 15px; }
.csa-footer-nav a:hover { text-decoration: underline; }

/* Weitere Seiten am Fuß der Unterseiten */
.csa-weitere { margin: 40px 0 0; padding: 22px 24px; background: var(--surface-alt); border-radius: var(--radius-lg, 10px); }
.csa-weitere-h { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: var(--dark); }
.csa-weitere ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.csa-weitere li { font-size: 16px; }

@media (max-width: 900px) {
  .csa-weitere ul { flex-direction: column; gap: 8px; }
  .csa-footer-nav ul { flex-direction: column; gap: 8px; }
  .csa-tag { display: block; margin: 6px 0 0; width: fit-content; }
}


/* =========================================================
   castel-sant-angelo.com – Inhaltsblöcke (partials/blocks.php)
   ========================================================= */

.csa-grid--1 { grid-template-columns: minmax(0, 420px); }
.csa-split--rechts { grid-template-columns: 1.35fr 1fr; }
.csa-split--rechts figure { order: 2; }
.csa-card-logo { object-fit: contain; background: #fff; }

/* Kurz gesagt */
.csa-kurz { margin: 22px 0 6px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.csa-kurz-h { margin: 0 0 6px; font-weight: 600; color: var(--dark); }
.csa-kurz p:last-child { margin-bottom: 0; }

/* Sprungmarken */
.csa-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-size: 16px; }

/* Hinweise */
.csa-hinweise { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.csa-hinweis { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.csa-hinweis-h { font-weight: 600; margin: 0 0 6px; color: var(--dark); }
.csa-hinweis p:last-child { margin-bottom: 0; font-size: 16px; }

/* Vergleich offiziell / Anbieter */
.csa-vergleich-tag { margin: 0 0 4px; font-size: 14px; color: var(--ink-mute); }
.csa-list--minus .csa-minus { width: 15px; flex-shrink: 0; color: var(--ink-mute); text-align: center; }

/* Tabellen */
.csa-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 16px; }
.csa-table th, .csa-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.csa-table thead th { background: var(--surface-alt); font-weight: 600; }
.csa-table tbody th { font-weight: 600; }

/* Kacheln */
.csa-grid--4 { grid-template-columns: repeat(4, 1fr); }
.csa-kachel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.csa-kachel img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.csa-kachel h3 { margin: 0 0 8px; font-size: 19px; }
.csa-kachel p { font-size: 16px; margin: 0 0 8px; }
.csa-kachel p:last-child { margin-bottom: 0; }
.csa-kachel--link { display: block; color: inherit; text-decoration: none; }
.csa-kachel--link h3 { color: var(--red); }
.csa-kachel--link:hover h3 { text-decoration: underline; }

/* Fakten */
.csa-fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.csa-fakten div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.csa-fakten dt { font-size: 14px; color: var(--ink-mute); }
.csa-fakten dd { margin: 2px 0 0; font-weight: 600; }

/* Zitate */
.csa-zitat { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.csa-zitat blockquote { margin: 0 0 8px; }
.csa-zitat blockquote p { margin: 0; font-style: italic; }
.csa-zitat figcaption { font-size: 14px; color: var(--ink-mute); }

/* Schritte */
.csa-schritte { list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; padding: 0; margin: 0; }
.csa-schritte li { counter-increment: schritt; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.csa-schritte li::before { content: counter(schritt) "."; font-weight: 700; color: var(--red); }
.csa-schritte h3 { display: inline; margin-left: 6px; font-size: 18px; }
.csa-schritte p { margin: 8px 0 0; font-size: 16px; }

/* Abschluss */
.csa-abschluss { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 26px 24px; text-align: center; }
.csa-abschluss h2 { margin: 0 0 8px; color: #fff; }
.csa-abschluss p { max-width: 680px; margin: 0 auto 14px; }
.csa-abschluss p:last-child { margin-bottom: 0; }

/* Stand-Zeile im Hero (kern) */
.csa-hero .mst-stand { display: inline-block; font-size: 14px; color: #fff; background: rgba(0,0,0,.6); padding: 2px 8px; margin: 0 0 12px; }

@media (max-width: 900px) {
  .csa-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .csa-split--rechts { grid-template-columns: 1fr; }
  .csa-split--rechts figure { order: 0; }
  .csa-grid--1 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .csa-grid--4 { grid-template-columns: 1fr; }
}
.csa-grid--1 .csa-card-logo { max-height: 160px; }
.csa-footnote + p { margin-top: 10px; }
