/*
 * Claudio's Pizzeria information pages - isolated CSS.
 * Safe rollback: existing CSS/JS/common files are not edited.
 */

:root {
    --cp-black: #050505;
    --cp-black-2: #0c0c0c;
    --cp-card: rgba(255, 255, 255, 0.075);
    --cp-border: rgba(255, 255, 255, 0.13);
    --cp-white: #fff;
    --cp-muted: rgba(255,255,255,0.72);
    --cp-red: #d51f2a;
    --cp-red-dark: #8f121a;
    --cp-gold: #f6c15b;
    --cp-green: #81ff3e;
    --cp-radius-xl: 30px;
    --cp-radius-lg: 20px;
    --cp-shadow: 0 24px 80px rgba(0,0,0,0.52);
}

body.cp-info-page {
    background:
        radial-gradient(circle at top left, rgba(213,31,42,0.22), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(246,193,91,0.12), transparent 30rem),
        linear-gradient(180deg, #050505 0%, #0d0d0d 42%, #050505 100%) !important;
    color: var(--cp-white);
    font-family: "Poppins", "Roboto", Arial, sans-serif;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

body.cp-info-page a {
    text-decoration: none;
}

body.cp-info-page #ftco-navbar {
    background: rgba(0,0,0,0.72) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}

body.cp-info-page #ftco-navbar .navbar-brand img {
    height: 72px !important;
}

body.cp-info-page #ftco-navbar .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.cp-info-page #ftco-navbar .nav-item.active .nav-link,
body.cp-info-page #ftco-navbar .nav-link:hover {
    color: var(--cp-gold) !important;
}

.cp-info-hero {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 78px;
    background: #050505;
}

.cp-info-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,5,5,0.94), rgba(5,5,5,0.72), rgba(5,5,5,0.42)),
        url("../images/bg_1.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.96;
    transform: scale(1.03);
    z-index: -2;
}

.cp-info-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #050505);
    z-index: -1;
}

.cp-info-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cp-gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.cp-info-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 30px;
    background: var(--cp-gold);
}

.cp-info-hero h1 {
    max-width: 900px;
    margin: 18px 0 18px;
    color: #fff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.cp-info-hero p {
    max-width: 780px;
    color: var(--cp-muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
    margin: 0;
}

.cp-info-content {
    padding: 60px 0 80px !important;
}

.cp-info-content .container {
    max-width: 1040px;
}

.cp-info-content .heading-section {
    display: none;
}

.cp-info-content h5 {
    color: #fff;
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin: 34px 0 16px;
    padding-top: 4px;
}

.cp-info-content h5:first-of-type {
    margin-top: 0;
}

.cp-info-content .allergies,
.cp-info-content > .container > .row.allergies,
.cp-info-subsection .allergies {
    color: var(--cp-muted);
    line-height: 1.85;
    font-size: 16px;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    box-shadow: var(--cp-shadow);
    padding: 24px !important;
    margin-left: 0;
    margin-right: 0;
    backdrop-filter: blur(16px);
}

.cp-info-content .allergies strong,
.cp-info-content .allergies b {
    color: #fff;
}

.cp-info-content .allergies a {
    color: var(--cp-gold) !important;
    font-weight: 800;
}

.cp-info-content br + br + br {
    display: none;
}

.cp-info-subsection {
    padding: 0 !important;
    margin: 26px 0 !important;
}

.cp-info-subsection .container {
    padding: 0;
}

.cp-info-subsection .row {
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding: 12px 0;
}

.cp-info-subsection .row:first-child {
    color: #fff;
    font-weight: 900;
    background: rgba(246,193,91,0.10);
    border-radius: 14px;
    border-bottom: 0;
    padding: 14px 10px;
    margin-bottom: 10px;
}

.cp-info-subsection h5 {
    color: #fff;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin: 0;
}

.cp-business-card {
    display: block;
    width: min(100%, 620px);
    height: auto;
    margin: 24px 0 34px;
    border-radius: var(--cp-radius-lg);
    border: 1px solid var(--cp-border);
    box-shadow: var(--cp-shadow);
    background: #fff;
}

body.cp-impressum-page .cp-info-content .allergies {
    font-size: 18px;
    color: rgba(255,255,255,0.80);
}

body.cp-about-page .cp-info-content h5,
body.cp-dataprotect-page .cp-info-content h5,
body.cp-impressum-page .cp-info-content h5 {
    position: relative;
}

body.cp-about-page .cp-info-content h5::before,
body.cp-dataprotect-page .cp-info-content h5::before,
body.cp-impressum-page .cp-info-content h5::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cp-red), var(--cp-gold));
    margin-bottom: 12px;
}

body.cp-dataprotect-page .cp-info-content .row .col-md-3,
body.cp-dataprotect-page .cp-info-content .row .col-md-6,
body.cp-dataprotect-page .cp-info-content .row .col-3,
body.cp-dataprotect-page .cp-info-content .row .col-6 {
    color: var(--cp-muted);
    line-height: 1.7;
}

body.cp-dataprotect-page .cp-info-content .row:first-child .col-md-3,
body.cp-dataprotect-page .cp-info-content .row:first-child .col-md-6,
body.cp-dataprotect-page .cp-info-content .row:first-child .col-3,
body.cp-dataprotect-page .cp-info-content .row:first-child .col-6 {
    color: #fff;
}

