/* ============================================================
   Hotel Anker: die Zahlen seit dem Livegang (ergebnisse.html, #anker-zahlen)
   Aufbau nach Johns Vorlage vom 23.11.2026: große Zahl links, rechts ein Farbblock
   mit Laptop und Anker-Startseite, darunter drei Kennzahlen, dann die Vergleichskarte
   alte Seite gegen unsere Seite (Umschalter: js/anker-zahlen.js).
   Zahlen: projects/hotel_anker_lindau.md, gezählt 23.11.2026 — hier nichts ändern,
   was dort nicht steht.
   Der Laptop ist hier ausdrücklich gewollt (Johns Ansage), obwohl die Demo-Bühne in
   style.css bewusst ohne nachgebauten Laptop arbeitet.
   ============================================================ */
.az {
  /* Farben aus der Anker-Seite (hotel-anker-lindau-b/assets/styles.css): Nachtblau, Seeblau, Creme */
  --az-bg: #08131f;
  --az-karte: #0d1b2b;
  --az-text: #f5f2ec;
  --az-leise: rgba(239, 231, 219, .62);
  --az-linie: rgba(239, 231, 219, .11);
  --az-see: #5c8c93;
  --az-gut: #5fd3a6;
  --az-ease: cubic-bezier(.16, 1, .3, 1);
  max-width: 1120px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(28px, 5.5vw, 72px);
  background: var(--az-bg);
  color: var(--az-text);
  border-radius: 28px;
  font-family: var(--font);
}
.az h3, .az h4 { font-family: var(--font) !important; color: #fff; margin: 0; }
.az p { margin: 0; }
.az-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.az-auge {
  display: block; margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--az-leise);
}

/* ---------- Oben: große Zahl + Laptop ---------- */
.az-oben {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px); align-items: center;
}
.az-haupt { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); }
.az .az-riesig {
  flex: none; color: #fff;
  font-size: clamp(6rem, 12.5vw, 10.5rem); font-weight: 500;
  line-height: .78; letter-spacing: -.065em;
}
.az-haupt h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important;
  font-weight: 600 !important; letter-spacing: -.02em !important; line-height: 1.2 !important;
  margin-bottom: 8px;
}
.az-haupt p { color: var(--az-leise); font-size: 1rem; line-height: 1.5; }

.az-buehne {
  position: relative; aspect-ratio: 16 / 10.6; border-radius: 20px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 85% at 100% 0%, #a9d4d8 0%, transparent 62%),
    radial-gradient(75% 90% at 0% 100%, #efe7db 0%, transparent 62%),
    radial-gradient(85% 75% at 30% 10%, #4a86a3 0%, transparent 72%),
    #2b5670;
}
.az-laptop { width: 78%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.az-deckel {
  position: relative; padding: 2.4% 2.4% 2.9%;
  background: #0c0c0e;
  border-radius: clamp(8px, 1.5vw, 16px) clamp(8px, 1.5vw, 16px) 3px 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 3px #000;
}
.az-deckel::before { /* Kamera */
  content: ""; position: absolute; top: 1%; left: 50%; width: .8%; aspect-ratio: 1;
  border-radius: 50%; background: #2a2a30; transform: translateX(-50%);
}
/* Kein Glanz über dem Bildschirm (John 23.11.2026, beim Instagram-Video: der schräge helle Keil links sah auf dem
   dunklen Anker-Blau wie ein Fehler aus — „mach den weg“). */
/* Im Laptop läuft Johns Film-Modus-Aufnahme der Anker-Seite (23.11.2026). Lädt erst in Sichtweite (js/anker-zahlen.js),
   bis dahin steht das Vorschaubild = erstes Bild des Videos. */
.az-deckel video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: left top; border-radius: 2px; background: #08131f;
}
.az-boden {
  position: relative; width: 114%; margin-left: -7%; height: 0; padding-top: 3.3%;
  background: linear-gradient(180deg, #6a6b71 0%, #3d3e43 20%, #24252a 70%, #121215 100%);
  border-radius: 2px 2px clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px);
}
.az-boden::before { /* Griffmulde */
  content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #17171a, #2e2f34);
  border-radius: 0 0 10px 10px / 0 0 100% 100%;
}

/* ---------- Drei Kennzahlen ---------- */
.az-linie { height: 1px; border: 0; background: var(--az-linie); margin: clamp(40px, 5vw, 64px) 0 clamp(36px, 4.5vw, 56px); }
.az-kpis {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px 40px;
  margin: 0; padding: 0; list-style: none;
}
.az-kpi { min-width: 0; }
.az-kpi b {
  display: block; color: #fff; font-weight: 500;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1; letter-spacing: -.045em;
}
.az-kpi .az-alt { color: var(--az-leise); }
.az-kpi .az-pfeil { color: var(--az-leise); font-size: .6em; margin: 0 .14em; vertical-align: .12em; letter-spacing: 0; }
.az-label {
  display: block; margin-top: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245, 245, 247, .72);
}
.az-kpi small { display: block; margin-top: 6px; max-width: 26ch; font-size: .9rem; line-height: 1.45; color: var(--az-leise); }

/* ---------- Vergleichskarte ---------- */
.az-vergleich { margin-top: clamp(56px, 7vw, 88px); }
.az-v-kopf { margin-bottom: clamp(20px, 2.5vw, 28px); }
.az-v-kopf h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important;
  font-weight: 500 !important; letter-spacing: -.03em !important; line-height: 1.15 !important;
  margin-bottom: 10px;
}
.az-v-kopf p { color: var(--az-leise); font-size: 1rem; line-height: 1.55; max-width: 60ch; }

