/*###############################
###
###     KONTAKT STYLES
###     BASED ON: HTML, JS, CSS 
###     AUTHOR: Benjamin Benenwitz
###
###
###       ██████╗  ▀█
###       ██╔══██╗ █▄
###       ██████╦╝
###       ██╔══██╗
###       ██████╦╝
###       ╚═════╝
###
###
#################################*/

/* Inhaltsverzeichnis
    13. KONTAKTSEITE
        13.1 Hero-Layout & Dynamic Padding
        13.2 Hero-Formular
        13.3 Bento-Grid
        13.4 Responsive Feinjustierung
*/

/* ==============================
    13.1 Hero-Layout & Dynamic Padding
   ============================== */

.kontakt-hero {
    padding: 12rem 2rem;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary), transparent 94%), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    color: var(--color-primary);
    font-weight: 800;
}

.eyebrow {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-subline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: #475569;
    margin-bottom: 3.5rem;
    max-width: 520px;
}

.direct-contact-list {
    display: grid;
    gap: 2rem;
}

.contact-item .label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.contact-item .material-icons-outlined {
    font-size: 20px;
    color: var(--color-primary);
}

.contact-item a,
.contact-item address {
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ==============================
    13.2 Hero-Formular
   ============================== */
.hero-form-card {
    background: var(--color-light);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border: 1px solid color-mix(in srgb, var(--color-dark), transparent 96%);
}

.hero-form-card h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.modern-stack-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-stack-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modern-stack-form input,
.modern-stack-form textarea {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid color-mix(in srgb, var(--color-dark), transparent 90%);
    background: #fcfdfe;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.modern-stack-form input:focus,
.modern-stack-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-light);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary), transparent 92%);
}

.btn-submit-hero {
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 1.15rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==============================
    13.3 Bento-Grid
   ============================== */
.kontakt-options {
    padding: 6rem 2rem;
    background: #f1f5f9;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--color-light);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--color-dark), transparent 96%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

.bento-icon-wrapper {
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--color-primary), transparent 90%);
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.bento-icon-wrapper span {
    font-size: 30px;
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-link {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bento-link:after {
    content: ' →';
}

.whatsapp-highlight {
    background: linear-gradient(145deg, var(--color-light), #f0fdf4);
}

.bento-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==============================
    13.4 Responsive (Die Logik)
   ============================== */

/* Desktop & Tablets unter 1444px */
@media (max-width: 1444px) {

    .kontakt-hero,
    .kontakt-options {
        padding-left: 2rem;
        /* Genau 32px bei Standard 16px Font-Size */
        padding-right: 2rem;
    }
}

/* Tablets & Große Handys unter 900px */
@media (max-width: 900px) {

    .kontakt-hero,
    .kontakt-options {
        padding-left: 1rem;
        /* Genau 16px */
        padding-right: 1rem;
        padding-top: 6rem;
        /* Weniger Padding oben mobil */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text-content {
        text-align: center;
        order: 2;
    }

    .hero-title {
        font-size: 2.2rem;
        /* Fixer Wert für bessere Kontrolle auf kleinen Screens */
    }

    .hero-subline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form-card {
        order: 1;
        padding: 2rem 1.5rem;
    }

    .direct-contact-list {
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* Kleine Handys */
@media (max-width: 600px) {
    .modern-stack-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}