@media (max-width: 769px) {
    .cp-info-hero {
        min-height: auto;
        padding: 105px 0 62px;
    }

    .cp-info-content {
        padding: 40px 0 64px !important;
    }

    .cp-info-content .allergies,
    .cp-info-content > .container > .row.allergies,
    .cp-info-subsection .allergies {
        padding: 18px !important;
        font-size: 15px;
    }

    .cp-info-subsection .row {
        gap: 8px;
    }

    body.cp-dataprotect-page .cp-info-subsection .row {
        display: block;
    }

    body.cp-dataprotect-page .cp-info-subsection .row > div {
        max-width: 100%;
        width: 100%;
        margin-bottom: 10px;
    }

    .cp-info-content h5 {
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    .cp-info-hero h1 {
        font-size: 40px;
    }

    .cp-info-hero p {
        font-size: 16px;
    }

    .cp-info-kicker {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
}


/* V20 - Professional design for claim.php, zusatzstoffe.php and track.php */
.cp-section-title {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;
    margin: 0 0 20px;
}

.cp-info-card,
.cp-form-card,
.cp-result-card,
.cp-track-card {
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045));
    box-shadow: var(--cp-shadow);
    backdrop-filter: blur(16px);
    color: var(--cp-muted);
    line-height: 1.75;
}

.cp-info-card { padding: 28px; margin-bottom: 28px; }
.cp-form-card, .cp-result-card, .cp-track-card { padding: 30px; margin: 24px auto; }

body.cp-claim-page .cp-info-content h5,
body.cp-track-page .cp-info-content h4,
body.cp-zusatzstoffe-page .cp-info-content h3 {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.025em;
}

body.cp-claim-page .cp-info-content p,
body.cp-claim-page .cp-info-content li,
body.cp-track-page .cp-info-content p {
    color: var(--cp-muted);
}

body.cp-claim-page .cp-claim-howto {
    max-width: 960px;
    margin: 0 auto;
}

body.cp-claim-page .cp-claim-howto p {
    margin: 0;
    font-size: 16px;
}

body.cp-claim-page form,
body.cp-track-page form {
    max-width: 720px;
    margin: 0 auto;
}

body.cp-claim-page form > .container,
body.cp-track-page form > .container {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 0 16px !important;
}

body.cp-claim-page label,
body.cp-track-page label {
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
    float: none !important;
    width: auto !important;
    text-align: left !important;
}

body.cp-claim-page .form-control,
body.cp-track-page input[type="text"],
body.cp-claim-page input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.28);
    color: #fff;
    padding: 12px 16px;
    outline: none;
    box-shadow: none;
}

body.cp-claim-page .form-control:focus,
body.cp-track-page input[type="text"]:focus,
body.cp-claim-page input[type="text"]:focus {
    border-color: rgba(129,255,62,0.7);
    box-shadow: 0 0 0 4px rgba(129,255,62,0.14);
}

body.cp-claim-page input[type="submit"],
body.cp-track-page input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 54px;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #81ff3e 0%, #39d318 100%) !important;
    color: #050505 !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 34px rgba(129,255,62,0.24);
}

body.cp-claim-page input[type="submit"]:hover,
body.cp-track-page input[type="submit"]:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

body.cp-zusatzstoffe-page .cp-additives-section {
    margin-bottom: 42px;
}

body.cp-zusatzstoffe-page .cp-additive-table {
    border: 1px solid var(--cp-border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.04));
    box-shadow: var(--cp-shadow);
    overflow: hidden;
    padding: 12px;
}

body.cp-zusatzstoffe-page .cp-additive-header {
    color: #fff;
    font-weight: 900;
    background: rgba(246,193,91,0.11);
    border-radius: 16px;
    padding: 14px 10px !important;
    margin: 0 0 12px !important;
}

body.cp-zusatzstoffe-page .cp-additive-row {
    align-items: center;
    margin: 0 !important;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--cp-muted);
}

body.cp-zusatzstoffe-page .cp-additive-row:last-child {
    border-bottom: 0;
}

body.cp-zusatzstoffe-page .cp-additive-code {
    display: inline-flex;
    min-width: 42px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(129,255,62,0.14);
    color: var(--cp-green);
    font-weight: 900;
}

body.cp-zusatzstoffe-page .cp-additive-desc {
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}

body.cp-track-page {
    background:
        radial-gradient(circle at 15% 10%, rgba(129,255,62,0.12), transparent 32rem),
        radial-gradient(circle at 90% 0%, rgba(213,31,42,0.20), transparent 34rem),
        linear-gradient(180deg, #050505 0%, #0d0d0d 48%, #050505 100%) !important;
    color: #fff;
    font-family: "Poppins", "Roboto", Arial, sans-serif;
}

body.cp-track-page .cp-track-search-wrap {
    padding: 150px 0 80px !important;
}

body.cp-track-page .cp-track-card {
    max-width: 820px;
}

body.cp-track-page .cp-track-card h4 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 18px;
}

body.cp-track-page .typewriter {
    max-width: 920px;
    white-space: normal !important;
    overflow: visible !important;
    animation: none !important;
    letter-spacing: 0 !important;
    font-family: "Poppins", "Roboto", Arial, sans-serif !important;
    color: rgba(255,255,255,0.84) !important;
    line-height: 1.75;
    border: 1px solid var(--cp-border) !important;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    box-shadow: var(--cp-shadow);
    padding: 28px;
}

body.cp-track-page .autocomplete,
body.cp-track-page .ac_results {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: #111 !important;
    color: #fff !important;
}

@media (max-width: 769px) {
    .cp-info-card, .cp-form-card, .cp-result-card, .cp-track-card { padding: 20px; }
    body.cp-track-page .cp-track-search-wrap { padding: 115px 0 55px !important; }
    body.cp-zusatzstoffe-page .cp-additive-header { display: none; }
    body.cp-zusatzstoffe-page .cp-additive-table { padding: 10px; }
    body.cp-zusatzstoffe-page .cp-additive-row { padding: 12px 6px; }
    body.cp-zusatzstoffe-page .cp-additive-code { min-width: 38px; }
}
