/* Hinweisleiste + Popup „ChatGPT verbinden“ für Seiten ohne theme-warm.css (Login, Registrierung).
   Aus theme-warm.css übernommen. */
:root { --lime: #C2EF6E; --lime-strong: #C2EF6E; --lime-ink: #2f4a12; --balu-ink: #0c0a09; --font-display: "Manrope", system-ui, sans-serif; }
/* =====================================================================
   ChatGPT verbinden: Hinweisleiste + Popup (chatgpt-connect.js)
   ===================================================================== */
.gptbar {
  position: relative; z-index: 31;
  background: #0c0a09; color: #f5f5f4;
  font-family: var(--font-body); font-size: 14px; line-height: 1.4;
}
.gptbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 1200px; margin: 0 auto; padding: 10px 56px 10px 16px; flex-wrap: wrap; text-align: center;
}
.gptbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #C2EF6E; box-shadow: 0 0 0 4px rgba(194, 239, 110, .25); flex: none; }
.gptbar__cta {
  height: 30px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--lime); color: var(--lime-ink); font: 500 13px/1 var(--font-body);
}
.gptbar__cta:hover { background: #b0e352; }
.gptbar__x {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: #a8a29e; cursor: pointer;
  display: grid; place-items: center;
}
.gptbar__x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.gptbar button:focus-visible, .gptc button:focus-visible, .gptc a:focus-visible { outline: 2px solid var(--lime-strong); outline-offset: 2px; }

html.gptc-open { overflow: hidden; }
.gptc { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.gptc[hidden] { display: none; }
.gptc__backdrop {
  position: absolute; inset: 0; background: rgba(245, 245, 244, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .2s ease;
}
.gptc__dialog {
  position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(12, 10, 9, .35), 0 0 0 1px rgba(12, 10, 9, .06);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .2s ease, transform .25s cubic-bezier(.22, .61, .36, 1);
  font-family: var(--font-body); color: var(--balu-ink);
}
.gptc.is-open .gptc__backdrop { opacity: 1; }
.gptc.is-open .gptc__dialog { opacity: 1; transform: none; }
.gptc__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--balu-ink); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(12, 10, 9, .12);
}

/* Illustration: eigene Komposition, Profilkarte mit grünem Siegel auf weichem Grund */
.gptc__art { position: relative; height: 230px; overflow: hidden; border-radius: 28px 28px 0 0; background: #e9e6e1; }
.gptc__blob { position: absolute; border-radius: 50%; filter: blur(40px); }
.gptc__blob--a { width: 260px; height: 260px; left: -60px; top: -80px; background: #a58a76; }
.gptc__blob--b { width: 280px; height: 280px; right: -70px; top: -60px; background: #6e8577; }
.gptc__blob--c { width: 300px; height: 200px; left: 120px; bottom: -120px; background: #f4f2ee; }
.gptc__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #fff); }
.gptc__card {
  position: absolute; left: 36px; top: 34px; width: 250px; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 36px -18px rgba(12, 10, 9, .35);
}
.gptc__photo { height: 86px; background: linear-gradient(135deg, #d8cfc2, #9caa98); }
.gptc__lines { padding: 14px 16px 16px; display: grid; gap: 8px; }
.gptc__lines span { display: block; height: 7px; border-radius: 4px; background: #ebe8e3; }
.gptc__lines .gptc__stars { height: auto; background: none; font-size: 12px; letter-spacing: 2px; color: #d6d3d1; }
.gptc__seal { position: absolute; left: 236px; top: 98px; width: 86px; height: 86px; filter: drop-shadow(0 10px 18px rgba(12, 10, 9, .25)); }
.gptc__seal svg { width: 100%; height: 100%; }
.gptc__chip {
  position: absolute; right: 40px; top: 120px; height: 30px; padding: 0 14px; border-radius: 9px;
  display: inline-flex; align-items: center; background: #fff; color: var(--lime); font-size: 13px; font-weight: 500;
  box-shadow: 0 10px 22px -12px rgba(12, 10, 9, .35);
}

.gptc__body { padding: 8px 36px 34px; }
.gptc__title { font-family: var(--font-display); font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; text-align: center; margin: 0 0 26px; }
.gptc__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.gptc__rows li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.gptc__ic { color: var(--balu-ink); padding-top: 1px; }
.gptc__rows b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.gptc__rows li > span:last-child > span { display: block; color: #57534e; font-size: 15px; line-height: 1.45; }
.gptc__note { margin: 26px 0 18px; text-align: center; color: #78716c; font-size: 13px; line-height: 1.5; }
.gptc__cta {
  display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px;
  background: var(--balu-ink); color: #fff !important; font-size: 16px; font-weight: 500; text-decoration: none;
}
.gptc__cta:hover { background: #292524; }

@media (max-width: 520px) {
  .gptc__body { padding: 4px 22px 24px; }
  .gptc__title { font-size: 21px; }
  .gptc__card { left: 18px; width: 200px; }
  .gptc__seal { left: 182px; }
  .gptc__chip { right: 16px; }
  .gptbar__inner { padding-right: 48px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .gptc__backdrop, .gptc__dialog { transition: none; }
}

/* Popup kompakter */
.gptc__dialog { width: min(420px, 100%); border-radius: 24px; }
.gptc__art { height: 160px; border-radius: 24px 24px 0 0; }
.gptc__card { left: 28px; top: 24px; width: 196px; border-radius: 14px; }
.gptc__photo { height: 62px; }
.gptc__lines { padding: 10px 12px 12px; gap: 6px; }
.gptc__lines span { height: 6px; }
.gptc__seal { left: 186px; top: 66px; width: 64px; height: 64px; }
.gptc__chip { right: 28px; top: 82px; height: 26px; font-size: 12px; padding: 0 11px; }
.gptc__close { top: 12px; right: 12px; width: 32px; height: 32px; }
.gptc__body { padding: 4px 28px 26px; }
.gptc__title { font-size: 20px; margin-bottom: 18px; }
.gptc__rows { gap: 13px; }
.gptc__rows li { grid-template-columns: 22px 1fr; gap: 12px; }
.gptc__ic svg { width: 20px; height: 20px; }
.gptc__rows b { font-size: 14.5px; }
.gptc__rows li > span:last-child > span { font-size: 13.5px; line-height: 1.4; }
.gptc__note { margin: 18px 0 14px; font-size: 12px; }
.gptc__cta { height: 44px; font-size: 15px; }
@media (max-width: 520px) {
  .gptc__body { padding: 4px 20px 22px; }
  .gptc__title { font-size: 18px; }
  .gptc__card { left: 16px; width: 170px; }
  .gptc__seal { left: 156px; }
}

/* Popup: Kopfbereich deutlich sichtbar */
.gptc__art { height: 190px; background: #dcd6cd; }
.gptc__art::after { height: 28px; }
.gptc__blob { filter: blur(30px); }
.gptc__card { top: 30px; width: 210px; }
.gptc__photo { height: 70px; }
.gptc__lines span { background: #e4e0da; }
.gptc__lines .gptc__stars { color: #e3b341; }
.gptc__seal { left: 200px; top: 78px; width: 70px; height: 70px; }
.gptc__chip { top: 98px; color: var(--lime-ink); gap: 6px; font-weight: 600; }
.gptc__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(194, 239, 110, .35); }
.gptc__body { padding-top: 14px; }

/* Knöpfe: schwarz, ohne grünen Hintergrund oder Ring */
.btnw--primary, .hero .btnw--white, .btnw--dark, .btnw--blue, .pricecard--featured .btnw--primary,
[data-tone=dark]:not(.hero) .btnw--white, .gptc__cta, .au-btn {
  background: #0c0a09 !important; color: #fff !important; border-color: transparent !important; box-shadow: none !important;
}
.btnw--primary:hover:not(:disabled), .hero .btnw--white:hover:not(:disabled), .btnw--dark:hover:not(:disabled),
[data-tone=dark]:not(.hero) .btnw--white:hover:not(:disabled), .gptc__cta:hover, .au-btn:hover:not(:disabled) { background: #292524 !important; color: #fff !important; }
/* auf dunklem Grund mit hellem Rand, damit der schwarze Knopf sichtbar bleibt */
[data-tone=dark]:not(.hero) .btnw--white, .pricecard--featured .btnw--primary, .gptbar__cta { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45) !important; }
.gptbar__cta { background: #0c0a09 !important; color: #fff !important; }
.gptbar__cta:hover { background: #292524 !important; }
.au-btn:disabled { background: #e7e5e4 !important; color: #a8a29e !important; }

/* „Jetzt verbinden“ in der Hinweisleiste wieder limettengrün */
.gptbar__cta { background: #C2EF6E !important; color: #2f4a12 !important; box-shadow: none !important; }
.gptbar__cta:hover { background: #b0e352 !important; color: #2f4a12 !important; }

/* Popup-Anpassungen auch auf Seiten ohne Haupt-Stildatei (Anmelden, Registrieren) */
.gptc__photo { position: relative; }
.gptc__oa { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 999px; background: #fff; color: #0b2a2f; font-size: 11.5px; font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .35); }
.gptc__oa img { width: 18px; height: 18px; border-radius: 50%; display: block; flex: none; }
.gptc__chip { color: #12383b !important; }
.gptc__chip::before { background: #12383b !important; box-shadow: 0 0 0 3px rgba(18, 56, 59, .2) !important; }
.gptc button:focus-visible, .gptc a:focus-visible, .gptc__cta:focus-visible, .gptc__cta:focus { outline: 2px solid #12383b !important; outline-offset: 3px !important; box-shadow: none !important; }
/* Popup: Button ohne Rahmen wie alle anderen, Dialog selbst ohne Fokusrahmen */
.gptc__cta, .gptc__cta:focus { outline: none !important; box-shadow: none !important; }
.gptc__cta:focus-visible { outline: 2px solid #12383b !important; outline-offset: 3px !important; }
.gptc__dialog:focus, .gptc__dialog:focus-visible { outline: none !important; }
