/* ==========================================================================
   Familienparadies Kranzberg – Theme "Alpin Frisch" für Contao 6
   Webdesign: Asal EDV-System-Dienste
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/archivo-medium.woff") format("woff"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/archivo-semibold.woff") format("woff"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-bold.woff") format("woff"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/archivo-extrabold.woff") format("woff"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-regular.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-semibold.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-bold.woff2") format("woff2"); }

/* ---------- Farben & Maße ---------- */
:root {
  --kb-navy: #0F2C4C;
  --kb-navy-deep: #0B2340;
  --kb-navy-mid: #163A61;
  --kb-navy-line: #2D5079;
  --kb-accent: #C04717;
  --kb-accent-dark: #9E3910;
  --kb-accent-soft: #F2A27D;
  --kb-accent-tint: #FFF4EE;
  --kb-accent-border: #F2C9B5;
  --kb-ink: #13202E;
  --kb-text: #3A4756;
  --kb-muted: #4A5868;
  --kb-on-dark: #D5E1EE;
  --kb-on-dark-muted: #B9CADC;
  --kb-bg: #F4F7FA;
  --kb-surface: #FFFFFF;
  --kb-ice: #E3ECF4;
  --kb-line: #DCE4EC;
  --kb-line-strong: #B7C8DA;
  --kb-green: #1E6B3A;
  --kb-green-tint: #E3F4E8;
  --kb-radius: 12px;
  --kb-radius-lg: 16px;
  --kb-shadow: 0 6px 20px rgba(15, 44, 76, .07);
  --kb-max: 1280px;
  --kb-gutter: 24px;
  --kb-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --kb-font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--kb-bg);
  color: var(--kb-ink);
  font-family: var(--kb-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
figure { margin: 0; }
a { color: var(--kb-navy); text-underline-offset: .18em; }
a:hover { color: var(--kb-accent); }
:focus-visible { outline: 3px solid var(--kb-accent); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--kb-font-head); color: var(--kb-navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 800; }
h4 { font-size: 19px; font-weight: 700; }
h5, h6 { font-size: 17px; font-weight: 700; }
p, ul, ol, table { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--kb-line); margin: 32px 0; }
.invisible { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.kb-wrap { width: 100%; max-width: var(--kb-max); margin: 0 auto; padding: 0 var(--kb-gutter); }
.kb-kicker { margin: 0 0 8px; font-family: var(--kb-font-head); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-accent); }
.kb-on-dark .kb-kicker { color: var(--kb-accent-soft); }
.kb-lead { font-size: 19px; color: var(--kb-text); }

