/*
Theme Name: Herzbewegung
Theme URI: https://herzbewegung.ch
Author: Herzbewegung Team
Author URI: https://herzbewegung.ch
Description: Massgeschneidertes Theme für Herzbewegung - Spirituelle Beratung und mediale Behandlungen in Sevelen, Schweiz
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herzbewegung
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: linear-gradient(135deg, #fef7f0 0%, #fce8e4 50%, #f5e6e8 100%);
    color: #5a4a4a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Organic Background Shapes
   ========================================================================== */
.organic-shape-1 {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,180,170,0.3) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.organic-shape-2 {
    position: fixed;
    bottom: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(200,170,180,0.25) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 10;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img,
.site-logo {
    height: 72px;
    width: auto;
    animation: heartbeat 2s ease-in-out infinite;
}

.nav-logo .site-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #6b5656;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #7a6a6a;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item a {
    color: #c4918a;
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(90, 74, 74, 0.15);
    padding: 16px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 12px;
}

.nav-links .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.nav-links .sub-menu li {
    display: block;
    padding: 0;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #5a4a4a;
    white-space: nowrap;
}

.nav-links .sub-menu a:hover {
    background: rgba(196, 145, 138, 0.1);
    color: #c4918a;
}

/* Menu item with children indicator */
.nav-links .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #5a4a4a;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    z-index: 5;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b89a94;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #5a4a4a;
}

.hero h1 span,
.text-accent {
    color: #c4918a;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    color: #8a7a7a;
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #c4918a 0%, #d4a59e 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(196,145,138,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196,145,138,0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #7a6a6a;
    border: 2px solid rgba(196,145,138,0.5);
}

.btn-secondary:hover {
    border-color: #c4918a;
    color: #c4918a;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    position: relative;
    z-index: 5;
    padding: 80px 48px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #5a4a4a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(196,145,138,0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(196,145,138,0.15);
}

.service-icon {
    font-size: 48px;
    color: #c4918a;
    margin-bottom: 24px;
    line-height: 1;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #5a4a4a;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #8a7a7a;
    font-family: 'Quicksand', sans-serif;
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #c4918a;
    font-weight: 500;
}

.service-link:hover {
    color: #a87a73;
}

/* Service Cards with Images (Homepage) */
.service-card-with-image {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.service-card-with-image .service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.service-card-with-image .service-card-image img {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card-with-image:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-with-image .service-card-content {
    padding: 32px 28px;
    text-align: center;
}

.service-card-with-image .service-card-content h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #5a4a4a;
}

.service-card-with-image .service-card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #8a7a7a;
    font-family: 'Quicksand', sans-serif;
}

@media (max-width: 768px) {
    .service-card-with-image .service-card-image {
        height: 160px;
    }

    .service-card-with-image .service-card-content {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
    position: relative;
    z-index: 5;
    padding: 100px 48px;
    text-align: center;
}

.team h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #5a4a4a;
}

.team-subtitle {
    font-size: 18px;
    color: #8a7a7a;
    margin-bottom: 60px;
    font-family: 'Quicksand', sans-serif;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #6b5656;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 8px 30px rgba(196,145,138,0.2);
    overflow: hidden;
    background: linear-gradient(135deg, hsl(10, 50%, 80%) 0%, hsl(20, 45%, 85%) 100%);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 16px;
    color: #6b5656;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    position: relative;
    z-index: 5;
    padding: 80px 48px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 24px;
    color: #5a4a4a;
}

.cta-text {
    font-size: 18px;
    color: #8a7a7a;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Quicksand', sans-serif;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 5;
    background: rgba(90,74,74,0.95);
    color: white;
    padding: 60px 48px 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-site-title {
    font-size: 24px;
    font-weight: 300;
}

.footer-location {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}

.footer-legal-links a {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    opacity: 0.5;
    margin: 0;
}

/* ==========================================================================
   Page Content
   ========================================================================== */
.site-main {
    position: relative;
    z-index: 5;
}

.content-area {
    padding: 80px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #5a4a4a;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin: 48px 0 24px;
    color: #5a4a4a;
}

.entry-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 32px 0 16px;
    color: #5a4a4a;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px 24px;
    list-style: disc;
}

