/* ==========================================================
   PVPlanungshilfe
   components.css – korrigierte vollständige Ersatzdatei
========================================================== */

/* =============================
   LEISTUNGSKARTEN
============================= */

.service-card {
    height: 100%;
    padding: 42px 36px;
    background: #fff;
    border: 1px solid rgba(18, 59, 93, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 179, 46, 0.35);
    box-shadow: 0 22px 48px rgba(18, 59, 93, 0.14);
}

.service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #f1f6f9;
}

.service-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 0;
}

/* =============================
   HIGHLIGHT-BEREICH
============================= */

.highlight-box {
    padding: 62px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%),
        linear-gradient(135deg, #123b5d 0%, #1f5e8d 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(18, 59, 93, 0.2);
}

.highlight-box h2 {
    color: #fff;
}

.highlight-box p {
    max-width: 880px;
    color: #dce8ef;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* =============================
   ÜBER-MICH-BADGE
============================= */

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #eef7ea;
    color: var(--green-dark);
    font-weight: 800;
}

/* =============================
   BERATUNGSABLAUF
============================= */

.process-card {
    height: 100%;
    padding: 36px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(18, 59, 93, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(18, 59, 93, 0.12);
}

.process-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(99, 179, 46, 0.25);
}

.process-card h3 {
    margin-bottom: 14px;
}

.process-card p {
    margin-bottom: 0;
}

/* =============================
   VICTRON-BEREICH
============================= */

.victron-box {
    padding: 60px 70px;
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
    gap: 72px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(18, 59, 93, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.victron-box > div:first-child,
.victron-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.victron-logo {
    width: min(100%, 360px);
    height: auto;
    object-fit: contain;
}

.victron-box h3 {
    margin-bottom: 18px;
}

.victron-box ul {
    margin-top: 24px;
}

.victron-box li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    font-weight: 600;
}

.victron-box li:last-child {
    margin-bottom: 0;
}

.victron-box li img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

.faq-item {
    margin-bottom: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(18, 59, 93, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    transition: background 0.25s ease;
}

.faq-question:hover {
    background: #f7fafb;
}

.faq-answer {
    display: none;
    padding: 0 30px 28px;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =============================
   KONTAKTBEREICH
============================= */

.contact-box {
    padding: 60px;
    background: #fff;
    border: 1px solid rgba(18, 59, 93, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.contact-item img {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-item p {
    margin-bottom: 0;
}

/* =============================
   KONTAKTFORMULAR
============================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label:not(.checkbox) {
    display: block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 17px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--dark);
    font-size: 1rem;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(99, 179, 46, 0.12);
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.55;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--green);
}

.checkbox a {
    color: #1f65b7;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox a:hover {
    color: var(--primary);
}

.contact-form button[disabled] {
    cursor: wait;
    opacity: 0.75;
}

.form-status {
    min-height: 1.4em;
    margin: 0;
    font-weight: 700;
}

.form-status.is-success {
    color: #2f7a1d;
}

.form-status.is-error {
    color: #a83232;
}

/* =============================
   ANIMATIONEN
============================= */

.reveal-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .process-card,
    .reveal-hidden,
    .reveal-visible {
        transition: none;
        transform: none;
    }
}
