/* Full-Width Design mit zentrierten Inhalten und gleichmäßigen Abständen */
.agency-grid-container {
    display: grid;
    grid-template-columns: 1fr; /* Einspaltiges Basis-Layout für Zentrierung */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #564a4a;
    min-height: 100px;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Container für die horizontale Verteilung aller 4 Elemente */
.grid-lead-section, 
.grid-status-section,
.status-column {
    display: contents; /* Löst die Grid/Flex-Container auf, um alle Kinder direkt im Hauptgrid zu verteilen */
}

.agency-grid-container {
    display: flex;
    justify-content: space-around; /* Gleicher Abstand zueinander */
    align-items: center;
    flex-wrap: nowrap;
}

/* Gemeinsames Styling für alle 4 Inhalts-Blöcke */
.lead-inner,
.status-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Inhalt innerhalb der Blöcke zentrieren */
    text-align: center;
    padding: 0 20px;
}

/* Spezifische Anpassung für das Formular-Element */
.grid-headline {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    white-space: nowrap;
}

.grid-form-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 220px;
}

.grid-form-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: #ffffff;
    outline: none;
    padding: 4px 0;
    text-align: center;
}

.grid-form-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.grid-submit {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0 5px;
}

/* Typografie-Anpassungen für das dunkle Band */
.accent-label,
.meta-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.status-val {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.status-val a { 
    text-decoration: none; 
    color: inherit; 
}

.status-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

/* Verstecken von Hilfselementen */
.grid-meta-text, .pulse-dot { display: none; }

/* Responsive: Stapeln bei Platzmangel */
@media (max-width: 1024px) {
    .agency-grid-container {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }
    .lead-inner, .status-cell {
        width: 100%;
        padding: 10px 0;
    }
}