.entry-content a {
    color: #c4918a;
}

.entry-content a:hover {
    color: #a87a73;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        padding: 12px 20px;
    }

    .nav-logo img,
    .site-logo {
        height: 56px;
    }

    .nav-logo .site-title {
        font-size: 22px;
    }

    .nav-toggle {
        display: flex;
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.is-open {
        display: flex;
    }

    /* Mobile: Touch-friendly menu items */
    .nav-links li {
        border-bottom: 1px solid rgba(196, 145, 138, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Mobile Dropdown */
    .nav-links .sub-menu {
        position: static;
        transform: none;
        background: rgba(254, 247, 240, 0.5);
        box-shadow: none;
        padding: 0 0 0 20px;
        margin: 0;
        opacity: 1;
        visibility: visible;
        min-width: auto;
        border-radius: 0;
    }

    .nav-links .sub-menu::before {
        display: none;
    }

    .nav-links .sub-menu li {
        border-bottom: none;
    }

    .nav-links .sub-menu a {
        padding: 12px 16px;
        font-size: 13px;
        min-height: 44px;
    }

    .nav-links .menu-item-has-children > a::after {
        transform: rotate(-90deg);
        margin-left: auto;
    }

    .hero {
        padding: 0 24px;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services {
        padding: 60px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team {
        padding: 60px 24px;
    }

    .team-grid {
        gap: 24px;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 28px;
    }

    .cta {
        padding: 60px 24px;
    }

    .site-footer {
        padding: 40px 24px 30px;
    }

    .content-area {
        padding: 40px 24px;
    }

    .page-title {
        font-size: 36px;
    }

    /* Hide organic shapes on mobile */
    .organic-shape-1,
    .organic-shape-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .services h2,
    .team h2,
    .cta h2 {
        font-size: 32px;
    }

    .btn,
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Team Page - Detaillierte Profilkarten
   ========================================================================== */
.team-page {
    padding: 60px 48px 100px;
}

.team-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-page-header h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.team-page-header .lead {
    font-size: 20px;
    color: #8a7a7a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.team-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-profile-card {
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(196,145,138,0.15);
}

.team-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(196,145,138,0.2);
}

.team-profile-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-profile-image img {
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-profile-card:hover .team-profile-image img {
    transform: scale(1.05);
}

.team-profile-content {
    padding: 32px;
}

.team-profile-content h3 {
    font-size: 28px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 8px;
}

.team-profile-role {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #c4918a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.team-profile-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #7a6a6a;
    margin-bottom: 20px;
}

.team-profile-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tag {
    background: rgba(196,145,138,0.15);
    color: #8a6a6a;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
}

.team-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4918a;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.team-profile-link:hover {
    color: #a87a73;
    gap: 12px;
}

/* ==========================================================================
   Angebote/Services Page
   ========================================================================== */
.angebote-page {
    padding: 60px 48px 100px;
}

.angebote-header {
    text-align: center;
    margin-bottom: 60px;
}

.angebote-header h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.angebote-header .lead {
    font-size: 20px;
    color: #8a7a7a;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.angebote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.angebot-card {
    background: rgba(255,255,255,0.75);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(196,145,138,0.15);
    display: flex;
    flex-direction: column;
}

.angebot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(196,145,138,0.18);
}

.angebot-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.angebot-image img {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.angebot-card:hover .angebot-image img {
    transform: scale(1.08);
}

.angebot-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.angebot-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.angebot-content h3 {
    font-size: 26px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 12px;
}

.angebot-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #7a6a6a;
    margin-bottom: 20px;
    flex: 1;
}

.angebot-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(196,145,138,0.2);
}

.angebot-price {
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #5a4a4a;
}

.angebot-duration {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #8a7a7a;
}

/* ==========================================================================
   Angebote Page - Team-basierte Struktur
   ========================================================================== */
.angebote-team-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.angebote-team-card {
    background: rgba(255,255,255,0.8);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(196,145,138,0.15);
    transition: all 0.3s ease;
}

.angebote-team-card:hover {
    box-shadow: 0 20px 50px rgba(196,145,138,0.15);
}

.angebote-team-header {
    display: flex;
    gap: 32px;
    padding: 36px;
    background: linear-gradient(135deg, rgba(254,247,240,0.8) 0%, rgba(252,232,228,0.5) 100%);
    border-bottom: 1px solid rgba(196,145,138,0.1);
}

.angebote-team-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(196,145,138,0.2);
}

.angebote-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.angebote-team-info {
    flex: 1;
}

.angebote-team-info h2 {
    font-size: 32px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 8px;
}

.angebote-team-role {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #c4918a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.angebote-team-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #7a6a6a;
    margin-bottom: 16px;
}

.team-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #c4918a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.team-link:hover {
    color: #a87a73;
}

.angebote-services-list {
    padding: 24px 36px 36px;
}

.angebote-service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(196,145,138,0.1);
}

