/* ============================================================
   ago-blocks.css
   Zentrale Styles für agosense.com HTML-Blöcke
   Stand: Mai 2026
   ============================================================

   VERWENDUNG:
   Im Redaxo-Template einbinden:
   <link rel="stylesheet" href="/assets/css/ago-blocks.css">

   HINWEIS:
   Alle Klassen verwenden den Prefix .ago- um Konflikte
   mit der ago.css und anderen Styles zu vermeiden.
   Block-spezifische Styles verbleiben in den jeweiligen
   HTML-Blöcken.
   ============================================================ */


/* ============================================================
   1. FARBEN (Referenz – für CSS Custom Properties)
   ============================================================ */
:root {
  --ago-blue:           #0077b0;
  --ago-blue-dark:      #005a8a;
  --ago-blue-mid:       #3e98c4;
  --ago-blue-light:     #bedceb;
  --ago-blue-pale:      #C6DBEA;
  --ago-blue-bg:        #e2eff7;
  --ago-blue-bg-pale:   #f0f7fc;
  --ago-blue-bg-extra:  #f4f8fc;
  --ago-orange:         #ff8000;
  --ago-orange-hover:   #d96e00;
  --ago-text-primary:   #333333;
  --ago-text-secondary: #444444;
  --ago-text-muted:     #555555;
  --ago-text-light:     #666666;
  --ago-text-hint:      #888888;
  --ago-green:          #2a6b3d;
  --ago-red:            #a32d2d;
  --ago-amber:          #854f0b;
}


/* ============================================================
   2. TYPOGRAFIE – EYEBROW LABEL
   ============================================================ */
.ago-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8000;
  margin-bottom: 0.5rem;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}


/* ============================================================
   3. ÜBERSCHRIFTEN
   ============================================================ */

/* H2 – Standard in allen Inhaltsblöcken */
.ago-section h2,
.ago-tech h2,
.ago-tools h2,
.ago-usecases h2,
.ago-adv-wrap h2,
.ago-quotes-section h2,
.ago-faq-section h2,
.ago-comp h2,
.ago-process h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0077b0;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  line-height: 1.4;
}

/* H3 – Karten und Use Cases */
.ago-usecase h3,
.ago-usecase-oem h3,
.ago-how-card h3,
.ago-process-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #005a8a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  line-height: 1.4;
}


/* ============================================================
   4. FLIESSTEXT
   ============================================================ */
