body {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    color: #232323;
    min-height: 100vh;
}

/* SCHLANKER HEADER MIT BILD */
.header {
    position: relative;
    height: 140px;
    min-height: 110px;
    max-height: 180px;
    padding: 0;
    box-shadow: none;
    border-radius: 0 0 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: transparent;
    overflow: hidden;
}
.header-bg-image {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: url('/assets/img/header/header.jpg') center top/cover no-repeat;
    z-index: 1;
    opacity: 1;
}
.header-bg-image::after {
    content: "";
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.73); /* Overlay für Lesbarkeit! */
    z-index: 2;
}
.header-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
}
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    max-width: 175px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* INFO-BAR UNTER DEM HEADER */
.header-info-bar {
    max-width: 1100px;
    margin: -20px auto 0.4em auto;
    background: #fff;
    border-radius: 1.3rem;
    box-shadow: 0 4px 20px 0 rgba(250, 160, 80, 0.08);
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.header-info-main .header-title {
    font-size: 1.26rem;
    color: #222;
    font-weight: 400;
    margin-bottom: 0.18em;
    line-height: 1.32;
}
.header-info-main .header-claim {
    color: #fa8800;
    font-weight: bold;
    font-size: 1.09rem;
    margin-bottom: 0;
}

.header-info-counters {
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 1.13rem;
    flex-wrap: wrap;
    align-items: center;
}
.header-info-counters .counter {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}
.counter.free    { color: #948000; }
.counter.reserved { color: #f9a825; }
.counter.taken   { color: #ff9800; font-weight: bold; }
.counter-total   { color: #b9b9b9; font-size: 0.98em; margin-left: 1em; }

.header-info-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-top: 0.2em;
}
.header-info-platforms img {
    width: 22px; height: 22px;
    filter: drop-shadow(0 1px 4px #ffe08250);
}
.header-info-platformtext {
    color: #888;
    font-size: 0.96em;
    margin-top: 0.08em;
    margin-bottom: -0.12em;
    letter-spacing: 0.01em;
}
.header-info-note {
    font-size: 0.99em;
    color: #777;
    margin-top: 0.35em;
}
@media (max-width: 700px) {
    .header-info-bar {
        padding: 1.1rem 0.6rem 1rem 0.6rem;
        border-radius: 1rem;
        gap: 0.85rem;
        font-size: 0.96rem;
        margin: -16px auto 1.2em auto;
    }
    .header-info-main .header-title {
        font-size: 1.06rem;
    }
    .header-info-counters {
        gap: 1.1em;
        font-size: 1.01rem;
    }
}


/* Optional: Dekorative Pixel */
.header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -13px;
    transform: translateX(-50%);
    width: 58px;
    height: 11px;
    background: repeating-linear-gradient(
        90deg,
        #ff9800, #ffd180 10px, #fffde7 10px, #ffe082 20px
    );
    border-radius: 0 0 6px 6px;
    opacity: 0.7;
    filter: blur(0.5px);
    pointer-events: none;
    z-index: 4;
}
.footer {
    text-align: center;
    margin-top: 2.5rem;
    color: #fff; /* Hell für starken Kontrast */
    font-size: 1.07rem;
    background: linear-gradient(90deg, #e65100 0%, #f57c00 100%);
    padding: 2.2em 0 1.2em 0;
    border-top: 2.5px solid #fff3e0;
    box-shadow: 0 -2px 18px #ffb74d80;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    margin: 0 0.9em;
    font-weight: 600;
    transition: color 0.16s;
    outline: none;
}
.footer-links a:hover, .footer-links a:focus {
    color: #ffe082;
    text-decoration: underline;
}

.footer-copy {
    color: #ffe082;
    font-size: 1.01rem;
    margin-top: 0.7em;
    text-shadow: 0 1px 7px #4e260021;
}

.cta-btn {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.18rem;
    border-radius: 2rem;
    box-shadow: 0 2px 6px #ffd180;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.cta-btn:hover {
    background: #fb8c00;
}

.pixel-wall-preview {
    display: grid;
    grid-template-columns: repeat(100, 15px);
    grid-template-rows: repeat(100, 15px);
    gap: 0;
    width: max-content;
    margin: 0.5rem auto 0 auto;
    background: rgba(255,255,255,0.75);
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    overflow-x: auto;
}

.pixel {
    width: 15px;
    height: 15px;
    background: #fffde7;
    border: 1px solid #ffe082;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s;
}

.pixel:hover {
    background: #ffd54f;
    border-color: #ffa726;
}

.pixel.selected {
    background: #ff9800 !important;
    border-color: #fb8c00 !important;
}

.pixel.taken {
    cursor: pointer;
    border: 1px solid #e0e0e0;
    opacity: 1;
}
.pixel.taken:hover {
    filter: brightness(1.1) saturate(1.2);
}

/* --- Für belegte Blöcke: KEINE UMRAHMUNG mehr! --- */
.block-taken {
    border: none !important;
    box-sizing: border-box;
    background-color: transparent !important;
    /* Bild als Hintergrund wird inline gesetzt */
    cursor: pointer;
    display: block;
}

.pixel.block-taken .platform-badge {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 20px;
    height: 20px;
    display: none;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px #fff);
}
.pixel.block-taken:hover .platform-badge {
    display: block;
    animation: pop-in 0.21s;
}
@keyframes pop-in {
    from { transform: scale(0.7); opacity: 0;}
    to   { transform: scale(1);   opacity: 1;}
}

/* Schwebe-Buchungsbar */
#booking-bar,
#booking-bar-float {
    transition: opacity 0.3s;
}
#booking-bar.hidden,
#booking-bar-float:not(.visible) {
    display: none;
    opacity: 0;
    pointer-events: none;
}
#booking-bar.visible,
#booking-bar-float.visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.checkout-content {
    background: rgba(255,255,255,0.9);
    margin: 40px auto 60px auto;
    max-width: 420px;
    border-radius: 16px;
    padding: 32px 24px 20px 24px;
    box-shadow: 0 10px 32px rgba(252,150,80,0.08);
}

.checkout-content h1 {
    margin-top: 0;
    font-size: 2.1rem;
}

.checkout-form .form-group {
    margin-bottom: 22px;
}

.checkout-form input[type="text"],
.checkout-form input[type="url"],
.checkout-form input[type="email"],
.checkout-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1.1rem;
    border: 1px solid #ffe082;
    border-radius: 8px;
    margin-top: 6px;
    box-sizing: border-box;
}

.checkout-form textarea {
    min-height: 60px;
    resize: vertical;
}

.platform-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.platform-select label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fffbe8;
    border: 1px solid #ffd180;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: border 0.2s, background 0.2s;
}

