/* ========================================================================== */
/* VIVA Detail – Firmenkunden / Terminbuchung                                */
/* Diese Datei ergänzt die bestehende style.css und überschreibt sie nicht.  */
/* ========================================================================== */

.header-login {
    padding: 10px 16px;
    border-radius: 999px;
    background: #D91929;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .15s ease, opacity .15s ease;
}

.header-login:hover { transform: translateY(-1px); }

@media (max-width: 900px) {
    .header-login { margin-left: auto; }
    .header-cta { margin-left: 0 !important; }
}

@media (max-width: 620px) {
    .header-cta { display: none; }
    .header-login { padding: 9px 14px; font-size: 12px; }
}

.business-login-page,
.business-area-page {
    --business-bg: #f3f3ef;
    --business-card: #fff;
    --business-ink: #141416;
    --business-muted: #74767b;
    --business-line: #e2e3de;
    --business-dark: #0f0f10;
    --business-accent: #e7ff43;
    margin: 0;
    min-height: 100vh;
    background: var(--business-bg);
    color: var(--business-ink);
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    -webkit-font-smoothing: antialiased;
}

.business-login-page * ,
.business-area-page * { box-sizing: border-box; }

.business-login-shell {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 96px 20px 40px;
    position: relative;
    background:
        radial-gradient(circle at 25% 15%, rgba(231,255,67,.11), transparent 31%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.07), transparent 30%),
        #0f0f10;
}

.business-login-shell > .business-logo {
    position: absolute;
    top: 25px;
    left: clamp(20px,4vw,56px);
}

.business-logo { display: inline-flex; align-items: center; text-decoration: none; }
.business-logo img { display:block; width:auto; height:42px; object-fit:contain; }

