/**
 * Mama kocht breifrei - Angebote Styles
 * Based on Design System v1.0.0
 */

:root {
    /* Colors - Primary */
    --primary-main: #F48B29;
    --primary-light: #F9C098;
    --primary-dark: #D67015;
    --primary-contrast: #FFFFFF;

    /* Colors - Secondary */
    --secondary-main: #A4C639;
    --secondary-light: #DCE775;
    --secondary-dark: #72911D;
    --secondary-contrast: #333333;

    /* Colors - Neutral */
    --neutral-black: #000000;
    --neutral-dark-grey: #333333;
    --neutral-grey: #757575;
    --neutral-light-grey: #E0E0E0;
    --neutral-white: #FFFFFF;
    --neutral-bg: #FAFAFA;

    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-logo: 'Pacifico', cursive;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    /* Shapes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-circle: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

.mkb-angebote-wrap {
    font-family: var(--font-body);
    color: var(--neutral-dark-grey);
    line-height: 1.5;
}

.mkb-angebote-wrap h1,
.mkb-angebote-wrap h2,
.mkb-angebote-wrap h3,
.mkb-angebote-wrap h4,
.mkb-angebote-wrap h5,
.mkb-angebote-wrap h6 {
    font-family: var(--font-headings);
    line-height: 1.2;
    margin-top: 0;
    color: var(--neutral-dark-grey);
}

.mkb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.mkb-angebote-wrap blockquote{
    border: unset;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.mkb-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-headings);
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.mkb-btn-primary {
    background-color: var(--primary-main);
    color: var(--primary-contrast);
}

.mkb-btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    color: var(--primary-contrast);
}

.mkb-btn-secondary {
    background-color: var(--secondary-main);
    color: var(--secondary-contrast);
}

.mkb-btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
    box-shadow: var(--shadow-md);
}

.mkb-btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-main);
    color: var(--primary-main);
}

.mkb-btn-outline:hover {
    background-color: var(--primary-main);
    color: var(--primary-contrast);
}

.mkb-btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ==========================================================================
   Single Angebot Page
   ========================================================================== */

.mkb-angebot-single {
    padding: var(--space-xxl) 0;
}

/* Hero Section */
.mkb-angebot-hero {
    position: relative;
    background-color: var(--neutral-bg);
    padding: var(--space-xxl) 0;
    margin-bottom: var(--space-xxl);
}

.mkb-angebot-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.mkb-angebot-hero-text {
    padding-right: var(--space-xl);
}

.mkb-angebot-badge {
    display: inline-block;
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mkb-angebot-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
}

.mkb-angebot-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-grey);
    margin-bottom: var(--space-xl);
}

.mkb-angebot-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mkb-angebot-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Boxes */
.mkb-angebot-info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xxl);
}

.mkb-angebot-info-box {
    background: var(--neutral-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mkb-angebot-info-box-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background-color: var(--primary-light);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.mkb-angebot-info-box-label {
    font-size: 0.875rem;
    color: var(--neutral-grey);
    margin-bottom: var(--space-xs);
}

.mkb-angebot-info-box-value {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headings);
    color: var(--neutral-dark-grey);
}

/* Content Section */
.mkb-angebot-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xxl);
}

.mkb-angebot-main {
    background: var(--neutral-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.mkb-angebot-section {
    margin-bottom: var(--space-xl);
}

.mkb-angebot-section:last-child {
    margin-bottom: 0;
}

.mkb-angebot-section-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary-light);
    color: var(--primary-dark);
}

.mkb-angebot-description {
    font-size: 1rem;
    line-height: 1.8;
}

.mkb-angebot-description p {
    margin-bottom: var(--space-lg);
}

.mkb-angebot-description p:last-child {
    margin-bottom: 0;
}

