/*
Theme Name: Applehead Live
Theme URI: https://www.applehead.live/
Author: ESW Design, Eric Weber
Author URI: https://www.applehead.live/
Description: Professionelles WordPress-Theme für die Band Applehead mit editierbarer Startseite, Galerie, Auftritten, SEO, Rechtstexten und Consent-Banner.
Version: 1.0.12
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: applehead-live
Tags: music, band, portfolio, entertainment, custom-logo, custom-menu, featured-images
*/

:root {
    --color-ink: #08080a;
    --color-panel: #121216;
    --color-panel-soft: #1b1b20;
    --color-paper: #f5f0e6;
    --color-muted: #c8bfae;
    --color-red: #c8232c;
    --color-gold: #e3bf6a;
    --color-teal: #34c7d4;
    --color-line: rgba(245, 240, 230, 0.16);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.45);
    --container: 1180px;
    --radius: 6px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

#show,
#termine,
#galerie,
#booking {
    scroll-margin-top: 96px;
}

body {
    margin: 0;
    background: var(--color-ink);
    color: var(--color-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration-color: rgba(227, 191, 106, 0.7);
    text-underline-offset: 0.18em;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -120px;
    z-index: 1000;
    background: var(--color-paper);
    color: var(--color-ink);
    padding: 10px 14px;
}

.skip-link:focus {
    top: 16px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.86), rgba(8, 8, 10, 0.46), rgba(8, 8, 10, 0));
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(8, 8, 10, 0.92);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    width: min(100% - 32px, var(--container));
    min-height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo,
.custom-logo-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
}

.brand-logo img,
.custom-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-wordmark {
    display: grid;
    color: var(--color-paper);
    text-decoration: none;
    line-height: 1.1;
}

.brand-wordmark span {
    font-size: 1.05rem;
    font-weight: 850;
    text-transform: uppercase;
}

.brand-wordmark small {
    color: var(--color-gold);
    font-size: 0.78rem;
}

.site-nav__list,
.footer-links__list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a,
.footer-links a {
    color: var(--color-paper);
    text-decoration: none;
    font-weight: 700;
}

.site-nav a {
    font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus,
.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-gold);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-paper);
    border-radius: var(--radius);
    padding: 11px;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__media video,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.62), rgba(8, 8, 10, 0.2)),
        linear-gradient(0deg, var(--color-ink), rgba(8, 8, 10, 0.3) 42%, rgba(8, 8, 10, 0.15));
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 158px 0 74px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-teal);
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--color-paper);
    line-height: 1.05;
}

h1 {
    max-width: 900px;
    font-size: 5.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

h2 {
    font-size: 2.85rem;
    font-weight: 900;
}

h3 {
    font-size: 1.2rem;
}

.hero__subtitle {
    margin: 10px 0 0;
    color: var(--color-gold);
    font-size: 1.45rem;
    font-weight: 800;
}

.hero__text {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--color-red);
    border-radius: var(--radius);
    background: var(--color-red);
    color: #ffffff;
    padding: 11px 18px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
    background: #a71922;
    border-color: #a71922;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 240, 230, 0.34);
    color: var(--color-paper);
}

.button--ghost:hover,
.button--ghost:focus {
    background: rgba(245, 240, 230, 0.14);
    border-color: var(--color-gold);
}

.button--secondary {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #1a1204;
}

.section {
    padding: 96px 0;
}

.intro-section {
    background: var(--color-ink);
}

.split,
.show-grid,
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: center;
}

.split__copy p,
.show-grid__content p,
.section-heading p,
.booking-copy p,
.prose p {
    color: var(--color-muted);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.event-card,
.booking-panel,
.post-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-panel);
}

.feature-card {
    min-height: 230px;
    padding: 22px;
}

.feature-card span {
    display: inline-flex;
    color: var(--color-gold);
    font-weight: 900;
    margin-bottom: 18px;
}

.feature-card p {
    color: var(--color-muted);
}

.show-section {
    background: #0d0d10;
}

.show-grid__image {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
}

.show-grid__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 32px 0 0;
}

.stats div {
    border-left: 3px solid var(--color-red);
    padding-left: 14px;
}

.stats dt {
    color: var(--color-gold);
    font-size: 1.7rem;
    font-weight: 900;
}

