/* ============================================
   SOLAR VERMITTLUNG – Kontaktseite
   Design: Nachtblau + Solarorange
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy:      #0B1628;
    --navy-mid:  #132035;
    --navy-soft: #1E3050;
    --gold:      #F59E0B;
    --gold-light:#FCD34D;
    --white:     #FAFAF8;
    --gray-100:  #F3F4F6;
    --gray-200:  #E5E7EB;
    --gray-400:  #9CA3AF;
    --gray-600:  #6B7280;
    --gray-800:  #374151;
    --text:      #1F2937;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    overflow: hidden;
}

.sun-graphic {
    width: 600px;
    height: 600px;
    opacity: 0.7;
    animation: spin 60s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sun-graphic { animation: none; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
}

.hero-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 650px;
    height: 650px;
    background: #F59E0B;
    opacity: 0.25;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(250,250,248,0.7);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 34px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,158,11,0.45);
}

/* Stats bar */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 72px;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px 48px;
    backdrop-filter: blur(8px);
}

.stat {
    text-align: center;
    padding: 0 40px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(250,250,248,0.55);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ============================================
   INTRO / STEPS
   ============================================ */
.intro {
    background: var(--white);
    padding: 100px 24px;
}

.intro-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.intro-badge {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    color: #B45309;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 56px;
    letter-spacing: -0.02em;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 240px;
    padding: 0 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step h3 {
    /*font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;*/
    font-family: var(--font-display);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 1500;
    color: var(--navy);
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

.step-arrow {
    font-size: 1.6rem;
    color: var(--gray-200);
    padding-top: 18px;
    flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--gray-100);
    padding: 80px 24px 100px;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
}

/* ---- Info Card ---- */
.contact-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 32px;
}

.card-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.card-body {
    padding: 36px 32px 40px;
}

.card-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.card-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
}

.card-role {
    font-size: 0.88rem;
    color: rgba(250,250,248,0.5);
    margin-bottom: 0;
}

.card-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 28px 0;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(250,250,248,0.75);
    line-height: 1.5;
}

.contact-icon {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.contact-list a {
    color: rgba(250,250,248,0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.contact-list a:hover {
    color: var(--gold);
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.83rem;
    color: rgba(250,250,248,0.7);
}

.badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---- Form Panel ---- */
.form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: var(--shadow-md);
}

.form-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.req {
    color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.18s, box-shadow 0.18s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 28px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /*cursor: pointer;*/
    font-size: 0.83rem;
    color: var(--gray-600);
    line-height: 1.55;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 5px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    margin-top: 1px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--navy);
    border-color: var(--navy);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid var(--gold);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.checkbox-label a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(11,22,40,0.25);
}

.submit-btn:hover {
    background: var(--navy-soft);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(11,22,40,0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.submit-btn.success {
    background: #065F46;
}

.btn-icon {
    transition: transform 0.2s;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-note {
    margin-top: 16px;
    font-size: 0.77rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.5;
}


.checkbox-label a {
    color: blue;
}


.optional-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}


.optionalbutton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    color: var(--navy);
    border: solid;
    border-radius: var(--radius-sm);
    border-color: rgb(228, 228, 8);
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(11,22,40,0.25);
}

.form-status {
    margin-top: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(250,250,248,0.65);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-brand .footer-logo {
    display: block;
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 280px;
    color: rgba(250,250,248,0.45);
}

.footer-impressum h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.footer-impressum p {
    font-size: 0.83rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-impressum a {
    color: rgba(250,250,248,0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-impressum a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(250,250,248,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-card {
        position: static;
    }

    .form-panel {
        padding: 36px 32px;
    }

    .hero-stats {
        padding: 20px 28px;
    }

    .stat {
        padding: 0 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: 8px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 20px 24px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 28px 32px;
        width: 100%;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 28px 22px;
    }

    .intro {
        padding: 64px 20px;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
