/* Eyebrow-Zeilen (Großbuchstaben) mit Strich davor */
.entry-content p[style*="text-transform:uppercase"]{ display:inline-flex; align-items:center; gap:12px; }
.entry-content p[style*="text-transform:uppercase"]::before{ content:""; width:20px; height:2px; background:currentColor; display:inline-block; }
.entry-content p.has-text-align-center[style*="text-transform:uppercase"]{ display:flex; justify-content:center; }
 
.shake {
    animation: button-shake 8s ease-in-out 5s infinite;
}

@keyframes button-shake {
    0%   { transform: translateX(0); }
    1%   { transform: translateX(-4px) rotate(-2deg); }
    2%   { transform: translateX(4px) rotate(2deg); }
    3%   { transform: translateX(-3px) rotate(-1deg); }
    4%   { transform: translateX(3px) rotate(1deg); }
    5%   { transform: translateX(-2px); }
    6%   { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.wp-block-post-time-to-read::before {content: 'Lesedauer dieser Seite: '}

#footer-menu li:not(:last-child) a::after {
  content: "|";
   margin: 0 10px; /* Abstand um das Zeichen */
  color: #333; /* Farbe des Zeichens */
  text-decoration: none;
}

/* ── Grundstruktur Formular ── */
.wpcf7 form {
    max-width: 790px;
}

.wpcf7 h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.4rem;
}

.wpcf7 hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* ── Labels und Felder ── */
.wpcf7 label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #4a90a4;
    box-shadow: 0 0 0 3px rgba(74,144,164,0.15);
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 130px;
}

/* ── Checkbox Grid ── */
.wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 2rem;
}
/* ── Checkbox Zeilenumbruch ── */
span.wpcf7-list-item-label::before {margin-right: 3px;}
.wpcf7-checkbox .wpcf7-list-item {
    padding-left: 1.2em;
    text-indent: -1.1em;
}
/* ── Checkbox Farbe ── */
.wpcf7-checkbox input[type="checkbox"] {
    accent-color: #4a90a4;
}

/* ── Datenschutz-Checkbox ── */
.wpcf7-acceptance .wpcf7-list-item {
/*    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400; 
    font-size: 0.9rem;*/
    color: #555;
	  margin-left: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #4a90a4;
}

/* ── Submit-Button ── */
.wpcf7 input[type="submit"] {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: #4a90a4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #3a7a8e;
}

/* ── Fehlermeldungen ── */
.wpcf7 .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .wpcf7-checkbox {
        grid-template-columns: 1fr;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}