.platform-select input[type="radio"] {
    margin-right: 4px;
}

.platform-select input[type="radio"]:checked + .platform-icon {
    outline: 2px solid #ff9800;
    outline-offset: 2px;
}

.platform-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.platform-icon.instagram   { background-image: url('/assets/img/instagram.png'); }
.platform-icon.tiktok     { background-image: url('/assets/img/tiktok.png'); }
.platform-icon.facebook   { background-image: url('/assets/img/facebook.png'); }
.platform-icon.x          { background-image: url('/assets/img/twitter.png'); }
.platform-icon.linkedin   { background-image: url('/assets/img/linkedin.png'); }
.platform-icon.website    { background-image: url('/assets/img/website.png'); }

/* Pixelavatar-Upload Vorschau */
#pixel-avatar-preview {
    margin-top: 10px;
    width: 100px;
    height: 100px;
    border: 2px dashed #ffd180;
    background: #fffbe8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#pixel-avatar-preview img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.success-box {
    background: linear-gradient(100deg, #fffde7 40%, #ffe082 100%);
    border: 2px solid #ffd180;
    border-radius: 18px;
    padding: 20px 20px 12px 20px;
    margin-bottom: 1em;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255,192,80,0.09);
    position: relative;
}
.success-box .checkmark {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    font-weight: bold;
    font-size: 2.1em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    line-height: 1.5em;
    margin-bottom: 0.25em;
    box-shadow: 0 2px 8px #4caf5022;
}
.success-box .amount {
    font-weight: bold;
    color: #ff9800;
    letter-spacing: 0.5px;
}
.success-box .bank-details {
    margin: 0.8em 0 0.7em 0;
    font-size: 1.07em;
    text-align: left;
    display: inline-block;
}
.success-box .iban .bic {
    font-family: 'Fira Mono', 'Courier New', Courier, monospace;
    font-size: 1em;
    letter-spacing: 1px;
    background: #fffbe8;
    border-radius: 6px;
    padding: 2px 6px;
    margin-left: 2px;
}

.qr-box {
    margin: 1em 0 0.3em 0;
}
.qr-box img {
    border: 2px solid #ffe082;
    background: #fffbe8;
    padding: 4px;
    border-radius: 10px;
    width: 140px;
    height: 140px;
    object-fit: contain;
}
.pixel-counter-bar {
    display: flex;
    justify-content: center;
    gap: 2.1em;
    font-size: 1.14rem;
    color: #444;
    align-items: center;
    margin: 0.85em auto 0.1em auto;
    width: 100%;
    flex-wrap: wrap;
}
.pixel-counter-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.37em;
    white-space: nowrap;
}
.counter-dot {
    width: 14px; height: 14px;
    display: inline-block;
    border-radius: 3px;
    border: 1.7px solid #ffe082;
    margin-right: 0.18em;
}
.counter-dot.free      { background: #fffbe8; }
.counter-dot.reserved  { background: #ffe082; border-color: #ffd180; }
.counter-dot.taken     { background: #ff9800; border-color: #fb8c00; }
.counter-total {
    color: #b9b9b9; font-size: 0.98em; margin-left: 1.2em;
}
@media (max-width: 700px) {
    .pixel-counter-bar {
        gap: 1em;
        font-size: 1em;
        flex-wrap: wrap;
    }
}


@keyframes hintHand {
  0%   { transform: translateY(0) scale(1);}
  40%  { transform: translateY(2px) scale(1.04);}
  70%  { transform: translateY(-7px) scale(1.09);}
  100% { transform: translateY(0) scale(1);}
}

