:root {
    --beige: #C5BBAC;
    --off-white: #F2F0EC;
    --brown: #403E39;
    --blue: #253840;
    --dark-blue: #272F33;
    --light-blue: #567886;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--off-white);
    color: var(--brown);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.narrow {
    max-width: 880px;
}

.section-spacing {
    padding: 64px 0;
}

h1,
h2,
h3 {
    color: var(--dark-blue);
}

h2 {
    margin-bottom: 32px;
    font-size: 2rem;
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid var(--beige);
}


/* Header */

.site-header {
    background-color: #D4CBBD;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(37, 56, 64, 0.25);
    box-shadow: 0 4px 14px rgba(39, 47, 51, 0.08);
}

.header-inner {
    width: 100%;
    min-height: 125px;
    padding: 0 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    width: 265px;
    height: auto;
}

.menu-toggle {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue);
}

.main-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--blue);
    transition: width 0.2s ease;
}

.main-nav a:not(.nav-button):hover {
    color: var(--dark-blue);
}

.main-nav a:not(.nav-button):hover::after {
    width: 100%;
}

.nav-button {
    padding: 10px 18px;
    border-radius: 999px;
    background-color: var(--blue);
    color: var(--off-white);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-button:hover,
.nav-button:focus {
    background-color: var(--light-blue);
    color: var(--off-white);
    transform: translateY(-2px);
}


/* Hero */

.hero {
         position: relative;
    width: 100%;
    height: 678px;
    overflow: hidden;
    text-align: center;

}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(39, 47, 51, 0.6);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: min(1360px, 92%);
    margin: 0 auto;
    padding-top: 105px;
    left: 0;
    right: 0;
}

