/* ==========================================================================
   maltascout.com — Startseiten-Redesign 2026 („Seekarten“-Konzept)
   Wird nur auf der Homepage geladen (home/config/view.yml) und greift nur
   unter body.hp2026, damit alle anderen Seiten unberührt bleiben.
   ========================================================================== */

body.hp2026 {
  --ms-navy: #1F3A5F;
  --ms-navy-deep: #16294a;
  --ms-red: #D6453D;
  --ms-red-dark: #b93832;
  --ms-sky: #D3E9F3;
  --ms-sky-line: #b3d3e4;
  --ms-limestone: #EDE0C4;
  --ms-paper: #FBF8F1;
  --ms-card: #ffffff;
  --ms-ink: #26313f;
  --ms-ink-soft: #5b6672;
  --ms-hairline: #dfd8c8;
  --ms-gold: #c8973f;
  --ms-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ms-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  background: var(--ms-paper);
  color: var(--ms-ink);
  font-family: var(--ms-sans);
}

/* ---- Altlayout auf der Homepage neutralisieren ---- */
body.hp2026 #col_left,
body.hp2026 #mod_bottom,
body.hp2026 #wm_footer { display: none; }
body.hp2026 #col_center { width: 100%; float: none; }
body.hp2026 #main { padding: 0; }
body.hp2026 #site_border { border: none; box-shadow: none; background: var(--ms-paper); }
body.hp2026 #content { padding: 0; }

