/**
 * GEO Automatisierung - Public CSS
 */

/* ==========================================
   FAQ DISPLAY
   ========================================== */

.geo-faq-list {
    max-width: 800px;
}

.geo-faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.geo-faq-question {
    background: #f5f5f5;
    margin: 0;
    padding: 15px 20px;
    font-size: 1.1em;
    cursor: pointer;
    position: relative;
}

.geo-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #666;
}

.geo-faq-item.active .geo-faq-question::after {
    content: '−';
}

.geo-faq-answer {
    padding: 20px;
    background: #fff;
}

.geo-faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   QUESTIONS DISPLAY
   ========================================== */

.geo-questions-list {
    max-width: 800px;
}

.geo-question-item {
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #ccc;
    background: #f9f9f9;
}

.geo-question-item.geo-status-completed {
    border-left-color: #28a745;
}

.geo-question-item.geo-status-pending {
    border-left-color: #ffc107;
}

.geo-question-item.geo-status-error {
    border-left-color: #dc3545;
}

.geo-question-text {
    font-weight: 500;
    margin-bottom: 8px;
}

.geo-question-summary {
    font-size: 0.9em;
    color: #666;
}

/* ==========================================
   SOURCES DISPLAY
   ========================================== */

.geo-sources-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.geo-source-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.geo-source-item a {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9em;
    margin-left: 10px;
}

.geo-source-frequency {
    color: #999;
    font-size: 0.85em;
    margin-left: 10px;
}

/* ==========================================
   MESSAGES
   ========================================== */

.geo-error {
    color: #dc3545;
    padding: 10px;
    background: #f8d7da;
    border-radius: 4px;
}

.geo-info {
    color: #0c5460;
    padding: 10px;
    background: #d1ecf1;
    border-radius: 4px;
}

/* ==========================================
   CARD GRID ALIGNMENT
   Cards mit gleicher Button-Höhe
   ========================================== */

/* Cards als Flex-Column (auch innerhalb Elementor text-editor) */
.elementor-widget-text-editor .leistungs-card,
.elementor-widget-text-editor .hub-topic-teaser,
.leistungs-card,
.hub-topic-teaser {
    display: flex !important;
    flex-direction: column !important;
}

/* CTA-Links/Buttons in Cards nach unten pushen */
.elementor-widget-text-editor .leistungs-card > p:last-of-type,
.elementor-widget-text-editor .hub-topic-teaser > p:last-of-type,
.leistungs-card > p:last-of-type,
.hub-topic-teaser > p:last-of-type {
    margin-top: auto !important;
}

/* Grid-Container: stretch damit alle Cards gleich hoch */
.elementor-widget-text-editor .leistungs-cards,
.leistungs-cards {
    align-items: stretch !important;
}
