/* ================= VARIABLES ================= */

:root {
    --primary: #CD071E;
    --gold: #C9A74E;
    --dark: #2A2A2A;
    --white: #ffffff;
}

/* ================= RESET ================= */

html, body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

/* ================= CONTAINER ================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= TYPO ================= */

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* ================= HEADER ================= */


/* ================= GLOBAL LINK STYLE ================= */

/* ================= GLOBAL TEXT LINKS ================= */

/* nur normale Links im CONTENT – KEINE Navigation */
main a:not(.btn):not(.social-link):not(.back-button):not(.vip-card):not(.vip-tile):not(.maus-card),
main a:not(.btn):not(.social-link):not(.back-button):not(.vip-card):not(.vip-tile):not(.maus-card):visited {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* animierte Linie */
main a:not(.btn):not(.social-link):not(.back-button):not(.vip-card):not(.vip-tile):not(.maus-card)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* Hover */
main a:not(.btn):not(.social-link):not(.back-button):not(.vip-card):not(.vip-tile):not(.maus-card):hover {
    color: #a80518;
}

main a:not(.btn):not(.social-link):not(.back-button):not(.vip-card):not(.vip-tile):not(.maus-card):hover::after {
    width: 100%;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ================= NAVIGATION ================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: 0.3s ease;
}

/* Hover */

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* DROPDOWN */

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    list-style: none;
    min-width: 240px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu a {
    color: var(--dark);
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BURGER */

.burger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    background-size: cover;
    background-position: center 5%;
    background-repeat: no-repeat;
    height: clamp(600px, 70vh, 750px);
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    width: 100%;
    padding: 0 0 80px 0;
}

.hero-content {
    color: white;
    margin-top: 0;
}

/* ================= BUTTONS ================= */

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.primary {
    background: var(--gold);
    color: white;
}

.secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn.secondary:hover {
    background: #2A2A2A;
    border-color: #2A2A2A;
    transform: translateY(-2px);
}

.small {
    background: #2A2A2A;
    color: white;
    display: inline-block;
    margin-top: 15px;
}

/* ================= NEWS ================= */

.news {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: white;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

.card:hover img,
.card img:hover {
    transform: scale(1.06);
}

.card-content {
    padding: 20px;
}

/* NEWS TITLE EFFECT */

.news-title,
.news-title:visited {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.news-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.news-title:hover::after {
    width: 100%;
}

.card-content p a {
    color: var(--primary);
}

/* ================= HIGHLIGHT ================= */

.highlight {
    background: url("images/highlight.jpg") center/cover no-repeat;
    text-align: center;
    color: white;
}

.highlight-overlay {
    background: #CD071E;
    padding: 80px 20px;
}

/* ================= SUBPAGE ================= */

.subpage {
    margin-top: 130px;
}

.subpage-header {
    text-align: center;
    margin-bottom: 40px;
}

.subpage-header .intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
    color: #555;
}

.play-hero img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.play-text {
    padding: 70px 0;
    max-width: 800px;
}

.gallery {
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    transition: 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.roles {
    padding-bottom: 100px;
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.roles-grid img {
    width: 100%;
    border-radius: 12px;
}

/* ================= FOOTER ================= */

.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 8px;
}

/* LINKS */

.footer a,
.footer a:visited {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer a:hover::after {
    width: 100%;
}

/* FOOTER BOTTOM (zusammengeführt, nur einmal vorhanden) */

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-grid div {
    min-width: 0;
}

/* ================= SOCIAL LINKS ================= */

/* ================= SOCIAL LINKS ================= */

./* ================= SOCIAL LINKS FIX FINAL ================= */

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex !important;          /* überschreibt alles */
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
	margin-bottom: 15px;
}

.social-link img {
    width: 28px;
    height: 28px;
    display: block;
}

.social-link span {
    display: inline-block;
    line-height: 1;
}



.social-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: white;
    transform: translateX(3px);
}

.social-link:hover::after {
    width: 100%;
}

/* ================= FOOTER BOTTOM LINKS ================= */

.footer-bottom a,
.footer-bottom a:visited {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-bottom a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom a:hover::after {
    width: 100%;
}

.footer-sep {
    margin: 0 8px;
    opacity: 0.6;
}

/* ================= RESPONSIVE NAV/HEADER ================= */

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 15px 25px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }
    .nav-links.active { display: flex; }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 15px;
    }
    .dropdown.active .dropdown-menu { display: block; }

    .burger { display: block; }
    .logo img { height: 55px; }

    .subpage { margin-top: 100px; }
    .subpage-header { text-align: left; }
    .roles-grid { grid-template-columns: 1fr; }
}

/* ================= CHRONIK ================= */

.chronik-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ITEM CARD */

.chronik-item {
    display: grid;
    grid-template-columns: 140px 1fr 260px;
    align-items: center;
    gap: 35px;
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.chronik-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

/* JAHR */

.chronik-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

/* TITEL */

.chronik-title h3 {
    margin: 0;
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--dark);
    transition: all 0.3s ease;
}

.chronik-title { position: relative; }

.chronik-title::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}
.chronik-item:hover .chronik-title h3 { transform: translateX(10px); color: var(--primary); }
.chronik-item:hover .chronik-title::before { width: 10px; }

/* AUTOR */

.chronik-author {
    font-size: 1.25rem;
    color: #666;
    text-align: right;
    font-weight: 500;
}

.chronik-item,
.chronik-item:visited,
.chronik-item:hover,
.chronik-item:active {
    text-decoration: none;
    color: inherit;
}

/* MOBILE */