/* ---- Topstrip ---- */
body.hp2026 .ms-topstrip {
  background: var(--ms-navy-deep);
  color: #c8d6e8;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 3px 3px 0 0;
}
body.hp2026 .ms-topstrip a { color: #c8d6e8; text-decoration: none; }
body.hp2026 .ms-topstrip a:hover { color: #fff; }

/* ---- Header ---- */
body.hp2026 #header {
  background: var(--ms-card);
  border-bottom: 1px solid var(--ms-hairline);
  padding: 12px 14px;
}
body.hp2026 #fb_twiter_div { display: none; }
body.hp2026 #login_register_div a { color: var(--ms-ink); font-family: var(--ms-sans); }

/* ---- Hero ---- */
body.hp2026 .ms-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e2f1f8 0%, var(--ms-sky) 100%);
  border-bottom: 4px solid var(--ms-navy-deep);
  background-image:
    linear-gradient(var(--ms-sky-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ms-sky-line) 1px, transparent 1px),
    linear-gradient(180deg, #e2f1f8 0%, var(--ms-sky) 100%);
  background-size: 88px 88px, 88px 88px, 100% 100%;
}
body.hp2026 .ms-hero-inner {
  position: relative;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 48px 36px 56px;
}
body.hp2026 .ms-hero-copy { flex: 1 1 55%; }
body.hp2026 .ms-hero h1 {
  font-family: var(--ms-serif);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
  color: var(--ms-navy);
  margin: 10px 0 0;
  border: none;
  padding: 0;
  background: none;
}
body.hp2026 .ms-hero h1 em { font-style: italic; color: var(--ms-red); }
body.hp2026 .ms-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ms-red);
  margin: 0;
}
body.hp2026 .ms-hero .ms-sub {
  font-size: 16.5px;
  color: var(--ms-ink-soft);
  max-width: 46ch;
  margin: 16px 0 22px;
  line-height: 1.55;
}
body.hp2026 .ms-marks { display: flex; gap: 26px; flex-wrap: wrap; }
body.hp2026 .ms-marks div {
  font-size: 12px;
  color: var(--ms-navy);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.hp2026 .ms-marks strong {
  display: block;
  font-family: var(--ms-serif);
  font-size: 24px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
body.hp2026 .ms-compass {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 280px;
  height: 280px;
  opacity: .45;
  pointer-events: none;
}

/* ---- Buchungs-Karte ---- */
body.hp2026 .ms-booking {
  flex: 1 1 45%;
  max-width: 400px;
  background: var(--ms-card);
  border-radius: 6px;
  border: 1px solid var(--ms-hairline);
  box-shadow: 0 24px 50px -24px rgba(15, 33, 55, .45);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
body.hp2026 .ms-booking .ms-tabs { display: flex; background: var(--ms-navy-deep); }
body.hp2026 .ms-booking .ms-tabs button {
  flex: 1;
  font-family: var(--ms-sans);
  background: none;
  border: none;
  cursor: pointer;
  color: #9db4d2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 8px;
  border-bottom: 3px solid transparent;
}
body.hp2026 .ms-booking .ms-tabs button[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--ms-red);
}
body.hp2026 .ms-booking .ms-pane { padding: 20px; display: none; }
body.hp2026 .ms-booking .ms-pane.on { display: block; }
body.hp2026 .ms-field { margin-bottom: 13px; }
body.hp2026 .ms-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ms-ink-soft);
  margin-bottom: 5px;
}
body.hp2026 .ms-field select {
  width: 100%;
  font: 14.5px var(--ms-sans);
  color: var(--ms-ink);
  background: var(--ms-paper);
  border: 1px solid var(--ms-hairline);
  border-radius: 3px;
  padding: 10px 11px;
}
body.hp2026 .ms-btn {
  display: inline-block;
  width: 100%;
  background: var(--ms-red);
  color: #fff;
  font-family: var(--ms-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}
body.hp2026 .ms-btn:hover { background: var(--ms-red-dark); color: #fff; }
body.hp2026 .ms-booking .ms-note {
  font-size: 12px;
  color: var(--ms-ink-soft);
  text-align: center;
  margin: 10px 0 0;
}

/* ---- Sektionen ---- */
body.hp2026 .ms-section { padding: 48px 14px; }
body.hp2026 .ms-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
body.hp2026 .ms-sec-head h2 {
  font-family: var(--ms-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ms-navy);
  margin: 8px 0 0;
  background: none;
  border: none;
  padding: 0;
}
body.hp2026 .ms-sec-head .ms-all {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ms-red);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
}
body.hp2026 .ms-sec-head .ms-all:hover { text-decoration: underline; }

/* ---- Scout Picks ---- */
body.hp2026 .ms-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.hp2026 .ms-pick {
  background: var(--ms-card);
  border: 1px solid var(--ms-hairline);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ms-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.hp2026 .ms-pick:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -20px rgba(15, 33, 55, .4);
  color: var(--ms-ink);
}
body.hp2026 .ms-pick .ms-ph {
  height: 140px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
body.hp2026 .ms-ph.sea     { background-image: linear-gradient(160deg, #2e6f96, #7fb6d2); }
body.hp2026 .ms-ph.stone   { background-image: linear-gradient(160deg, #c8a86a, #e8d9b4); }
body.hp2026 .ms-ph.dusk    { background-image: linear-gradient(160deg, #35486b, #8a7d9e); }
body.hp2026 .ms-ph.grove   { background-image: linear-gradient(160deg, #5d7d54, #a9bf8e); }
body.hp2026 .ms-ph.harbour { background-image: linear-gradient(160deg, #1f3a5f, #5c86ad); }
body.hp2026 .ms-ph.salt    { background-image: linear-gradient(160deg, #a9636b, #dfb0a2); }
body.hp2026 .ms-pick .ms-tag {
  background: var(--ms-navy-deep);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
  margin: 11px;
  border-radius: 2px;
}
body.hp2026 .ms-pick .ms-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
body.hp2026 .ms-pick h3 {
  font-family: var(--ms-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ms-navy);
  margin: 0;
}
body.hp2026 .ms-pick p { margin: 0; font-size: 13.5px; color: var(--ms-ink-soft); line-height: 1.5; }
body.hp2026 .ms-pick .ms-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--ms-hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
body.hp2026 .ms-stars { color: var(--ms-gold); font-size: 12px; letter-spacing: 2px; }
body.hp2026 .ms-price {
  font-family: var(--ms-serif);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  color: var(--ms-navy);
  font-weight: 600;
}
body.hp2026 .ms-price small {
  font-family: var(--ms-sans);
  font-size: 11.5px;
  color: var(--ms-ink-soft);
  font-weight: 500;
  margin-right: 5px;
}

/* ---- Basis-Orte (Limestone-Band) ---- */
body.hp2026 .ms-bases-band {
  background: var(--ms-limestone);
  border-top: 1px solid var(--ms-hairline);
  border-bottom: 1px solid var(--ms-hairline);
  margin: 0 -14px;
  padding: 0 14px;
}
body.hp2026 .ms-bases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
body.hp2026 .ms-base {
  background: var(--ms-card);
  border: 1px solid var(--ms-hairline);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ms-ink);
  transition: transform .18s ease;
  display: flex;
  flex-direction: column;
}
body.hp2026 .ms-base:hover { transform: translateY(-3px); color: var(--ms-ink); }
body.hp2026 .ms-base .ms-base-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(160deg, #c8a86a, #e8d9b4);
}
body.hp2026 .ms-base .ms-base-body { padding: 16px 18px 18px; }
body.hp2026 .ms-base .ms-bearing {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ms-red);
  font-weight: 700;
}
body.hp2026 .ms-base h3 {
  font-family: var(--ms-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ms-navy);
  margin: 5px 0 4px;
}
body.hp2026 .ms-base p { margin: 0 0 12px; font-size: 13px; color: var(--ms-ink-soft); line-height: 1.5; }
body.hp2026 .ms-base .ms-from { font-size: 12.5px; color: var(--ms-ink-soft); }
body.hp2026 .ms-base .ms-from b {
  font-family: var(--ms-serif);
  font-size: 18px;
  color: var(--ms-navy);
  font-variant-numeric: tabular-nums;
}

/* ---- Events ---- */
body.hp2026 .ms-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.hp2026 .ms-event {
  display: flex;
  gap: 16px;
  background: var(--ms-card);
  border: 1px solid var(--ms-hairline);
  border-radius: 6px;
  padding: 18px;
}
body.hp2026 .ms-date {
  flex: 0 0 auto;
  width: 60px;
  height: 68px;
  background: var(--ms-navy-deep);
  color: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ms-serif);
}
body.hp2026 .ms-date b { font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
body.hp2026 .ms-date span {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--ms-sans);
  margin-top: 4px;
  color: #aebfd8;
}
body.hp2026 .ms-event h3 {
  font-family: var(--ms-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 2px 0 0;
}
body.hp2026 .ms-event h3 a { color: var(--ms-navy); text-decoration: none; }
body.hp2026 .ms-event h3 a:hover { color: var(--ms-red); }
body.hp2026 .ms-event p { margin: 6px 0 0; font-size: 13px; color: var(--ms-ink-soft); line-height: 1.5; }

/* ---- Rankings (Navy-Band) ---- */
body.hp2026 .ms-popular-band {
  background: var(--ms-navy-deep);
  margin: 0 -14px;
  padding: 0 14px;
}
body.hp2026 .ms-popular-band .ms-sec-head h2 { color: #fff; }
body.hp2026 .ms-popular {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
body.hp2026 .ms-rank h3 {
  color: #9db4d2;
  font-family: var(--ms-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding-bottom: 10px;
  margin: 0 0 4px;
}
body.hp2026 .ms-rank ol { list-style: none; margin: 0; padding: 0; }
body.hp2026 .ms-rank li {
  display: flex;
  gap: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
body.hp2026 .ms-rank .ms-n {
  font-family: var(--ms-serif);
  font-variant-numeric: tabular-nums;
  color: var(--ms-red);
  font-size: 16px;
  width: 18px;
  flex: 0 0 auto;
}
body.hp2026 .ms-rank a { color: #e6edf6; text-decoration: none; font-size: 14.5px; }
body.hp2026 .ms-rank a:hover { color: #fff; text-decoration: underline; }
body.hp2026 .ms-rank .ms-kind {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8ba2c0;
  margin-top: 2px;
}

/* ---- Footer-Bereich ---- */
body.hp2026 #f {
  background: var(--ms-navy-deep);
  margin: 0 -14px;
  padding: 20px 14px;
  color: #c8d6e8;
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  body.hp2026 .ms-hero-inner { flex-direction: column; align-items: stretch; padding: 32px 20px 40px; }
  body.hp2026 .ms-booking { max-width: none; }
  body.hp2026 .ms-compass { width: 200px; right: -70px; }
  body.hp2026 .ms-picks, body.hp2026 .ms-events, body.hp2026 .ms-popular { grid-template-columns: 1fr; }
  body.hp2026 .ms-bases { grid-template-columns: repeat(2, 1fr); }
  body.hp2026 .ms-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  body.hp2026 .ms-bases { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.hp2026 .ms-pick, body.hp2026 .ms-base { transition: none; }
}
