/* =========================================================
   Kontaktseite
   ========================================================= */

.ak-contact-page {
    background: #fbfbfa;
}

/* ---------------------------------------------------------
   Page Hero
   --------------------------------------------------------- */

.ak-page-hero {
    background:
        radial-gradient(circle at top right, rgba(185, 154, 100, 0.16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
    padding: clamp(64px, 8vw, 120px) 24px clamp(54px, 7vw, 92px);
    border-bottom: 1px solid rgba(6, 27, 54, 0.08);
}

.ak-page-hero-inner {
    width: min(980px, calc(100vw - 48px));
    margin: 0 auto;
    text-align: center;
}

.ak-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #00578b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.ak-page-kicker::before,
.ak-page-kicker::after {
    content: "";
    width: 34px;
    height: 1px;
    background: #b99a64;
}

.ak-page-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.06em;
    color: #061b36;
}

.ak-page-hero p:not(.ak-page-kicker) {
    width: min(720px, 100%);
    margin: 24px auto 0;
    color: #2d4058;
    font-size: clamp(1.04rem, 1.25vw, 1.18rem);
    line-height: 1.78;
}

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */

.ak-contact-section {
    padding: clamp(58px, 8vw, 112px) 24px clamp(78px, 9vw, 130px);
}

.ak-contact-layout {
    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.ak-contact-info {
    padding-top: 16px;
}

.ak-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #00578b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ak-contact-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: #b99a64;
}

.ak-contact-info h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #061b36;
}

.ak-contact-info p:not(.ak-contact-eyebrow) {
    margin: 24px 0 0;
    color: #2d4058;
    font-size: 1.04rem;
    line-height: 1.8;
}

.ak-contact-note {
    margin-top: 34px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(6, 27, 54, 0.10);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(6, 27, 54, 0.06);
}

.ak-contact-note strong {
    display: block;
    margin-bottom: 8px;
    color: #061b36;
}

.ak-contact-note span {
    display: block;
    color: #2d4058;
    line-height: 1.65;
}

.ak-contact-card {
    padding: clamp(28px, 4vw, 48px);
    background: #ffffff;
    border: 1px solid rgba(6, 27, 54, 0.10);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(6, 27, 54, 0.09);
}

/* ---------------------------------------------------------
   Formular
   --------------------------------------------------------- */

.ak-contact-form {
    margin: 0;
}

.ak-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ak-contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ak-contact-field-full {
    grid-column: 1 / -1;
}

.ak-contact-form label {
    color: #061b36;
    font-weight: 700;
    font-size: 0.94rem;
}

.ak-contact-form .ak-required {
    color: #00578b;
}

.ak-contact-form input,
.ak-contact-form select,
.ak-contact-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(6, 27, 54, 0.18);
    border-radius: 16px;
    background: #fbfbfa;
    color: #061b36;
    padding: 12px 15px;
    font: inherit;
    line-height: 1.4;
}

.ak-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.ak-contact-form input:focus,
.ak-contact-form select:focus,
.ak-contact-form textarea:focus {
    outline: 3px solid rgba(22, 156, 211, 0.24);
    border-color: #169cd3;
    background: #ffffff;
}

.ak-contact-privacy {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 22px;
    background: #f7f7f4;
    border: 1px solid rgba(6, 27, 54, 0.10);
}

.ak-contact-privacy label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    font-weight: 500;
    color: #2d4058;
    line-height: 1.65;
}

.ak-contact-privacy input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 4px;
    padding: 0;
}

.ak-contact-privacy a {
    color: #00578b;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.ak-contact-legal-text {
    margin: 14px 0 0;
    color: #657386;
    font-size: 0.9rem;
    line-height: 1.65;
}

.ak-contact-submit-wrap {
    margin-top: 28px;
}

.ak-contact-submit {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    padding: 0 30px;
    background: #061b36;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(6, 27, 54, 0.17);
}

.ak-contact-submit:hover {
    background: #00578b;
}

.ak-contact-error,
.ak-contact-thankyou {
    margin-bottom: 26px;
    padding: 22px 24px;
    border-radius: 24px;
    line-height: 1.65;
}

.ak-contact-error {
    background: #fff4f2;
    border: 1px solid rgba(160, 40, 20, 0.18);
    color: #6f1f15;
}

.ak-contact-thankyou {
    background:
        radial-gradient(circle at top right, rgba(185, 154, 100, 0.17), transparent 38%),
        #ffffff;
    border: 1px solid rgba(6, 27, 54, 0.10);
    box-shadow: 0 20px 58px rgba(6, 27, 54, 0.08);
    color: #2d4058;
}

.ak-contact-thankyou h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 400;
    line-height: 1.02;
    color: #061b36;
    letter-spacing: -0.045em;
}

.ak-contact-thankyou p {
    margin: 0;
}

.ak-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 860px) {
    .ak-contact-layout {
        grid-template-columns: 1fr;
    }

    .ak-contact-info {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .ak-page-hero {
        padding-inline: 16px;
    }

    .ak-page-hero-inner,
    .ak-contact-layout {
        width: min(100%, calc(100vw - 32px));
    }

    .ak-page-kicker {
        letter-spacing: 0.18em;
    }

    .ak-page-kicker::before,
    .ak-page-kicker::after {
        width: 24px;
    }

    .ak-contact-section {
        padding-inline: 16px;
    }

    .ak-contact-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .ak-contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ak-contact-submit {
        width: 100%;
    }
}