.ago-section p,
.ago-tech p,
.ago-tools p,
.ago-usecases p,
.ago-usecase p,
.ago-usecase-oem p,
.ago-adv-wrap p,
.ago-quotes-section p,
.ago-comp p {
  margin: 0 0 1rem;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-section p:last-child,
.ago-usecase p:last-child,
.ago-usecase-oem p:last-child {
  margin-bottom: 0;
}

/* Links im Fliesstext */
.ago-section a,
.ago-tech a {
  color: #0077b0;
  text-decoration: underline;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

/* Primär Orange */
.ago-btn-primary {
  display: inline-block;
  background: #ff8000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.ago-btn-primary:hover {
  background: #d96e00;
  color: #fff;
}

/* Outline Orange */
.ago-btn-outline-orange {
  display: inline-block;
  border: 1.5px solid #ff8000;
  color: #ff8000;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.ago-btn-outline-orange:hover {
  background: #ff8000;
  color: #fff;
}


/* ============================================================
   6. USECASE TAGS / EYEBROWS
   ============================================================ */
.ago-usecase-tag {
  display: inline-block;
  background: #0077b0;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 0.6rem;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-usecase-tag-orange {
  background: #ff8000;
}


/* ============================================================
   7. TOOL TAGS
   ============================================================ */
.ago-tool-tag {
  background: #e2eff7;
  border: 1px solid #C6DBEA;
  color: #005a8a;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 4px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-tool-tag-more {
  background: #fff;
  border: 1px solid #C6DBEA;
  color: #888;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 4px;
  font-style: italic;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-tool-group-label {
  display: inline-block;
  background: #0077b0;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 0.6rem;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}


/* ============================================================
   8. KARTEN
   ============================================================ */

/* Standard Karte */
.ago-usecase {
  background: #f0f7fc;
  border: 1px solid #C6DBEA;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

/* OEM Karte */
.ago-usecase-oem {
  background: #f0f7fc;
  border: 1px solid #C6DBEA;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

/* Technologie Karte */
.ago-how-card {
  background: #f0f7fc;
  border-left: 3px solid #0077b0;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
}

.ago-how-card p {
  font-size: 13px;
  color: #444;
  margin: 0;
  line-height: 1.7;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}


/* ============================================================
   9. TABELLEN – GEMEINSAME STYLES
   ============================================================ */
.ago-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-table th {
  background: #0077b0;
  color: #fff;
  font-size: 12px;
  padding: 10px 12px;
  text-align: left;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-table th:first-child {
  border-radius: 6px 0 0 0;
}

.ago-table th:last-child {
  border-radius: 0 6px 0 0;
}

.ago-table td {
  padding: 9px 12px;
  border-bottom: 0.5px solid #C6DBEA;
  vertical-align: middle;
  font-size: 12px;
}

.ago-table tr:last-child td {
  border-bottom: none;
}

.ago-table tr:nth-child(odd) td {
  background: #fff;
}

.ago-table tr:nth-child(even) td {
  background: #f7fafc;
}

.ago-table td:first-child {
  color: #333;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-table td:nth-child(2),
.ago-table td:nth-child(3) {
  color: #555;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

/* Tabellen-Wrapper */
.ago-comp-table-wrap,
.ago-adv-table-wrap {
  overflow-x: auto;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #C6DBEA;
}

/* Vergleichstabelle – Symphony-Spalte (TD) */
.ago-col-ago {
  background: #fff8f2 !important;
  border-left: 1.5px solid #ff8000 !important;
  border-right: 1.5px solid #ff8000 !important;
  font-family: 'merriweather_sansbold', Arial, sans-serif !important;
}

.ago-table tr:nth-child(even) td.ago-col-ago {
  background: #fdf0e6 !important;
}

.ago-table tr:last-child td.ago-col-ago {
  border-bottom: 1.5px solid #ff8000 !important;
}

/* Vergleichstabelle – Symphony-Spalte (TH) */
.ago-table th.ago-col-ago {
  background: #E27F1E !important;
  border-left: 1.5px solid #E27F1E !important;
  border-right: 1.5px solid #E27F1E !important;
  border-top: 1.5px solid #E27F1E !important;
  border-radius: 0 6px 0 0 !important;
}

/* Farbige Tags in Tabellen */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
  white-space: nowrap;
}

.tag-green {
  color: #2a6b3d;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.tag-red {
  color: #a32d2d;
}

.tag-amber {
  color: #854f0b;
}

/* Highlight-Farben */
.ago-highlight-green {
  color: #2a6b3d;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-highlight-orange {
  color: #ff8000;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}


/* ============================================================
   10. OEM LISTE
   ============================================================ */
.ago-oem-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ago-oem-list li {
  background: #e2eff7;
  border: 1px solid #C6DBEA;
  color: #005a8a;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}


/* ============================================================
   11. VIDEO & BILD LIGHTBOX
   ============================================================ */

/* Bild Trigger */
.ago-img-trigger {
  display: block;
  width: 100%;
  cursor: zoom-in;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #C6DBEA;
}

.ago-img-trigger img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.ago-img-trigger:hover img {
  opacity: 0.88;
}

.ago-img-trigger::after {
  content: '⤢';
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 16px;
  color: #fff;
  background: rgba(255,128,0,0.85);
  border-radius: 3px;
  padding: 1px 5px;
  line-height: 1.4;
}

/* Video Vorschau */
.ago-video-wrap {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #C6DBEA;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ago-video-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  width: 160px;
  min-width: 160px;
  flex-shrink: 0;
}

.ago-video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.ago-video-thumb:hover img {
  opacity: 0.9;
}

.ago-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(255,128,0,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: none;
}

.ago-video-thumb:hover .ago-video-play {
  background: #ff8000;
}

.ago-video-play svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

.ago-video-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0077b0;
  margin-bottom: 4px;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-video-title {
  font-size: 13px;
  font-weight: 700;
  color: #ff8000;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  cursor: pointer;
}

.ago-video-title:hover {
  color: #d96e00;
}

/* Overlay */
.ago-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
}

.ago-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ago-overlay-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  font-family: Arial, sans-serif;
}

.ago-overlay-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  display: none;
}

.ago-overlay-video {
  width: 85vw;
  max-width: 960px;
  display: none;
}

.ago-overlay-video-title {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-bottom: 0.6rem;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-overlay-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
}

.ago-overlay-video-frame video,
.ago-overlay-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}


/* ============================================================
   12. FAQ AKKORDION
   ============================================================ */
.ago-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.ago-faq-item {
  border-bottom: 1px solid #C6DBEA;
}

.ago-faq-item:last-child {
  border-bottom: none;
}

.ago-faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 0.9rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ago-faq-trigger:hover .ago-faq-q {
  color: #ff8000;
}

.ago-faq-q {
  font-size: 13px;
  font-weight: 700;
  color: #0077b0;
  line-height: 1.45;
  flex: 1;
  text-align: left;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: #0077b0;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s, background 0.2s;
  font-family: Arial, sans-serif;
}

.ago-faq-item.is-open .ago-faq-icon {
  transform: rotate(45deg);
  background: #ff8000;
}

.ago-faq-item.is-open .ago-faq-q {
  color: #ff8000;
}

.ago-faq-body {
  display: none;
  padding: 0 0 0.9rem;
}

.ago-faq-item.is-open .ago-faq-body {
  display: block;
}

.ago-faq-body p {
  font-size: 13px;
  color: #444;
  line-height: 1.75;
  margin: 0;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-faq-body a {
  color: #0077b0;
  text-decoration: underline;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}


/* ============================================================
   13. KUNDENZITATE
   ============================================================ */
.ago-quotes-wrap {
  background: #e2eff7;
  border-radius: 8px;
  padding: 2rem;
}

.ago-quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ago-quote {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #C6DBEA;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.ago-quote-mark {
  font-size: 48px;
  line-height: 0.8;
  color: #bedceb;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
  display: block;
}

.ago-quote p {
  font-size: 14px;
  color: #333;
  font-style: italic;
  line-height: 1.75;
  margin: 0 0 1rem;
  flex: 1;
  font-family: 'merriweather_sansitalic', Arial, sans-serif;
}

.ago-quote-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0.75rem;
  border-top: 1px solid #e0eaf2;
  margin-top: auto;
}

.ago-quote-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(20%);
  flex-shrink: 0;
}

.ago-quote-author {
  font-size: 11px;
  color: #0077b0;
  font-weight: 700;
  display: block;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-quote-company {
  font-size: 11px;
  color: #666;
  display: block;
  margin-top: 1px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-quotes-cta {
  padding-top: 1.25rem;
  border-top: 1px solid #C6DBEA;
  text-align: center;
}


/* ============================================================
   14. CTA BLÖCKE
   ============================================================ */

/* Blauer CTA-Einschub */
.ago-cta-inline {
  background: #0077b0;
  padding: 2rem 2.5rem;
  text-align: center;
}

.ago-cta-inline h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-cta-inline p {
  color: #bedceb;
  font-size: 14px;
  line-height: 1.8;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-cta-inline a {
  display: inline-block;
  background: #ff8000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s;
}

.ago-cta-inline a:hover {
  background: #d96e00;
  color: #fff;
}

/* Abschliessender CTA – Badges */
.ago-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-cta-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: #ff8000;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

/* Kontakt-Kacheln */
.ago-cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #C6DBEA;
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  min-width: 220px;
  flex: 1;
  max-width: 280px;
  transition: border-color 0.2s;
}

.ago-cta-contact-item:hover {
  border-color: #0077b0;
}

.ago-cta-contact-item:hover .ago-cta-contact-value {
  color: #ff8000;
}

.ago-cta-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #0077b0;
  border-radius: 6px;
}

.ago-cta-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.ago-cta-contact-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-cta-contact-value {
  font-size: 13px;
  font-weight: 700;
  color: #0077b0;
  display: block;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: color 0.2s;
}


/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .ago-faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .ago-quotes-grid {
    grid-template-columns: 1fr;
  }

  .ago-quotes-wrap {
    padding: 1.25rem;
  }

  .ago-video-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .ago-video-thumb {
    width: 100%;
    min-width: 100%;
  }

  .ago-overlay-video {
    width: 95vw;
  }

  .ago-cta-inline {
    padding: 1.5rem;
  }

  .ago-cta-contact-item {
    min-width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
   TOOL GROUP & CTA (ergaenzt Mai 2026)
   ============================================================ */
.ago-tool-group {
  margin-bottom: 1.25rem;
}

.ago-tools-cta {
  margin-top: 1.75rem;
}

.ago-tools-cta a {
  display: inline-block;
  border: 1.5px solid #ff8000;
  color: #ff8000;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
}

.ago-tools-cta a:hover {
  background: #ff8000;
  color: #fff;
}

/* ============================================================
   USE CASES – MEDIA LAYOUT & ERGAENZUNGEN (Mai 2026)
   ============================================================ */

/* Bild-Text-Layout – Grundstruktur */
.ago-usecase-media {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.ago-usecase-media-body {
  flex: 1;
}

/* OEM Liste Link */
.ago-oem-link {
  margin-top: 0.75rem;
}

/* Quotes CTA */
.ago-quotes-cta a,
.ago-oem-link a {
  display: inline-block;
  border: 1.5px solid #ff8000;
  color: #ff8000;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
}

.ago-quotes-cta a:hover,
.ago-oem-link a:hover {
  background: #ff8000;
  color: #fff;
}


/* ============================================================
   ALLGEMEINER OUTLINE-ORANGE BUTTON (Mai 2026)
   Verwendung: class="ago-outline-orange"
   ============================================================ */
.ago-outline-orange {
  display: inline-block;
  border: 1.5px solid #ff8000;
  color: #ff8000;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.ago-outline-orange:hover {
  background: #ff8000;
  color: #fff;
}


/* ============================================================
   TECHNOLOGIE – HOW GRID (Mai 2026)
   ============================================================ */
.ago-how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .ago-how {
    grid-template-columns: 1fr;
  }

  .ago-usecase-media {
    flex-direction: column;
  }
}

/* ============================================================
   USE CASES – ERGAENZUNGEN (Mai 2026)
   ============================================================ */

/* Bild-Spalte – Breite und margin-top im Block definieren */
.ago-usecase-media-img {
  flex-shrink: 0;
}

/* Video Info-Text neben Vorschau */
.ago-video-info {
  flex: 1;
}

/* ============================================================
   VORTEILE-TABELLE – MOBILE CARDS (Mai 2026)
   ============================================================ */
.ago-adv-cards {
  display: none;
}

.ago-adv-card {
  background: #f0f7fc;
  border: 1px solid #C6DBEA;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.ago-adv-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #005a8a;
  flex: 0 0 44%;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-adv-card-value {
  font-size: 12px;
  color: #555;
  flex: 1;
  text-align: right;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

@media (max-width: 600px) {
  .ago-adv-table-wrap {
    display: none;
  }
  .ago-adv-cards {
    display: block;
  }
}

/* ============================================================
   ABSCHLIESSENDER CTA BLOCK (Mai 2026)
   ============================================================ */
.ago-cta-final {
  font-family: 'merriweather_sansbook', Arial, sans-serif;
  border: 1px solid #C6DBEA;
  overflow: hidden;
}

.ago-cta-top {
  background: #0077b0;
  padding: 2rem 2.5rem;
  text-align: center;
}

.ago-cta-top h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-cta-top p {
  color: #bedceb;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 auto 1.25rem;
  max-width: 620px;
  font-family: 'merriweather_sansbook', Arial, sans-serif;
}

.ago-cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ago-cta-middle {
  background: #e2eff7;
  padding: 1.75rem 2.5rem;
}

.ago-cta-closing {
  font-size: 16px;
  font-weight: 700;
  color: #0077b0;
  margin: 0 0 1.5rem;
  line-height: 1.4;
  text-align: center;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.ago-cta-form-wrap {
  background: #e2eff7;
  padding: 0 2.5rem 1.75rem;
}

.ago-cta-form-card {
  background: #fff;
  border: 1px solid #C6DBEA;
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
}

.ago-cta-form-title {
  font-size: 14px;
  font-weight: 700;
  color: #0077b0;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'merriweather_sansbold', Arial, sans-serif;
}

.ago-cta-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #0077b0;
  border-radius: 6px;
}

.ago-cta-form-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.ago-cta-divider {
  border: none;
  border-top: 1px solid #C6DBEA;
  margin: 0 0 1.25rem;
}

@media (max-width: 600px) {
  .ago-cta-top { padding: 1.5rem; }
  .ago-cta-middle { padding: 1.5rem; }
  .ago-cta-form-wrap { padding: 0 1.5rem 1.5rem; }
}
