/* GS-Telesolution – gemeinsame Styles (v33)
   Schriften lokal gehostet (keine Verbindung zu Google), Hover-Effekte
   ohne Inline-JavaScript (CSP), Platzhalter für den Chat. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ehemals onmouseover/onmouseout */
.hover-scale:hover { transform: scale(1.05) !important; }
.hover-accent:hover { color: var(--accent) !important; }
.hover-accent-border:hover { color: var(--accent) !important; border-color: var(--accent) !important; }

/* Just Chat (kibot.chat) */
#dify-chatbot-bubble-button { background-color: #9CC41D !important; }
.jc-launcher {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 9980;
  width: 48px; height: 48px; border-radius: 50%;
  background: #9CC41D; color: #0A0A0B; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform .18s ease;
}
.jc-launcher:hover { transform: scale(1.06); }
.jc-launcher:focus-visible { outline: 2px solid #F5F5F4; outline-offset: 3px; }
.jc-panel {
  position: fixed; right: 1rem; bottom: 4.5rem; z-index: 9981;
  width: min(320px, calc(100vw - 2rem));
  background: #18181B; color: #F5F5F4;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 1rem 1.1rem; font-family: 'Geist', system-ui, sans-serif;
  font-size: 0.875rem; line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.jc-panel[hidden] { display: none !important; }
.jc-panel strong { display: block; font-size: 0.95rem; margin-bottom: .35rem; }
.jc-panel p { color: #A1A1A0; margin: 0 0 .85rem; }
.jc-panel a { color: #9CC41D; }
.jc-actions { display: flex; gap: .5rem; justify-content: flex-end; }
.jc-actions button {
  font: inherit; font-weight: 500; border-radius: 8px; padding: .5rem .85rem; cursor: pointer;
}
.jc-cancel { background: transparent; color: #A1A1A0; border: 1px solid rgba(255,255,255,0.12); }
.jc-start { background: #9CC41D; color: #0A0A0B; border: 1px solid #9CC41D; }
.jc-embed-ph {
  min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem; text-align: center; background: var(--bg-card, #18181B);
}
.jc-embed-ph p { color: var(--text-muted, #A1A1A0); max-width: 44ch; margin: 0; font-size: .9rem; line-height: 1.55; }
.jc-embed-ph a { color: var(--accent, #9CC41D); }
.jc-embed-load {
  font: inherit; font-weight: 500; background: #9CC41D; color: #0A0A0B; border: none;
  border-radius: 8px; padding: .8rem 1.3rem; cursor: pointer;
}

/* Eingebettete Live-Demo (ab v50): ausgeblendet, solange sie „hidden" trägt – auch während sie
   im Hintergrund lädt. Der Platzhalter hält inzwischen die Höhe. */
iframe[data-consent-src][hidden], #cbiframe[hidden] { display: none !important; }
#cbiframe { display: block; }
.jc-embed-warten {
  min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  background: var(--bg-card, #18181B); color: var(--text-muted, #A1A1A0); font-size: .9rem;
}

/* Nataschas Geschichte (ab v53): schließt an Geralds Geschichte an; das Zertifikat steht auf Weiß, so wie es ausgestellt wurde */
.geschichte-zwei { padding-top: 0; }
.geschichte-zwei > .container > .grid { border-top: 1px solid var(--border-subtle); padding-top: clamp(3rem, 6vw, 5.5rem); }
.zertifikat { margin: 0; max-width: 460px; }
.zertifikat figcaption { color: var(--accent); letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.zertifikat img { display: block; width: 100%; height: auto; background: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; box-sizing: border-box; box-shadow: 0 12px 34px rgba(0,0,0,0.35); }
.zertifikat-allein { max-width: 520px; margin-inline: auto; }

/* Hinweis an KI-erzeugten Bildern (ab v56): klein rechts unten im Bild, aber gut lesbar */
.ki-hinweis {
  position: absolute; right: 0.6rem; bottom: 0.7rem; z-index: 1;
  font-family: 'Geist Mono', monospace; font-size: 0.6875rem; line-height: 1; letter-spacing: 0.03em;
  color: #E8E8E6; background: rgba(18, 18, 20, 0.78); padding: 0.35rem 0.5rem; border-radius: 4px;
}

/* Kopfbereich „Über uns" (ab v57): Gesichter und Nachweise statt Technik-Grafik */
.hero-vertrauen { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hv-gesichter { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.hv-person { margin: 0; width: clamp(150px, 17vw, 230px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hv-rechts { margin-left: -1.75rem; margin-top: 2.25rem; }
.hv-rund { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  border: 2px solid rgba(156,196,29,0.6); box-shadow: 0 0 0 7px var(--bg, #121214), 0 18px 44px rgba(0,0,0,0.5); background: #cfcfcf; }
.hv-links .hv-rund { z-index: 1; }
.hv-rund img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.13); }
.hv-person figcaption { margin-top: 1rem; padding-inline: 0.9rem; display: flex; flex-direction: column; gap: 0.25rem; }   /* 0,9rem je Seite: die Texte bleiben aus dem Bereich, in dem sich die Kreise überlappen */
.hv-person figcaption strong { font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.hv-person figcaption span { font-family: 'Geist Mono', monospace; font-size: 0.6875rem; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.hv-ki-zeile { flex-basis: 100%; display: flex; justify-content: center; margin-top: 1.1rem; }
.hv-ki { position: static; background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); white-space: nowrap; }
.hv-nachweise { list-style: none; margin: 0; padding: 1.1rem 1.25rem; width: 100%; max-width: 440px; display: grid; gap: 0.9rem;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; }
.hv-nachweise li { display: flex; gap: 0.85rem; align-items: flex-start; }
.hv-haken { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(156,196,29,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.hv-nachweise strong { display: block; font-weight: 500; font-size: 0.95rem; color: var(--text-primary); line-height: 1.3; }
.hv-nachweise div span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.4; }
@media (max-width: 900px) { .hero-vertrauen { margin-top: 0.5rem; } }

/* Zahlenleiste auf „Über uns" am Handy (ab v57): Die Öffnungszeiten brechen nicht um und haben die Spalte
   breiter gemacht als den Bildschirm – rechts war die Leiste abgeschnitten. Jetzt zwei gleich breite Spalten,
   Öffnungszeiten und 24/7 je in einer eigenen Zeile. */
@media (max-width: 720px) {
  main .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main .stat-strip .stat-item:nth-child(3), main .stat-strip .stat-item:nth-child(4) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--border-subtle); }
}