.business-login-card {
    width: min(470px,100%);
    border-radius: 26px;
    background: #fff;
    padding: clamp(25px,5vw,38px);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.business-eyebrow {
    margin: 0 0 10px;
    color: #777a80;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.business-login-card h1,
.business-welcome h1 {
    margin: 0;
    letter-spacing: -.055em;
    line-height: .98;
}

.business-login-card h1 { font-size: clamp(34px,8vw,50px); }
.business-login-card > p:not(.business-eyebrow) { margin: 15px 0 24px; color:#707279; line-height:1.6; font-size:14px; }

.business-form { display:grid; gap:16px; }
.business-form label,
.booking-form label.booking-date-label { display:grid; gap:8px; font-size:12px; font-weight:750; color:#4e5055; }

.business-form input,
.booking-form input[type="date"] {
    width:100%;
    height:48px;
    border:1px solid #d9dbd6;
    border-radius:12px;
    background:#fff;
    padding:0 13px;
    color:#18191b;
    font:inherit;
    outline:none;
}

.business-form input:focus,
.booking-form input[type="date"]:focus {
    border-color:#9da199;
    box-shadow:0 0 0 4px rgba(15,15,16,.05);
}

.business-button {
    min-height:48px;
    border:0;
    border-radius:12px;
    background:#111214;
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:0 18px;
}

.business-button:hover { background:#27282b; }
.business-back { display:inline-block; margin-top:20px; color:#787a7f; font-size:12px; text-decoration:none; }

.business-message {
    margin:0 0 18px;
    padding:13px 15px;
    border-radius:12px;
    font-size:13px;
    line-height:1.45;
    border:1px solid;
}
.business-message.error { background:#fff1f2; border-color:#efc8cc; color:#a42f39; }
.business-message.success { background:#edf9f1; border-color:#c6e9d2; color:#17633e; }
.business-message.warning { background:#fff8e8; border-color:#eedda8; color:#7b5b0a; }

.business-header {
    height:78px;
    padding:0 clamp(20px,5vw,70px);
    background:#0f0f10;
    color:#fff;
    display:flex;
    align-items:center;
    gap:20px;
}

.business-header-right {
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:16px;
    font-size:12px;
    color:#b8b9bd;
}

.business-header-right a {
    color:#fff;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.2);
    border-radius:999px;
    padding:8px 12px;
    font-weight:700;
}

.business-main {
    width:min(1120px,calc(100% - 40px));
    margin:0 auto;
    padding:clamp(48px,7vw,84px) 0 80px;
}

.business-welcome { max-width:780px; margin-bottom:36px; }
.business-welcome h1 { font-size:clamp(43px,7vw,76px); }
.business-welcome > p:last-child { color:#73757a; font-size:15px; line-height:1.6; margin:18px 0 0; }

.booking-card,
.appointments-card {
    background:#fff;
    border:1px solid var(--business-line);
    border-radius:24px;
    padding:clamp(20px,4vw,32px);
    box-shadow:0 8px 30px rgba(23,25,30,.035);
}

.appointments-card { margin-top:18px; }
.booking-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:27px; }
.booking-card-head h2 { margin:0; font-size:clamp(23px,4vw,32px); letter-spacing:-.04em; }
.booking-rule { font-size:11px; font-weight:800; color:#6e7075; background:#f3f3ef; border-radius:999px; padding:8px 11px; white-space:nowrap; }

.booking-form { display:grid; grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr); gap:28px; align-items:start; }
.booking-date-label { grid-column:1; }
.slot-block { grid-column:2; grid-row:1 / span 2; }
.slot-title { display:block; margin-bottom:8px; color:#4e5055; font-size:12px; font-weight:750; }
.slot-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.slot-option { position:relative; cursor:pointer; }
.slot-option input { position:absolute; opacity:0; pointer-events:none; }
.slot-option-inner {
    display:flex;
    flex-direction:column;
    gap:7px;
    min-height:132px;
    padding:17px;
    border:1px solid #dedfda;
    border-radius:15px;
    background:#fbfbf8;
    transition:border-color .15s, background .15s, transform .15s;
}
.slot-option small { color:#85878b; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.slot-option strong { font-size:17px; letter-spacing:-.025em; }
.slot-option em { margin-top:auto; color:#85878b; font-size:11px; font-style:normal; font-weight:750; }
.slot-option.free:hover .slot-option-inner { transform:translateY(-1px); border-color:#b9bcb5; }
.slot-option input:checked + .slot-option-inner { border-color:#111214; box-shadow:0 0 0 2px #111214 inset; background:#fff; }
.slot-option input:checked + .slot-option-inner em { color:#21734d; }
.slot-option.disabled { cursor:not-allowed; }
.slot-option.disabled .slot-option-inner { opacity:.48; background:#f1f1ee; }
.availability-note { margin:10px 0 0; color:#85878b; font-size:11px; line-height:1.5; }
.booking-submit { grid-column:1; align-self:end; width:100%; }

.customer-appointment-list { display:grid; gap:9px; }
.customer-appointment {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) auto;
    gap:18px;
    align-items:center;
    padding:16px 0;
    border-top:1px solid #ecece8;
}
.customer-appointment:first-child { border-top:0; }
.customer-appointment div { display:grid; gap:4px; }
.customer-appointment small { color:#8a8c90; font-size:9px; font-weight:850; letter-spacing:.09em; }
.customer-appointment strong { font-size:13px; }
.appointment-status { color:#1f744b; background:#ebf8f0; border-radius:999px; padding:7px 10px; font-size:10px; font-weight:850; }
.cancel-hint { margin:18px 0 0; color:#8a8c90; font-size:11px; }

.cancel-card { width:min(540px,100%); }
.cancel-summary { display:grid; gap:13px; padding:18px; background:#f4f4f0; border-radius:14px; margin:22px 0; }
.cancel-summary div { display:grid; gap:3px; }
.cancel-summary small { color:#85878b; font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.cancel-summary strong { font-size:14px; }
.danger-button { width:100%; background:#b93440; }
.danger-button:hover { background:#a22c37; }
.business-button-link { margin-top:12px; }

@media (max-width: 760px) {
    .business-header { height:70px; padding:0 18px; }
    .business-logo img { height:36px; }
    .business-header-right > span { display:none; }
    .business-main { width:min(100% - 28px,1120px); padding-top:42px; }
    .booking-card-head { display:grid; }
    .booking-rule { justify-self:start; }
    .booking-form { grid-template-columns:1fr; gap:20px; }
    .booking-date-label,.slot-block,.booking-submit { grid-column:1; grid-row:auto; }
    .slot-grid { grid-template-columns:1fr 1fr; }
    .customer-appointment { grid-template-columns:1fr; gap:10px; }
    .appointment-status { justify-self:start; }
}

@media (max-width: 480px) {
    .slot-grid { grid-template-columns:1fr; }
    .slot-option-inner { min-height:106px; }
    .business-login-shell { padding-left:14px; padding-right:14px; }
}

/* SVG-Logos in den bestehenden Kontaktbuttons */
.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* VIVA Detail Footer */
.site-footer {
    min-height: 110px;
    background: #0e0e0f;
    border-top: 1px solid #262629;
    color: #74747a;
    padding: 26px clamp(22px, 4vw, 64px);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;

    font-size: 11px;
}

.site-footer .footer-brand {
    justify-self: start;
    display: flex;
    align-items: center;
}

.site-footer .footer-brand img {
    display: block;
    width: auto;
    height: 55px;
    object-fit: contain;
}

.site-footer > span:last-child {
    justify-self: end;
}

.site-footer > span:last-child a {
    color: inherit;
    text-decoration: none;
    margin-right: 14px;
    transition: color .15s;
}

.site-footer > span:last-child a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .site-footer {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .site-footer > span:last-child {
        justify-self: start;
    }
}
.business-login-legal{
    position:fixed;
    right:22px;
    bottom:18px;
    z-index:20;

    display:flex;
    align-items:center;
    gap:14px;

    color:rgba(255,255,255,.62);
    font-size:11px;
    font-weight:500;
}

.business-login-legal a{
    color:inherit;
    text-decoration:none;
    transition:color .15s ease;
}

.business-login-legal a:hover{
    color:#fff;
}

@media(max-width:620px){
    .business-login-legal{
        right:16px;
        bottom:calc(14px + env(safe-area-inset-bottom));
        gap:10px;
        font-size:10px;
    }
}