/* drsnow.at – Ergänzungen zur statischen Fassung (Kontakt, Anfrage, Heli-Link) */
:root {
  --ds-blue: #769abf;
  --ds-blue-dark: #46698f;
  --ds-ink: #1f2a36;
  --ds-muted: #5b6672;
  --ds-bg-soft: #f3f6f9;
  --ds-line: #dbe3ec;
  --ds-radius: 14px;
}

/* Partner-Spalte nach Entfernen des Formulars */
.ds-partner { text-align: center; }
.ds-partner .vc_custom_heading { text-align: center !important; }
.ds-partner .wpb_raw_code table { max-width: 720px; margin: 0 auto; }
.ds-partner .wpb_raw_code td { text-align: center; }

/* Schrift der Seite für neue Elemente */
.ds-contact__title, .ds-contact__value, .ds-request__title, .ds-mg__text, .ds-btn {
  font-family: NeueEinstellung, sans-serif;
}

/* Kontaktblock */
.ds-contact { background: var(--ds-bg-soft); padding: 72px 20px; margin: 0; }
.ds-contact__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.ds-contact__title { margin: 0 0 8px; color: var(--ds-ink); font-size: 2.4em; line-height: 1.15; }
.ds-contact__lead { margin: 0 0 36px; color: var(--ds-muted); font-size: 1.15em; }
.ds-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ds-contact__card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 36px 24px; background: #fff; border: 2px solid var(--ds-line);
  border-radius: var(--ds-radius); text-decoration: none !important; color: var(--ds-ink) !important;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ds-contact__card:hover, .ds-contact__card:focus-visible {
  border-color: var(--ds-blue); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31, 42, 54, .10);
}
.ds-contact__card:focus-visible { outline: 3px solid var(--ds-blue-dark); outline-offset: 3px; }
.ds-contact__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--ds-blue);
}
.ds-contact__icon svg { width: 30px; height: 30px; fill: #fff; }
.ds-contact__label { font-size: .85em; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-muted); }
.ds-contact__value { font-size: 1.75em; font-weight: 700; color: var(--ds-blue-dark); word-break: break-word; line-height: 1.2; }