.angebote-service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.angebote-service-item:first-child {
    padding-top: 0;
}

.angebote-service-info {
    flex: 1;
}

.angebote-service-info h3 {
    font-size: 22px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 10px;
}

.angebote-service-info p {
    font-size: 15px;
    line-height: 1.7;
    color: #7a6a6a;
    margin: 0;
}

.service-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.package-item {
    background: rgba(196,145,138,0.12);
    color: #6a5a5a;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
}

.angebote-service-meta {
    text-align: right;
    flex-shrink: 0;
    min-width: 160px;
}

.service-price {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #5a4a4a;
    margin-bottom: 4px;
}

.service-duration {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #8a7a7a;
    margin-bottom: 16px;
}

.btn-sm {
    padding: 10px 20px !important;
    font-size: 12px !important;
}

/* ==========================================================================
   Kontakt Page
   ========================================================================== */
.kontakt-page {
    padding: 60px 48px 100px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.kontakt-info {
    padding-right: 40px;
}

.kontakt-info h1 {
    font-size: 42px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 24px;
}

.kontakt-info .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #7a6a6a;
    margin-bottom: 40px;
}

.kontakt-details {
    margin-bottom: 40px;
}

.kontakt-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.kontakt-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(196,145,138,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.kontakt-item-content h4 {
    font-size: 16px;
    font-weight: 500;
    color: #5a4a4a;
    margin-bottom: 4px;
    font-family: 'Quicksand', sans-serif;
}

.kontakt-item-content p {
    font-size: 16px;
    color: #7a6a6a;
    line-height: 1.6;
}

.kontakt-form-wrapper {
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(196,145,138,0.15);
}

.kontakt-form-wrapper h2 {
    font-size: 28px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5a4a4a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(196,145,138,0.2);
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #5a4a4a;
    background: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c4918a;
    box-shadow: 0 0 0 4px rgba(196,145,138,0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Über uns / About Page
   ========================================================================== */
.about-page {
    padding: 60px 48px 100px;
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 24px;
}

.about-hero .lead {
    font-size: 22px;
    line-height: 1.8;
    color: #7a6a6a;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
    align-items: center;
}

.about-story-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(196,145,138,0.2);
}

.about-story-image img {
    width: 100%;
    height: auto;
}

.about-story-content h2 {
    font-size: 36px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 24px;
}

.about-story-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #6a5a5a;
    margin-bottom: 20px;
}

.about-values {
    background: rgba(255,255,255,0.5);
    border-radius: 32px;
    padding: 80px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-values h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.2s;
    text-align: left;
}

.value-item:hover {
    background: rgba(255,255,255,0.5);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-icon-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(196, 145, 138, 0.25);
}

.value-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-content h3,
.value-item h3 {
    font-size: 20px;
    font-weight: 500;
    color: #c4918a;
    margin-bottom: 8px;
}

.value-content p,
.value-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #7a6a6a;
    margin: 0;
}

/* ==========================================================================
   Single Team Member Page
   ========================================================================== */
