/*
 * =============================================================================
 *  FIRMA:        Autark Innovations
 *  PROJEKT:      autark-website
 *  DATEINAME:    referenz-reels-20261130.css
 *  ORDNER:       autark-website/css/
 *  BESCHREIBUNG:
 *    Gestaltung für die Reel-Galerie „Aus unserem Alltag“ und die Kundenreferenz
 *    „Klimaanlage Multisplit in Schwarz“. Die Reels stehen als Hochkantvideos
 *    (9:16) nebeneinander; auf dem Handy wischt man sie seitlich durch, ohne dass
 *    die Seite breiter wird. Eingebunden auf Startseite, Klima-Seite,
 *    Referenzen-Seite und der neuen Referenzseite; Farben kommen aus den
 *    Designvariablen (--w-*), damit Hell und Dunkel ohne Extraregeln passen.
 *  HAUPTBEREICHE:
 *    - .akr-reels / .akr-reel: Reel-Galerie mit Video, Titel, Text und Quelle
 *    - .akr-hero: Kopfbereich der Referenzseite mit Text und Reel
 *    - .akr-fakten: Kennzahlen-Kacheln der Referenz
 *    - .akr-galerie: Fotostrecke im Format 4:5
 *    - .akr-zeitleiste: Ablauf der Montage mit Uhrzeiten
 *  AUTOR:        Autark Innovations
 *  ENTWICKLER:   Pierre Hasberg
 *  ERSTELLT:     30.11.2026
 *  GEÄNDERT:     30.11.2026
 *  VERSION:      1.0.0
 *  SPRACHE:      Deutsch
 *  WEBSEITE:     https://autarkinnovations.com
 *  SOCIAL MEDIA: Instagram: https://instagram.com/autarkinnovations
 *                Facebook:  https://facebook.com/autarkinnovations
 *  KONTAKT:      info@autarkinnovations.com
 *  LIZENZ:       Proprietär — Alle Rechte vorbehalten
 * =============================================================================
 */