/* Kleine Buttons */
.ds-btn {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 6px 0 0;
  padding: 12px 20px; border: 2px solid var(--ds-blue); border-radius: 999px;
  color: var(--ds-blue-dark) !important; background: #fff; font-weight: 700;
  text-decoration: none !important; line-height: 1.2; transition: background .2s, color .2s;
}
.ds-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ds-btn:hover, .ds-btn:focus-visible { background: var(--ds-blue); color: #fff !important; }
.ds-btn--solid { background: var(--ds-blue-dark); border-color: var(--ds-blue-dark); color: #fff !important; }
.ds-btn--solid:hover, .ds-btn--solid:focus-visible { background: var(--ds-ink); border-color: var(--ds-ink); }

/* Anfrage statt Preis */
.ds-request-row { max-width: 1180px; margin: 20px auto 40px; padding: 0 15px; }
.ds-request {
  background: var(--ds-bg-soft); border-left: 5px solid var(--ds-blue);
  border-radius: var(--ds-radius); padding: 26px 28px; margin: 0 0 30px;
}
.ds-request p { margin: 0; }
.ds-request__title { font-size: 1.45em; font-weight: 700; color: var(--ds-ink); }
.ds-request__lead { color: var(--ds-muted); margin-top: 4px !important; }
.ds-request__links { margin-top: 12px !important; }

/* Heliskiing: Link zu mountainguide.se */
.ds-mg {
  background: var(--ds-bg-soft); border: 2px solid var(--ds-blue);
  border-radius: var(--ds-radius); padding: 26px 28px; margin: 0 0 30px;
}
.ds-mg p { margin: 0; }
.ds-mg__text { font-size: 1.2em; font-weight: 700; color: var(--ds-ink); line-height: 1.35; }
.ds-mg__link { margin-top: 14px !important; }
.ds-mg__url { margin-top: 10px !important; font-size: .85em; word-break: break-all; }
.ds-mg__url a { color: var(--ds-blue-dark) !important; }
.ds-mg--banner { max-width: 1150px; margin: 40px auto; text-align: center; }
.ds-mg--banner .ds-mg__text { font-size: 1.45em; }

@media (max-width: 700px) {
  .ds-contact { padding: 48px 16px; }
  .ds-contact__title { font-size: 1.8em; }
  .ds-contact__grid { grid-template-columns: 1fr; gap: 16px; }
  .ds-contact__value { font-size: 1.4em; }
  .ds-mg--banner { margin: 24px 16px; }
  .ds-request, .ds-mg { padding: 20px; }
}

/* Icon-Boxen auf den Programmseiten: Kreis statt gestreckter Rahmen */
.shortcode_icon_box .icon_wrapper {
  width: 104px !important; height: 104px !important; margin: 0 auto 22px !important;
  border: 0 !important; border-radius: 50% !important;
  background: var(--ds-bg-soft) !important;
  display: flex !important; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px var(--ds-line);
  transition: background .25s, box-shadow .25s;
}
.shortcode_icon_box .icon_wrapper .icon {
  width: auto !important; font-size: 46px !important; line-height: 1 !important;
  color: var(--ds-blue-dark) !important; transition: color .25s;
}
.shortcode_icon_box:hover .icon_wrapper { background: var(--ds-blue) !important; box-shadow: none; }
.shortcode_icon_box:hover .icon_wrapper .icon { color: #fff !important; }
.shortcode_icon_box.with_separator { padding-bottom: 0 !important; }
.shortcode_icon_box .icon_wrapper { margin-bottom: 18px !important; }

/* Kontakt: vollflächig farbig, über den Partnern */
.ds-contact {
  background: var(--ds-blue-dark);
  box-shadow: 0 0 0 100vmax var(--ds-blue-dark);
  clip-path: inset(0 -100vmax);
  position: relative; z-index: 1;
}
.ds-contact__title { color: #fff; }
.ds-contact__lead { color: rgba(255, 255, 255, .88); }
.ds-contact__card { border-color: transparent; }
.ds-contact__card:hover, .ds-contact__card:focus-visible { border-color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.ds-contact__card:focus-visible { outline-color: #fff; }

/* Heli-Box im selben Stil wie die Anfrage-Box */
.ds-mg {
  border: 0; border-left: 5px solid var(--ds-blue);
  text-align: left;
}
.ds-mg__text { font-size: 1.45em; }

/* Heli: Termine-Link in der Sidebar */
.ds-dates .ds-btn { margin-top: 10px; font-size: .95em; }

/* Rechtsseiten */
.ds-legal { max-width: 820px; margin: 0 auto 80px; padding: 0 16px; text-align: left; }
.ds-legal h2 { font-size: 1.6em; margin: 1.8em 0 .5em; color: var(--ds-ink); }
.ds-legal h3 { font-size: 1.25em; margin: 1.6em 0 .4em; color: var(--ds-ink); }
.ds-legal p, .ds-legal li { line-height: 1.65; }
.ds-legal ul { margin: 0 0 1em 1.2em; }
.ds-legal a { color: var(--ds-blue-dark); text-decoration: underline; }
.ds-legal__stand { margin-top: 2.5em; color: var(--ds-muted); font-size: .9em; }

/* Bildergalerien: Reihen füllen die Breite, Bilder im eigenen Format (kein Beschnitt) */
.ds-gallery { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 32px; }
.ds-gallery__row { display: flex; gap: 10px; max-width: calc(var(--sum, 99) * 340px); }
.ds-gallery__item {
  display: block; overflow: hidden; border-radius: 6px; background: var(--ds-bg-soft);
  flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r);
}
.ds-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.ds-gallery__item:hover img, .ds-gallery__item:focus-visible img { transform: scale(1.03); }
.ds-gallery__item:focus-visible { outline: 3px solid var(--ds-blue-dark); outline-offset: 2px; }
@media (max-width: 600px) {
  .ds-gallery, .ds-gallery__row { gap: 6px; }
  .ds-gallery__row { flex-wrap: wrap; max-width: none; }
  .ds-gallery__item { flex: var(--r) 1 calc(var(--r) * 130px); }
}

/* Lightbox */
.ds-lightbox-open, .ds-lightbox-open body { overflow: hidden; }
.ds-lightbox {
  position: fixed; inset: 0; z-index: 100000; background: rgba(15, 20, 28, .94);
  display: flex; align-items: center; justify-content: center; padding: 56px 64px;
}
.ds-lightbox[hidden] { display: none; }
.ds-lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.ds-lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 4px; }
.ds-lightbox__figure figcaption { color: rgba(255, 255, 255, .85); margin-top: 12px; text-align: center; font-size: .95em; }
.ds-lightbox button {
  position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.ds-lightbox button:hover, .ds-lightbox button:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }
.ds-lightbox__close { top: 14px; right: 14px; }
.ds-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.ds-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .ds-lightbox { padding: 64px 8px; } .ds-lightbox__prev, .ds-lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* Video */
.ds-video { margin: 24px 0 32px; }
.ds-video video { display: block; width: 100%; height: auto; border-radius: 8px; background: #000; }

/* Accordions (WPBakery Toggle): hellblauer Titelbalken */
.vc_toggle { margin: 0 0 10px !important; }
.vc_toggle .vc_toggle_title {
  background: #e6eef7; border-radius: 8px; padding: 14px 18px 14px 46px !important;
  cursor: pointer; transition: background .2s;
}
.vc_toggle .vc_toggle_title:hover { background: #d6e3f1; }
.vc_toggle .vc_toggle_title h4 { margin: 0 !important; line-height: 1.3; }
.vc_toggle .vc_toggle_title .vc_toggle_icon { left: 18px !important; top: 50% !important; margin-top: -2px !important; }
.vc_toggle.vc_toggle_active .vc_toggle_title { border-radius: 8px 8px 0 0; background: #d6e3f1; }
.vc_toggle .vc_toggle_content { padding: 16px 18px 6px !important; margin: 0 !important; background: #f4f7fb; border-radius: 0 0 8px 8px; }

/* Beitragskarten (Slider und Übersicht) */
.ds-post { height: 100%; }
.ds-post__link {
  display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 10px; overflow: hidden;
  text-decoration: none !important; color: var(--ds-ink) !important; box-shadow: 0 2px 10px rgba(31, 42, 54, .08);
  transition: box-shadow .2s, transform .2s;
}
.ds-post__link:hover, .ds-post__link:focus-visible { box-shadow: 0 10px 28px rgba(31, 42, 54, .16); transform: translateY(-2px); }
.ds-post__link:focus-visible { outline: 3px solid var(--ds-blue-dark); outline-offset: 2px; }
.ds-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ds-bg-soft); }
.ds-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-post__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.ds-post__date { font-size: .85em; color: var(--ds-muted); }
.ds-post__title { margin: 0 !important; font-size: 1.3em !important; line-height: 1.25 !important; color: var(--ds-ink) !important; text-align: left !important; }
.ds-post__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--ds-blue-dark); font-family: NeueEinstellung, sans-serif; }

/* Blog-Slider auf der Startseite */
.ds-slider { margin: 10px 0 20px; }
.ds-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.ds-slider__viewport::-webkit-scrollbar { display: none; }
.ds-slider__track { display: flex; gap: 24px; list-style: none; margin: 0 !important; padding: 0 !important; }
.ds-slider__slide { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0 !important; list-style: none; }
.ds-slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.ds-slider--static .ds-slider__nav { display: none; }
.ds-slider__dots { display: flex; gap: 6px; }
.ds-slider__dot { width: 28px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.ds-slider__dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: #c3cfdc; transition: background .2s, transform .2s;
}
.ds-slider__dot.is-active::before { background: var(--ds-blue-dark); transform: scale(1.25); }
.ds-slider__dot:focus-visible { outline: 2px solid var(--ds-blue-dark); border-radius: 50%; }
.ds-slider__arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ds-blue); background: #fff; color: var(--ds-blue-dark);
  font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px;
}
.ds-slider__arrow:hover:not(:disabled), .ds-slider__arrow:focus-visible { background: var(--ds-blue); color: #fff; }
.ds-slider__arrow:disabled { opacity: .35; cursor: default; }
.ds-slider__all { text-align: center; margin: 28px 0 0 !important; }
@media (max-width: 900px) { .ds-slider__slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .ds-slider__slide { flex-basis: 85%; } .ds-slider__track { gap: 14px; } }

/* Blog-Übersicht */
.ds-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1150px; margin: 0 auto 80px; padding: 0 16px; }
@media (max-width: 900px) { .ds-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 600px) { .ds-blog { grid-template-columns: 1fr; } }
.ds-legal__note { font-size: .9em; color: var(--ds-muted); font-style: italic; margin-bottom: 1.5em; }

/* Startseite: Intro als Header mit Pfeil nach unten */
.ds-hero { position: relative; }
.ds-hero__arrow {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  display: flex; align-items: center; justify-content: center; color: #fff !important;
  background: rgba(0, 0, 0, .15); animation: ds-bounce 2.2s ease-in-out infinite; z-index: 2;
}
.ds-hero__arrow svg { width: 30px; height: 30px; fill: currentColor; }
.ds-hero__arrow:hover, .ds-hero__arrow:focus-visible { background: rgba(255, 255, 255, .2); }
.ds-hero__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes ds-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .ds-hero__arrow { animation: none; } }
.ds-start-anchor { scroll-margin-top: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Startseite: Bildspalten neben den Programm-Texten höher (Desktop) und sichtbar (Handy) */
.vc_row .mobile.vc_col-has-fill > .vc_column-inner {
  min-height: 680px; background-position: center !important; background-size: cover !important;
}
@media (max-width: 1100px) { .vc_row .mobile.vc_col-has-fill > .vc_column-inner { min-height: 560px; } }
@media (max-width: 767px) {
  .vc_row .mobile.vc_col-has-fill > .vc_column-inner { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
}
@media (min-width: 768px) {
  .vc_row.adjust_cols_height > .wpb_column:not(.mobile) > .vc_column-inner {
    display: flex; flex-direction: column; justify-content: center; height: 100%;
  }
}
/* Startseite Handy: immer Bild oben, Text darunter */
@media (max-width: 767px) {
  .vc_row.ds-mobile-reverse { display: flex; flex-direction: column-reverse; }
}