.single-team-page {
    padding: 60px 48px 100px;
}

.single-team-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 60px;
    align-items: start;
}

.single-team-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(196,145,138,0.25);
    position: sticky;
    top: 100px;
}

.single-team-image img {
    width: 100%;
    height: auto;
}

.single-team-content h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 12px;
}

.single-team-role {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #c4918a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.single-team-quote {
    font-size: 24px;
    font-style: italic;
    color: #7a6a6a;
    line-height: 1.6;
    padding-left: 24px;
    border-left: 3px solid #c4918a;
    margin-bottom: 32px;
}

.single-team-bio {
    font-size: 18px;
    line-height: 1.8;
    color: #5a4a4a;
    margin-bottom: 40px;
}

.single-team-bio p {
    margin-bottom: 20px;
}

.single-team-services {
    background: rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
}

.single-team-services h3 {
    font-size: 22px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    gap: 16px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-list-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateX(8px);
}

.service-list-item .service-icon {
    font-size: 24px;
    margin-bottom: 0;
}

.service-icon-img-small {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(196, 145, 138, 0.2);
    display: inline-block;
}

.service-icon-img-small img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

.service-list-item span {
    font-size: 16px;
    color: #5a4a4a;
}

.booking-cta {
    background: linear-gradient(135deg, rgba(196,145,138,0.15) 0%, rgba(212,165,158,0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.booking-cta h3 {
    font-size: 26px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.booking-cta p {
    font-size: 16px;
    color: #7a6a6a;
    margin-bottom: 24px;
}

/* ==========================================================================
   Kurse & Akademie Page
   ========================================================================== */
.kurse-page {
    padding: 60px 48px 100px;
}

.kurse-header {
    text-align: center;
    margin-bottom: 60px;
}

.kurse-header h1 {
    font-size: 48px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.kurse-header .lead {
    font-size: 20px;
    color: #8a7a7a;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.featured-course {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(252,232,228,0.6) 100%);
    border-radius: 32px;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border: 1px solid rgba(196,145,138,0.2);
}

.featured-course-content h2 {
    font-size: 36px;
    font-weight: 300;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.featured-course-badge {
    display: inline-block;
    background: #c4918a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.featured-course-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #6a5a5a;
    margin-bottom: 24px;
}

.featured-course-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #7a6a6a;
}

.featured-course-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(196,145,138,0.2);
}

.featured-course-image img {
    width: 100%;
    height: auto;
}

.kurse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.kurs-card {
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(196,145,138,0.15);
}

.kurs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(196,145,138,0.18);
}

.kurs-image {
    height: 180px;
    overflow: hidden;
}

.kurs-image img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.kurs-card:hover .kurs-image img {
    transform: scale(1.08);
}

.kurs-content {
    padding: 28px;
}

.kurs-content h3 {
    font-size: 22px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 12px;
}

.kurs-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #7a6a6a;
    margin-bottom: 20px;
}

.kurs-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(196,145,138,0.15);
}

/* ==========================================================================
   Quote / Testimonial Block
   ========================================================================== */
.quote-block {
    background: rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
}

.quote-block blockquote {
    font-size: 26px;
    font-style: italic;
    line-height: 1.6;
    color: #5a4a4a;
    margin-bottom: 24px;
}

.quote-block cite {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #8a7a7a;
    font-style: normal;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Additional Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .team-profiles {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .angebote-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .kurse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-course {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .single-team-hero {
        grid-template-columns: 1fr;
    }

    .single-team-image {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Angebote Team Cards - Tablet */
    .angebote-service-item {
        flex-direction: column;
        gap: 20px;
    }

    .angebote-service-meta {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .service-duration {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .team-page,
    .angebote-page,
    .kontakt-page,
    .about-page,
    .kurse-page,
    .single-team-page {
        padding: 40px 24px 60px;
    }

    /* Angebote Team Cards - Mobile */
    .angebote-team-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
        gap: 20px;
    }

    .angebote-team-image {
        width: 120px;
        height: 120px;
    }

    .angebote-team-info h2 {
        font-size: 26px;
    }

    .angebote-services-list {
        padding: 20px 24px 28px;
    }

    .angebote-service-info h3 {
        font-size: 20px;
    }

    .service-price {
        font-size: 18px;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kontakt-info {
        padding-right: 0;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kurse-grid {
        grid-template-columns: 1fr;
    }

    .team-page-header h1,
    .angebote-header h1,
    .about-hero h1,
    .kurse-header h1 {
        font-size: 36px;
    }

    .single-team-content h1 {
        font-size: 36px;
    }

    .featured-course-content h2 {
        font-size: 28px;
    }

    /* Mobile: Quote blocks */
    .quote-block {
        padding: 40px 24px;
        margin: 40px 0;
    }

    .quote-block blockquote {
        font-size: 20px;
    }

    /* Mobile: Service cards with images */
    .service-card-with-image .service-card-image {
        height: 180px;
    }

    .service-card-with-image .service-card-image img {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .service-card-with-image .service-card-content {
        padding: 24px 20px;
    }

    .service-card-with-image .service-card-content h3 {
        font-size: 20px;
    }

    /* Mobile: Team profile cards */
    .team-profile-image {
        height: 220px;
    }

    .team-profile-image img {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .team-profile-content {
        padding: 24px;
    }

    .team-profile-content h3 {
        font-size: 24px;
    }

    /* Mobile: Angebot cards */
    .angebot-image {
        height: 180px;
    }

    .angebot-image img {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .angebot-content {
        padding: 24px;
    }

    /* Mobile: Kontakt items */
    .kontakt-item {
        padding: 20px;
        gap: 16px;
    }

    .kontakt-item-icon {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }

    /* Mobile: About page story sections */
    .about-story-image {
        height: 250px;
    }

    .about-story-image img {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
        object-fit: cover;
    }

    .about-story-content h2 {
        font-size: 28px;
    }

    /* Mobile: Value items */
    .value-item {
        padding: 28px;
    }

    .value-icon {
        font-size: 36px;
    }

    /* Mobile: Kurs cards */
    .kurs-image {
        height: 180px;
    }

    .kurs-image img {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .kurs-content {
        padding: 24px;
    }

    /* Mobile: Single team page */
    .single-team-image {
        height: 300px;
        max-width: 100%;
    }

    .single-team-image img {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
        object-fit: cover;
    }

    .single-team-content {
        padding: 32px 24px;
    }

    .single-team-quote {
        font-size: 18px;
        padding: 20px;
    }

    .booking-cta {
        padding: 28px;
    }

    /* Mobile: Footer */
    .footer-legal-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small: Further reduce sizes */
    .team-page-header h1,
    .angebote-header h1,
    .about-hero h1,
    .kurse-header h1,
    .kontakt-header h1 {
        font-size: 28px;
    }

    .lead {
        font-size: 16px !important;
    }

    .team-profile-content h3 {
        font-size: 22px;
    }

    .quote-block blockquote {
        font-size: 18px;
    }

    /* Extra small: Navigation */
    .nav-logo {
        gap: 8px;
    }

    .site-logo {
        height: 50px !important;
    }

    .site-title {
        font-size: 18px;
    }

    /* Extra small: Buttons */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    /* Extra small: Cards */
    .service-card-with-image,
    .team-profile-card,
    .angebot-card,
    .kurs-card {
        border-radius: 16px;
    }

    /* Extra small: CTA section */
    .cta h2 {
        font-size: 26px;
    }

    .cta-text {
        font-size: 16px;
    }

    /* Extra small: Featured course */
    .featured-course {
        padding: 28px;
        border-radius: 20px;
    }

    .featured-course-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .featured-course-content h2 {
        font-size: 24px;
    }

    /* Extra small: Form elements */
    .kontakt-form input,
    .kontakt-form textarea,
    .kontakt-form select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Extra small: Service list in single-team */
    .service-list-item {
        padding: 12px 16px;
    }
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz)
   ========================================================================== */
.legal-page {
    padding: 60px 48px 100px;
    position: relative;
    z-index: 5;
}

.legal-page .container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page .page-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-page .page-title {
    font-size: 42px;
    font-weight: 300;
    color: #5a4a4a;
}

.legal-content {
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(196,145,138,0.15);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(196,145,138,0.1);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 26px;
    font-weight: 400;
    color: #5a4a4a;
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 400;
    color: #6a5a5a;
    margin: 24px 0 12px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a4a4a;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0 16px 24px;
    list-style: disc;
}

.legal-section ul li {
    font-size: 16px;
    line-height: 1.7;
    color: #5a4a4a;
    margin-bottom: 8px;
}

.legal-section a {
    color: #c4918a;
    text-decoration: underline;
    text-decoration-color: rgba(196,145,138,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #a87a73;
    text-decoration-color: #a87a73;
}

.legal-footer {
    margin-top: 32px;
    text-align: center;
}

.legal-footer .last-updated {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #8a7a7a;
}

/* Legal Pages - Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 40px 24px 60px;
    }

    .legal-page .page-title {
        font-size: 32px;
    }

    .legal-content {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }

    .legal-section ul {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 32px 16px 48px;
    }

    .legal-page .page-title {
        font-size: 26px;
    }

    .legal-content {
        padding: 24px 20px;
    }

    .legal-section {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 17px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ==========================================================================
   Cookie Consent Modal
   ========================================================================== */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(90, 74, 74, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: cookieFadeIn 0.3s ease;
}

@keyframes cookieFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(90, 74, 74, 0.25);
    animation: cookieSlideUp 0.3s ease;
}

.cookie-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #8a7a7a;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.cookie-modal-close:hover {
    background: #fef7f0;
    color: #5a4a4a;
}

.cookie-modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    color: #5a4a4a;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.cookie-modal-intro {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #8a7a7a;
    margin: 0 0 24px 0;
}

.cookie-modal-intro a {
    color: #c4918a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-modal-intro a:hover {
    color: #a87872;
}

/* Cookie Category */
.cookie-category {
    border: 1px solid #f0e0d8;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.cookie-category:hover {
    border-color: #d4a59e;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-category-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a7a7a;
    transition: color 0.2s;
    border-radius: 4px;
}

.cookie-category-toggle:hover {
    color: #c4918a;
}

.cookie-chevron {
    transition: transform 0.2s ease;
}

.cookie-category-toggle[aria-expanded="true"] .cookie-chevron {
    transform: rotate(180deg);
}

.cookie-category-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #5a4a4a;
}

.cookie-badge-required {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    color: #8a7a7a;
    background: #fef7f0;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.cookie-category-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: #8a7a7a;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ddd;
    border-radius: 24px;
    transition: background 0.2s;
}

.cookie-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked + .cookie-slider {
    background: #c4918a;
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(20px);
}

/* Cookie Details Table */
.cookie-details {
    margin-top: 12px;
    animation: cookieFadeIn 0.2s ease;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
}

.cookie-table th {
    background: #fef7f0;
    color: #8a7a7a;
    font-weight: 600;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #f0e0d8;
}

.cookie-table td {
    padding: 8px 10px;
    color: #5a4a4a;
    border-bottom: 1px solid #f8f0ec;
    vertical-align: top;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Action Buttons */
.cookie-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cookie-btn-save,
.cookie-btn-accept {
    flex: 1;
    padding: 14px 24px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cookie-btn-save {
    background: #fef7f0;
    color: #5a4a4a;
    border: 1px solid #f0e0d8;
}

.cookie-btn-save:hover {
    background: #fce8e4;
    border-color: #d4a59e;
}

.cookie-btn-accept {
    background: #c4918a;
    color: white;
}

.cookie-btn-accept:hover {
    background: #b07d77;
}

.cookie-btn-save:active,
.cookie-btn-accept:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 600px) {
    .cookie-modal {
        padding: 24px 20px;
        max-height: 90vh;
        border-radius: 12px;
    }

    .cookie-modal-title {
        font-size: 20px;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 6px 8px;
        font-size: 11px;
    }
}