.hero h1 {
    color: var(--off-white);
    font-family: "Federo", Georgia, serif;
    font-size: clamp(3.8rem, 5.4vw, 5.6rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 42px;
}

.hero h1 span {
    display: block;
    white-space: nowrap;
}

.hero p {
     color: var(--off-white);
    font-family: "Federo", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 0.12em;
    margin-bottom: 86px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
}

.button {
    min-width: 300px;
    padding: 18px 34px;
    border: 2px solid #111;
    border-radius: 14px;
    background-color: var(--blue);
    color: var(--off-white);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background-color: var(--light-blue);
    color: var(--off-white);
    transform: translateY(-3px);
}

/* Unterseiten Hero */

.page-hero {
    background-color: var(--blue);
    padding: 120px 0 90px;
    text-align: center;
}

.page-hero h1 {
    color: var(--off-white);
    font-family: "Federo", Georgia, serif;
    font-size: clamp(3.2rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.page-hero p {
    color: var(--off-white);
    font-family: "Federo", Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    letter-spacing: 0.12em;
    line-height: 1.4;
}


/* Ausstellungsseite */

.exhibitions-page {
    padding: 70px 0 70px;
}

.exhibition-block {
    padding-bottom: 54px;
    margin-bottom: 54px;
    border-bottom: 1px solid var(--beige);
}

.exhibition-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.exhibition-images img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 18px;
}

.exhibition-block h2 {
    text-align: left;
    margin-bottom: 22px;
    color: var(--dark-blue);
    font-size: 1.85rem;
}

.exhibition-block p {
    color: var(--brown);
    font-size: 1.15rem;
    line-height: 1.45;
}

.exhibition-cta {
    padding-top: 4px;
}

.exhibition-cta h2 {
    text-align: left;
    margin-bottom: 24px;
    color: var(--dark-blue);
    font-size: 1.8rem;
}

.page-button {
    min-width: 0;
    display: inline-block;
    padding: 16px 28px;
    font-size: 1.35rem;
    border-radius: 14px;
}

/* Intro */

.intro {
    text-align: center;
}

.intro p {
    font-size: 1.35rem;
}


/* Entdecke Nordtor */

.discover {
    padding-top: 56px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
}

.info-card {
    min-height: 170px;
    padding: 28px 30px;
    border-radius: 18px;
    background-color: var(--beige);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--brown);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.info-card:hover {
    background-color: var(--light-blue);
    transform: translateY(-4px);
}

.info-card:hover h3,
.info-card:hover p {
    color: var(--off-white);
}

.info-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.info-card p {
    font-size: 1.05rem;
}


/* Wikinger Wissen */

.knowledge {
    padding-top: 56px;
}

.knowledge-card {
    min-height: 105px;
    margin-bottom: 32px;
    padding: 16px 20px 16px 40px;
    border-radius: 18px;
    background-color: var(--beige);
    display: grid;
    grid-template-columns: 115px 1fr auto;
    align-items: center;
    gap: 24px;
}

.knowledge-card img {
    width: 115px;
    height: 78px;
    object-fit: cover;
}

.knowledge-text h3 {
    margin-bottom: 4px;
    font-size: 1.45rem;
}

.knowledge-text p {
    font-size: 1.05rem;
}

.read-link {
    color: var(--light-blue);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.read-link:hover {
    color: var(--blue);
}


/* Footer */

.site-footer {
    background-color: #CEC4B6;
    margin-top: 32px;
}

.footer-logo-wrap {
    padding: 24px 0 18px;
    border-bottom: 1px solid var(--brown);
}

.footer-logo {
    width: 155px;
}

.footer-content {
    padding: 32px 0 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 80px;
    font-size: 0.95rem;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.footer-column p {
    margin-bottom: 18px;
}

.footer-link {
    font-weight: 700;
    text-decoration: underline;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    width: fit-content;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--light-blue);
}
.social-links {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 9px;
    background-color: #000;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--blue);
    transform: translateY(-3px);
}
.mobile-ticket-icon {
    display: none;
}

/* Cookie Banner */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 18px;
    background-color: var(--light-blue);
    color: var(--off-white);
    display: block;
    box-shadow: 0 -6px 20px rgba(39, 47, 51, 0.18);
}


.cookie-banner-content {
    width: min(1120px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

.cookie-banner a {
    color: var(--off-white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner-buttons button {
    padding: 10px 18px;
    border: 2px solid var(--off-white);
    border-radius: 10px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#cookieDecline {
    background-color: transparent;
    color: var(--off-white);
}

#cookieAccept {
    background-color: var(--off-white);
    color: var(--blue);
}

#cookieAccept:hover,
#cookieDecline:hover {
    background-color: var(--blue);
    color: var(--off-white);
    transform: translateY(-2px);
}

/* Ticket Pop-up */

.ticket-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(39, 47, 51, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 999;
}

.ticket-modal.is-open {
    display: flex;
}

.ticket-modal-box {
    position: relative;
    width: min(560px, 100%);
    padding: 46px 44px 40px;
    border-radius: 25px;
    background-color: var(--beige);
    color: var(--brown);
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.ticket-modal-box h2 {
    margin-bottom: 22px;
    color: var(--dark-blue);
    font-family: "Federo", Georgia, serif;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-modal-box p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.55;
}

.ticket-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: var(--blue);
    color: var(--off-white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ticket-modal-close:hover {
    background-color: var(--light-blue);
    transform: scale(1.05);
}



/* Rechtliche Seiten */

.legal-page {
    padding: 70px 0 70px;
}

.legal-section {
    padding-bottom: 54px;
    margin-bottom: 54px;
    border-bottom: 1px solid var(--beige);
}

.legal-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    text-align: left;
    margin-bottom: 24px;
    color: var(--dark-blue);
    font-size: 1.85rem;
}

.legal-section p {
    max-width: 780px;
    color: var(--brown);
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 18px;
}

.legal-section a {
    font-weight: 700;
    color: var(--blue);
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--light-blue);
}

/* Besuch planen */

.visit-page {
    padding: 70px 0 70px;
}

.visit-container {
    max-width: 1040px;
}

.visit-section {
    padding-bottom: 54px;
    margin-bottom: 54px;
    border-bottom: 1px solid var(--beige);
}

.visit-section h2 {
    text-align: left;
    margin-bottom: 24px;
    color: var(--dark-blue);
    font-size: 1.85rem;
}

.visit-section p {
    max-width: 780px;
    color: var(--brown);
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 18px;
}

.info-list {
    width: min(620px, 100%);
}

.info-list div {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 60px;
    align-items: baseline;
    margin-bottom: 18px;
    color: var(--brown);
    font-size: 1.1rem;
}


.map-link {
    position: relative;
    display: block;
    width: min(800px, 100%);
    margin: 28px auto 0;
    border-radius: 18px;
    overflow: hidden;
}

.map-link img {
    width: 100%;
    height: auto;
    display: block;
}
.map-link span {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px 18px;
    border-top-left-radius: 14px;
    background-color: var(--beige);
    color: var(--brown);
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.map-link:hover span {
    background-color: var(--light-blue);
    color: var(--off-white);
}

.faq-section {
    border-bottom: 1px solid var(--beige);
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item h3 {
    margin-bottom: 8px;
    color: var(--dark-blue);
    font-size: 1.15rem;
}

.faq-item p {
    margin-bottom: 0;
}

.visit-cta {
    padding-bottom: 10px;
}

/* Wikinger Wissen Seite */

.wissen-page {
    padding: 70px 0 70px;
}
.wissen-page,
.wissen-item,
.wissen-card,
.wissen-detail {
    overflow-anchor: none;
}

.wissen-container {
    max-width: 1080px;
}

.wissen-item {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--beige);
}

.wissen-card {
    background-color: var(--beige);
    border-radius: 18px;
    padding: 18px 42px;
    color: var(--brown);
}

.wissen-card-head {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 24px;
}

.wissen-card-head img {
    width: 110px;
    height: 78px;
    object-fit: cover;
}

.wissen-card-text h2 {
    text-align: left;
    margin-bottom: 6px;
    color: var(--dark-blue);
    font-size: 1.45rem;
}

.wissen-card-text p {
    color: var(--brown);
    font-size: 1.05rem;
}

.wissen-toggle,
.wissen-link {
    border: none;
    background: none;
    color: var(--light-blue);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.wissen-toggle:hover {
    color: var(--blue);
}

.wissen-detail {
    margin-top: 42px;
    padding-bottom: 10px;
}

.wissen-detail h3 {
    margin-bottom: 24px;
    color: var(--dark-blue);
    font-size: 1.25rem;
}

.wissen-detail p {
    max-width: 920px;
    margin-bottom: 24px;
    color: var(--brown);
    font-size: 1.15rem;
    line-height: 1.45;
}

.wissen-cta {
    padding-top: 16px;
}

.wissen-cta h2 {
    text-align: left;
    margin-bottom: 24px;
    color: var(--dark-blue);
    font-size: 1.8rem;
}
/* Einzelne Wissensartikel */

.article-page {
    padding: 70px 0 70px;
}

.article-container {
    max-width: 920px;
}

.article-card {
    background-color: var(--beige);
    border-radius: 18px;
    padding: 42px;
    color: var(--brown);
}

.article-card img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 32px;
}

.article-card h2 {
    text-align: left;
    margin-top: 34px;
    margin-bottom: 18px;
    color: var(--dark-blue);
    font-size: 1.65rem;
}

.article-card h2:first-of-type {
    margin-top: 0;
}

.article-card p {
    margin-bottom: 22px;
    color: var(--brown);
    font-size: 1.15rem;
    line-height: 1.55;
}

.back-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--light-blue);
    font-weight: 700;
    text-decoration: underline;
}

.back-link:hover {
    color: var(--blue);
}

/* Erlebnisbereich */

.experience-page {
    padding: 80px 0 80px;
}

.experience-container {
    max-width: 1160px;
}

.experience-card {
    background-color: var(--beige);
    border-radius: 25px;
    padding: 44px 52px;
    color: var(--brown);
}

.experience-head {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 70px;
    align-items: center;
}
.experience-head img {
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}
.experience-text h2 {
    text-align: left;
    margin-bottom: 22px;
    color: var(--dark-blue);
    font-size: 2rem;
}

.experience-text p {
    color: var(--brown);
    font-size: 1.35rem;
    line-height: 1.35;
}

.experience-head img {
    width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

.experience-toggle {
    margin-top: 44px;
    border: none;
    background: none;
    color: #000;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.experience-divider {
    margin: 60px 0 50px;
    border-top: 1px solid var(--beige);
}

.experience-panel {
    margin-top: 56px;
}


/* Wikinger Look Test */

.quiz-box {
    position: relative;
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 34px 42px;
    border-radius: 18px;
    background-color: var(--off-white);
    text-align: center;
}

.quiz-progress {
    margin-bottom: 12px;
    color: var(--brown);
    font-weight: 600;
}

.quiz-box h3 {
    margin-bottom: 28px;
    color: var(--dark-blue);
    font-size: 1.35rem;
}

.quiz-options {
    display: grid;
    gap: 14px;
    text-align: left;
}

.quiz-option {
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    background-color: var(--beige);
    color: var(--brown);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quiz-option:hover,
.quiz-option.is-selected {
    border-color: var(--blue);
    background-color: #d7d0c4;
}

.quiz-message {
    min-height: 24px;
    margin-top: 14px;
    color: var(--dark-blue);
    font-weight: 600;
}

.quiz-next {
    position: absolute;
    right: 18px;
    bottom: 14px;
    border: none;
    background: none;
    color: var(--dark-blue);
    font-size: 2.5rem;
    cursor: pointer;
}

.quiz-result {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 34px 42px;
    border-radius: 18px;
    background-color: var(--off-white);
    text-align: center;
}

.quiz-result h3 {
    margin-bottom: 18px;
    color: var(--dark-blue);
    font-size: 1.25rem;
}

.quiz-result img {
    width: 165px;
    height: 165px;
    object-fit: cover;
    margin: 0 auto 12px;
    border-radius: 14px;
}

.quiz-result p {
    margin-bottom: 24px;
    font-size: 1.15rem;
}

.result-buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.small-button {
    width: 180px;
    min-width: 180px;
    padding: 13px 18px;
    font-size: 1rem;
    border-radius: 14px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}


/* Fakt oder Fake */

.fake-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 70px;
}

.flip-card {
    position: relative;
    min-height: 150px;
    border: none;
    background: transparent;
    perspective: 1000px;
    cursor: pointer;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.flip-icon {
    position: absolute;
    right: 14px;
    top: 12px;
    z-index: 3;
    color: var(--light-blue);
    font-size: 1.1rem;
}

.flip-inner {
    position: relative;
    display: block;
    min-height: 150px;
    transform-style: preserve-3d;
    transition: transform 0.45s ease;
}

.flip-card.is-flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    padding: 24px 20px;
    border-radius: 16px;
    background-color: var(--off-white);
    color: var(--brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    backface-visibility: hidden;
    font-size: 1rem;
    line-height: 1.35;
}

.flip-front strong {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.flip-back {
    transform: rotateY(180deg);
}

.fake-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 700;
}

.fake-label.true {
    color: #3c8a3c;
}

.fake-label.false {
    color: #b73737;
}
/* Responsive */

@media (max-width: 950px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 24px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        gap: 32px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 650px) {
    .section-spacing {
        padding: 48px 0;
    }

    .logo {
        width: 190px;
    }

    .main-nav {
        gap: 16px;
        font-size: 0.9rem;
    
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        letter-spacing: 0.08em;
    }

    .hero p {
        letter-spacing: 0.06em;
        margin-bottom: 40px;
    }

    .button {
        min-width: 240px;
        font-size: 1.25rem;
    }

    .intro p {
        font-size: 1.1rem;
    }

    .knowledge-card {
        padding: 20px;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .knowledge-card img {
        width: 100%;
        height: 170px;
    }

    .read-link {
        justify-self: start;
    }
        .info-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
@media (max-width: 950px) {
    .exhibition-images {
        grid-template-columns: 1fr;
    }

    .exhibition-images img {
        height: 230px;
    }

    .page-hero {
        padding: 90px 0 70px;
    }
}

@media (max-width: 430px) {

    .mobile-ticket-icon {
    position: fixed;
    right: -8px;
    bottom: 88px;
    z-index: 90;

    width: 58px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #111;
    border-right: none;
    border-radius: 16px 0 0 16px;

    background-color: var(--off-white);
    color: var(--blue);

    font-size: 1.65rem;
    box-shadow: 0 6px 16px rgba(39, 47, 51, 0.22);
    transition: right 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mobile-ticket-icon:active {
    right: 0;
    background-color: var(--blue);
    color: var(--off-white);
}

    /* Allgemein */
    .container {
        width: min(92%, 390px);
    }

    .section-spacing {
        padding: 44px 0;
    }

    h2 {
        font-size: 1.7rem;
        margin-bottom: 24px;
    }

    /* Header */
    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 88px;
        padding: 0 20px;
        gap: 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        width: 150px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        padding: 0;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--blue);
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background-color: var(--beige);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 20px 20px;
        z-index: 50;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 0;
    }

    .main-nav a:not(.nav-button)::after {
        display: none;
    }

    .nav-button {
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }

    /* Startseite Hero */
    .hero {
        height: auto;
        min-height: 0;
    }

    .hero-image {
        height: 520px;
        object-fit: cover;
    }

    .hero-content {
        padding-top: 78px;
        width: 90%;
    }

    .hero h1 {
         font-size: 2.15rem;
    line-height: 1.18;
    letter-spacing: 0.055em;
    margin-bottom: 22px;
    }
    

    .hero h1 span {
        white-space: normal;
    }

    .hero p {
        font-size: 1.45rem;
        line-height: 1.35;
        letter-spacing: 0.05em;
        margin-bottom: 34px;
    }

    .hero-buttons {
        gap: 14px;
        flex-wrap: nowrap;
    }

    .hero-buttons .button {
        min-width: 0;
        width: 48%;
        padding: 14px 10px;
        font-size: 1rem;
        text-align: center;
    }

    /* Intro */
    .intro p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    /* Startseite Karten */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        min-height: 150px;
        padding: 24px 22px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 1rem;
    }

    /* Wikinger-Wissen-Teaser auf Startseite */
    .knowledge-card {
        grid-template-columns: 78px 1fr;
        gap: 14px;
        padding: 18px;
        align-items: start;
    }

    .knowledge-card img {
        width: 78px;
        height: 78px;
        object-fit: cover;
        border-radius: 8px;
    }

    .knowledge-text h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .knowledge-text p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .read-link {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 4px;
        font-size: 0.95rem;
    }

    /* Allgemeiner Hero für Unterseiten */
    .page-hero {
        padding: 72px 0 64px;
    }

    .page-hero h1 {
        font-size: 2.35rem;
        line-height: 1.2;
        letter-spacing: 0.08em;
        margin-bottom: 20px;
    }

    .page-hero p {
        font-size: 1.2rem;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }

    .page-hero p br {
        display: none;
    }

    /* Ausstellungen */
    .exhibition-block {
        padding: 0 0 34px;
        margin-bottom: 34px;
    }

    .exhibition-images {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 18px;
    }

    .exhibition-images img {
        width: 100%;
        height: 74px;
        object-fit: cover;
        border-radius: 12px;
    }

    .exhibition-block h2 {
        text-align: left;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .exhibition-block p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Wikinger Wissen Seite */
    .wissen-page .page-hero,
    .wissen-hero {
        padding-top: 60px;
    }

    .wissen-container {
        gap: 24px;
    }

    .wissen-item {
        scroll-margin-top: 110px;
    }

    .wissen-card {
        padding: 18px;
        border-radius: 20px;
    }

    .wissen-card-head {
        display: grid;
        grid-template-columns: 78px 1fr;
        gap: 14px;
        align-items: start;
    }

    .wissen-card-head img {
        width: 78px;
        height: 78px;
        object-fit: cover;
        border-radius: 10px;
    }

    .wissen-card-text h2 {
        font-size: 1.15rem;
        text-align: left;
        margin-bottom: 6px;
    }

    .wissen-card-text p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .wissen-toggle {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 8px;
        font-size: 0.95rem;
    }

    .wissen-detail {
        margin-top: 18px;
    }

    .wissen-detail h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .wissen-detail p {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    /* Buttons allgemein */
    .button {
        font-size: 1rem;
        padding: 14px 20px;
    }

    /* Footer nur etwas kompakter */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 36px;
    }

    .social-links {
        gap: 16px;
    }
}

@media (max-width: 430px) {

    /* Weniger Abstand vor dem Footer */
    .site-footer {
        margin-top: 16px;
    }

    .knowledge.section-spacing {
        padding-bottom: 22px;
    }

    .exhibitions-page,
    .wissen-page,
    .visit-page,
    .experience-page {
        padding-bottom: 35px;
    }

    .exhibition-cta,
    .wissen-cta,
    .visit-cta {
        padding-bottom: 0;
    }

    /* Ticket-Buttons kürzer */
    .page-button {
        min-width: 0;
        width: auto;
        padding: 12px 22px;
        font-size: 1rem;
        text-align: center;
    }

    .main-nav .nav-button {
        width: fit-content;
        min-width: 150px;
        padding: 10px 18px;
        text-align: center;
    }

    /* Erlebnisbereich mobil */
    .experience-page {
        padding-top: 44px;
    }

    .experience-container {
        width: min(92%, 390px);
    }

    .experience-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .experience-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .experience-head img {
        grid-row: 1;
        width: 100%;
        height: 165px;
        object-fit: cover;
        border-radius: 14px;
    }

    .experience-text {
        grid-row: 2;
    }

    .experience-text h2 {
        font-size: 1.45rem;
        margin-bottom: 12px;
        text-align: left;
    }

    .experience-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .experience-text p br {
        display: none;
    }

    .experience-toggle {
        margin-top: 20px;
        font-size: 1.8rem;
    }

    .experience-divider {
        margin: 34px 0 28px;
    }

    .experience-panel {
        margin-top: 28px;
    }

    /* Quiz mobil */
    .quiz-box,
    .quiz-result {
        padding: 24px 18px 56px;
        border-radius: 16px;
    }

    .quiz-box h3 {
        font-size: 1.15rem;
        margin-bottom: 22px;
    }

    .quiz-option {
        font-size: 0.95rem;
        padding: 11px 13px;
    }

    .quiz-next {
        right: 16px;
        bottom: 8px;
        font-size: 2.3rem;
    }

    .quiz-result img {
        width: 145px;
        height: 145px;
    }

    .result-buttons {
        gap: 12px;
    }

    .small-button {
        width: 135px;
        min-width: 135px;
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    /* Fakt oder Fake mobil: 2 Karten nebeneinander */
    .fake-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .flip-card {
        min-height: 172px;
    }

    .flip-inner {
        min-height: 172px;
    }

    .flip-front,
    .flip-back {
        padding: 20px 10px;
        font-size: 0.78rem;
        line-height: 1.3;
        border-radius: 14px;
    }

    .flip-front strong {
        margin-bottom: 8px;
    }

    .fake-label {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .flip-icon {
        right: 10px;
        top: 8px;
        font-size: 1rem;
    }
    .wissen-hero {
        padding: 56px 0 46px;
    }

    .wissen-page {
        padding-top: 36px;
    }
    .experience-head img {
    grid-row: 1;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    margin: 0 auto;
}
.hero-buttons a.button {
        min-height: 52px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1.15;

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .legal-page {
    padding: 36px 0 35px;
}

.legal-page {
    padding-top: 36px;
    padding-bottom: 35px;
}

.legal-section {
    padding-bottom: 34px;
    margin-bottom: 34px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.6;
}
.cookie-banner {
    padding: 16px;
}

.cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.cookie-banner p {
    font-size: 0.88rem;
}

.cookie-banner-buttons {
    width: 100%;
}

.cookie-banner-buttons button {
    width: 50%;
    padding: 10px 8px;
    font-size: 0.9rem;
}
.article-page {
    padding: 36px 0 35px;
}

.article-card {
    padding: 22px 18px;
    border-radius: 20px;
}

.article-card img {
    max-height: 220px;
    margin-bottom: 22px;
}

.article-card h2 {
    font-size: 1.35rem;
    margin-top: 26px;
    margin-bottom: 12px;
}

.article-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.wissen-link {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 8px;
    font-size: 0.95rem;
}
}