/* Benefits List */
.mkb-angebot-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkb-angebot-benefits li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.mkb-angebot-benefits li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.125em;
    width: 1.25em;
    height: 1.25em;
    background-color: var(--secondary-main);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.707 8.707-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 1 1 1.414-1.414L11 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.707 8.707-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 1 1 1.414-1.414L11 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Target Audience */
.mkb-angebot-target {
    background-color: var(--secondary-light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

.mkb-angebot-target-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--secondary-dark);
}

/* Sidebar */
.mkb-angebot-sidebar {
    position: sticky;
    top: var(--space-xl);
}

.mkb-angebot-booking-card {
    background: var(--neutral-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-main);
}

.mkb-angebot-price {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--neutral-light-grey);
}

.mkb-angebot-price-label {
    font-size: 0.875rem;
    color: var(--neutral-grey);
    margin-bottom: var(--space-xs);
}

.mkb-angebot-price-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-headings);
    color: var(--primary-dark);
}

.mkb-angebot-price-suffix {
    font-size: 1rem;
    color: var(--neutral-grey);
}

.mkb-angebot-booking-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
}

.mkb-angebot-booking-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--neutral-light-grey);
    font-size: 0.9375rem;
}

.mkb-angebot-booking-features li:last-child {
    border-bottom: none;
}

.mkb-angebot-booking-btn {
    width: 100%;
    margin-bottom: var(--space-md);
}

.mkb-angebot-booking-note {
    font-size: 0.8125rem;
    color: var(--neutral-grey);
    text-align: center;
}

/* Testimonial */
.mkb-angebot-testimonial {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xxl);
    text-align: center;
}

.mkb-angebot-testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: var(--neutral-dark-grey);
}

.mkb-angebot-testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==========================================================================
   Testimonials Section (Kundenstimmen masonry)
   ========================================================================== */

.mkb-angebot-testimonials {
    padding: var(--space-xxl) 0;
    background-color: var(--neutral-bg);
    margin-top: var(--space-xxl);
}

.mkb-angebot-testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xxl);
}

.mkb-angebot-testimonials-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
    font-family: var(--font-headings);
}

.mkb-angebot-testimonials-header p {
    font-size: 1.125rem;
    color: var(--neutral-grey);
    margin: 0;
}

.mkb-testimonials-masonry {
    column-count: 4;
    column-gap: var(--space-lg);
}

.mkb-testimonial-card {
    break-inside: avoid;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.mkb-testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mkb-testimonial-card-icon {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
    color: var(--primary-light);
    opacity: 0.5;
}

.mkb-testimonial-card-icon .iconify {
    width: 2em;
    height: 2em;
}

.mkb-testimonial-card blockquote {
    margin: 0;
    padding: var(--space-lg) 0 var(--space-md);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--neutral-dark-grey);
    font-style: normal;
}

.mkb-testimonial-card cite {
    display: block;
    text-align: right;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-main);
}

/* CTA Section */
.mkb-angebot-cta {
    background-color: var(--primary-main);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-xxl);
}

.mkb-angebot-cta-title {
    color: var(--primary-contrast);
    margin-bottom: var(--space-md);
}

.mkb-angebot-cta-text {
    color: var(--primary-contrast);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

.mkb-angebot-cta .mkb-btn {
    background-color: var(--neutral-white);
    color: var(--primary-main);
}

.mkb-angebot-cta .mkb-btn:hover {
    background-color: var(--neutral-bg);
}

/* ==========================================================================
   Angebote Overview Page
   ========================================================================== */

.mkb-angebote-overview {
    padding: var(--space-xxl) 0;
}

/* Page Header */
.mkb-angebote-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xxl);
}

.mkb-angebote-header-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
}

.mkb-angebote-header-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-grey);
}

/* Intro Section */
.mkb-angebote-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xxl);
    text-align: center;
}