/* ---------- Reel-Galerie ---------- */
.akr-reels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  justify-content: center;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.akr-reel {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--w-bg, #fff);
  border: 1px solid var(--w-border, #dce5ef);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px -26px rgba(11, 33, 60, .45);
}
.akr-reel video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0F172A;
}
.akr-reel figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
  text-align: left;
}
.akr-reel-titel {
  margin: 0;
  color: var(--w-text, #0b213c);
  font-family: var(--w-disp, inherit);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}
.akr-reel-text {
  margin: 0;
  color: var(--w-t2, #526174);
  font-size: .88rem;
  line-height: 1.55;
}
.akr-reel-quelle {
  margin: 2px 0 0;
  color: var(--w-t3, #6b7a8c);
  font-size: .74rem;
  line-height: 1.45;
}
.akr-reel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 4px;
}
.akr-reel-links a {
  display: inline-block;
  padding-block: 8px;
  color: var(--w-link, #0075bd);
  font-size: .86rem;
  font-weight: 650;
  text-underline-offset: 4px;
}
.akr-reels-mehr {
  margin: 22px 0 0;
  color: var(--w-t2, #526174);
  font-size: .9rem;
  text-align: center;
}
.akr-reels-mehr a { color: var(--w-link, #0075bd); font-weight: 650; text-underline-offset: 4px; }
.akr-reel video:focus-visible,
.akr-reel a:focus-visible { outline: 3px solid #0075bd; outline-offset: 3px; }

/* Auf schmalen Bildschirmen seitlich wischen statt drei hohe Videos untereinander */
@media (max-width: 760px) {
  .akr-reels {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(76%, 290px);
    justify-content: start;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    padding: 2px 2px 12px;
  }
  .akr-reel { scroll-snap-align: start; }
}

/* Startseite: Reels als eigener Block im Referenzbereich */
.ak26-reels { margin-top: 64px; }
.ak26-reels .ak26-section-head { margin-bottom: 0; }
.ak26-reels h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.ak26-reels-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
@media (max-width: 760px) { .ak26-reels { margin-top: 44px; } }
/* .ak26-main p färbt jeden Absatz gedämpft; der Reel-Titel bleibt in Textfarbe, Zeilenhöhe wie in der Galerie */
.ak26-main .akr-reel .akr-reel-titel { color: var(--ak26-text, #0b213c); line-height: 1.3; }
.ak26-main .akr-reel .akr-reel-text { line-height: 1.55; }
.ak26-main .akr-reel { background: var(--ak26-surface, #fff); border-color: var(--ak26-line, #dce5ef); }

/* ---------- Referenzseite: Kopfbereich mit Reel ---------- */
.article-hero-inner.akr-hero {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 48px;
  align-items: center;
}
.akr-hero .akr-reel { width: 100%; justify-self: end; }
@media (max-width: 860px) {
  .article-hero-inner.akr-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .akr-hero .akr-reel { justify-self: center; max-width: 330px; }
}

/* ---------- Kennzahlen ---------- */
.akr-fakten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.akr-fakten li {
  padding: 16px 10px;
  border: 1px solid var(--w-border, #dce5ef);
  border-radius: 14px;
  background: var(--w-bg, #fff);
  text-align: center;
}
.akr-fakten strong {
  display: block;
  color: var(--w-blue, #0075bd);
  font-family: var(--w-disp, inherit);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}
.akr-fakten span { display: block; margin-top: 6px; color: var(--w-t2, #526174); font-size: .8rem; line-height: 1.35; }
@media (max-width: 560px) { .akr-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Fotostrecke ---------- */
.akr-galerie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
}
.akr-galerie figure { margin: 0; min-width: 0; }
.akr-galerie picture, .akr-galerie img { display: block; width: 100%; }
.akr-galerie img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: var(--w-bg2, #f0f6fc);
}
.akr-galerie figcaption { margin-top: 9px; color: var(--w-t2, #526174); font-size: .86rem; line-height: 1.5; }
.akr-galerie figcaption strong { display: block; color: var(--w-text, #0b213c); font-size: .92rem; }
@media (max-width: 760px) { .akr-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 420px) { .akr-galerie figcaption { font-size: .8rem; } }

/* ---------- Ablauf der Montage ---------- */
.akr-zeitleiste { margin: 18px 0 26px; padding: 0; list-style: none; border-left: 3px solid var(--w-border, #dce5ef); }
.akr-zeitleiste li { position: relative; margin: 0 0 16px; padding-left: 20px; }
.akr-zeitleiste li::before {
  content: '';
  position: absolute;
  left: -8px;
  top: .45em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--w-blue, #0075bd);
  box-shadow: 0 0 0 3px var(--w-bg, #fff);
}
.akr-zeitleiste time, .akr-zeitleiste .akr-zeit { display: block; color: var(--w-blue, #0075bd); font-weight: 700; font-size: .9rem; }

/* ---------- Referenz-Kurzvorstellung (Klima- und Referenzen-Seite) ---------- */
.akr-teaser-bild { margin: 0; text-align: center; }
.akr-teaser-bild img {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 44px -28px rgba(10, 28, 58, .5);
}
.akr-teaser-bild figcaption { margin-top: 12px; color: var(--w-t3, #6b7a8c); font-size: .82rem; line-height: 1.45; }
.akr-teaser-links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 22px; }
.akr-hinweis { margin: 14px 0 0; color: var(--w-t3, #6b7a8c); font-size: .8rem; line-height: 1.5; }

/* ---------- Praxisbeispiel im Ratgeber (Multisplit-Artikel) ---------- */
.akr-praxis {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 22px 0 30px;
  padding: 18px;
  border: 1px solid var(--w-border, #dce5ef);
  border-radius: 18px;
  background: var(--w-bg2, #f0f6fc);
}
.akr-praxis picture, .akr-praxis img { display: block; width: 100%; margin: 0; }
.akr-praxis img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.akr-praxis p { margin: 0 0 10px; }
.akr-praxis p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .akr-praxis { grid-template-columns: minmax(0, 1fr); }
  .akr-praxis picture { max-width: 240px; }
}

/* ---------- Wiedergabeseiten (video-*.html, hisense-air-master-video.html) ---------- */
/* Video als Hauptinhalt: Desktop Video links, Titel und Text rechts; Handy Titel, Video, Text untereinander */
.hv-watch-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  grid-template-areas: "video kopf" "video text";
  column-gap: 48px;
  row-gap: 6px;
  align-items: start;
}
.hv-watch-kopf { grid-area: kopf; align-self: end; }
.hv-page .hv-watch-kopf .hv-title { max-width: 24ch; font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.hv-watch-video { grid-area: video; margin: 0; }
.hv-watch-text { grid-area: text; min-width: 0; }
.hv-watch-grid--quer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "video" "text"; }
.hv-page .hv-player.hv-player--hoch { aspect-ratio: 9 / 16; max-height: 84vh; object-fit: contain; }
.hv-watch-text .hv-copy { margin-top: 8px; }
.hv-watch-text h2 { margin: 22px 0 8px; color: var(--hv-text, #132c45); font-size: 1.12rem; line-height: 1.3; }
.hv-watch-text ul { margin: 0; padding-left: 1.2em; color: var(--hv-muted, #48647b); line-height: 1.7; }
.hv-watch-text .hv-small { color: var(--hv-muted, #48647b); font-size: .84rem; line-height: 1.55; }
/* Drei Navigationspunkte passen auch bei 360–375 px neben das Logo */
@media (max-width: 440px) {
  .hv-page .hv-nav { gap: 12px; }
  .hv-page .hv-nav a { font-size: .82rem; }
  .hv-page .hv-brand img { width: 38px; height: 38px; }
}
@media (max-width: 760px) {
  .hv-watch-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "video" "text"; }
  .hv-watch-video { width: 100%; max-width: 400px; justify-self: center; }
  .hv-page .hv-player.hv-player--hoch { max-height: none; }
}

/* ---------- Videoübersicht und „Weitere Videos“ ---------- */
.hv-videoliste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.hv-videokarte {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--hv-border, #d8e7f2);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #132c45;
  text-decoration: none;
}
.hv-videokarte img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: #07182e; }
.hv-videokarte span { display: block; padding: 12px 14px 14px; font-weight: 700; line-height: 1.35; }
.hv-videokarte small { display: block; margin-top: 4px; color: #48647b; font-weight: 500; font-size: .8rem; }
.hv-videokarte:hover span { color: #006eaf; text-decoration: underline; text-underline-offset: 3px; }
.hv-videokarte:focus-visible { outline: 3px solid #0075bd; outline-offset: 3px; }
.hv-weitere { padding-block: 8px 52px; }
.hv-weitere h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