@media (max-width: 900px){
    .chronik-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px;
        text-decoration: none;
        color: inherit;
    }
    .chronik-author { text-align: left; }
    .chronik-year { font-size: 1.6rem; }
    .chronik-title h3 { font-size: 1.7rem; }
}

/* ================= TEAM PAGE ================= */

/* INTRO */

.team-intro {
    padding: 80px 0 40px;
    max-width: 900px;
}
.team-intro h1 { margin-bottom: 25px; }
.team-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* SUPPORT */

.team-support {
    padding: 40px 0 60px;
    max-width: 900px;
}
.team-support h2 { margin-bottom: 20px; }
.team-support a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}
.team-support a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}
.team-support a:hover::after { width: 100%; }

/* GRID */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 28px;
    padding-bottom: 80px;
}

/* CARD */

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

/* IMAGE */

.team-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
}

/* CONTENT */

.team-card h3 {
    margin: 18px 20px 10px;
    color: var(--primary);
    font-size: 1.4rem;
}

.team-card ul {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.team-card li {
    padding: 4px 0;
    color: var(--dark);
}

/* MOBILE */

@media (max-width: 768px){
    .team-intro { padding-top: 50px; }
    .team-card img { height: 380px; }
}

/* ================= IMPRESSUM ================= */

.impressum { padding: 80px 0; }

.impressum-card {
    background: white;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.impressum-card h2 {
    margin-top: 0;
    font-family: 'Playfair Display', serif;
}

.impressum-card h3 {
    margin-top: 10px;
    font-size: 1.8rem;
}

.impressum-card p {
    margin: 20px 0;
    line-height: 1.7;
}

.impressum-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.impressum-card a:hover { text-decoration: underline; }

/* GRID BOXEN */

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.impressum-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}
.impressum-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.impressum-box h3 { margin-top: 0; color: var(--primary); }
.impressum-hinweis { margin-top: 35px; font-size: 1.1rem; }
.impressum-hinweis a { color: var(--primary); font-weight: 600; text-decoration: none; }
.impressum-hinweis a:hover { text-decoration: underline; }

/* MOBILE */

@media (max-width: 768px){
    .impressum-card { padding: 25px; }
    .impressum-card h3 { font-size: 1.4rem; }
}

/* ================= DATENSCHUTZ ================= */

.datenschutz { padding: 80px 0; }

.datenschutz-card {
    background: white;
    border-radius: 18px;
    padding: 45px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.datenschutz-card h2 { margin-top: 0; font-family: 'Playfair Display', serif; }
.datenschutz-card h3 { margin-top: 35px; color: var(--primary); font-size: 1.4rem; }
.datenschutz-card p { line-height: 1.75; margin: 15px 0; }
.datenschutz-card ul { margin: 10px 0 20px 20px; padding: 0; }
.datenschutz-card li { margin-bottom: 8px; }
.datenschutz-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.datenschutz-card a:hover { text-decoration: underline; }
.datenschutz-end { margin-top: 40px; font-style: italic; opacity: 0.7; }

/* MOBILE */

@media (max-width:768px){
    .datenschutz-card { padding: 25px; }
    .datenschutz-card h3 { font-size: 1.2rem; }
}

/* ================= DISCLAIMER ================= */

.disclaimer { padding: 80px 0; }

.disclaimer-card {
    background: white;
    border-radius: 18px;
    padding: 45px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.disclaimer-card h2 { margin-top: 0; font-family: 'Playfair Display', serif; }
.disclaimer-card h3 { margin-top: 35px; color: var(--primary); font-size: 1.4rem; }
.disclaimer-card p { line-height: 1.75; margin: 15px 0; }

/* MOBILE */

@media (max-width:768px){
    .disclaimer-card { padding: 25px; }
    .disclaimer-card h3 { font-size: 1.2rem; }
}

/* ================= ANFAHRT ================= */

.anfahrt { padding: 80px 0; }
.anfahrt-intro { margin-bottom: 50px; }
.anfahrt-intro h2 { margin-top: 0; }
.anfahrt-intro p { font-size: 1.1rem; line-height: 1.7; }

.anfahrt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.anfahrt-map iframe {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.anfahrt-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.7rem;
}
.anfahrt-info p { line-height: 1.7; margin-bottom: 25px; }

/* MOBILE */

@media (max-width: 900px){
    .anfahrt-grid { grid-template-columns: 1fr; }
    .anfahrt-map iframe { height: 350px; }
}

/* ================= BASIS ================= */

.kontakt,
.karten {
    padding: 40px 0 80px 0; /* oben kleiner */
}
.karten h1 {
    margin-top: 0;
}

/* ================= INFOBOX KARTEN ================= */

.kontakt-intro {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #333;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-left: 6px solid #CD071E;
    margin-bottom: 30px;
}

.kontakt-intro br { display: block; margin-bottom: 10px; }
.kontakt-intro b { color: #111; font-weight: 600; }

.kontakt-intro b:first-of-type {
    display: block;
    background: #f5f7fa;
    padding: 14px 18px;
    border-radius: 12px;
    margin: 12px 0 18px 0;
    color: #1a1a1a;
    font-weight: 600;
    border: 1px solid #e2e6ea;
}

.kontakt-intro a {
    color: #CD071E;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(205,7,30,0.3);
    transition: all 0.2s ease;
}
.kontakt-intro a:hover { color: #a80518; border-bottom: 1px solid #a80518; }

.karten-intro { margin-bottom: 30px; font-size: 1.1rem; }

/* ================= LAYOUT ================= */

.karten-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.karten-form { flex: 1; max-width: 900px; }

.karten-info {
    flex: 1;
    background: #f4f4f4;
    padding: 25px;
    border-radius: 12px;
}

/* ================= FORM ================= */

.kontakt-form { width: 100%; max-width: 900px; }

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.kontakt-grid textarea { grid-column: 1 / -1; }

.kontakt-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

/* ================= INPUTS ================= */

.kontakt-form input:not([type="checkbox"]),
.kontakt-form textarea,
.kontakt-form select {
    width: 100%;
    border: none;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.kontakt-form select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

.kontakt-form input:not([type="checkbox"]):focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 2px #CD071E;
}

.kontakt-form textarea {
    margin-top: 15px;
    min-height: 180px;
    resize: vertical;
}

/* ================= CHECKBOX ================= */

.kontakt-copy {
    display: block;
    margin: 20px 0;
    font-size: 0.95rem;
}
.kontakt-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    transform: scale(1.4);
    margin-right: 10px;
    cursor: pointer;
}

/* ================= CAPTCHA ================= */

.kontakt-captcha { margin-bottom: 30px; }

/* ================= BUTTON ================= */

.kontakt .btn,
.karten .btn {
    padding: 18px 50px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(135deg, #CD071E, #a80518);
    color: white;
    box-shadow: 0 6px 18px rgba(205,7,30,0.3);
    transition: all 0.25s ease;
}
.kontakt .btn:hover,
.karten .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(205,7,30,0.45);
}
.kontakt .btn:active,
.karten .btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(205,7,30,0.3);
}

/* ================= FEEDBACK BOXEN ================= */

.kontakt-error {
    background: #fff1f1;
    border: 1px solid #ffb3b3;
    padding: 18px 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    color: #b30000;
    line-height: 1.6;
}
.kontakt-error br { display: block; margin-bottom: 6px; }

.kontakt-success {
    background: #edfdf3;
    border: 1px solid #8fd5a4;
    padding: 18px 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    color: #207a3c;
}

.error {
    outline: 2px solid #ff4d4d !important;
    background: #fff5f5 !important;
}

/* ================= MOBILE FORMS ================= */

@media (max-width: 800px){
    .kontakt-grid { grid-template-columns: 1fr; }
    .karten-layout { flex-direction: column; }
}

/* ================= VIP Bereich ================= */

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    margin: 30px 0;
}

.vip-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}
.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.vip-card.logout {
    background: linear-gradient(135deg, #CD071E, #a80518);
    color: #fff;
}

.vip-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.vip-box {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.vip-box.full { grid-column: 1 / -1; }
.vip-box h2 { margin-bottom: 15px; color: #CD071E; }

.vip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}
.vip-row:hover {
    background: rgba(205,7,30,0.06);
    border-left: 4px solid var(--primary);
    transform: translateX(4px);
}
.vip-row div:last-child { font-weight: 600; color: var(--primary); }
.vip-row div:first-child { font-weight: 500; }
.vip-row div:first-child::before { content: "🎂"; margin-right: 8px; }

.vip-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vip-stats span {
    font-size: 28px;
    font-weight: 700;
    display: block;
}
.vip-stats div {
    background: #fff;
    border-left: 4px solid var(--primary);
    padding: 18px;
    border-radius: 12px;
}

/* ================= VIP responsive ================= */

@media (max-width: 1024px) {
    .vip-layout { grid-template-columns: 1fr; }
    .vip-grid { grid-template-columns: repeat(2, 1fr); }
    .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) { .vip-stats { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .hero h1 { font-size: 1.8rem; text-align: left; }
    .vip-grid { grid-template-columns: 1fr; gap: 15px; }
    .vip-box { padding: 20px; }
    .vip-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    .kontakt-form select,
    .kontakt-form input,
    .kontakt-form textarea { font-size: 16px; }
    .btn { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .vip-stats { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.5rem; }
}

/* ================= SPECIALS ================= */

.specials-intro { padding: 60px 0 20px; max-width: 800px; }
.specials-intro p { font-size: 1.1rem; line-height: 1.7; color: #555; }

.specials-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 80px;
}

.special-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.special-text h2 { color: var(--primary); margin-bottom: 10px; }
.special-text p { line-height: 1.7; }

.special-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.special-gallery img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s ease;
}
.special-gallery img:hover { transform: scale(1.05); }

@media (max-width: 900px) {
    .special-item { grid-template-columns: 1fr; }
    .special-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .special-gallery { grid-template-columns: 1fr; }
    .special-gallery img { height: auto; }
}

/* ================= MAUSFLIX ================= */

.mausflix {
    background: #141414;
    color: white;
    padding: 120px 0 60px;
}
.mausflix h1 { font-size: 3rem; color: #E50914; margin-bottom: 10px; }
.mausflix-intro { color: #bbb; margin-bottom: 40px; }

.mausflix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 25px;
}

.maus-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.maus-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.maus-card:hover { transform: scale(1.05); z-index: 2; }

.maus-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.maus-card:hover .maus-overlay { opacity: 1; }

.maus-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #E50914;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.maus-title { font-size: 1.2rem; font-weight: 600; }
.maus-meta { font-size: 0.9rem; color: #aaa; }
.maus-card,
.maus-card:visited,
.maus-card:hover,
.maus-card:active { text-decoration: none; color: inherit; }
.mausflix a, .mausflix a:visited { color: inherit; text-decoration: none; }

@media (max-width: 768px) {
    .mausflix { padding-top: 100px; }
    .mausflix h1 { font-size: 2rem; }
    .maus-card img { height: 150px; }
}

.mausflix-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px left;
}
@media (max-width: 768px) {
    .mausflix-logo { max-width: 90%; margin: 10px left; }
}

/* Back Button */
.mausflix-back { margin: 10px 0 30px 0; }
.back-button {
    display: inline-block;
    color: #fff;
    background: rgba(255,255,255,0.08);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}
.back-button:hover {
    background: #e50914;
    border-color: #e50914;
    color: #fff;
}
@media (max-width: 768px) {
    .back-button { font-size: 13px; padding: 8px 14px; }
}

/* ================= INSTAGRAM / INSTAMAUS ================= */

.insta-container { max-width: 1200px; margin: auto; padding: 20px; }

.insta-header {
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.insta-logo { max-width: 400px; width: 100%; height: auto; display: block; margin: 10px 0; }
.insta-header h1 { margin: 10px 0; color: var(--dark); }
.insta-header p { color: #777; }

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    align-self: flex-end;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.instamaus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.instamaus-left { display: flex; align-items: center; gap: 20px; }
.instamaus-text { max-width: 500px; }
.instamaus-back { flex-shrink: 0; }

.instamaus-page { padding-top: 120px; }

.instamaus-page .insta-container { max-width: 1200px; margin: auto; padding: 20px; }

.instamaus-page .insta-grid {
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.instamaus-page .insta-card {
    display: flex;
    flex-direction: column;
    background: #1f1f1f;
    border-radius: 0;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    aspect-ratio: auto; /* überschreibt das generische Quadrat */
}

.instamaus-page .insta-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.instamaus-page .insta-content { padding: 15px; }
.instamaus-page .meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}
@media (max-width: 600px) {
    .instamaus-page .insta-image img { height: 180px; }
    .instamaus-page .insta-grid { grid-template-columns: 1fr; }
}

.insta-card {
    background: #1f1f1f;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s;
}

.instamaus-page .insta-card {
    position: relative;
    overflow: hidden;
    background: #111;
    transition: 0.3s ease;
}

/* Bild */
.instamaus-page .insta-image {
    position: relative;
    overflow: hidden;
}

.instamaus-page .insta-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Dunkler Verlauf */
.instamaus-page .insta-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0)
    );
}
/* Hover Effekt */
.instamaus-page .insta-card:hover .insta-image img {
    transform: scale(1.08);
}

.instamaus-page .insta-card:hover .insta-image::after {
    opacity: 1;
}

.insta-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.insta-content { padding: 15px; }
.insta-content h3 { margin: 0; font-size: 18px; }
.ort { color: #bbb; font-size: 14px; }

.instamaus-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.instamaus-title { display: flex; align-items: center; gap: 15px; justify-content: flex-start; }
.instamaus-header p { text-align: left; margin: 10px 0 20px 0; }
.instamaus-back { display: inline-block; margin: 10px 0 30px 0; }

.meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}
.insta-subline {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}
.insta-subline p { margin: 0; flex: 1 1 100%; }
.insta-subline { margin-left: auto; white-space: nowrap; align-self: center; }

@media (max-width: 600px) {
    .insta-header { padding: 15px; }
    .insta-header h1 { font-size: 1.4rem; line-height: 1.3; }
    .insta-header p { font-size: 0.95rem; }
    .back-btn { align-self: flex-start; width: auto; }
    .insta-image img { height: 180px; }
}

/* ================= INSTAMAUS DETAIL / GALLERY ================= */

.insta-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.insta-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.insta-item:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
    .insta-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .insta-gallery { grid-template-columns: 1fr; }
}

/* ================= ROLLEN ================= */

.rollen-box {
    margin-top: 30px;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.rollen-header h3 { margin: 0; font-size: 1.8rem; color: var(--primary); }
.rollen-header span { color: #777; font-size: 0.95rem; }

.rollen-table { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.rollen-row {
    display: grid;
    grid-template-columns: 90px 1fr 1.5fr;
    align-items: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f8f8f8;
    transition: all 0.2s ease;
}
.rollen-row:hover { background: rgba(205,7,30,0.08); transform: translateX(4px); }
.rollen-row .jahr { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.rollen-row .rolle { font-weight: 600; }
.rollen-row .stueck { color: #666; }

.vip-form { display: flex; flex-direction: column; gap: 15px; }
.vip-form .btn {
    background: linear-gradient(135deg, var(--primary), #a80518);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(205,7,30,0.25);
    transition: all 0.25s ease;
}
.vip-form .btn:hover { transform: translateY(-2px); background: var(--dark); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.vip-form .btn:active { transform: translateY(0); }

.rollen-head {
    display: grid;
    grid-template-columns: 90px 1fr 1.5fr;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 10px;
    padding: 0 5px;
}

@media (max-width: 700px) {
    .rollen-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 15px;
    }
    .rollen-row .jahr { font-size: 0.85rem; opacity: 0.7; }
    .rollen-row .rolle { font-size: 1rem; }
    .rollen-row .stueck { font-size: 0.9rem; }
}

/* ================= Termine / Ticketshop (konsolidiert) ================= */

/* Termin Tabelle – finale, konsolidierte Variante (ältere Duplikate entfernt) */

.termin-block { margin-top: 60px; }
.termin-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #c40000;
    margin-bottom: 6px;
}
.termin-divider { height: 3px; width: 50px; background: #c40000; margin-bottom: 25px; }

.termin-table { width: 100%; margin-top: 20px; font-size: 15px; }

.termin-head,
.termin-row {
    display: grid;
    grid-template-columns: 2fr 80px 140px 2fr 150px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
}

.termin-head {
    background: #2f2f2f;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 10px;
}
.termin-head div { color: #ffffff !important; }

.termin-row {
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

/* Zebra + Hover (nur Datenzeilen) */
.termin-row:nth-child(even):not(.termin-head):not(.termin-sum):not(.termin-total) { background: #fafafa; }
.termin-row:not(.termin-head):not(.termin-sum):not(.termin-total):hover {
    background: rgba(205,7,30,0.08);
    transform: translateX(3px);
    transition: all 0.15s ease;
}

/* Summen & Gesamt */
.termin-sum {
    margin-top: 14px;
    padding: 16px 12px;
    background: rgba(205,7,30,0.06);
    border-left: 5px solid var(--primary);
    border-top: 2px solid rgba(205,7,30,0.25);
    font-weight: 600;
}
.termin-sum .col-anzahl { font-size: 17px; color: var(--primary); }

.termin-total {
    margin-top: 22px;
    padding: 20px 14px;
    background: #ffffff;
    border: 2px solid var(--primary);
    border-left: 6px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
}
.termin-total .col-name { font-size: 18px; color: var(--dark); }
.termin-total .col-anzahl { font-size: 26px; color: var(--primary); }

/* Spaltenausrichtung */
.col-name { font-weight: 500; }
.col-anzahl { text-align: center; font-weight: 600; font-size: 14px; }
.col-bestellung { text-align: center; color: #555; }
.col-notiz { white-space: normal; word-break: break-word; max-width: 350px; color: #666; }
.col-datum { text-align: right; font-size: 14px; color: #777; white-space: nowrap; }

/* Mobile Scroll */
@media (max-width: 900px) {
    .termin-table { overflow-x: auto; }
    .termin-head, .termin-row { min-width: 900px; }
}

/* Ticketshop: Table + Stats */

.ticketshop-page .vip-stats {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.ticketshop-page .vip-stats > div {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
}

.ticketshop-page .vip-stats small {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}
.ticketshop-page .vip-stats span {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
}

/* Alle Stats einheitlich modern */

.ticketshop-page .vip-stats > div {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.ticketshop-page .vip-stats > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Zahlen */
.ticketshop-page .vip-stats span {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

/* Label */
.ticketshop-page .vip-stats small {
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #777;
}
/* === MODERN DASHBOARD TABLE === */

.ticketshop-page table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    font-size: 15px;
}

/* Header */
.ticketshop-page thead {
    background: linear-gradient(135deg, #2e2e2e, #1f1f1f);
    color: #ffffff;
}

.ticketshop-page thead th {
    padding: 18px 14px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: none;
}

/* Unter-Header (erhalten / verkauft) */
.ticketshop-page thead tr:nth-child(2) th {
    font-size: 12px;
    opacity: 0.75;
}

/* Body */
.ticketshop-page tbody td {
    padding: 10px 14px;   /* vorher 16px */
    font-size: 14px;
}

/* Erste Spalte (Name) */
.ticketshop-page tbody td:first-child {
    font-weight: 500;
}

/* Hover */
.ticketshop-page tbody tr:hover {
    background: rgba(205,7,30,0.04);
    transition: background 0.2s ease;
}

/* Vertikale Spalten-Trennung modern */
.ticketshop-page tbody td:nth-child(3),
.ticketshop-page tbody td:nth-child(5),
.ticketshop-page tbody td:nth-child(7),
.ticketshop-page tbody td:nth-child(9),
.ticketshop-page tbody td:nth-child(11) {
    border-right: 1px solid #f3f3f3;
}

/* Abrechnungsspalte */
.ticketshop-page tbody td:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* Gesamt-Zeile */
.ticketshop-page tfoot td {
    background: linear-gradient(135deg, #2e2e2e, #1f1f1f);
    color: #ffffff;
    font-weight: 600;
    padding: 18px 14px;
    font-size: 16px;
    border: none;
}

/* Abrechnungsspalte strukturieren */
.ticketshop-page tbody td:last-child {
    font-weight: 500;
    text-align: right;
    line-height: 1.3;
}

/* Offen (erste Zahl) */
.ticketshop-page .betrag-offen {
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
}

/* Wenn > 0 dann rot */
.ticketshop-page .betrag-offen.ist-offen {
    color: var(--primary);
}

/* Bezahlt */
.ticketshop-page .betrag-bezahlt {
    font-size: 12px;
    color: #777;
    display: block;
}

/* Wenn vollständig bezahlt */
.ticketshop-page .voll-bezahlt .betrag-offen {
    color: #2e7d32; /* modernes Grün */
}
.total-row td{
    background:#2f2f2f !important;
    color:#ffffff !important;
    font-weight:bold;
}

.total-sum{
    font-size:16px;
    color:#ffffff !important;
}

.total-row .betrag-offen,
.total-row .betrag-bezahlt{
    display:inline;
    color:#ffffff !important;
}

/* Runde Ecken unten */
.ticketshop-page tfoot tr td:first-child {
    border-bottom-left-radius: 18px;
}

.ticketshop-page tfoot tr td:last-child {
    border-bottom-right-radius: 18px;
}
/* Gruppierte Headerdetails */
.ticketshop-page .group-head th {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 10px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ticketshop-page .sub-head th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 10px 6px 16px;
    opacity: 0.8;
}
.ticketshop-page .group-head th:not(:first-child):not(.pay-head) {
    border-left: 1px solid rgba(255,255,255,0.08);
}
.ticketshop-page .sub-head th:nth-child(3),
.ticketshop-page .sub-head th:nth-child(5),
.ticketshop-page .sub-head th:nth-child(7),
.ticketshop-page .sub-head th:nth-child(9) {
    border-right: 1px solid rgba(255,255,255,0.08);
}
.ticketshop-page .pay-head,
.ticketshop-page .abrechnung-col {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Body Grouping */
.ticketshop-page tbody td:nth-child(3),
.ticketshop-page tbody td:nth-child(5),
.ticketshop-page tbody td:nth-child(7),
.ticketshop-page tbody td:nth-child(9) { border-right: 1px solid #e6e6e6; }
.ticketshop-page tbody td:nth-child(2),
.ticketshop-page tbody td:nth-child(4),
.ticketshop-page tbody td:nth-child(6),
.ticketshop-page tbody td:nth-child(8) { padding-right: 14px; }
.ticketshop-page tbody td:nth-child(3),
.ticketshop-page tbody td:nth-child(5),
.ticketshop-page tbody td:nth-child(7),
.ticketshop-page tbody td:nth-child(9) { padding-left: 14px; }
.ticketshop-page tbody td:last-child { background: #fafafa; font-weight: 500; }

/* Mobile Scroll */
@media (max-width: 1200px) {
    .ticketshop-page .vip-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
    .ticketshop-page .vip-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .ticketshop-page .vip-stats { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .ticketshop-page { overflow-x: auto; }
    .ticketshop-page table { min-width: 1100px; }
}
.ticketshop-page::-webkit-scrollbar { height: 8px; }
.ticketshop-page::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; }

/* ================= VIP Termine ================= */

.vip-termin-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
}
.vip-termin-row:hover { background: rgba(205,7,30,0.06); transform: translateX(4px); }
.termin-left { max-width: 75%; }
.termin-date { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ================= Edit Panel ================= */

.edit-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 40px;
    margin: 25px 0 60px 0;
    border-left: 6px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
}
.edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 30px;
}


.edit-grid > div:last-child { grid-column: 1 / -1; margin-top: 10px; }

.edit-grid .full {
    grid-column: 1 / -1;
}

.edit-panel input,
.edit-panel select {
    height: 46px;
}
.checkbox-row {
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}
.edit-grid label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
    letter-spacing: 0.3px;
}

.edit-panel input,
.edit-panel select,
.edit-panel textarea {
    width:100%;
    padding:14px 18px;
    border-radius:14px;
    border:1px solid #e5e5e5;
    background:#f6f6f6;
    font-family:inherit;
    font-size:14px;
    transition: all 0.2s ease;
}
.edit-panel textarea {
    min-height:120px;
    resize: vertical;
    line-height:1.5;
}
.edit-panel input:focus,
.edit-panel select:focus,
.edit-panel textarea:focus {
    outline:none;
    background:#ffffff;
    border:1px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(205,7,30,0.10);
}

.edit-actions {
    margin-top:25px;
    display:flex;
    justify-content:flex-end;
    gap:15px;
}

/* Ticketshop Edit-Layout FINAL */
/* Ticketshop Edit Layout – korrekt gestapelt */

.edit-panel .edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 22px;
    align-items: start;
}

/* Anzahl */
.edit-panel .edit-grid > div:nth-child(1) {
    grid-column: 1;
}

/* Notiz */
.edit-panel .edit-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 3; /* nimmt rechte Höhe ein */
}

/* Termin */
.edit-panel .edit-grid > div:nth-child(3) {
    grid-column: 1;
}

/* Freikarte */
.edit-panel .edit-grid > div:nth-child(4) {
    grid-column: 1;
}

.edit-panel select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;

    padding-right: 45px; /* Platz für Pfeil */
}
.btn-clean {
    padding:14px 28px;
    border-radius:40px;
    border:none;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
    transition: all 0.25s ease;
}

.btn-add{
    background: linear-gradient(135deg, var(--primary), #a80518);
    color:#fff;
    box-shadow:0 8px 22px rgba(205,7,30,0.25);
}

.btn-add:hover{
    transform: translateY(-2px);
    box-shadow:0 12px 28px rgba(205,7,30,0.35);
}
.btn-save {
    background: linear-gradient(135deg, var(--primary), #a80518);
    color:#fff;
    box-shadow: 0 8px 22px rgba(205,7,30,0.25);
}
.btn-save:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(205,7,30,0.35); }
.btn-delete { background:#f4f4f4; color:#555; }
.btn-delete:hover { background:#e8e8e8; transform: translateY(-2px); }
.btn-cancel { background:#ffffff; border:1px solid #ddd; }
.btn-cancel:hover { background:#f5f5f5; transform: translateY(-2px); }

.note-preview {
    max-height: 60px;
    overflow: hidden;
    position: relative;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
}
.note-preview.expanded { max-height: none; }

.edit-panel input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary);
}

@media (max-width: 900px){
    .edit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px){
    .edit-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .edit-actions .btn-clean { width: 100%; text-align: center; }
}

@media (max-width: 900px){

    .edit-panel .edit-grid {
        grid-template-columns: 1fr;
    }

    /* ALLE Felder wieder normal stapeln */
    .edit-panel .edit-grid > div {
        grid-column: auto !important;
        grid-row: auto !important;
    }

}

.ticketshop-page .vip-stats {
    margin: 25px 0 40px 0;
}
/* ================= Dirty Field ================= */

.field-dirty {
    border:2px solid #d40000 !important;
    box-shadow:0 0 0 2px rgba(212,0,0,0.15);
    background:#fff5f5;
}

/* ================= Verkauf / Panels ================= */

.summary-box {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
    margin-bottom:15px;
    font-size:14px;
}

.verkauf-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}
.verkauf-name { width:220px; font-weight:500; }
.verkauf-col { display:flex; align-items:center; gap:10px; }
.verkauf-col input {
    width:70px;
    padding:5px;
    border-radius:6px;
    border:1px solid #ccc;
    text-align:center;
}
.verkauf-summary { margin-top:20px; font-size:16px; }
.verkauf-payment { margin-top:20px; }
.verkauf-payment input { width:120px; padding:6px; }

.verkauf-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 20px;
}
.verkauf-left, .verkauf-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.verkauf-line { display: flex; flex-direction: column; gap: 6px; }
.verkauf-label { font-size: 15px; margin-bottom: 4px; font-weight: 600; }

.verkauf-row {
    display: grid;
    grid-template-columns: 140px 160px 160px;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.verkauf-panel-inner input[type="number"] {
    width: 140px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    font-size: 14px;
    transition: all 0.2s ease;
}
.verkauf-panel-inner input[type="number"]:focus {
    border-color: #d40000;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(212,0,0,0.08);
}

.modern-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
    font-size: 15px;
}
.summary-left div, .summary-right div { margin-bottom: 8px; }
.summary-rest { border-top: 1px solid #ccc; padding-top: 8px; margin-top: 8px; }
.summary-rest span { font-weight: 600; }

.verkauf-table { margin-top:30px; }
.verkauf-head {
    display:grid;
    grid-template-columns: 220px 180px 180px;
    gap: 40px;
    padding:0 0 12px 0;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#777;
    border-bottom:1px solid #eee;
    margin-bottom:10px;
}
.verkauf-row-modern{
    display:grid;
    grid-template-columns: 220px 180px 180px;
    gap: 40px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #f0f0f0;
}
.verkauf-title{ font-weight:600; }

.verkauf-panel-inner input[type="number"]:focus{
    border-color:var(--primary);
    background:#fff;
    box-shadow:0 0 0 2px rgba(205,7,30,0.12);
}
.einzahlung-row{ border-top:2px solid #eee; margin-top:10px; padding-top:20px; }

@media(max-width:900px){
    .verkauf-head{ display:none; }
    .verkauf-row-modern{ grid-template-columns:1fr; gap:14px; padding:18px 0; }
    .verkauf-title{ margin-bottom:4px; }
    .verkauf-row-modern div:nth-child(2)::before{
        content:"Erhalten"; display:block; font-size:12px; text-transform:uppercase; letter-spacing:1px; color:#888; margin-bottom:6px;
    }
    .verkauf-row-modern div:nth-child(3)::before{
        content:"Verkauft"; display:block; font-size:12px; text-transform:uppercase; letter-spacing:1px; color:#888; margin-bottom:6px;
    }
    .einzahlung-row div:nth-child(2)::before{ content:"Betrag"; }
}

.btn-abholen{ background:#f7f7f7; color:#333; border:1px solid #ddd; }
.btn-abholen:hover{ background:#eaeaea; transform:translateY(-2px); }

.vip-highlight{
    background: linear-gradient(135deg, #CD071E, #a80518);
    color: #fff;
    border-left: 4px solid #fff;
}



/* ================= CAFÉ ================= */

.cafe-intro { padding: 80px 0 40px; max-width: 800px; }
.cafe-intro h2 { color: var(--primary); margin-bottom: 20px; }
.cafe-intro p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 20px; color: #555; }

.cafe-gallery { padding-bottom: 60px; }

.cafe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.cafe-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.cafe-grid img:hover { transform: scale(1.04); }

.cafe-info-box { padding-bottom: 80px; }
.cafe-box {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-left: 6px solid var(--primary);
}
.cafe-box h3 { margin-top: 0; color: var(--primary); }

@media (max-width: 900px) {
    .cafe-grid { grid-template-columns: 1fr; }
    .cafe-grid img { height: auto; }
}

/* ================= HERO MOBILE (konsolidiert) ================= */

@media (max-width: 768px) {
    .hero { height: 60vh; min-height: 400px; margin-bottom:40px; display: flex; align-items: flex-end; }
    .hero-overlay { padding: 0 20px 30px 20px; }
    .hero-content { text-align: left; max-width: 100%; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
    .hero h1 { font-size: 1.8rem; text-align: left; }
}

/* =====================================================
   3. VIP TILES (MEDIA STYLE)
===================================================== */

.vip-tile {
    background: #fff;
    border-radius: 20px;
    height: 140px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.25s ease;
    overflow: hidden;
}

.vip-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vip-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Logout */
.vip-tile.logout {
    background: #f4f4f4;
    color: #666;
    font-size: 42px;   /* ← HIER größer machen */
}

/* Hover */
.vip-tile.logout:hover {
    background: #eaeaea;
    color: var(--primary);
}
.ticketshop-page {
    margin-top: 40px !important;
}

.ticketshop-page .vip-stats {
    margin-top: 20px;
}
.kontakt-grid input[type="email"] {
    grid-column: 1 / -1;
}
/* =============================
   FOOTER LINKS FIX – BLEIBEN WEISS
============================= */

.footer a:not(.social-link),
.footer a:not(.social-link):visited {
    color: rgba(255,255,255,0.85) !important;
}

/* Hover */
.footer a:not(.social-link):hover {
    color: #ffffff !important;
}

/* Linie im Footer bleibt rot */
.footer a::after {
    background: var(--primary);
}

/* ================= FINAL TABLE COMPACT FIX ================= */

.ticketshop-page tbody td {
    padding: 6px 12px !important;
    font-size: 13px;
    line-height: 1.2;
}

.ticketshop-page thead th {
    padding: 14px 10px !important;
    font-size: 13px;
}

.ticketshop-page thead tr:nth-child(2) th {
    padding: 8px 6px !important;
    font-size: 11px;
}

/* Gesamtzeile komplett weiß */
.ticketshop-page tfoot td,
.ticketshop-page .total-row td {
    background: linear-gradient(135deg, #2e2e2e, #1f1f1f) !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Gesamtsumme rechts */
.ticketshop-page .total-sum {
    color: #ffffff !important;
    font-size: 16px;
}

/* Abrechnungsspalte kompakter */
.ticketshop-page tbody td:last-child {
    padding: 6px 14px !important;
    line-height: 1.1;
}
/* ================= MOBILE SCROLL INDICATOR ================= */

.scroll-indicator {
    display: none;
}

@media (max-width: 900px) {

    .scroll-indicator {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #777;
        margin-bottom: 10px;
        opacity: 0.9;
        animation: fadeIn 0.6s ease forwards;
    }

    .scroll-indicator .arrows {
        display: flex;
        gap: 4px;
    }

    .scroll-indicator .arrows span {
        width: 6px;
        height: 6px;
        border-right: 2px solid var(--primary);
        border-bottom: 2px solid var(--primary);
        transform: rotate(-45deg);
        animation: swipeAnim 1.4s infinite;
        opacity: 0;
    }

    .scroll-indicator .arrows span:nth-child(1) {
        animation-delay: 0s;
    }
    .scroll-indicator .arrows span:nth-child(2) {
        animation-delay: 0.2s;
    }
    .scroll-indicator .arrows span:nth-child(3) {
        animation-delay: 0.4s;
    }
}

/* Animation */
@keyframes swipeAnim {
    0%   { transform: translateX(0) rotate(-45deg); opacity: 0; }
    50%  { transform: translateX(6px) rotate(-45deg); opacity: 1; }
    100% { transform: translateX(12px) rotate(-45deg); opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 0.9; transform: translateY(0); }
}

.termin-row.vip-highlight{
    background:#fff5f5;
    border-left:5px solid var(--primary);
    font-weight:600;
}

.termin-row.vip-highlight .col-name{
    color:var(--primary);
}

/* Anzahl wieder normal dunkel */
.termin-row.vip-highlight .col-anzahl{
    color:var(--dark);
}
.subpage{
    margin-bottom: 80px;
}

/* ================= LOGIN REQUIRED ================= */

.login-box{
    max-width:500px;
    margin:50px auto 10px auto;
    background:#ffffff;
    border-radius:18px;
    padding:10px 40px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
    border-left:6px solid var(--primary);
}

.login-box h1{
    margin-top:0;
    color:var(--primary);
}

.login-box p{
    margin:15px 0;
    font-size:1.05rem;
}
.login-box .btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 26px;
    border-radius:30px;
    background:#c01818;      /* Mäuse Rot */
    color:#ffffff;
    font-weight:600;
    text-decoration:none;
    transition:all .25s ease;
}

/* Hover Effekt */
.login-box .btn:hover{
    background:#9f1414;
    transform:translateY(-2px);
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
}
@media (min-width: 1000px){

.login-box{
    max-width:1000px;
    padding:30px 80px;
}

/* ================= DRUCKVERSION ================= */
@page {
    size: A4 portrait;
    margin: 15mm;
}
@media print {

/* Seitenlayout */
body{
    background:white;
    font-size:12px;
}

/* alles ausblenden was nicht gedruckt werden soll */
header,
.nav-wrapper,
.insta-container,
.vip-stats,
.back-btn,
.btn-clean,
.edit-panel,
.verkauf-panel,
.scroll-indicator,
footer{
    display:none !important;
}

/* Hauptbereich */
.ticketshop-page{
    margin:0;
    padding:0;
}

/* Tabellen */
.ticketshop-page table{
    box-shadow:none;
    border:1px solid #000;
    font-size:12px;
}

.ticketshop-page th{
    background:#eee !important;
    color:#000 !important;
}

/* ================= TERMIN BLOECKE ================= */

/* jede Vorstellung neue Seite */
.termin-block{
    page-break-before: always;
    break-before: page;
}

/* erste Vorstellung nicht umbrechen */
.termin-block:first-of-type{
    page-break-before: auto;
}

/* Block zusammenhalten */
.termin-block{
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Tabellenstruktur stabilisieren */
.termin-table{
    display:block;
}

/* Kopf fix */
.termin-head{
    font-weight:bold;
}

/* Zeilen */
.termin-row{
    page-break-inside: avoid;
}

/* Summen */
.termin-sum,
.termin-total{
    font-weight:bold;
}

/* Überschrift kompakt */
.termin-header h2{
    font-size:18px;
    margin:0 0 10px 0;
}

/* Linie entfernen */
.termin-divider{
    display:none;
}
.print-hide{
    display:none !important;
}
}

.insta-subline{
    display:flex;
    align-items:center;
    width:100%;
    gap:20px;
}

/* Zurück Button links */
.insta-subline .back-btn{
    flex:0 0 auto;
}

/* Druckbutton ganz rechts */
.insta-subline .btn-clean{
    margin-left:auto;
    background:#e9e9e9;
}

/* Hover Effekt */
.insta-subline .btn-clean:hover{
    background:#dcdcdc;
    transform:translateY(-1px);
}