.az-karte {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--az-linie); background: var(--az-karte);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.az-k-flaeche { position: relative; min-height: 360px; }
.az-k-grafik { position: absolute; inset: 0 0 0 auto; width: 58%; }
.az-k-toenung { position: absolute; inset: 0; background: linear-gradient(to left, rgba(92, 140, 147, .2), transparent 75%); }
.az-k-punkte {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(239, 231, 219, .16) 1px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
          mask-image: linear-gradient(to right, transparent, #000 55%);
}
.az-k-saeulen {
  position: absolute; top: 88px; bottom: 26px; right: clamp(28px, 4.5vw, 64px);
  display: flex; align-items: flex-end; gap: clamp(18px, 2.6vw, 36px);
}
.az-saeule {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 100%; width: clamp(76px, 8.5vw, 112px);
}
.az-wert { margin-bottom: 10px; font-size: 1rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.az-balken {
  display: block; width: 100%;
  height: calc((100% - 82px) * var(--p, 1));
  border-radius: 14px 14px 4px 4px;
  transition: height .7s var(--az-ease);
}
.az-saeule--alt .az-balken { background: rgba(239, 231, 219, .12); box-shadow: inset 0 0 0 1px rgba(239, 231, 219, .08); }
.az-saeule--alt .az-wert { color: var(--az-leise); }
.az-saeule--neu .az-balken {
  background: linear-gradient(180deg, #9ccbd0 0%, var(--az-see) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.az-jahr { margin-top: 10px; font-size: .78rem; line-height: 1.35; text-align: center; color: var(--az-leise); white-space: nowrap; }
.az-jahr b { display: block; font-weight: 600; color: rgba(245, 245, 247, .82); }
.az-karte.reveal:not(.in) .az-balken { height: 0; }

.az-k-inhalt { position: relative; z-index: 1; padding: 28px 32px 32px; }
.az-k-kopf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.az-k-titel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.az-k-titel h4 { font-size: 1.06rem !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
.az-trend { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--az-gut); font-variant-numeric: tabular-nums; }
.az-trend svg { width: 16px; height: 16px; transition: transform .3s var(--az-ease); }
.az-trend.runter svg { transform: rotate(180deg); }

.az-tabs {
  display: inline-flex; padding: 3px; gap: 2px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--az-linie);
}
.az-tab {
  padding: 7px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--az-leise);
  transition: background-color .2s ease, color .2s ease, transform .12s ease;
}
.az-tab[aria-pressed="true"] { background: #efe7db; color: #08131f; }
.az-tab:active { transform: scale(.97); }
.az-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .az-tab:not([aria-pressed="true"]):hover { color: #fff; } }

.az .az-k-zahl {
  margin-top: 26px; color: #fff;
  font-size: clamp(3.4rem, 6.4vw, 4.6rem); font-weight: 500; line-height: 1; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.az .az-k-unter { margin-top: 12px; color: var(--az-leise); font-size: 1rem; }

.az-k-fuss {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px;
  padding: 16px 32px; border-top: 1px solid var(--az-linie); background: var(--az-karte);
  font-size: .9rem; color: var(--az-leise);
}
.az-k-fuss b { color: var(--az-gut); font-weight: 600; }
.az-k-extra { font-size: .8rem; }

.az .az-quelle { margin-top: clamp(28px, 3.5vw, 40px); max-width: 80ch; font-size: .82rem; line-height: 1.6; color: rgba(245, 245, 247, .45); }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 900px) {
  .az-oben { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .az-k-flaeche { display: flex; flex-direction: column-reverse; min-height: 0; }
  .az-k-grafik { position: relative; inset: auto; width: 100%; height: 250px; }
  .az-k-toenung { background: linear-gradient(to top, rgba(92, 140, 147, .2), transparent 80%); }
  .az-k-punkte {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
            mask-image: linear-gradient(to bottom, transparent, #000 45%);
  }
  .az-k-saeulen { top: 20px; bottom: 18px; left: 0; right: 0; justify-content: center; }
  .az-k-inhalt { padding: 22px 20px 4px; }
  .az-k-fuss { padding: 14px 20px; }
}
@media (max-width: 560px) {
  .az { border-radius: 22px; }
  .az-haupt { flex-direction: column; align-items: flex-start; }
  .az-kpis { flex-direction: column; gap: 28px; }
  .az-karte { border-radius: 22px; }
  .az-tabs { width: 100%; }
  .az-tab { flex: 1; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .az-balken, .az-trend svg, .az-tab { transition: none; }
}

/* ---------- Unter dem Zahlen-Block: Anker-Logo + Knopf zur Live-Seite (John 23.11.2026) ----------
   Steht AUSSERHALB von .az auf weißem Grund (John: „das geht unter, soll unter dem Container sein“) — deshalb keine
   --az-*-Variablen hier, die gibt es nur innerhalb von .az.
   Knopf: Form, Maße und Bewegung GENAU wie der Colours-Knopf (.ci-live in css/colours-insta.css), nur Anker-Farben
   (John: „soll genau gleich aussehen wie der von Colours, nur farblich anders“): Nachtblau statt Espresso, Kupfer statt
   Gold, Creme-Schrift. Ändert sich .ci-live, hier mitziehen. */
.az-fuss {
  max-width: 1120px;
  margin: clamp(36px, 4.5vw, 56px) auto 0;
  padding: 0 20px;
  display: flex; justify-content: center; align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.az-logo { display: block; width: clamp(130px, 12vw, 168px); height: auto; }
.az-live {
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 18px;
  padding: 16px 22px 16px 26px;
  border-radius: 999px;
  background: #08131f;
  color: #efe7db;
  text-decoration: none;
  box-shadow: 0 18px 36px -18px rgba(8, 19, 31, .55);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
.az-live span { grid-column: 1; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.az-live small { grid-column: 1; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #d9a877; margin-top: 3px; }
.az-live svg {
  grid-column: 2; grid-row: 1 / 3;
  width: 40px; height: 40px; padding: 10px;
  border-radius: 50%;
  background: #b8834a; color: #08131f;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
@media (hover: hover) {
  .az-live:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(8, 19, 31, .6); }
  .az-live:hover svg { transform: translate(2px, -2px); }
}
.az-live:focus-visible { outline: 2px solid #b8834a; outline-offset: 4px; }
@media (max-width: 560px) {
  .az-fuss { flex-direction: column; gap: 18px; }
  .az-live { padding: 14px 16px 14px 22px; }
  .az-live span { font-size: .95rem; }
}
