/* rovaniemiwinter.com — style.css (Vorlage tromsowinter.com)
 * Eigenes Layout für den Reiseführer (Präfix tw-). Kiefergrün, Schneeweiß,
 * Beerenrot als einziger Akzent. Systemschriften, keine externen Dateien.
 * Regeln „Ruhigere Gestaltung" (06.10.2026): keine Akzentleisten, keine
 * Pillen, keine Versalien, keine Verläufe, Kontrast mindestens 4,5:1.
 */

:root {
  --c-night: #1f3a2e;
  --c-night-2: #2a4a3c;
  --c-ink: #1a2330;
  --c-muted: #556273;
  --c-bg: #f4f6f3;
  --c-paper: #ffffff;
  --c-line: #d7e0d9;
  --c-ice: #e5ede7;
  --c-accent: #a8322a;
  --c-accent-dark: #86261f;
  --c-link: #1f5a47;
  --c-ok: #2c6e49;
  --c-star: #a85a05;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --wrap: 1180px;
  --prose: 700px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-underline-offset: 2px; }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--c-night); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: .2em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
p { margin: 0 0 1em; }

.tw-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.tw-muted { color: var(--c-muted); }
.tw-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.tw-skip:focus { left: 8px; top: 8px; }

/* ── Header ─────────────────────────────────────────────── */
.tw-header { background: var(--c-night); color: #fff; position: sticky; top: 0; z-index: 50; }
.tw-header__inner { display: flex; align-items: center; gap: 24px; min-height: 62px; }
.tw-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.tw-brand:hover { color: #fff; }
.tw-brand__mark { color: #eef3f7; }
.tw-brand__name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.tw-brand__name em { font-style: italic; font-weight: 400; color: #f4cdc6; }
.tw-nav { display: flex; gap: 6px; }
.tw-nav__item { position: relative; }
.tw-nav__link { display: block; color: #e8eef4; text-decoration: none; padding: 20px 12px; font-size: .95rem; font-weight: 600; }
.tw-nav__link:hover, .tw-nav__item:focus-within .tw-nav__link { color: #fff; }
.tw-nav__drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 14px 30px rgba(10, 20, 35, .18); padding: 8px 0;
}
.tw-nav__item:hover .tw-nav__drop, .tw-nav__item:focus-within .tw-nav__drop { display: block; }
.tw-nav__drop a { display: block; padding: 8px 18px; color: var(--c-ink); text-decoration: none; font-size: .95rem; }
.tw-nav__drop a:hover { background: var(--c-ice); color: var(--c-night); }
.tw-header__lang { display: flex; }
.tw-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.tw-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }
.tw-mobile { background: var(--c-night-2); padding: 8px 0 18px; }
.tw-mobile__group { border-bottom: 1px solid rgba(255,255,255,.12); }
.tw-mobile__group summary { color: #fff; font-weight: 600; padding: 12px 0; cursor: pointer; list-style: none; }
.tw-mobile__group summary::-webkit-details-marker { display: none; }
.tw-mobile__group a { display: block; color: #dbe4ec; text-decoration: none; padding: 7px 0 7px 14px; }
.tw-mobile__lang { padding-top: 14px; }

/* Sprachumschalter (Motor: language-switcher.php) */
.mst-langswitch__dropdown { position: relative; }
.mst-langswitch__dropdown summary { list-style: none; cursor: pointer; color: #fff; font-weight: 600; font-size: .9rem; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; }
.mst-langswitch__dropdown summary::-webkit-details-marker { display: none; }
.mst-langswitch__menu { position: absolute; right: 0; top: 110%; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 6px 0; min-width: 170px; box-shadow: 0 12px 26px rgba(10,20,35,.18); z-index: 60; }
.tw-mobile .mst-langswitch__menu { position: static; margin-top: 6px; }
.mst-langswitch__link { display: flex; gap: 10px; padding: 6px 14px; color: var(--c-ink); text-decoration: none; font-size: .92rem; }
.mst-langswitch__link.is-active { font-weight: 700; }
.mst-langswitch__link:hover { background: var(--c-ice); }

/* ── Startseite ─────────────────────────────────────────── */
.tw-hero { position: relative; color: #fff; background: var(--c-night); }
.tw-hero__img { margin: 0; }
.tw-hero__img img { width: 100%; height: clamp(420px, 62vh, 640px); object-fit: cover; object-position: center 55%; }
.tw-hero__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
}
.tw-hero__box { background: rgba(22, 44, 35, .88); padding: 26px 30px 24px; max-width: 640px; border-radius: var(--r) var(--r) 0 0; }
.tw-hero h1 { color: #fff; margin: 0 0 .3em; }
.tw-hero p { color: #e6edf3; margin: 0 0 .6em; font-size: 1.08rem; }
.tw-hero__line { font-size: .95rem !important; color: #f4cdc6 !important; margin: 0 !important; }
.tw-hero figcaption { position: absolute; right: 10px; top: 8px; font-size: .68rem; line-height: 1.3; color: rgba(255,255,255,.78); background: none; padding: 0; text-shadow: 0 1px 2px rgba(0,0,0,.55); }

.tw-section { padding: 56px 0; }
.tw-section--paper { background: var(--c-paper); }
.tw-section--night { background: var(--c-night); color: #e6edf3; }
.tw-section--night h2, .tw-section--night h3 { color: #fff; }
.tw-section--night a { color: #f4cdc6; }
.tw-section h2:first-child { margin-top: 0; }
.tw-lead { font-size: 1.12rem; color: var(--c-muted); max-width: 760px; }

.tw-grid { display: grid; gap: 22px; }
.tw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tw-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tw-grid--2 { grid-template-columns: repeat(2, 1fr); }

.tw-card { display: flex; flex-direction: column; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--c-ink); transition: border-color .15s; }
.tw-card:hover { border-color: #9fb2c4; color: var(--c-ink); }
.tw-card__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.tw-card__kicker { font-size: .82rem; color: var(--c-accent); font-weight: 600; padding: 14px 18px 0; }
.tw-card__title { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; color: var(--c-night); padding: 2px 18px 4px; line-height: 1.25; }
.tw-card__teaser { font-size: .94rem; color: var(--c-muted); padding: 0 18px 18px; }
.tw-card--wide { grid-column: span 2; }
.tw-card--wide .tw-card__img img { aspect-ratio: 16 / 7.4; }

/* Monatsleiste auf der Startseite */
.tw-months { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.tw-month { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px; font-size: .9rem; }
.tw-month strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--c-night); }
.tw-month span { display: block; color: var(--c-muted); }

/* ── Artikel ────────────────────────────────────────────── */
.tw-article__head { max-width: calc(var(--prose) + 40px); padding-top: 34px; }
.tw-crumb { font-size: .88rem; color: var(--c-muted); }
.tw-crumb a { color: var(--c-muted); }
.tw-dek { font-size: 1.2rem; color: var(--c-muted); line-height: 1.5; }
.tw-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--c-muted); margin-bottom: 26px; }
.tw-article__hero { margin: 0 auto; max-width: 1400px; }
.tw-article__hero img { width: 100%; max-height: 640px; object-fit: cover; }
.tw-article__hero figcaption, .tw-figure figcaption { font-size: .85rem; color: var(--c-muted); padding-top: 8px; }
.tw-article__hero figcaption span, .tw-figure figcaption span { white-space: nowrap; opacity: .85; }
.tw-article__grid { max-width: calc(var(--prose) + 40px); padding-top: 26px; }
.tw-prose > h2 { margin-top: 1.9em; }
.tw-prose ul, .tw-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.tw-prose li { margin-bottom: .35em; }
.tw-figure { margin: 30px 0; }
.tw-figure img { border-radius: var(--r); }
.tw-figure--wide { margin-left: -60px; margin-right: -60px; }

.tw-facts { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r); padding: 18px 22px; margin: 6px 0 28px; }
.tw-facts__h { font-weight: 700; color: var(--c-night); margin-bottom: 8px; }
.tw-facts dl { margin: 0; display: grid; gap: 6px; }
.tw-facts dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 6px 0; border-top: 1px solid var(--c-ice); }
.tw-facts dl div:first-child { border-top: 0; }
.tw-facts dt { font-weight: 600; color: var(--c-muted); font-size: .93rem; }
.tw-facts dd { margin: 0; font-size: .97rem; }

.tw-note { background: var(--c-ice); border-radius: var(--r); padding: 18px 22px; margin: 24px 0; }
.tw-note__h { font-weight: 700; color: var(--c-night); margin-bottom: 6px; }
.tw-note p:last-child { margin-bottom: 0; }
.tw-sister { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 18px; font-size: .97rem; }

.tw-table-wrap { overflow-x: auto; margin: 18px 0 26px; -webkit-overflow-scrolling: touch; }
.tw-table { width: 100%; border-collapse: collapse; background: var(--c-paper); font-size: .93rem; min-width: 560px; }
.tw-table th, .tw-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.tw-table th { background: var(--c-night); color: #fff; font-weight: 600; }
.tw-table td:first-child { font-weight: 600; color: var(--c-night); white-space: nowrap; }
.tw-table caption { caption-side: bottom; text-align: left; font-size: .83rem; color: var(--c-muted); padding-top: 8px; }

.tw-inline { border: 1px solid var(--c-line); background: var(--c-paper); border-radius: var(--r); padding: 16px 20px; margin: 26px 0; }
.tw-inline__lead { font-size: .86rem; color: var(--c-accent); font-weight: 600; margin: 0 0 2px; }
.tw-inline__name { font-weight: 700; color: var(--c-night); margin: 0 0 6px; }
.tw-inline__row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0; font-size: .93rem; }
.tw-inline__link { font-weight: 700; color: var(--c-accent-dark); }

/* Tourenkasten und Tourkarte */
.tw-article__after { max-width: 980px; padding-bottom: 30px; }
.tw-tourbox { margin: 50px 0 20px; }
.tw-tourbox__h { margin-top: 0; }
.tw-tourbox__intro { color: var(--c-muted); max-width: var(--prose); }
.tw-tourbox__list { display: grid; gap: 16px; }
.tw-tourbox__note { font-size: .84rem; color: var(--c-muted); margin-top: 14px; }
.tw-tour { display: grid; grid-template-columns: 250px 1fr; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; color: var(--c-ink); }
.tw-tour__media img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.tw-tour__body { padding: 16px 20px 18px; display: flex; flex-direction: column; }
.tw-tour__kicker { font-size: .82rem; color: var(--c-accent); font-weight: 600; margin: 0 0 2px; }
.tw-tour__name { margin: 0 0 6px; font-size: 1.16rem; color: var(--c-night); }
.tw-tour__note { font-size: .95rem; margin: 0 0 8px; color: var(--c-ink); }
.tw-tour__facts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .88rem; color: var(--c-ink); }
.tw-tour__facts span { color: var(--c-muted); }
.tw-tour__cancel--free { color: var(--c-ok); }
.tw-tour__cancel--none { color: #8c2a1c; }
.tw-tour__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tw-tour__meta p { margin: 0; font-size: .92rem; color: var(--c-ink); }
.tw-tour__price { font-weight: 700; font-size: 1.05rem !important; color: var(--c-night) !important; }
.tw-stars { color: var(--c-star); }
.tw-btn { display: inline-block; background: var(--c-accent); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.tw-btn:hover { background: var(--c-accent-dark); color: #fff; }
.tw-btn--ghost { background: transparent; color: var(--c-night); border: 1px solid var(--c-night); }
.tw-btn--ghost:hover { background: var(--c-night); color: #fff; }

.tw-faq { margin: 50px 0 10px; max-width: var(--prose); }
.tw-faq details { border-top: 1px solid var(--c-line); padding: 12px 0; }
.tw-faq details:last-child { border-bottom: 1px solid var(--c-line); }
.tw-faq summary { font-weight: 700; cursor: pointer; color: var(--c-night); }
.tw-faq details p { margin: 8px 0 0; }

.tw-sources { margin: 44px 0 10px; max-width: var(--prose); font-size: .9rem; }
.tw-sources h2 { font-size: 1.15rem; }
.tw-sources__intro { color: var(--c-muted); }
.tw-sources ul { padding-left: 1.1em; columns: 2; column-gap: 30px; }
.tw-sources li { margin-bottom: 4px; break-inside: avoid; }

.tw-related { background: var(--c-paper); border-top: 1px solid var(--c-line); padding: 46px 0 56px; }
.tw-related h2 { margin-top: 0; }

/* Rechtliches und einfache Seiten */
.tw-page { max-width: calc(var(--prose) + 40px); padding-top: 34px; padding-bottom: 50px; }

/* ── Footer ─────────────────────────────────────────────── */
.tw-footer { background: var(--c-night); color: #cfd9e3; padding: 48px 0 30px; font-size: .93rem; }
.tw-footer a { color: #e6edf3; text-decoration: none; }
.tw-footer a:hover { text-decoration: underline; color: #fff; }
.tw-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.tw-footer__name { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: 6px; }
.tw-footer__name em { color: #f4cdc6; font-weight: 400; }
.tw-footer__h { font-family: var(--font); font-size: .95rem; color: #fff; margin: 0 0 10px; }
.tw-footer ul { list-style: none; padding: 0; margin: 0; }
.tw-footer li { margin-bottom: 5px; }
.tw-footer__meta { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 18px; font-size: .85rem; color: #bccbc2; }

/* ── Responsiv ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .tw-nav, .tw-header__lang { display: none; }
  .tw-burger { display: block; }
  .tw-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tw-months { grid-template-columns: repeat(4, 1fr); }
  .tw-footer__grid { grid-template-columns: 1fr 1fr; }
  .tw-figure--wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .tw-grid--3, .tw-grid--2 { grid-template-columns: 1fr; }
  .tw-card--wide { grid-column: auto; }
  .tw-months { grid-template-columns: repeat(2, 1fr); }
  .tw-tour { grid-template-columns: 1fr; }
  .tw-tour__media img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
  .tw-facts dl div { grid-template-columns: 1fr; gap: 0; }
  .tw-sources ul { columns: 1; }
  .tw-table { font-size: .86rem; }
  .tw-card--wide .tw-card__img img { aspect-ratio: 3 / 2; }
  .tw-hero__img { margin: 0; }
.tw-hero__img img { height: 520px; }
  .tw-hero__box { padding: 20px 18px; border-radius: 0; }
  .tw-section { padding: 40px 0; }
  .tw-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tw-grid--4 { grid-template-columns: 1fr; }
}

/* ── Hero-Credit mobil kleiner (13.10.2026) ─────────────── */
@media (max-width: 700px) {
  .tw-hero figcaption { font-size: .6rem; right: 8px; top: 6px; color: rgba(255,255,255,.7); }
}

/* ── Suche (13.10.2026) ─────────────────────────────────── */
.tw-searchlink { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 6px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; }
.tw-searchlink:hover, .tw-searchlink:focus-visible { background: rgba(255,255,255,.12); }
.tw-searchlink svg { width: 18px; height: 18px; }
.tw-searchlink--mobile { display: none; }
@media (max-width: 1000px) {
  .tw-searchlink--desk { display: none; }
  .tw-searchlink--mobile { display: inline-flex; margin-left: auto; margin-right: 4px; }
}
.tw-search { display: flex; gap: 8px; margin: 18px 0 8px; }
.tw-search input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-paper); color: var(--c-ink); }
.tw-search input:focus { outline: 2px solid var(--c-link); outline-offset: 1px; }
.tw-search button { font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 8px; background: var(--c-accent); color: #fff; cursor: pointer; }
.tw-search button:hover { background: var(--c-accent-dark); }
.tw-search__count { color: var(--c-muted); font-size: .95rem; margin: 14px 0 6px; }
.tw-results { list-style: none; padding: 0; margin: 0; }
.tw-results li { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.tw-results__kicker { display: block; font-size: .82rem; color: var(--c-accent); font-weight: 600; }
.tw-results a { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--c-link); }
.tw-results p { margin: 4px 0 0; color: var(--c-ink); font-size: .96rem; }
.tw-results mark { background: #f6e3b4; color: inherit; padding: 0 1px; }
