/* GAD Sprach-Assistenz (16.10.2026): schwebende Kugel, Gesprächsfenster, Startseiten-Sektion, Hero-Szene 02. JS: js/gad-voice.js */
.gv-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; }
.gv-float-label { background: #0b1c3d; color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1; box-shadow: 0 8px 24px rgba(11,28,61,.28); border: 1px solid rgba(120,200,255,.3); }
.gv-float-ball { position: relative; width: 84px; height: 84px; border-radius: 50%; overflow: visible; background: radial-gradient(circle, rgba(11,28,61,.96) 0%, rgba(11,28,61,.9) 46%, rgba(11,28,61,.45) 60%, rgba(11,28,61,0) 72%); }  /* frei stehend, ohne Ring; weicher Schein hält das weiße Logo auch über hellen Flächen lesbar (Yusuf 16.10.2026) */
.gv-float-ball canvas { position: absolute; left: 50%; top: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); }
.gv-float:focus-visible .gv-float-ball { outline: 3px solid #2b8aff; outline-offset: 3px; }
@media (hover: hover) { .gv-float:hover .gv-float-ball { filter: brightness(1.15); } }
@media (max-width: 768px) { .gv-float { right: 14px; bottom: 14px; } .gv-float-label { display: none; } .gv-float-ball { width: 68px; height: 68px; } }
html.gv-active:not(.gv-open) .gv-float { display: none; }

/* Gesprächsfenster rechts unten, am Knopf verankert (W185), am Handy Panel von unten.
   18.10.2026 (Yusuf): Kugel groß in der Mitte, Gesprächstext 3 Zeilen, Datenschutz unter „Mehr“ */
.gv-dlg { position: fixed; inset: auto 24px 120px auto; z-index: 1000; margin: 0; width: 340px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); padding: 0; border: 1px solid rgba(120,200,255,.22); border-radius: 22px; color: #fff; overflow: auto;
  background: radial-gradient(120% 70% at 50% 28%, #16346e 0%, #0e2450 45%, #0b1c3d 100%); box-shadow: 0 24px 60px rgba(6,14,32,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.gv-dlg[open] { display: flex; flex-direction: column; animation: gv-in .22s ease-out; }
@keyframes gv-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.gv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 0 20px; }
.gv-title { margin: 0; color: #fff; font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: .01em; }
.gv-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.75); font-size: 24px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .gv-close:hover { background: rgba(255,255,255,.1); color: #fff; } }
.gv-close:focus-visible, .gv-btn:focus-visible { outline: 2px solid #2b8aff; outline-offset: 2px; }
.gv-body { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 16px; }
.gv-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.gv-orb { width: 210px; height: 210px; display: block; margin: -6px 0 -14px; }
.gv-status { min-height: 1.4em; margin: 0; color: #9fd3ff; font-size: 14px; line-height: 1.4; }
.gv-status a { color: #9fd3ff; }
.gv-btn { min-height: 44px; padding: 0 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gv-btn:disabled { opacity: .55; cursor: default; }
@media (hover: hover) { .gv-btn:not(:disabled):hover { background: rgba(255,255,255,.16); } }
.gv-log { max-height: calc(3 * 1.45em + 20px); overflow-y: auto; border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.06); font-size: 14px; }
.gv-log:empty { display: none; }
.gv-log { -webkit-mask-image: linear-gradient(transparent, #000 16px); mask-image: linear-gradient(transparent, #000 16px); }  /* ältere Zeilen laufen oben weich aus */
.gv-line { margin: 0 0 4px; line-height: 1.45; color: rgba(231,238,247,.9); }
.gv-line:last-child { margin-bottom: 0; }
.gv-line b { color: #fff; font-weight: 600; }
.gv-note { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(231,238,247,.6); text-align: left; }
.gv-note a { color: #9fd3ff; }
html.gv-open .gv-float-label { display: none; }
@media (max-width: 768px) {
  .gv-dlg { inset: auto 12px 12px 12px; width: auto; max-width: none; max-height: min(82dvh, 600px); }
  .gv-dlg[open] { animation-name: gv-up; }
  html.gv-open .gv-float { display: none; }
  .gv-orb { width: 180px; height: 180px; }
}
@keyframes gv-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .gv-dlg[open] { animation: none; } }

/* Startseiten-Sektion (Navy) */
section.gv-section { background: #0b1c3d; color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.gv-section-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.gv-section .eyebrow { color: #9fd3ff; margin-bottom: 14px; }
body.is-home main section.gv-section h2, section.gv-section h2 { color: #fff; font-size: clamp(30px, 22px + 2vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 700; }
.gv-section p.gv-lead { color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.55; margin: 0 0 24px; max-width: 540px; }
.gv-section .gv-hint { color: rgba(231,238,247,.6); font-size: 13.5px; margin: 14px 0 0; }
.gv-section-orb { display: grid; place-items: center; }
.gv-section-orb canvas { width: min(460px, 80vw); height: min(460px, 80vw); display: block; }
@media (max-width: 900px) { .gv-section-grid { grid-template-columns: 1fr; gap: 20px; } .gv-section-orb canvas { width: 300px; height: 300px; } }

/* Hero-Szene 02: Kugel statt Bild */
.hst-voice { position: absolute; top: -10px; right: 1%; width: 56%; aspect-ratio: 16 / 9; } /* gleiche Fläche wie .hst-logo-box (hero-stage.css) */
.hst-voice canvas { position: absolute; left: 67%; top: 46%; height: 82%; width: auto; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); display: block; } /* Mitte = Mitte des 3D-Logos */
.hst-cap .gv-cap-btn { display: flex; align-items: center; gap: 8px; width: max-content; min-height: 44px; margin: 12px 0 2px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: #fff; color: #0b1c3d; font: 600 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; text-shadow: none; box-shadow: 0 8px 24px rgba(43,138,255,.28); }
.hst-cap .gv-cap-btn::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: #2b8aff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.9V21h2v-2.1A7 7 0 0 0 19 12z'/%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'%3E%3Cpath d='M12 15a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.9V21h2v-2.1A7 7 0 0 0 19 12z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (hover: hover) { .hst-cap .gv-cap-btn:hover { background: #e7eef7; } }
.hst-cap .gv-cap-btn:focus-visible { outline: 2px solid #2b8aff; outline-offset: 3px; }  /* eigener Knopf statt Link im Text (Yusuf 16.10.2026) */
/* Gespräch direkt im Hero: eine Zeile mit Status bzw. letzter Antwort */
.hst-cap .gv-hero-line { margin-top: 10px; color: #9fd3ff; font-size: 16px; line-height: 1.45; height: 2.9em; overflow: hidden; max-width: 520px; } /* genau zwei Zeilen, JS teilt längere Antworten auf */
.hst-cap .gv-hero-line:empty { display: none; }
.hst-cap .gv-hero-line:not(:empty) ~ .gv-hero-hint { display: none; }
.hst-cap:not(.gv-live) .gv-hero-line { margin-top: 8px; font-size: 14px; height: auto; max-height: none; line-height: 1.6; }  /* nach dem Gespräch: Status klein, nicht höher als der Hinweis */  /* nie Statuszeile und Hinweis zugleich: sonst wächst die Bildunterschrift in die Kacheln */
.hst-cap .gv-hero-hint { margin-top: 8px; font-size: 12.5px; color: rgba(231,238,247,.6); }
.hst-cap .gv-hero-hint a { color: rgba(231,238,247,.8); }
.hst-cap.gv-live .gv-cap-intro, .hst-cap.gv-live .gv-hero-hint { display: none; }
.hst-cap.gv-live .gv-cap-btn { margin-left: 0; }
.gv-start-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: inherit; opacity: .75; }
.hst-cap .gv-hero-hint a { margin-left: 0; font-size: 12.5px; }
/* Großprüfung 24.10.2026: Kugel lag am Handy über „Angebot anfragen“ im offenen Menü und über der Suche */
body.nav-open .gv-float, body.search-open .gv-float { display: none; }