.stats dd {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.events-section {
    background: var(--color-panel-soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading--wide {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
    gap: 44px;
    align-items: end;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.event-card {
    padding: 22px;
}

.event-card time {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--color-gold);
    font-weight: 900;
}

.event-card p {
    color: var(--color-muted);
}

.event-card a {
    color: var(--color-teal);
    font-weight: 800;
}

.empty-note {
    max-width: 640px;
    color: var(--color-muted);
}

.gallery-section {
    background: var(--color-ink);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-item {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-panel);
    padding: 0;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.04);
    filter: saturate(1.12);
}

.booking-section {
    position: relative;
    overflow: hidden;
    background: var(--color-panel);
}

.booking-bg {
    position: absolute;
    inset: 0;
    opacity: 0.22;
}

.booking-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.96), rgba(8, 8, 10, 0.82));
}

.booking-layout {
    position: relative;
    z-index: 1;
}

.contact-lines {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.contact-lines a {
    color: var(--color-gold);
    font-weight: 850;
}

.booking-panel {
    padding: 26px;
    background: rgba(18, 18, 22, 0.9);
    box-shadow: var(--shadow-strong);
}

.booking-form {
    display: grid;
    gap: 15px;
}

.booking-form label {
    display: grid;
    gap: 7px;
    color: var(--color-muted);
    font-size: 0.93rem;
    font-weight: 700;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    border: 1px solid rgba(245, 240, 230, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-paper);
    padding: 11px 12px;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

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

.form-consent {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.form-consent input {
    width: 18px;
    margin-top: 4px;
}

.website-field {
    position: absolute;
    left: -9999px;
}

.form-message {
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 800;
}

.form-message--success {
    background: rgba(52, 199, 212, 0.18);
    color: #dffcff;
}

.form-message--error {
    background: rgba(200, 35, 44, 0.2);
    color: #ffd9dc;
}

.site-footer {
    border-top: 1px solid var(--color-line);
    background: #060607;
    padding: 36px 0;
}

.site-footer__inner {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1.3fr;
    gap: 30px;
    align-items: start;
}

.site-footer p {
    margin: 4px 0 0;
    color: var(--color-muted);
}

.footer-meta {
    text-align: right;
}

.footer-cookie-link {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: var(--color-teal);
    padding: 0;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.page-hero {
    padding: 150px 0 70px;
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.95), rgba(8, 8, 10, 0.78)),
        url("../img/hero-poster.jpg") center / cover;
    border-bottom: 1px solid var(--color-line);
}

.page-hero h1 {
    font-size: 3.6rem;
}

.prose {
    max-width: 860px;
}

.prose h2 {
    margin: 38px 0 12px;
    font-size: 1.65rem;
}

.prose p,
.prose li {
    color: var(--color-muted);
}

.single-image {
    border-radius: var(--radius);
    margin-bottom: 28px;
}

.content-list {
    display: grid;
    gap: 18px;
}

.post-card {
    padding: 24px;
}

.post-card h2 {
    font-size: 1.45rem;
}

.post-card a {
    color: var(--color-paper);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 28px;
}

.lightbox[hidden],
.cookie-panel[hidden],
.cookie-backdrop[hidden] {
    display: none !important;
}

.lightbox img {
    max-height: 88vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
}

.lightbox__close {
    position: fixed;
    right: 22px;
    top: 22px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-panel);
    color: var(--color-paper);
    font-size: 1.8rem;
    cursor: pointer;
}

.cookie-panel {
    position: fixed;
    inset: auto 16px 16px;
    z-index: 120;
    color: var(--color-paper);
}

.cookie-floating {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 119;
    min-height: 38px;
    border: 1px solid rgba(245, 240, 230, 0.28);
    border-radius: var(--radius);
    background: rgba(18, 18, 22, 0.92);
    color: var(--color-paper);
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cookie-floating:hover,
.cookie-floating:focus {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.cookie-panel__inner {
    width: min(100%, 1060px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(14, 14, 18, 0.96);
    box-shadow: var(--shadow-strong);
    padding: 22px;
    backdrop-filter: blur(18px);
}

.cookie-panel h2 {
    font-size: 1.5rem;
}

.cookie-panel p {
    color: var(--color-muted);
}

.cookie-panel__choices {
    display: grid;
    gap: 10px;
}

.cookie-choice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: start;
    border: 1px solid rgba(245, 240, 230, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
    color: var(--color-muted);
}

.cookie-choice input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.cookie-choice strong {
    display: block;
    color: var(--color-paper);
}

.cookie-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.consent-embed {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-panel);
    padding: 24px;
}

.consent-embed__notice p {
    margin: 6px 0 16px;
}

/* Corporate design refresh: warm red/gold stage identity. */
:root {
    --color-ink: #fff4df;
    --color-panel: #fffaf1;
    --color-panel-soft: #f4dfb9;
    --color-paper: #26100c;
    --color-muted: #715244;
    --color-red: #a70f1b;
    --color-gold: #b8862f;
    --color-teal: #6f1118;
    --color-line: rgba(104, 32, 20, 0.18);
    --shadow-strong: 0 24px 60px rgba(91, 24, 16, 0.18);
    color-scheme: light;
}

body {
    background:
        linear-gradient(180deg, #fff8ea 0%, #f8e6c7 48%, #fff4df 100%);
    color: var(--color-paper);
}

.site-header {
    background: linear-gradient(180deg, rgba(86, 10, 16, 0.82), rgba(86, 10, 16, 0.36), rgba(86, 10, 16, 0));
}

.site-header .brand-wordmark,
.site-header .site-nav a {
    color: #fff8ea;
}

.site-header.is-scrolled {
    background: rgba(255, 250, 241, 0.94);
    border-bottom: 1px solid rgba(104, 32, 20, 0.16);
    box-shadow: 0 10px 34px rgba(91, 24, 16, 0.12);
}

.site-header.is-scrolled .brand-wordmark,
.site-header.is-scrolled .site-nav a {
    color: var(--color-paper);
}

.site-header .nav-toggle {
    border-color: rgba(255, 248, 234, 0.42);
    color: #fff8ea;
}

.site-header.is-scrolled .nav-toggle {
    border-color: rgba(104, 32, 20, 0.2);
    color: var(--color-paper);
    background: rgba(167, 15, 27, 0.06);
}

.brand-wordmark small,
.site-nav a:hover,
.site-nav a:focus,
.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-gold);
}

.hero {
    min-height: 90vh;
    background: #5b0b12;
}

.hero__media img,
.hero__media video {
    filter: saturate(1.02) contrast(1.02) brightness(1.02);
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(38, 16, 12, 0.66) 0%, rgba(38, 16, 12, 0.34) 34%, rgba(38, 16, 12, 0.08) 72%, rgba(38, 16, 12, 0) 100%),
        linear-gradient(0deg, rgba(38, 16, 12, 0.52), rgba(38, 16, 12, 0.18) 34%, rgba(38, 16, 12, 0) 72%);
}

.hero h1,
.hero .eyebrow,
.hero__subtitle,
.hero__text {
    color: #fff8ea;
    text-shadow: 0 2px 24px rgba(38, 16, 12, 0.34);
}

.hero .eyebrow,
.eyebrow {
    color: var(--color-red);
    letter-spacing: 0;
}

.hero .eyebrow {
    color: #f7cf83;
}

.hero__subtitle {
    color: #ffd884;
}

.hero__text {
    color: rgba(255, 248, 234, 0.92);
}

h1,
h2,
h3 {
    color: var(--color-paper);
}

.button {
    border-color: var(--color-red);
    background: linear-gradient(180deg, #c41928, #9d0d18);
    color: #fff8ea;
    box-shadow: 0 12px 26px rgba(167, 15, 27, 0.22);
}

.button:hover,
.button:focus {
    background: linear-gradient(180deg, #d42a35, #870a14);
    border-color: #870a14;
}

.button--ghost {
    background: rgba(255, 248, 234, 0.12);
    border-color: rgba(255, 248, 234, 0.55);
    color: #fff8ea;
}

.site-header.is-scrolled .button--ghost,
.section .button--ghost {
    background: transparent;
    border-color: rgba(167, 15, 27, 0.28);
    color: var(--color-red);
}

.button--secondary {
    background: linear-gradient(180deg, #e9c66f, #b8862f);
    border-color: #b8862f;
    color: #26100c;
}

.intro-section {
    background: linear-gradient(180deg, #fff4df, #f8e5c5);
}

.events-section {
    background: linear-gradient(180deg, #f3dcae, #fff4df);
}

.gallery-section {
    background: #fffaf1;
}

.show-section,
.booking-section {
    background: linear-gradient(135deg, #7c0d18, #a70f1b 52%, #6f1118);
    color: #fff8ea;
}

.show-section h2,
.show-section h3,
.show-section .show-grid__content p,
.show-section .stats dd,
.booking-section h2,
.booking-section .booking-copy p,
.booking-section .contact-lines a {
    color: #fff8ea;
}

.show-section .eyebrow,
.booking-section .eyebrow {
    color: #f5cf83;
}

.feature-card,
.event-card,
.booking-panel,
.post-card,
.consent-embed {
    background: rgba(255, 250, 241, 0.92);
    border-color: rgba(104, 32, 20, 0.16);
    box-shadow: 0 16px 40px rgba(91, 24, 16, 0.12);
}

.feature-card span,
.event-card time,
.stats dt,
.contact-lines a {
    color: var(--color-red);
}

.event-card a,
.footer-cookie-link {
    color: var(--color-red);
}

.show-grid__image {
    border: 5px solid rgba(255, 248, 234, 0.78);
    box-shadow: 0 24px 70px rgba(38, 16, 12, 0.28);
}

.stats div {
    border-left-color: #f5cf83;
}

.booking-bg {
    opacity: 0.24;
}

.booking-section::before {
    background:
        linear-gradient(90deg, rgba(124, 13, 24, 0.92), rgba(167, 15, 27, 0.76)),
        linear-gradient(180deg, rgba(255, 211, 120, 0.22), rgba(255, 211, 120, 0));
}

.booking-panel {
    color: var(--color-paper);
}

.booking-form label {
    color: var(--color-muted);
}

.booking-form input,
.booking-form textarea {
    background: #fffdf8;
    border-color: rgba(104, 32, 20, 0.18);
    color: var(--color-paper);
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline-color: var(--color-gold);
}

.site-footer {
    background: linear-gradient(135deg, #5b0b12, #8f101a);
    border-top-color: rgba(255, 216, 132, 0.28);
    color: #fff8ea;
}

.site-footer p,
.footer-disclaimer {
    color: rgba(255, 248, 234, 0.78);
}

.site-footer .footer-cookie-link {
    color: #f5cf83;
}

.footer-links a {
    color: #fff8ea;
}

.footer-disclaimer {
    max-width: 360px;
    font-size: 0.84rem;
}

.page-hero {
    background:
        linear-gradient(90deg, rgba(100, 12, 20, 0.88), rgba(171, 42, 24, 0.62)),
        url("../img/hero-poster.jpg") center / cover;
    border-bottom-color: rgba(104, 32, 20, 0.16);
}

.page-hero h1,
.page-hero .eyebrow {
    color: #fff8ea;
}

.prose p,
.prose li,
.split__copy p,
.section-heading p,
.empty-note {
    color: var(--color-muted);
}

.cookie-floating {
    background: #fffaf1;
    border-color: rgba(104, 32, 20, 0.22);
    color: var(--color-red);
    box-shadow: 0 12px 30px rgba(91, 24, 16, 0.18);
}

.cookie-panel {
    color: var(--color-paper);
}

.cookie-panel__inner {
    background: rgba(255, 250, 241, 0.97);
    border-color: rgba(104, 32, 20, 0.18);
}

.cookie-panel p,
.cookie-choice {
    color: var(--color-muted);
}

.cookie-choice {
    background: rgba(244, 223, 185, 0.34);
    border-color: rgba(104, 32, 20, 0.14);
}

.cookie-choice strong {
    color: var(--color-paper);
}

.cookie-panel .button--ghost {
    background: transparent;
    border-color: rgba(167, 15, 27, 0.28);
    color: var(--color-red);
}

body.cookie-modal-open {
    overflow: hidden;
}

.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 118;
    background: rgba(38, 16, 12, 0.58);
    backdrop-filter: blur(8px);
}

.cookie-panel {
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    pointer-events: none;
}

.cookie-panel__inner {
    pointer-events: auto;
    max-height: min(86vh, 760px);
    overflow: auto;
}

.lightbox {
    background: rgba(38, 16, 12, 0.9);
}

.lightbox__close {
    background: #fffaf1;
    color: var(--color-paper);
}

@keyframes appleheadHeroGlow {
    0% {
        transform: translate3d(-8%, -6%, 0) scale(1);
        opacity: 0.16;
    }

    50% {
        transform: translate3d(8%, 4%, 0) scale(1.08);
        opacity: 0.28;
    }

    100% {
        transform: translate3d(-8%, -6%, 0) scale(1);
        opacity: 0.16;
    }
}

@keyframes appleheadGoldPulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(245, 207, 131, 0);
    }

    50% {
        box-shadow: 0 0 28px rgba(245, 207, 131, 0.28);
    }
}

@keyframes appleheadGoldTextShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes appleheadSparkleDrift {
    0%,
    100% {
        transform: translate3d(-4px, 2px, 0);
        opacity: 0.26;
    }

    50% {
        transform: translate3d(6px, -3px, 0);
        opacity: 0.62;
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 12% -16% auto auto;
    z-index: 1;
    width: min(34vw, 480px);
    aspect-ratio: 1;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245, 207, 131, 0.4), rgba(167, 15, 27, 0.12) 45%, transparent 70%);
    mix-blend-mode: screen;
    animation: appleheadHeroGlow 8s ease-in-out infinite;
}

.hero__media img,
.hero__media video {
    transform: scale(1.015);
    transition: transform 700ms ease, filter 700ms ease;
}

.hero:hover .hero__media img,
.hero:hover .hero__media video {
    transform: scale(1.035);
}

.feature-card,
.event-card,
.booking-panel,
.gallery-item,
.button,
.cookie-floating {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.feature-card:hover,
.event-card:hover,
.booking-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 134, 47, 0.52);
    box-shadow: 0 22px 52px rgba(91, 24, 16, 0.18);
}

.feature-card span,
.event-card time {
    animation: appleheadGoldPulse 4.8s ease-in-out infinite;
}

.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(245, 207, 131, 0.18), transparent 42%, rgba(167, 15, 27, 0.14));
    opacity: 0;
    transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus::after {
    opacity: 1;
}

.stats div {
    transition: transform 180ms ease, border-color 180ms ease;
}

.stats div:hover {
    transform: translateX(3px);
    border-left-color: #fff4df;
}

.show-section .stats {
    gap: 16px;
}

.show-section .stats div {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    padding: 14px 16px 12px;
    border-left: 3px solid #f5cf83;
    border-radius: 0 8px 8px 0;
    background:
        linear-gradient(135deg, rgba(255, 248, 234, 0.12), rgba(255, 248, 234, 0.035)),
        rgba(80, 8, 15, 0.18);
}

.show-section .stats div::after {
    content: "";
    position: absolute;
    inset: 8px 10px auto auto;
    width: 66px;
    height: 34px;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 36%, rgba(255, 244, 198, 0.98) 0 2px, transparent 3px),
        radial-gradient(circle at 58% 18%, rgba(245, 207, 131, 0.78) 0 1px, transparent 2px),
        radial-gradient(circle at 80% 68%, rgba(255, 244, 198, 0.82) 0 1.5px, transparent 2.5px);
    animation: appleheadSparkleDrift 3.6s ease-in-out infinite;
}

.show-section .stats dt {
    display: inline-block;
    color: #ffe59b;
    background: linear-gradient(90deg, #fff4c6, #f5cf83, #b8862f, #fff4c6);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(38, 16, 12, 0.28));
    animation: appleheadGoldTextShimmer 3.8s ease-in-out infinite;
}

.show-section .stats dd {
    color: rgba(255, 248, 234, 0.92);
    font-weight: 800;
}

.reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease var(--reveal-delay, 0ms), transform 520ms ease var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    h1 {
        font-size: 4.1rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .split,
    .show-grid,
    .booking-layout,
    .section-heading--wide,
    .cookie-panel__inner {
        grid-template-columns: 1fr;
    }

    .feature-list,
    .event-list,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 78px;
    }

    #show,
    #termine,
    #galerie,
    #booking {
        scroll-margin-top: 78px;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 68px 0 auto;
        display: none;
        border-top: 1px solid var(--color-line);
        background: rgba(255, 250, 241, 0.98);
        padding: 24px 16px;
    }

    .site-header .site-nav a {
        color: var(--color-paper);
    }

    body.nav-open .site-nav {
        display: block;
    }

    .site-nav__list {
        display: grid;
        gap: 14px;
    }

    .hero {
        min-height: 88vh;
    }

    .hero__content {
        padding-top: 120px;
        padding-bottom: 54px;
    }

    h1 {
        font-size: 3.1rem;
    }

    .hero__subtitle {
        font-size: 1.15rem;
    }

    .section {
        padding: 68px 0;
    }

    .feature-list,
    .event-list,
    .gallery-grid,
    .form-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 230px;
    }

    .cookie-panel {
        inset: 0;
        padding: 10px;
    }

    .cookie-panel__actions {
        justify-content: stretch;
    }

    .cookie-panel__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