/* Buttons */
.kb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--kb-font-head); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.kb-btn--accent { background: var(--kb-accent); color: #fff; }
.kb-btn--accent:hover { background: var(--kb-accent-dark); color: #fff; }
.kb-btn--primary { background: var(--kb-navy); color: #fff; }
.kb-btn--primary:hover { background: var(--kb-navy-deep); color: #fff; }
.kb-btn--light { background: #fff; color: var(--kb-navy); }
.kb-btn--light:hover { background: var(--kb-ice); color: var(--kb-navy); }
.kb-btn--outline { background: transparent; color: var(--kb-navy); border-color: var(--kb-line-strong); }
.kb-btn--outline:hover { border-color: var(--kb-navy); color: var(--kb-navy); }
.kb-on-dark .kb-btn--outline { color: #fff; border-color: #5D7A9A; }
.kb-on-dark .kb-btn--outline:hover { border-color: #fff; color: #fff; }
.kb-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.kb-more { font-family: var(--kb-font-head); font-weight: 700; text-decoration: none; }
.kb-more::after { content: " →"; }

/* Sektionen */
.kb-section { padding: 88px 0; }
.kb-section--white { background: var(--kb-surface); }
.kb-section--ice { background: var(--kb-ice); }
.kb-section--navy { background: var(--kb-navy); color: #fff; }
.kb-section--navy h2, .kb-section--navy h3 { color: #fff; }
.kb-section--tight { padding: 64px 0; }
.kb-sechead { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.kb-sechead h2 { margin: 0; }
.kb-sechead__text { max-width: 680px; }
.kb-sechead__text p:last-child { margin-bottom: 0; }

/* ---------- Kopfbereich ---------- */
#header {
  position: sticky; top: 0; z-index: 50;
  background: var(--kb-surface);
  border-bottom: 1px solid var(--kb-line);
  transition: box-shadow .2s;
}
#header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 35, 64, .12); }
#header > .inside {
  display: grid;
  grid-template-columns: max(var(--kb-gutter), calc((100% - var(--kb-max)) / 2 + var(--kb-gutter))) auto 1fr auto max(var(--kb-gutter), calc((100% - var(--kb-max)) / 2 + var(--kb-gutter)));
  align-items: center;
}
#header > .inside > .mod_article,
#header .kb-header { display: contents; }
.kb-topbar { grid-column: 1 / -1; background: var(--kb-navy-deep); color: #DCE6F0; font-size: 14px; }
.kb-topbar__inner { max-width: var(--kb-max); margin: 0 auto; padding: 7px var(--kb-gutter); display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; }
.kb-topbar__group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.kb-topbar a { color: #DCE6F0; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.kb-topbar a:hover { color: #fff; text-decoration: underline; }
.kb-topbar svg { width: 15px; height: 15px; flex: none; }
.kb-logo { grid-column: 2; display: inline-flex; align-items: center; padding: 10px 0; text-decoration: none; }
.kb-logo img { display: block; height: 64px; width: auto; }
.kb-logo__text { font-family: var(--kb-font-head); font-weight: 800; font-size: 24px; color: var(--kb-navy); }

#header .mod_navigation { grid-column: 3 / span 2; justify-self: end; }
#header .mod_navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
#header .mod_navigation li { margin: 0; }
#header .mod_navigation a,
#header .mod_navigation strong {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 6px;
  font-family: var(--kb-font-head); font-weight: 600; font-size: 15px; color: var(--kb-ink); text-decoration: none;
}
#header .mod_navigation a:hover { color: var(--kb-accent); background: var(--kb-bg); }
#header .mod_navigation strong.active,
#header .mod_navigation a.trail { color: var(--kb-accent); background: var(--kb-accent-tint); }
.kb-navtoggle { display: none; }

@media (max-width: 1180px) {
  .kb-navtoggle {
    grid-column: 4; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 8px 14px; border: 2px solid var(--kb-line-strong); border-radius: 6px; background: #fff;
    font-family: var(--kb-font-head); font-weight: 700; font-size: 15px; color: var(--kb-navy); cursor: pointer;
  }
  .kb-navtoggle svg { width: 20px; height: 20px; }
  #header .mod_navigation { grid-column: 1 / -1; justify-self: stretch; display: none; border-top: 1px solid var(--kb-line); padding: 8px var(--kb-gutter) 16px; background: #fff; }
  #header.nav-open .mod_navigation { display: block; }
  #header .mod_navigation ul { flex-direction: column; align-items: stretch; }
  #header .mod_navigation a, #header .mod_navigation strong { width: 100%; font-size: 17px; }
  .kb-logo img { height: 52px; }
}
@media (max-width: 640px) {
  .kb-topbar__group--social { display: none; }
  .kb-topbar__inner { justify-content: center; }
}

/* ---------- Hauptbereich / Artikel ---------- */
#container, #main { width: 100%; }
#main .mod_article { width: 100%; }
.kb-article { max-width: var(--kb-max); margin: 0 auto; padding: 64px var(--kb-gutter) 80px; }
.kb-article--narrow { max-width: 908px; }
.kb-article > .content-text, .kb-article > .content-image, .kb-article > .content-gallery,
.kb-article > .content-download, .kb-article > .content-player, .kb-article > .ce_form,
.kb-article > .content-headline, .kb-article > .content-hyperlink { margin-bottom: 32px; }
.kb-article .content-text h2 { margin-top: 1.4em; }
.kb-article .content-text h3 { margin-top: 1.3em; }
.kb-article .content-text h2:first-child, .kb-article .content-text h3:first-child { margin-top: 0; }
.kb-article .content-text ul { padding-left: 1.2em; }
.kb-article .content-text li { margin-bottom: .35em; }
.kb-article .media--left > figure { float: left; width: 44%; margin: 4px 32px 16px 0; }
.kb-article .media--right > figure { float: right; width: 44%; margin: 4px 0 16px 32px; }
.kb-article .media--above > figure { margin-bottom: 20px; }
@media (max-width: 700px) { .kb-article .media--left > figure, .kb-article .media--right > figure { float: none; width: 100%; margin: 0 0 20px; } }
.kb-article .content-text::after { content: ""; display: table; clear: both; }
.kb-article .content-text figure img { width: 100%; }
.kb-article .content-text figure img, .kb-article .content-image img { border-radius: var(--kb-radius); }

/* Galerie */
.content-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.content-gallery li { margin: 0; }
.content-gallery figure, .content-gallery a { display: block; }
.content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.content-gallery a:hover img { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 44, 76, .18); }

/* Download / Player */
.content-download a, .ce_download a {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 10px;
  background: var(--kb-surface); border: 1px solid var(--kb-line); text-decoration: none; font-weight: 600; box-shadow: var(--kb-shadow);
}
.content-download a::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--kb-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.content-download .size { color: var(--kb-muted); font-weight: 400; }
.content-player audio, .content-player video { width: 100%; max-width: 720px; }

/* Formulare */
.kb-article form { max-width: 720px; }
.kb-article .widget { margin-bottom: 18px; }
.kb-article label { display: block; font-weight: 600; margin-bottom: 6px; }
.kb-article input[type="text"], .kb-article input[type="email"], .kb-article input[type="tel"], .kb-article textarea, .kb-article select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--kb-line-strong); border-radius: 8px; background: #fff;
  font: inherit; color: var(--kb-ink);
}
.kb-article textarea { min-height: 170px; resize: vertical; }
.kb-article input:focus, .kb-article textarea:focus { outline: 3px solid rgba(192, 71, 23, .25); border-color: var(--kb-accent); }
.kb-article .mandatory, .kb-article span.mandatory { color: var(--kb-accent); }
.kb-article button[type="submit"], .kb-article .submit {
  min-height: 48px; padding: 12px 28px; border: 0; border-radius: 6px; background: var(--kb-accent); color: #fff;
  font-family: var(--kb-font-head); font-weight: 700; font-size: 16px; cursor: pointer;
}
.kb-article button[type="submit"]:hover { background: var(--kb-accent-dark); }
.kb-article p.error { color: #B3261E; font-weight: 600; margin: 4px 0 0; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.kb-pagehead { position: relative; overflow: hidden; background: var(--kb-navy); color: #fff; }
.kb-pagehead__media { position: absolute; inset: 0; }
.kb-pagehead__media figure, .kb-pagehead__media picture { display: block; height: 100%; }
.kb-pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.kb-pagehead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,35,64,.92) 0%, rgba(11,35,64,.72) 55%, rgba(11,35,64,.35) 100%); }
.kb-pagehead__inner { position: relative; padding-top: 72px; padding-bottom: 72px; max-width: var(--kb-max); }
.kb-pagehead h1 { color: #fff; margin: 0; max-width: 820px; }
.kb-pagehead .kb-kicker { color: var(--kb-accent-soft); }
.kb-pagehead__intro { margin: 18px 0 0; max-width: 720px; font-size: 19px; color: var(--kb-on-dark); }
.kb-pagehead__intro p:last-child { margin-bottom: 0; }
.kb-breadcrumb { margin: 0 0 14px; font-size: 14px; color: var(--kb-on-dark-muted); }
.kb-breadcrumb a { color: var(--kb-on-dark); }

/* ---------- Hero ---------- */
.kb-hero { position: relative; overflow: hidden; background: var(--kb-navy); color: #fff; }
.kb-hero__media { position: absolute; inset: 0; }
.kb-hero__media figure, .kb-hero__media picture { display: block; height: 100%; }
.kb-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.kb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,35,64,.9) 0%, rgba(11,35,64,.68) 50%, rgba(11,35,64,.25) 100%); }
.kb-hero__mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; display: block; }
.kb-hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-top: 96px; padding-bottom: 190px; }
.kb-hero__text { flex: 1 1 520px; max-width: 760px; }
.kb-hero__badge { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 4px; background: var(--kb-accent); color: #fff; font-family: var(--kb-font-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.kb-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -.02em; margin: 0; }
.kb-hero__lead { margin: 20px 0 32px; max-width: 580px; font-size: clamp(18px, 1.6vw, 22px); color: var(--kb-on-dark); }
.kb-hero .kb-btn--outline { color: #fff; border-color: #8FA6BF; }
.kb-hero .kb-btn--outline:hover { border-color: #fff; color: #fff; }
.kb-report { flex: 0 1 340px; background: #fff; color: var(--kb-ink); border-radius: var(--kb-radius); padding: 24px; box-shadow: 0 18px 40px rgba(5, 20, 40, .35); }
.kb-report__label { margin: 0 0 4px; font-family: var(--kb-font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--kb-muted); font-weight: 700; }
.kb-report__title { margin: 0 0 16px; font-family: var(--kb-font-head); font-size: 22px; font-weight: 800; color: var(--kb-navy); line-height: 1.2; }
.kb-report__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kb-report__item { background: var(--kb-bg); border-radius: 8px; padding: 10px 12px; }
.kb-report__item span { display: block; font-size: 13px; color: var(--kb-muted); }
.kb-report__item strong { display: block; font-family: var(--kb-font-head); font-weight: 800; font-size: 18px; line-height: 1.25; }
.kb-report__note { margin: 12px 0 0; font-size: 14px; color: var(--kb-muted); }

/* ---------- Schnellinfos ---------- */
.kb-facts { position: relative; margin-top: -118px; z-index: 2; }
.kb-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kb-fact { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: var(--kb-radius); padding: 22px 24px; text-decoration: none; color: var(--kb-ink); box-shadow: 0 6px 20px rgba(15, 44, 76, .08); border-top: 4px solid var(--kb-navy); transition: transform .15s, box-shadow .15s; }
a.kb-fact:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 44, 76, .14); color: var(--kb-ink); }
.kb-fact--accent { border-top-color: var(--kb-accent); }
.kb-fact--sky { border-top-color: #2F7FBF; }
.kb-fact--slate { border-top-color: #5D7A9A; }
.kb-fact__kicker { font-family: var(--kb-font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--kb-muted); font-weight: 700; }
.kb-fact__title { font-family: var(--kb-font-head); font-size: 22px; font-weight: 800; color: var(--kb-navy); line-height: 1.2; }
.kb-fact__text { font-size: 15px; color: var(--kb-muted); }

/* ---------- Mitteilung ---------- */
.kb-notice { padding: 96px 0 48px; }
.kb-notice__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kb-notice__text { flex: 999 1 560px; min-width: 0; font-size: 19px; }
.kb-notice__text h2 { margin-bottom: 20px; }
.kb-notice__media { flex: 1 1 360px; display: grid; gap: 20px; }
.kb-notice__media figure img { width: 100%; border-radius: var(--kb-radius); box-shadow: var(--kb-shadow); }
.kb-notice__media figcaption { margin-top: 10px; font-size: 14px; color: var(--kb-muted); }
.kb-callout { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0 0; background: var(--kb-accent-tint); border: 1px solid var(--kb-accent-border); border-radius: var(--kb-radius); padding: 20px 24px; font-size: 16px; }
.kb-callout svg { flex: none; width: 28px; height: 28px; margin-top: 2px; color: var(--kb-accent); }
.kb-callout__title { margin: 0 0 4px; font-family: var(--kb-font-head); font-weight: 800; font-size: 19px; color: var(--kb-navy); }
.kb-callout p:last-child { margin-bottom: 0; }
.kb-signature { margin: 24px 0 0; font-family: var(--kb-font-head); font-weight: 700; color: var(--kb-navy); }

/* ---------- Karten (Highlights) ---------- */
.kb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.kb-card { background: var(--kb-bg); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.kb-section--ice .kb-card, .kb-section:not(.kb-section--white) .kb-card { background: #fff; box-shadow: var(--kb-shadow); }
.kb-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kb-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kb-card__body .kb-kicker { margin: 0; font-size: 13px; }
.kb-card__body h3 { margin: 0; }
.kb-card__text { margin: 0; color: var(--kb-text); font-size: 16px; flex: 1; }
.kb-card__text p:last-child { margin-bottom: 0; }

/* ---------- Feature (Highlights-Seite) ---------- */
.kb-feature { padding: 72px 0; }
.kb-feature:nth-of-type(even) { background: var(--kb-surface); }
.kb-feature__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.kb-feature--reverse .kb-feature__grid { flex-direction: row-reverse; }
.kb-feature__media { flex: 1 1 420px; }
.kb-feature__media img { width: 100%; border-radius: var(--kb-radius-lg); box-shadow: var(--kb-shadow); }
.kb-feature__text { flex: 1 1 420px; min-width: 0; }
.kb-feature__text ul { padding-left: 1.2em; }

/* ---------- Pisten & Lifte ---------- */
.kb-lifts__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kb-lifts__intro { flex: 1 1 420px; min-width: 0; }
.kb-lifts__plan figure img { width: 100%; border-radius: var(--kb-radius); box-shadow: var(--kb-shadow); }
.kb-lifts__legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.kb-lifts__legend img { max-height: 56px; width: auto; }
.kb-lifts__tablewrap { flex: 1 1 520px; min-width: 0; background: #fff; border-radius: 14px; padding: 8px 0; box-shadow: var(--kb-shadow); overflow-x: auto; }
.kb-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0; }
.kb-table caption { text-align: left; padding: 16px 24px 8px; font-family: var(--kb-font-head); font-weight: 800; font-size: 20px; color: var(--kb-navy); }
.kb-table th { text-align: left; padding: 10px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--kb-muted); font-weight: 700; }
.kb-table td { padding: 12px 8px; border-top: 1px solid #E6ECF2; vertical-align: middle; }
.kb-table th:first-child, .kb-table td:first-child { padding-left: 24px; }
.kb-table th:last-child, .kb-table td:last-child { padding-right: 24px; }
.kb-table td.num, .kb-table th.num { text-align: right; white-space: nowrap; }
.kb-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 6px; background: var(--kb-navy); color: #fff; font-family: var(--kb-font-head); font-weight: 800; font-size: 14px; }
.kb-badge--kids { background: var(--kb-accent-tint); color: var(--kb-accent); }
.kb-badge--sled { background: var(--kb-ice); color: var(--kb-navy); }
.kb-lift__name { font-weight: 700; color: var(--kb-navy); }
.kb-lift__note { display: block; font-size: 14px; color: var(--kb-muted); }
.kb-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; background: #EEF2F6; color: var(--kb-muted); }
.kb-status--open { background: var(--kb-green-tint); color: var(--kb-green); }
.kb-status--open::before { content: "● "; }
/* Liftübersicht am Handy: Karten statt breiter Tabelle, kein seitliches Scrollen */
@media (max-width: 640px) {
  .kb-lifts__tablewrap { overflow: visible; padding: 4px 0; }
  .kb-lifts__tablewrap .kb-table, .kb-lifts__tablewrap .kb-table tbody { display: block; width: 100%; }
  .kb-lifts__tablewrap .kb-table caption { display: block; padding: 14px 16px 6px; }
  .kb-lifts__tablewrap .kb-table thead { display: none; }
  .kb-lifts__tablewrap .kb-table tr { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "nr name name status" "nr len pts status"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 16px; border-top: 1px solid #E6ECF2; }
  .kb-lifts__tablewrap .kb-table td { display: block; padding: 0 !important; border: 0; min-width: 0; }
  .kb-lifts__tablewrap .kb-table td:nth-child(1) { grid-area: nr; }
  .kb-lifts__tablewrap .kb-table td:nth-child(2) { grid-area: name; }
  .kb-lifts__tablewrap .kb-table td:nth-child(3) { grid-area: len; font-size: 13px; color: var(--kb-muted); }
  .kb-lifts__tablewrap .kb-table td:nth-child(4) { grid-area: pts; font-size: 13px; color: var(--kb-muted); }
  .kb-lifts__tablewrap .kb-table td:nth-child(3)::before { content: "Länge "; }
  .kb-lifts__tablewrap .kb-table td:nth-child(4)::before { content: "· Punkte "; }
  .kb-lifts__tablewrap .kb-table td:nth-child(4) { margin-left: -8px; }
  .kb-lifts__tablewrap .kb-table td:nth-child(3).is-empty + td:nth-child(4) { margin-left: 0; }
  .kb-lifts__tablewrap .kb-table td:nth-child(3).is-empty + td:nth-child(4)::before { content: "Punkte "; }
  .kb-lifts__tablewrap .kb-table td.is-empty { display: none; }
  .kb-lifts__tablewrap .kb-table td:nth-child(5) { grid-area: status; justify-self: end; }
  .kb-lifts__tablewrap .kb-lift__name { display: block; line-height: 1.25; }
  .kb-lifts__tablewrap .kb-lift__note { font-size: 13px; }
}
.kb-aerial { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 56px; background: #fff; border-radius: var(--kb-radius-lg); padding: 28px; box-shadow: var(--kb-shadow); }
.kb-aerial__media { flex: 1 1 340px; }
.kb-aerial__media img { width: 100%; border-radius: var(--kb-radius); }
.kb-aerial__text { flex: 1 1 340px; }

/* ---------- Preise ---------- */
.kb-prices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.kb-price { background: var(--kb-navy-mid); border-radius: var(--kb-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.kb-price__group { margin: 0; font-family: var(--kb-font-head); font-weight: 700; font-size: 15px; color: var(--kb-accent-soft); text-transform: uppercase; letter-spacing: .06em; }
.kb-price__age { margin: 0; font-size: 14px; color: var(--kb-on-dark-muted); }
.kb-price__value { margin: 12px 0 0; font-family: var(--kb-font-head); font-weight: 800; font-size: 44px; line-height: 1; color: #fff; }
.kb-price__what { margin: 0; font-size: 15px; color: var(--kb-on-dark); }
.kb-price__extra { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--kb-navy-line); font-size: 15px; color: var(--kb-on-dark); }
.kb-prices__foot { margin: 24px 0 0; font-size: 15px; color: var(--kb-on-dark-muted); }
.kb-section--navy .kb-sechead p { color: var(--kb-on-dark); }

/* Preistabellen mit Reitern */
.kb-pricetable__notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 36px; }
.kb-note { background: var(--kb-accent-tint); border: 1px solid var(--kb-accent-border); border-radius: var(--kb-radius); padding: 18px 22px; font-weight: 600; color: var(--kb-navy); }
.kb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.kb-tabs button {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--kb-line-strong); background: #fff;
  font-family: var(--kb-font-head); font-weight: 700; font-size: 15px; color: var(--kb-navy); cursor: pointer;
}
.kb-tabs button[aria-selected="true"] { background: var(--kb-navy); border-color: var(--kb-navy); color: #fff; }
.kb-tabpanel { background: #fff; border-radius: 14px; box-shadow: var(--kb-shadow); padding: 8px 0 24px; overflow-x: auto; }
.kb-tabpanel[hidden] { display: none; }
.kb-tabpanel h3 { padding: 16px 24px 0; margin: 0 0 4px; }
.kb-tabpanel__sub { padding: 0 24px; margin: 0 0 8px; color: var(--kb-muted); }
.kb-season { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 16px 24px 0; padding: 16px 20px; border-radius: 10px; background: var(--kb-bg); }
.kb-season span { font-family: var(--kb-font-head); font-weight: 700; color: var(--kb-muted); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.kb-season strong { font-family: var(--kb-font-head); font-weight: 800; font-size: 28px; color: var(--kb-navy); }
.kb-tabpanel__foot { padding: 0 24px; margin: 16px 0 0; font-size: 15px; color: var(--kb-muted); }
.no-js .kb-tabs { display: none; }
.no-js .kb-tabpanel[hidden] { display: block; margin-bottom: 24px; }

/* ---------- News ---------- */
.kb-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.kb-news > .mod_newslist, .mod_newslist.kb-news-wrap { display: contents; }
.mod_newslist .kb-newscard, .kb-newsgrid .kb-newscard { margin: 0; }
.kb-newsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.kb-newsgrid > .pagination, .kb-newsgrid > nav, .kb-newsgrid > .empty { grid-column: 1 / -1; }
.kb-newscard { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--kb-shadow); }
.kb-newscard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kb-newscard__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kb-newscard__date { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.kb-newscard__day { font-family: var(--kb-font-head); font-weight: 800; font-size: 32px; color: var(--kb-accent); line-height: 1; }
.kb-newscard__month { font-family: var(--kb-font-head); font-weight: 700; color: var(--kb-muted); text-transform: uppercase; font-size: 14px; letter-spacing: .08em; }
.kb-newscard h2, .kb-newscard h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.kb-newscard h2 a, .kb-newscard h3 a { color: var(--kb-navy); text-decoration: none; }
.kb-newscard h2 a:hover, .kb-newscard h3 a:hover { color: var(--kb-accent); }
.kb-newscard__teaser { color: var(--kb-text); font-size: 16px; flex: 1; }
.kb-newscard__teaser p:last-child { margin-bottom: 0; }
.kb-newscard .more a { font-family: var(--kb-font-head); font-weight: 700; text-decoration: none; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 24px 0 0; }
.pagination li a, .pagination li strong { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--kb-line); text-decoration: none; font-weight: 700; }
.pagination li strong { background: var(--kb-navy); color: #fff; border-color: var(--kb-navy); }
.pagination p { margin: 0; color: var(--kb-muted); font-size: 15px; }

.kb-newsfull { max-width: 860px; margin: 0 auto; }
.kb-newsfull__meta { margin: 0 0 10px; color: var(--kb-muted); font-weight: 600; }
.kb-newsfull h1 { font-size: clamp(30px, 3.6vw, 46px); }
.kb-newsfull__sub { font-size: 21px; color: var(--kb-text); font-weight: 600; }
.kb-newsfull__figure { margin: 8px 0 28px; }
.kb-newsfull__figure img { width: 100%; border-radius: var(--kb-radius-lg); }
.kb-newsfull .content-text, .kb-newsfull .content-gallery, .kb-newsfull .content-download, .kb-newsfull .content-player { margin-bottom: 28px; }
.kb-back { margin-top: 40px; }

/* ---------- Split (Chronik) ---------- */
.kb-split { display: flex; flex-wrap: wrap; border-radius: var(--kb-radius-lg); overflow: hidden; background: #fff; box-shadow: var(--kb-shadow); }
.kb-split__media { flex: 1 1 420px; min-height: 320px; position: relative; background: var(--kb-ice); }
.kb-split__media figure, .kb-split__media picture { position: absolute; inset: 0; }
.kb-split__media img { width: 100%; height: 100%; object-fit: cover; }
.kb-split__media figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 35, 64, .82); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 4px; }
.kb-split__text { flex: 1 1 420px; padding: 48px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.kb-split__text h2 { margin: 0; }
.kb-split__text p { margin: 0; color: var(--kb-text); }
.kb-split--reverse { flex-direction: row-reverse; }

/* ---------- Video ---------- */
.kb-video__frame { max-width: 1040px; margin: 0 auto; border-radius: var(--kb-radius-lg); overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(5, 20, 40, .25); }
.kb-video__frame video { display: block; width: 100%; height: auto; }
.kb-video .kb-sechead { justify-content: center; text-align: center; }

/* ---------- Webcam & Wetter ---------- */
.kb-live { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.kb-tile { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 14px; padding: 20px; text-decoration: none; color: var(--kb-ink); box-shadow: var(--kb-shadow); transition: transform .15s, box-shadow .15s; }
a.kb-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 44, 76, .14); color: var(--kb-ink); }
.kb-tile__media { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--kb-navy); }
.kb-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.kb-tile__live { position: absolute; top: 12px; left: 12px; background: var(--kb-accent); color: #fff; padding: 3px 8px; border-radius: 4px; font-family: var(--kb-font-head); font-weight: 700; font-size: 13px; }
.kb-tile__weather { aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(160deg, #2F7FBF, var(--kb-navy)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.kb-tile__weather svg { width: 64px; height: 64px; }
.kb-tile__weather span { font-family: var(--kb-font-head); font-weight: 700; font-size: 17px; }
.kb-tile__title { font-family: var(--kb-font-head); font-weight: 800; font-size: 24px; color: var(--kb-navy); }
.kb-tile__title::after { content: " →"; }
.kb-tile__text { color: var(--kb-muted); font-size: 16px; }

/* Webcam-Seite */
.kb-webcam__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kb-webcam__item { margin: 0; background: #fff; border-radius: var(--kb-radius); overflow: hidden; box-shadow: var(--kb-shadow); }
.kb-webcam__item a { display: block; }
.kb-webcam__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--kb-ice); }
.kb-webcam__item figcaption { padding: 10px 14px; font-weight: 600; color: var(--kb-navy); }
.kb-webcam__hint { margin-top: 16px; color: var(--kb-muted); font-size: 15px; }

/* Einbettung (Wetterstation) */
.kb-embed__frame { background: #fff; border-radius: var(--kb-radius-lg); padding: 16px; box-shadow: var(--kb-shadow); overflow-x: auto; }
.kb-embed__frame iframe { display: block; width: 100%; max-width: 820px; margin: 0 auto; border: 0; }
.kb-embed__actions { margin-top: 24px; text-align: center; }

/* ---------- Partner ---------- */
.kb-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kb-logo-tile { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 14px; background: #fff; border: 1px solid var(--kb-line); border-radius: 10px; text-align: center; text-decoration: none; color: var(--kb-text); font-family: var(--kb-font-head); font-weight: 700; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.kb-logo-tile:hover { border-color: var(--kb-line-strong); box-shadow: var(--kb-shadow); }
.kb-logo-tile img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.kb-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.kb-partner { background: #fff; border-radius: 14px; box-shadow: var(--kb-shadow); display: flex; flex-direction: column; overflow: hidden; }
.kb-partner__logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 20px; border-bottom: 1px solid var(--kb-line); }
.kb-partner__logo img { max-height: 110px; max-width: 100%; width: auto; object-fit: contain; }
.kb-partner__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kb-partner__body h3 { margin: 0; font-size: 21px; }
.kb-partner__text { color: var(--kb-text); font-size: 16px; flex: 1; }
.kb-partner__text p:last-child, .kb-partner__text ul:last-child { margin-bottom: 0; }

/* ---------- Team ---------- */
.kb-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.kb-person { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--kb-shadow); }
.kb-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--kb-ice); }
.kb-person figcaption { padding: 16px 18px 18px; }
.kb-person strong { display: block; font-family: var(--kb-font-head); font-size: 19px; color: var(--kb-navy); }
.kb-person span { color: var(--kb-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.mod_faqpage h2 { margin: 40px 0 16px; }
.mod_faqpage h2:first-child { margin-top: 0; }
.mod_faqpage .faq-item, .kb-faq-item { background: #fff; border-radius: var(--kb-radius); box-shadow: var(--kb-shadow); margin-bottom: 12px; overflow: hidden; }
.kb-faq-q { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; cursor: pointer; font-family: var(--kb-font-head); font-weight: 700; font-size: 18px; color: var(--kb-navy); line-height: 1.35; }
.kb-faq-q::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--kb-ice); font-size: 22px; font-weight: 700; color: var(--kb-navy); }
.kb-faq-q[aria-expanded="true"]::after { content: "–"; background: var(--kb-accent); color: #fff; }
.kb-faq-q:focus-visible { outline: 3px solid var(--kb-accent); outline-offset: -3px; }
.kb-faq-a { padding: 0 22px 18px; color: var(--kb-text); }
.kb-faq-a[hidden] { display: none; }
.kb-faq-a .info { font-size: 14px; color: var(--kb-muted); }
.mod_faqpage .toplink { display: none; }

/* ---------- Kontakt & Karte ---------- */
.kb-contact__grid { display: flex; flex-wrap: wrap; gap: 40px; }
.kb-contact__info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.kb-contact__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.kb-contact__label { margin: 0 0 6px; font-family: var(--kb-font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--kb-muted); font-weight: 700; }
.kb-contact__info p { margin: 0; white-space: pre-line; }
.kb-map { flex: 1 1 480px; min-height: 320px; border-radius: 14px; overflow: hidden; background: var(--kb-ice); position: relative; }
.kb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kb-map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--kb-muted); border: 2px dashed var(--kb-line-strong); border-radius: 14px; }
.kb-map__consent strong { font-family: var(--kb-font-head); color: var(--kb-navy); font-size: 18px; }
.kb-map__consent p { margin: 0; max-width: 420px; font-size: 15px; }
.kb-map__consent label { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }

/* ---------- Fußbereich ---------- */
#footer { background: var(--kb-navy-deep); color: var(--kb-on-dark-muted); font-size: 15px; }
#footer > .inside { max-width: var(--kb-max); margin: 0 auto; padding: 0 var(--kb-gutter); }
#footer a { color: #DCE6F0; }
#footer a:hover { color: #fff; }
.kb-footer { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding: 52px 0 28px; }
.kb-footer__brand { flex: 1 1 280px; max-width: 420px; }
.kb-footer__brand img { max-height: 72px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.kb-footer__title { margin: 0 0 8px; font-family: var(--kb-font-head); font-weight: 800; font-size: 22px; color: #fff; }
.kb-footer__brand p { margin: 0 0 8px; }
.kb-footer__contact { flex: 1 1 240px; }
.kb-footer__contact p { margin: 0 0 6px; white-space: pre-line; }
.kb-footer__label { font-family: var(--kb-font-head); font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px !important; }
.kb-footer__social { display: flex; gap: 10px; margin-top: 12px; }
.kb-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kb-navy-mid); }
.kb-footer__social a:hover { background: var(--kb-accent); }
.kb-footer__social svg { width: 20px; height: 20px; }
#footer .mod_navigation { flex: 2 1 420px; padding: 52px 0 0; }
#footer .mod_navigation ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 24px; }
#footer .mod_navigation a, #footer .mod_navigation strong { color: #DCE6F0; text-decoration: none; font-weight: 600; }
#footer .mod_navigation strong { color: #fff; }
#footer > .inside { display: flex; flex-wrap: wrap; gap: 0 40px; }
#footer > .inside > .mod_article { flex: 999 1 560px; }
.kb-footer__bottom { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 18px 0 28px; border-top: 1px solid #23415F; font-size: 14px; }
.kb-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }

/* ---------- Lightbox ---------- */
.kb-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 17, 31, .92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.kb-lightbox[hidden] { display: none; }
.kb-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.kb-lightbox button { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; }
.kb-lightbox button:hover { background: var(--kb-accent); }
.kb-lightbox .kb-lb-close { top: 14px; right: 14px; }
.kb-lightbox .kb-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.kb-lightbox .kb-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.kb-lightbox .kb-lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #DCE6F0; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .kb-section { padding: 64px 0; }
  .kb-hero__inner { padding-top: 64px; padding-bottom: 170px; }
  .kb-notice { padding-top: 72px; }
  .kb-split__text { padding: 32px 28px; }
  .kb-article { padding-top: 44px; padding-bottom: 56px; }
}
@media (max-width: 560px) {
  :root { --kb-gutter: 16px; }
  body { font-size: 16px; }
  .kb-report { flex-basis: 100%; }
  .kb-btns .kb-btn { flex: 1 1 100%; }
  .kb-table { font-size: 15px; }
  .kb-lightbox { padding: 56px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  #header, #footer, .kb-map, .kb-btns { display: none !important; }
  .kb-hero, .kb-pagehead, .kb-section--navy { background: none !important; color: #000 !important; }
  .kb-hero h1, .kb-pagehead h1 { color: #000 !important; }
}

/* ---------- Ergänzungen ---------- */
.kb-tile__caption { position: absolute; top: 12px; right: 12px; max-width: 70%; background: rgba(11, 35, 64, .78); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; text-align: right; }
.kb-sectionhead { padding-top: 88px; }
.kb-newsteaser { max-width: var(--kb-max); margin: 0 auto; padding: 0 var(--kb-gutter) 88px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.kb-newsarchive { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.kb-newsteaser > .pagination, .kb-newsarchive > .pagination, .kb-newsteaser > .empty, .kb-newsarchive > .empty { grid-column: 1 / -1; }
.kb-teamblock { margin-top: 48px; }
.kb-webcam, .kb-embed, .kb-pricetable, .kb-teamblock, .kb-partners { margin-bottom: 40px; }
#footer > .inside > .mod_article, #footer .kb-footerwrap { display: contents; }
#footer .kb-footer { order: 1; flex: 999 1 560px; }
#footer .mod_navigation { order: 2; }
#footer .kb-footer__bottom { order: 3; }
.mod_faqpage article { margin-bottom: 40px; }
.mod_faqpage .info { font-size: 14px; color: var(--kb-muted); margin-top: 8px; }

.kb-newscard__media--empty { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #163A61, #0B2340); display: flex; align-items: flex-end; overflow: hidden; }
.kb-newscard__media--empty svg { width: 100%; height: 60%; display: block; }
.kb-newscard__teaser { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.kb-video__frame video { aspect-ratio: 16 / 9; object-fit: cover; background: #0B2340; }

.kb-lifts__compact { display: none; }
.kb-lifts--compact .kb-lifts__compact { display: block; }
.kb-lifts--compact .kb-lifts__full, .kb-lifts--compact .kb-lifts__legend, .kb-lifts--compact .kb-aerial { display: none; }
.kb-lifts__full .kb-btns, .kb-lifts__compact .kb-btns { margin-top: 20px; }

/* ---------- Wetter ---------- */
.kb-weather { margin-bottom: 40px; }
.kb-weather__now { background: linear-gradient(150deg, #2F7FBF 0%, var(--kb-navy) 70%); color: #fff; border-radius: var(--kb-radius-lg); padding: 32px; box-shadow: var(--kb-shadow); display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; }
.kb-weather__loading, .kb-weather__error { margin: 0; color: #DCE6F0; }
.kb-weather__main { display: flex; align-items: center; gap: 20px; flex: 0 1 auto; }
.kb-weather__icon svg { width: 96px; height: 96px; display: block; }
.kb-weather__temp { margin: 0; font-family: var(--kb-font-head); font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.kb-weather__station { margin: 8px 0 0; color: var(--kb-on-dark); font-size: 16px; }
.kb-weather__grid { flex: 1 1 420px; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.kb-weather__grid div { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 10px 14px; }
.kb-weather__grid dt { font-size: 13px; color: var(--kb-on-dark-muted); }
.kb-weather__grid dd { margin: 2px 0 0; font-family: var(--kb-font-head); font-weight: 700; font-size: 19px; }
.kb-weather__fc { margin-top: 40px; }
.kb-weather__fc h3 { margin-bottom: 16px; }
.kb-weather__fcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.kb-weather__day { background: #fff; border-radius: var(--kb-radius); box-shadow: var(--kb-shadow); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.kb-weather__day.is-night { background: #EEF3F8; }
.kb-weather__dayname { margin: 0; font-family: var(--kb-font-head); font-weight: 800; color: var(--kb-navy); }
.kb-weather__dayicon svg { width: 56px; height: 56px; display: block; margin: 4px 0; }
.kb-weather__daytemp { margin: 0; font-family: var(--kb-font-head); font-weight: 800; font-size: 26px; color: var(--kb-navy); }
.kb-weather__phrase { margin: 0; font-weight: 600; color: var(--kb-text); }
.kb-weather__rain { margin: 0; font-size: 14px; color: #2F7FBF; font-weight: 600; }
.kb-weather__narr { margin: 6px 0 0; font-size: 14px; color: var(--kb-muted); line-height: 1.45; }
.kb-weather__meta { margin: 20px 0 0; font-size: 14px; color: var(--kb-muted); }
.kb-weather__actions .kb-btns { margin-top: 20px; }
.kb-tile__temp { font-family: var(--kb-font-head); font-weight: 800; font-size: 40px; line-height: 1; }
.kb-tile__weather svg { width: 64px; height: 64px; }

/* Lange Wörter und Adressen (z. B. in Impressum/Datenschutz) am Handy umbrechen */
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; }
.rte a, .kb-article a { overflow-wrap: anywhere; }

/* Nach-oben-Schaltfläche – nur in der Desktopansicht */
.kb-totop { position: fixed; right: 28px; bottom: 28px; z-index: 900; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--kb-accent); color: #fff; box-shadow: 0 8px 24px rgba(15, 44, 76, .25); cursor: pointer; display: none; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.kb-totop:hover { background: var(--kb-navy); }
.kb-totop:focus-visible { outline: 3px solid var(--kb-navy); outline-offset: 3px; }
.kb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .kb-totop { display: inline-flex; } }
@media print { .kb-totop { display: none !important; } }

/* ---------- Ticker (Laufband) unter dem Kopfbereich ---------- */
.kb-ticker { --kb-ticker-bg: var(--kb-accent); --kb-ticker-label: rgba(0, 0, 0, .18); display: flex; align-items: stretch; background: var(--kb-ticker-bg); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3; overflow: hidden; position: relative; }
.kb-ticker--navy { --kb-ticker-bg: var(--kb-navy); --kb-ticker-label: var(--kb-accent); }
.kb-ticker--green { --kb-ticker-bg: #1F7A3E; }
.kb-ticker--red { --kb-ticker-bg: #B42318; }
.kb-ticker__label { flex: 0 0 auto; display: flex; align-items: center; padding: 0 18px; background: var(--kb-ticker-label); font-family: var(--kb-font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; position: relative; z-index: 1; }
.kb-ticker__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.kb-ticker.is-running .kb-ticker__viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.kb-ticker__track { display: flex; flex-wrap: wrap; margin: 0; padding: 0 16px; list-style: none; }
.kb-ticker.is-running .kb-ticker__track { flex-wrap: nowrap; width: max-content; padding: 0; }
.kb-ticker__item { flex: 0 0 auto; padding: 11px 0; }
.kb-ticker.is-running .kb-ticker__item { white-space: nowrap; }
.kb-ticker:not(.is-running) .kb-ticker__item:last-child::after { display: none; }
.kb-ticker__item::after { content: "•"; margin: 0 28px; opacity: .6; }
.kb-ticker__item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kb-ticker__item a:hover, .kb-ticker__item a:focus { text-decoration-thickness: 2px; }
.kb-ticker.is-running .kb-ticker__track { animation: kb-ticker var(--kb-ticker-dur, 30s) linear infinite; }
.kb-ticker.is-running:hover .kb-ticker__track, .kb-ticker.is-running:focus-within .kb-ticker__track, .kb-ticker.is-paused .kb-ticker__track { animation-play-state: paused; }
@keyframes kb-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.kb-ticker__pause { flex: 0 0 auto; width: 44px; border: 0; background: var(--kb-ticker-label); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.kb-ticker__pause:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.kb-ticker__icon-play, .kb-ticker.is-paused .kb-ticker__icon-pause { display: none; }
.kb-ticker.is-paused .kb-ticker__icon-play { display: inline; }
/* ohne JS oder bei „Bewegung reduzieren“: Meldungen stehen still und brechen um */
@media (max-width: 640px) { .kb-ticker { font-size: 15px; } .kb-ticker__label { padding: 0 12px; font-size: 12px; } .kb-ticker__item::after { margin: 0 20px; } }
@media print { .kb-ticker__pause { display: none; } .kb-ticker__track { animation: none !important; flex-wrap: wrap; width: auto; } }
