/* Geroldinger Website-Assistent – vollständig gegen globale Website-Regeln abgeschirmt */
#geroldinger-assistent-root {
  position: relative;
  z-index: 3000;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #f5f0e8;
}

#geroldinger-assistent-root,
#geroldinger-assistent-root * {
  box-sizing: border-box;
}

#geroldinger-assistent-root button,
#geroldinger-assistent-root input {
  font: inherit;
}

#geroldinger-assistent-root .ga-launcher {
  position: fixed;
  right: 2rem;
  bottom: 6.4rem;
  z-index: 3001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  margin: 0;
  padding: .76rem 1.05rem;
  border: 1px solid #18324A;
  border-radius: 6px;
  background: #18324A;
  color: #ffffff;
  box-shadow: none;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

#geroldinger-assistent-root .ga-launcher:hover,
#geroldinger-assistent-root .ga-launcher:focus-visible {
  background: #2F6F73;
  transform: translateY(-1px);
  outline: none;
}

#geroldinger-assistent-root .ga-launcher__icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  font-size: .92rem;
  font-weight: 800;
}

#geroldinger-assistent-root.is-open .ga-launcher {
  visibility: hidden;
  pointer-events: none;
}

#geroldinger-assistent-root .ga-panel {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 3002;
  display: none;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  height: min(660px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,.28);
  border-radius: 16px;
  background: #0d1b2a;
  color: #f5f0e8;
  box-shadow: 0 22px 80px rgba(0,0,0,.48);
}

#geroldinger-assistent-root .ga-panel.is-open {
  display: flex;
}

#geroldinger-assistent-root .ga-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  min-height: 78px;
  margin: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #162032 0%, #1a2940 100%);
  border-bottom: 1px solid rgba(200,169,110,.17);
}

#geroldinger-assistent-root .ga-heading {
  min-width: 0;
}

#geroldinger-assistent-root .ga-title {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

#geroldinger-assistent-root .ga-subtitle {
  margin: .28rem 0 0;
  padding: 0;
  color: #8a9ab5;
  font-size: .72rem;
  line-height: 1.35;
}

#geroldinger-assistent-root .ga-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(200,169,110,.27);
  border-radius: 50%;
  background: transparent;
  color: #f5f0e8;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

#geroldinger-assistent-root .ga-close:hover,
#geroldinger-assistent-root .ga-close:focus-visible {
  border-color: #c8a96e;
  color: #c8a96e;
  outline: none;
}

#geroldinger-assistent-root .ga-messages {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #8a9ab5 #162032;
}

#geroldinger-assistent-root .ga-message {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 .72rem;
  padding: .82rem .92rem;
  border-radius: 12px;
  font-size: .84rem;
  line-height: 1.55;
}

#geroldinger-assistent-root .ga-message--bot {
  margin-right: auto;
  border: 1px solid rgba(200,169,110,.13);
  border-bottom-left-radius: 4px;
  background: #162032;
  color: #f5f0e8;
}

#geroldinger-assistent-root .ga-message--user {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: #c8a96e;
  color: #0d1b2a;
  font-weight: 600;
}

#geroldinger-assistent-root .ga-message p {
  margin: 0 0 .5rem;
  padding: 0;
}

#geroldinger-assistent-root .ga-message p:last-child {
  margin-bottom: 0;
}

#geroldinger-assistent-root .ga-note {
  margin: .58rem 0 0;
  padding: .05rem 0 .05rem .7rem;
  border-left: 2px solid #c8a96e;
  color: #9cabc1;
  font-size: .74rem;
  line-height: 1.45;
}

#geroldinger-assistent-root .ga-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  margin: .35rem 0 .9rem;
  padding: 0;
}

#geroldinger-assistent-root .ga-option,
#geroldinger-assistent-root .ga-link,
#geroldinger-assistent-root .ga-back {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border-radius: 9px;
  font-size: .77rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

#geroldinger-assistent-root .ga-option {
  padding: .72rem .82rem;
  border: 1px solid rgba(200,169,110,.24);
  background: rgba(200,169,110,.055);
  color: #f5f0e8;
  text-align: left;
}

#geroldinger-assistent-root .ga-option:hover,
#geroldinger-assistent-root .ga-option:focus-visible {
  border-color: #c8a96e;
  background: rgba(200,169,110,.1);
  color: #dfc08a;
  outline: none;
}

#geroldinger-assistent-root .ga-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .52rem;
  padding: .74rem .88rem;
  border: 1px solid #c8a96e;
  background: #c8a96e;
  color: #0d1b2a;
  text-align: center;
}

#geroldinger-assistent-root .ga-link:hover,
#geroldinger-assistent-root .ga-link:focus-visible {
  background: #dfc08a;
  outline: none;
}

#geroldinger-assistent-root .ga-back {
  margin-top: .45rem;
  padding: .7rem .82rem;
  border: 1px solid rgba(200,169,110,.2);
  background: transparent;
  color: #9cabc1;
  text-align: center;
}

#geroldinger-assistent-root .ga-back:hover,
#geroldinger-assistent-root .ga-back:focus-visible {
  border-color: #c8a96e;
  color: #c8a96e;
  outline: none;
}

#geroldinger-assistent-root .ga-input-wrap {
  flex: 0 0 auto;
  margin: 0;
  padding: .82rem;
  background: #162032;
  border-top: 1px solid rgba(200,169,110,.14);
}

#geroldinger-assistent-root .ga-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: .5rem;
  margin: 0;
  padding: 0;
}

#geroldinger-assistent-root .ga-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 .82rem;
  border: 1px solid rgba(200,169,110,.26);
  border-radius: 9px;
  background: #0d1b2a;
  color: #f5f0e8;
  font-size: .8rem;
  line-height: 1.2;
}

#geroldinger-assistent-root .ga-input::placeholder {
  color: rgba(138,154,181,.78);
}

#geroldinger-assistent-root .ga-input:focus {
  border-color: #c8a96e;
  outline: none;
}

#geroldinger-assistent-root .ga-send {
  display: grid;
  place-items: center;
  width: 48px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid #c8a96e;
  border-radius: 9px;
  background: #c8a96e;
  color: #0d1b2a;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

#geroldinger-assistent-root .ga-send:hover,
#geroldinger-assistent-root .ga-send:focus-visible {
  background: #dfc08a;
  outline: none;
}

#geroldinger-assistent-root .ga-privacy {
  margin: .52rem 0 0;
  padding: 0;
  color: #8a9ab5;
  font-size: .64rem;
  line-height: 1.4;
}

#geroldinger-assistent-root .ga-privacy a {
  color: #c8a96e;
  text-decoration: none;
}

@media (max-width: 640px) {
  #geroldinger-assistent-root .ga-launcher {
    right: 1rem;
    bottom: 5.85rem;
    min-height: 46px;
    padding: .7rem .9rem;
  }

  #geroldinger-assistent-root .ga-panel {
    inset: 10px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 14px;
  }

  #geroldinger-assistent-root .ga-header {
    min-height: 72px;
    padding: .9rem 1rem;
  }

  #geroldinger-assistent-root .ga-title {
    font-size: 1.3rem;
  }

  #geroldinger-assistent-root .ga-messages {
    padding: .9rem;
  }

  #geroldinger-assistent-root .ga-message {
    max-width: 92%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #geroldinger-assistent-root .ga-launcher {
    transition: none;
  }
}
