/* Kontakt - Page Styles */

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-deep-fjord);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.page-loader-content {
    text-align: center;
}

.page-loader-logo {
    width: 350px;
    height: auto;
    opacity: 0;
    transform: scale(1.3);
    animation: loaderFadeIn 1.2s ease-out forwards;
}

@keyframes loaderFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.3);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page Header - Compact Hero */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 45, 65, 0.4) 0%,
        rgba(8, 45, 65, 0.5) 100%
    );
    z-index: 2;
}

.page-header-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.page-header .section-label {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.page-header .section-label .section-number,
.page-header .section-label .section-name {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .section-label .section-line {
    background: rgba(255, 255, 255, 0.5);
}

.page-header-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-header-tagline {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 5rem 8%;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Info */
.contact-info {
    max-width: 480px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--color-deep-fjord);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hosts-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-soft-gray);
}

.hosts-names {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-deep-fjord);
    margin-bottom: 1rem;
}

.hosts-intro p:last-child {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3rem;
    background: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(8, 45, 65, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-soft-gray);
    transition: all 0.3s var(--transition-smooth);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:hover {
    padding-left: 0.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-deep-fjord);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-deep-fjord);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-deep-fjord);
}

.contact-link {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-deep-fjord);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.7;
}

/* Social Section */
.social-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-deep-fjord);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-deep-fjord);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--color-deep-fjord);
    transition: fill 0.3s;
}

.social-link:hover svg {
    fill: var(--color-white);
}

/* Map */
.contact-map {
    align-self: end;
}

.map-container {
    width: 100%;
    height: 450px;
    background: var(--color-soft-gray);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(8, 45, 65, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-info {
    padding: 1.5rem;
    background: var(--color-white);
}

.map-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 8rem 8%;
    background: var(--color-white);
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.faq-header .section-label {
    justify-content: center;
}

.faq-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-deep-fjord);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-soft-gray);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-soft-gray);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s var(--transition-smooth);
}

.faq-question:hover {
    padding-left: 0.5rem;
}

.faq-question span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-deep-fjord);
    letter-spacing: 0.02em;
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-deep-fjord);
    flex-shrink: 0;
    transition: transform 0.4s var(--transition-smooth);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

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

.faq-answer strong {
    color: var(--color-deep-fjord);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-header {
        height: 45vh;
        min-height: 300px;
    }

    .contact-section {
        padding: 4rem 5%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-map {
        position: static;
    }

    .faq-section {
        padding: 5rem 5%;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        min-height: 280px;
    }

    .contact-section,
    .faq-section {
        padding: 3rem 5%;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .map-container {
        height: 350px;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .social-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 35vh;
        min-height: 250px;
    }

    .page-header-title {
        font-size: 2rem;
    }

    .contact-title,
    .faq-title {
        font-size: 1.8rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }

    .map-container {
        height: 280px;
    }

    .faq-question {
        padding: 1.2rem 0;
    }
}
