/* Hauptmenü (Reisewetter, Alle Orte) + Reisewetter-Seiten */

/* ---------- Menü in der Kopfzeile ---------- */
.mainnav { display: flex; gap: 4px; margin-left: 8px; }
.mainnav a {
  text-decoration: none; font-weight: 650; font-size: .95rem; padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .9); white-space: nowrap;
}
.mainnav a:hover { background: rgba(255, 255, 255, .14); }
.mainnav a[aria-current="page"] { background: rgba(255, 255, 255, .92); color: #1b2c45; }
@media (max-width: 640px) {
  .top__inner { row-gap: 8px; }
  .brand { flex: 1; }
  .brand__name { font-size: .95rem; }
  .mainnav { margin-left: 0; order: 2; }
  .mainnav a { font-size: .85rem; padding: 7px 11px; background: rgba(255, 255, 255, .12); }
  .search { order: 3; }
}
@media (max-width: 380px) { .brand__name { display: none; } }

/* ---------- Monatsauswahl ---------- */
.reise__hero { padding-bottom: 14px; }
.months { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 760px; margin: 4px auto 0; }
.months a {
  min-width: 52px; text-align: center; text-decoration: none; font-weight: 650; font-size: .92rem;
  padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .16);
}
.months a:hover { background: rgba(255, 255, 255, .24); }
.months a[aria-current="page"] { background: #fff; color: #1b2c45; border-color: #fff; }

/* ---------- Filter ---------- */
.reise__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 30px 0 12px; }
.reise__bar .section-title { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: inherit; font-size: .88rem; font-weight: 600; color: #fff; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1);
}
.chip small { opacity: .7; font-weight: 500; margin-left: 2px; }
.chip:hover { background: rgba(255, 255, 255, .2); }
.chip.is-on { background: #fff; color: #1b2c45; border-color: #fff; }

/* ---------- Karten ---------- */
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dgrid--top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .dgrid--top { grid-template-columns: 1fr; } }
.dc { min-width: 0; }
.dc__link {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px 16px 14px;
  text-decoration: none; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tc) 38%, transparent), transparent 60%),
    rgba(14, 28, 50, .34);
  border: 1px solid rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform .18s ease, border-color .18s ease;
}
.dc__link:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .45); }
.dc__head { display: flex; flex-direction: column; padding-right: 96px; min-width: 0; }
.dc__name { overflow-wrap: anywhere; }
.dc__name { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.dc__rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #1b2c45; font-size: .85rem; flex: none; }
.dc__where { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.dc__type { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .22); color: rgba(255, 255, 255, .85); }
.dc__temp { font-size: 2.6rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; margin-top: 4px; display: flex; flex-direction: column; }
.dc__temp small { font-size: .74rem; letter-spacing: 0; font-weight: 500; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.dc__stats { display: flex; gap: 12px; font-size: .8rem; color: rgba(255, 255, 255, .72); }
.dc__stats b { color: #fff; font-weight: 700; font-size: .95rem; }
.dc__spark { width: 100%; height: 34px; margin-top: 2px; }
.dc__best { font-size: .8rem; color: rgba(255, 255, 255, .82); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 8px; margin-top: auto; }
.dc--big .dc__link { padding: 20px 20px 16px; }
.dc--big .dc__name { font-size: 1.35rem; }
.dc--big .dc__temp { font-size: 3.6rem; }
.dc[hidden] { display: none; }

.reise__text { margin-top: 26px; }
.reise__text a { color: #fff; font-weight: 600; }
.reise__src { font-size: .78rem; color: rgba(255, 255, 255, .6); max-width: 80ch; }

/* ---------- Reiseziel-Seite ---------- */
.ziel__hero { padding-bottom: 18px; }
.ziel__where { margin: 4px 0 0; color: rgba(255, 255, 255, .78); }
.ziel__now { font-weight: 400; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.ziel__best { display: inline-block; margin: 14px 0 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); font-weight: 650; }
.ziel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }

.mstrip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.mstrip a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px; border-radius: 14px; text-decoration: none; }
.mstrip__name { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.mstrip__t { font-size: 1.05rem; font-weight: 700; }
.mstrip__m--top a { background: rgba(126, 226, 168, .3); box-shadow: inset 0 0 0 1px rgba(126, 226, 168, .7); }
.mstrip__m--ok a { background: rgba(242, 208, 107, .2); }
.mstrip__m--low a { background: rgba(255, 255, 255, .06); }
.mstrip__m.is-now a { outline: 2px solid #fff; outline-offset: 1px; }
.mstrip a:hover { filter: brightness(1.2); }
.lg--top::before { background: #7ee2a8; height: 10px; width: 10px; border-radius: 3px; }
.lg--ok::before { background: #f2d06b; height: 10px; width: 10px; border-radius: 3px; }
.lg--low::before { background: rgba(255, 255, 255, .3); height: 10px; width: 10px; border-radius: 3px; }
.lg--sun::before { background: #ffd257; }
@media (max-width: 640px) {
  .mstrip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.klima { overflow-x: auto; }
.klima__svg { display: block; width: 100%; min-width: 560px; height: auto; }
.klima__grid { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.klima__axis { font: 500 11px "Schibsted Grotesk", system-ui, sans-serif; fill: rgba(255, 255, 255, .5); }
.klima__val { font: 700 14px "Schibsted Grotesk", system-ui, sans-serif; fill: #fff; text-anchor: middle; }
.klima__lo { font: 500 12px "Schibsted Grotesk", system-ui, sans-serif; fill: rgba(255, 255, 255, .7); text-anchor: middle; }
.klima__mon { font: 600 13px "Schibsted Grotesk", system-ui, sans-serif; fill: rgba(255, 255, 255, .8); text-anchor: middle; }
.klima__mon.is-now { fill: #fff; text-decoration: underline; }
.klima__sun { fill: #ffd257; }
.klima__small { font: 500 12px "Schibsted Grotesk", system-ui, sans-serif; fill: rgba(255, 255, 255, .75); text-anchor: middle; }
.klima__rain { fill: #9cc8ff; font-weight: 700; }

/* Startseite: Reise-Teaser */
.home-reise { margin-top: 28px; }

/* Telefon: kompakte Karten zu zweit nebeneinander, damit die Liste nicht endlos wird */
@media (max-width: 640px) {
  .dgrid:not(.dgrid--top) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dgrid:not(.dgrid--top) .dc__link { padding: 13px 13px 12px; gap: 6px; }
  .dgrid:not(.dgrid--top) .dc__head { padding-right: 0; }
  .dgrid:not(.dgrid--top) .dc__name { font-size: 1rem; line-height: 1.2; }
  .dgrid:not(.dgrid--top) .dc__type { position: static; align-self: flex-start; order: -1; font-size: .62rem; padding: 2px 7px; }
  .dgrid:not(.dgrid--top) .dc__temp { font-size: 2.1rem; }
  .dgrid:not(.dgrid--top) .dc__temp small { font-size: .68rem; }
  .dgrid:not(.dgrid--top) .dc__stats { flex-direction: column; gap: 1px; font-size: .74rem; }
  .dgrid:not(.dgrid--top) .dc__stats b { font-size: .85rem; }
  .dgrid:not(.dgrid--top) .dc__spark, .dgrid:not(.dgrid--top) .dc__best { display: none; }
}
/* Telefon: Klimadiagramm passt ganz auf den Bildschirm, Schrift im Diagramm dafür größer */
@media (max-width: 640px) {
  .klima { overflow: visible; }
  .klima__svg { min-width: 0; }
  .klima__val { font-size: 21px; }
  .klima__lo, .klima__small { font-size: 18px; }
  .klima__mon { font-size: 19px; }
  .klima__axis { font-size: 15px; }
}
