/* === Allgemeines Layout für den Geo-Agent-Bereich ========= */

#geo-agent-container {
  max-width: 860px;
  margin: -55px auto 60px auto;
  position: relative;
  z-index: 20;
}

/* === Agent-Box ============================================ */

.ki-agent {
  padding: 2.2rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


.ki-agent--geo {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.12);
}

/* Titel & Untertitel im Agent */

.ki-agent__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: #0f172a;
}

.ki-agent__subtitle {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #64748b;
}

/* Textarea */

.ki-agent__textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0.7rem 0.85rem;
  font-size: 0.94rem;
  resize: vertical;
  min-height: 110px;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ki-agent__textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

/* Ausgabe-Box */

.ki-agent__output {
  margin-top: 0.8rem;
  padding: 1rem 0.9rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #111827;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .geo-hero {
    min-height: 360px;
    padding: 40px 22px 90px 16px;
    background-position: 78% center;
  }

  .geo-hero__title {
    font-size: 2.35rem;
  }

  .geo-hero__subtitle {
    font-size: 1.05rem;
    max-width: 460px;
  }

  .geo-hero__copy {
    max-width: 500px;
    margin-left: 0;
  }

  #geo-agent-container {
    margin: -35px auto 40px auto;
    max-width: 92%;
  }
}

/* === Globales Button-System ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  color: #ffffff;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Haupt-CTA Button über dem Agent */

.btn--geo-main {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.btn--geo-main:hover {
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.55);
}

/* Dunkler Button im Agent ("Report jetzt erstellen") */

.btn--geo-dark {
  background: #1b263b;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.5);
}

.btn--geo-dark:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.65);
}

/* Sekundär-Button im Modal (Schließen) */

.btn--geo-secondary {
  background: #e5e7eb;
  color: #111827;
  box-shadow: none;
}

.btn--geo-secondary:hover {
  background: #d1d5db;
}

/* === Modal für Werbevideo ================================ */

.geo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 40px 16px;
  background: rgba(0, 0, 0, 0.8);
}

.geo-modal__content {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px 26px 24px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.geo-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.geo-modal__indicator {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #4b5563;
}

.geo-modal__video-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Responsive Anpassung Modal */

@media (max-width: 640px) {
  .geo-modal__content {
    padding: 22px 18px 18px;
  }

  .geo-modal__video-wrapper {
    height: 230px;
  }
}

/* === HERO BEREICH ========================================== */

.geo-hero {
  position: relative;
  min-height: 420px;
  padding: 48px 28px 110px 18px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(120deg, rgba(15,23,42,0.62), rgba(15,23,42,0.28)),
    url('https://www.schaaf-media.com/wp-content/uploads/2026/04/GFDD-KI-Agent_oB.png');
  background-size: cover;
  background-position: 72% center;
  border-radius: 24px;
  margin-bottom: 0;
  overflow: hidden;
}

.geo-hero__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.geo-hero__copy {
  max-width: 560px;
  margin-left: 0;
  text-align: left;
}

.geo-hero__title {
  font-size: 3.15rem;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #ffffff;
}

.geo-hero__subtitle {
  font-size: 1.18rem;
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,0.92);
}

/*.geo-hero__visual {
  width: 360px;
  aspect-ratio: 4/3;
  border-radius: 24px;
  background-image: url('https://www.schaaf-media.com/wp-content/uploads/2025/12/Couple-in-front-of-computer_01.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}*/

/* === CTA in Antwort ========================================== */

.gfdd-report-text {
  margin-bottom: 22px;
}

.gfdd-cta-banner {
  margin-top: 26px;
  padding: 34px 32px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #06142b 0%, #1e3354 55%, #5f708d 100%);
  color: #fff;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gfdd-cta-title {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.gfdd-cta-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  margin: 14px auto 0;
}

.gfdd-cta-text {
  width: 100%;
  max-width: 660px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.gfdd-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 320px;
  height: 62px;
  padding: 0 34px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  transition: all 0.18s ease;
  margin: 0 auto;
  transform: translateY(-2px);
}

.gfdd-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.gfdd-cta-button:active {
  transform: translateY(0);
}

button:disabled,
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

@media (max-width: 640px) {
  .gfdd-cta-banner {
    margin-top: 22px;
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .gfdd-cta-title {
    font-size: 1.16rem;
    margin-bottom: 10px;
  }

  .gfdd-cta-title::after {
    margin-top: 14px;
  }

  .gfdd-cta-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .gfdd-cta-button {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0 20px;
    font-size: 0.96rem;
  }
}

.gfdd-consent-box {
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.gfdd-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #475569;
}

.gfdd-consent-label input {
  margin-top: 3px;
  transform: scale(1.1);
}

#gfdd-char-counter{
  margin-top:8px;
  text-align:right;
  font-size:13px;
  color:#6b7280;
}
