:root {
    --red: #c33531;
    --red-bright: #dd403b;
    --red-soft: #f8e8e7;
    --dark: #393f48;
    --dark-deep: #272c33;
    --grey: #69717a;
    --background: #f3f4f5;
    --alternate: #eceef0;
    --white: #ffffff;
    --border: #dfe3e6;
    --content-width: 850px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;

    color: var(--dark);
    background-color: var(--background);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.content-width {
    width: calc(100% - 32px);
    max-width: var(--content-width);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 8px;

    color: var(--red);

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ==================== SPRACHAUSWAHL ==================== */

.language-page {
    display: flex;
    padding: 20px;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at top left,
            rgba(195, 53, 49, 0.15),
            transparent 450px
        ),
        var(--background);
}

.language-card {
    width: 100%;
    max-width: 850px;
    padding: 38px;

    text-align: center;

    background-color: var(--white);
    border-radius: 26px;

    box-shadow: 0 20px 55px rgba(39, 44, 51, 0.13);
}
.logo-box {
    display: flex;
    width: 280px;
    max-width: 100%;
    min-height: 120px;
    margin: 0 auto 25px;
    padding: 7px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    background-color: rgb(253, 253, 253);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.logo {
    
    display: block;
    width: 100%;
    height: auto;
}

.language-card h1 {
    margin: 0;

    color: var(--dark-deep);
    font-size: 46px;
    line-height: 1.1;
}

.language-intro {
    margin: 14px 0 30px;

    color: var(--grey);
    font-size: 17px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.language-button {
    display: flex;
    min-height: 76px;
    padding: 13px;

    align-items: center;
    gap: 13px;

    text-align: left;
    text-decoration: none;

    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.language-button img {
    width: 46px;
    height: 31px;

    object-fit: contain;

    border: 1px solid rgba(39, 44, 51, 0.15);
    border-radius: 5px;
}

.language-button span {
    font-weight: bold;
}

.active-language {
    cursor: pointer;

    box-shadow: 0 6px 16px rgba(39, 44, 51, 0.08);

    transition:
        transform 0.2s,
        border-color 0.2s;
}

.active-language:hover {
    border-color: var(--red);
    transform: translateY(-2px);
}

.unavailable {
    opacity: 0.55;
    cursor: not-allowed;
}

.prototype-note {
    margin: 24px 0 0;

    color: var(--grey);
    font-size: 14px;
}


/* ==================== KOPFBEREICH ==================== */

.header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    min-height: 88px;
    padding: 14px 22px;

    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background-color: var(--dark);
}

.header-logo-link {
    display: block;
}

.header-logo {
    display: block;
    width: 150px;
    height: auto;
}

.back-button {
    padding: 9px 15px;

    color: var(--white);
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* ==================== EINLEITUNG ==================== */

.guide-intro {
    padding: 70px 0 40px;
}

.guide-intro h1 {
    margin: 0;

    color: var(--dark-deep);
    font-size: clamp(42px, 8vw, 70px);
    line-height: 1.05;
}

.guide-intro p:last-child {
    max-width: 650px;
    margin: 20px 0 0;

    color: var(--grey);
    font-size: 18px;
}


/* ==================== THEMENBUTTONS ==================== */

.topic-navigation {
    padding: 15px 0 70px;
}

.topic-navigation h2 {
    margin: 0 0 18px;

    color: var(--dark-deep);
    font-size: 22px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.topic-button {
    display: flex;
    min-height: 80px;
    padding: 15px;

    align-items: center;
    gap: 14px;

    text-decoration: none;

    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;

    box-shadow: 0 6px 18px rgba(39, 44, 51, 0.06);

    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.topic-button span {
    display: flex;
    width: 46px;
    height: 46px;

    flex: 0 0 46px;
    align-items: center;
    justify-content: center;

    background-color: var(--red-soft);
    border-radius: 12px;

    font-size: 21px;
}

.topic-button:hover {
    border-color: var(--red);

    box-shadow: 0 10px 24px rgba(39, 44, 51, 0.1);

    transform: translateY(-2px);
}
#hausordnung-button {
    border: 2px solid ;
}

/* ==================== GROSSE INFORMATIONSBEREICHE ==================== */

.info-section {
    min-height: 55vh;
    padding: 90px 0;

    scroll-margin-top: 88px;

    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.info-section.alternate {
    background-color: var(--alternate);
}

.section-number {
    margin: 0 0 5px;

    color: var(--red);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.info-section h2 {
    margin: 0 0 22px;

    color: var(--dark-deep);
    font-size: clamp(34px, 7vw, 54px);
    line-height: 1.1;
}

.info-section p:not(.section-number) {
    max-width: 720px;

    color: var(--dark);
    font-size: 19px;
}

.top-link {
    display: inline-block;
    margin-top: 30px;

    color: var(--red);
    font-weight: bold;
    text-decoration: none;
}

.top-link:hover {
    text-decoration: underline;
}

.food-image {
    display: block;
    width: 100%;
    max-width: 750px;
    height: 350px;
    margin: 25px auto;
    object-fit: cover;
    border-radius: 16px;
}

.info-link {
    color: #c9252d;
    font-weight: bold;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .food-image {
        height: 230px;
    }
}

.sight-card {
    max-width: 900px;
    margin: 30px auto 60px;
}

.sight-card h3 {
    margin-bottom: 16px;
    font-size: 1.7rem;
}

.sight-image {
    display: block;
    width: 100%;
    height: 380px;
    margin: 25px auto;
    object-fit: cover;
    background-color: #e8e4e1;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.sight-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.sight-link {
    display: inline-block;
    padding: 12px 18px;
    color: white;
    background-color: #c9252d;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.sight-link:hover {
    background-color: #a91d24;
    transform: translateY(-2px);
}

.secondary-link {
    color: #332c2c;
    background-color: #e8e4e1;
}

.secondary-link:hover {
    background-color: #d7d0cb;
}

@media (max-width: 600px) {
    .sight-image {
        height: 230px;
    }

    .sight-links {
        flex-direction: column;
    }

    .sight-link {
        text-align: center;
    }
}

.store-address {
    line-height: 1.7;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 35px;
}

.store-link {
    display: inline-block;
    padding: 12px 18px;
    color: white;
    background-color: #c9252d;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.store-link:hover {
    background-color: #a91d24;
    transform: translateY(-2px);
}

.secondary-store-link {
    color: #332c2c;
    background-color: #e8e4e1;
}

.secondary-store-link:hover {
    background-color: #d7d0cb;
}

@media (max-width: 600px) {
    .store-links {
        flex-direction: column;
    }

    .store-link {
        text-align: center;
    }
}
/* ==================== FOOTER ==================== */

.footer {
    padding: 45px 20px;

    color: rgba(255, 255, 255, 0.7);
    text-align: center;

    background-color: var(--dark-deep);
}

.homepage-button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;

    align-items: center;
    justify-content: center;

    color: var(--white);
    text-decoration: none;

    background-color: var(--red);
    border-radius: 100px;

    font-weight: bold;
}

.homepage-button:hover {
    background-color: var(--red-bright);
}

.footer p {
    margin: 20px 0 0;
    font-size: 13px;
}


/* ==================== TABLET UND COMPUTER ==================== */

@media (min-width: 650px) {
    .language-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .topic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .language-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ==================== HANDY ==================== */

@media (max-width: 480px) {
    .language-card {
        padding: 28px 15px;
    }

    .language-card h1 {
        font-size: 38px;
    }

    .language-button {
        padding: 10px;
        gap: 9px;
    }

    .language-button img {
        width: 38px;
        height: 27px;
    }

    .language-button span {
        font-size: 14px;
    }

    .header {
        padding: 13px 15px;
    }

    .header-logo {
        width: 120px;
    }

    .back-button {
        padding: 8px 11px;
        font-size: 14px;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        min-height: 65vh;
        padding: 70px 0;
    }
}