.mkb-angebote-intro-text {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Angebote Grid */
.mkb-angebote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

/* Angebot Card */
.mkb-angebot-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mkb-angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mkb-angebot-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mkb-angebot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mkb-angebot-card:hover .mkb-angebot-card-image img {
    transform: scale(1.05);
}

.mkb-angebot-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

.mkb-angebot-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background-color: var(--primary-main);
    color: var(--primary-contrast);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
}

.mkb-angebot-card-content {
    padding: var(--space-xl);
}

.mkb-angebot-card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--neutral-dark-grey);
}

.mkb-angebot-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mkb-angebot-card-title a:hover {
    color: var(--primary-main);
}

.mkb-angebot-card-excerpt {
    color: var(--neutral-grey);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.mkb-angebot-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-light-grey);
}

.mkb-angebot-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-headings);
    color: var(--primary-dark);
}

.mkb-angebot-card-link {
    color: var(--primary-main);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color 0.2s ease;
}

.mkb-angebot-card-link:hover {
    color: var(--primary-dark);
}

.mkb-angebot-card-link:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: var(--space-xs);
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M17.707 12.707a1 1 0 0 0 0-1.414l-4-4a1 1 0 1 0-1.414 1.414L14.586 11H6a1 1 0 1 0 0 2h8.586l-2.293 2.293a1 1 0 0 0 1.414 1.414z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M17.707 12.707a1 1 0 0 0 0-1.414l-4-4a1 1 0 1 0-1.414 1.414L14.586 11H6a1 1 0 1 0 0 2h8.586l-2.293 2.293a1 1 0 0 0 1.414 1.414z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.mkb-angebot-card-link:hover:after {
    transform: translateX(4px);
}

/* Featured Angebot */
.mkb-angebot-card.mkb-angebot-featured {
    grid-column: 1 / -1;
}

.mkb-angebot-card.mkb-angebot-featured .mkb-angebot-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mkb-angebot-card.mkb-angebot-featured .mkb-angebot-card-image {
    height: 100%;
    min-height: 300px;
}

.mkb-angebot-card.mkb-angebot-featured .mkb-angebot-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Overview CTA Section */
.mkb-angebote-cta {
    background-color: var(--secondary-main);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.mkb-angebote-cta-title {
    color: var(--neutral-white);
    margin-bottom: var(--space-md);
}

.mkb-angebote-cta-text {
    color: var(--neutral-white);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mkb-angebote-cta .mkb-btn {
    background-color: var(--neutral-white);
    color: var(--secondary-dark);
}

.mkb-angebote-cta .mkb-btn:hover {
    background-color: var(--neutral-bg);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .mkb-angebot-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .mkb-angebot-hero-text {
        padding-right: 0;
        text-align: center;
    }

    .mkb-angebot-content {
        grid-template-columns: 1fr;
    }

    .mkb-angebot-sidebar {
        position: static;
    }

    .mkb-angebot-card.mkb-angebot-featured .mkb-angebot-card-inner {
        grid-template-columns: 1fr;
    }

    .mkb-testimonials-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .mkb-angebot-info-boxes {
        grid-template-columns: 1fr;
    }

    .mkb-angebot-title {
        font-size: 2rem;
    }

    .mkb-angebote-header-title {
        font-size: 2rem;
    }

    .mkb-angebote-grid {
        grid-template-columns: 1fr;
    }

    .mkb-container {
        padding: 0 var(--space-md);
    }

    .mkb-testimonials-masonry {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .mkb-angebot-booking-card {
        padding: var(--space-lg);
    }

    .mkb-angebot-price-value {
        font-size: 2rem;
    }

    .mkb-testimonials-masonry {
        column-count: 1;
    }

    .mkb-angebot-testimonials {
        padding: var(--space-xl) 0;
    }

    .mkb-angebot-testimonials-header {
        margin-bottom: var(--space-xl);
    }

    .mkb-angebot-testimonials-header h2 {
        font-size: 1.5rem;
    }

    .mkb-testimonial-card {
        padding: var(--space-md);
    }
}
