/*
Theme Name: Hej Du Child
Template: hello-elementor
Version: 1.0.0
Description: Child-Theme für Hej Du Social Media Betreuung
Text Domain: hej-du-child
*/

/* =============================================
   DESIGN TOKENS
============================================= */
:root {
    --beige-light:   #FAF0E8;
    --beige-medium:  #EDD8C4;
    --beige-warm:    #E5C9AF;
    --brown-accent:  #B8845A;
    --brown-dark:    #7A5230;
    --text-dark:     #3D2B1F;
    --text-mid:      #7A6358;
    --white:         #FFFFFF;
    --navy:          #1B2B42;
    --tan-card:      #C4956A;

    --font-script:   'Sacramento', cursive;
    --font-heading:  'Cormorant Garamond', serif;
    --font-body:     'Nunito', sans-serif;

    --radius-btn:    30px;
    --max-width:     1200px;
    --section-pad:   80px;
}

/* =============================================
   BASE
============================================= */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brown-accent); }
a:hover { color: var(--brown-dark); }

/* =============================================
   TYPOGRAPHY
============================================= */
.script-title {
    font-family: var(--font-script) !important;
    color: var(--brown-dark) !important;
    font-weight: 400 !important;
}

.heading-serif {
    font-family: var(--font-heading) !important;
    font-style: italic;
}

/* Elementor heading overrides */
.elementor-widget-heading .elementor-heading-title {
    line-height: 1.2;
}

/* =============================================
   NAVIGATION
============================================= */
.elementor-nav-menu .elementor-item,
.elementor-nav-menu--main .elementor-item {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    letter-spacing: 0.3px;
    padding: 0 14px !important;
    transition: color 0.2s;
}
.elementor-nav-menu .elementor-item:hover {
    color: var(--brown-accent) !important;
}
.elementor-nav-menu .elementor-item.elementor-item-active {
    color: var(--brown-accent) !important;
}

/* =============================================
   BUTTONS
============================================= */
.elementor-button {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    border-radius: var(--radius-btn) !important;
    padding: 12px 30px !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}

/* Primary filled button */
.btn-primary .elementor-button,
.elementor-button.btn-filled {
    background-color: var(--brown-accent) !important;
    color: var(--white) !important;
    border: 2px solid var(--brown-accent) !important;
}
.btn-primary .elementor-button:hover,
.elementor-button.btn-filled:hover {
    background-color: var(--brown-dark) !important;
    border-color: var(--brown-dark) !important;
}

/* Outline button */
.btn-outline .elementor-button,
.elementor-button.btn-outline {
    background-color: transparent !important;
    color: var(--brown-accent) !important;
    border: 1.5px solid var(--brown-accent) !important;
}
.btn-outline .elementor-button:hover,
.elementor-button.btn-outline:hover {
    background-color: var(--brown-accent) !important;
    color: var(--white) !important;
}

/* =============================================
   CIRCULAR IMAGE
============================================= */
.circle-img .elementor-image img,
.elementor-widget-image.circle-img img {
    border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1;
}

.organic-img .elementor-image img {
    border-radius: 60% 40% 70% 30% / 40% 60% 40% 60% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1.1;
}

/* =============================================
   SECTIONS
============================================= */
.section-beige-light {
    background-color: var(--beige-light) !important;
}
.section-white {
    background-color: var(--white) !important;
}
.section-navy {
    background-color: var(--navy) !important;
}

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
}
.hero-heading {
    font-family: var(--font-heading) !important;
    font-size: clamp(38px, 5vw, 64px) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    color: var(--text-dark) !important;
}

/* =============================================
   SERVICE ICON BOXES
============================================= */
.elementor-icon-box-wrapper {
    text-align: center;
}
.elementor-icon-box-icon {
    margin-bottom: 16px !important;
}
.elementor-icon-box-icon i,
.elementor-icon-box-icon svg {
    color: var(--brown-accent) !important;
    font-size: 36px !important;
}
.elementor-icon-box-title {
    font-family: var(--font-body) !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-bottom: 12px !important;
}
.elementor-icon-box-description {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--text-mid) !important;
}

/* =============================================
   REFERENZEN LOGOS
============================================= */
.referenzen-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 48px;
    padding: 20px 0;
}
.referenzen-grid .ref-logo {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.75;
    transition: opacity 0.2s;
}
.referenzen-grid .ref-logo:hover {
    opacity: 1;
}

/* =============================================
   TESTIMONIAL
============================================= */
.elementor-testimonial-wrapper {
    text-align: center;
}
.elementor-testimonial__text {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: var(--text-dark) !important;
    font-style: italic;
}
.elementor-testimonial__name {
    font-weight: 600 !important;
    color: var(--brown-dark) !important;
}
.elementor-testimonial__job {
    color: var(--text-mid) !important;
    font-size: 13px !important;
}

/* Star rating */
.stars {
    color: #C9A040;
    font-size: 18px;
    letter-spacing: 2px;
}

/* =============================================
   CONTACT FORM (CF7 / HTML)
============================================= */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select,
.hejdu-form input,
.hejdu-form textarea,
.hejdu-form select {
    width: 100%;
    border: 1.5px solid var(--beige-warm);
    border-radius: var(--radius-btn);
    padding: 14px 22px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.hejdu-form input:focus,
.hejdu-form textarea:focus {
    border-color: var(--brown-accent);
}
.wpcf7-form input::placeholder,
.hejdu-form input::placeholder {
    color: var(--text-mid);
}
.wpcf7-form textarea {
    resize: vertical;
    min-height: 130px;
}
.wpcf7-submit,
.hejdu-form button[type="submit"] {
    background: transparent !important;
    color: var(--brown-accent) !important;
    border: 1.5px solid var(--brown-accent) !important;
    border-radius: var(--radius-btn) !important;
    padding: 12px 36px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.25s;
}
.wpcf7-submit:hover,
.hejdu-form button:hover {
    background: var(--brown-accent) !important;
    color: var(--white) !important;
}

/* =============================================
   CONTENT TILES (Instagram-Style Grid)
============================================= */
.content-tile {
    position: relative;
    overflow: hidden;
}
.content-tile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.content-tile-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.35);
    padding: 16px;
}
.content-tile-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    margin: 0;
}
.tan-card {
    background-color: var(--tan-card);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.tan-card blockquote {
    color: var(--white);
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* =============================================
   FOOTER
============================================= */
.site-footer,
.hejdu-footer {
    background-color: var(--white) !important;
    border-top: 1px solid var(--beige-medium);
    padding: 30px 40px;
}
.hejdu-footer p {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-mid);
    margin: 0;
}
.hejdu-footer a {
    color: var(--text-mid);
    text-decoration: none;
}
.hejdu-footer a:hover {
    color: var(--brown-accent);
}

/* =============================================
   OCEAN / DARK SECTION
============================================= */
.ocean-section {
    position: relative;
    overflow: hidden;
}
.ocean-section .elementor-heading-title,
.ocean-section .elementor-widget-text-editor p {
    color: var(--beige-light) !important;
}

/* =============================================
   WAVE DIVIDER HELPER
============================================= */
.wave-top,
.wave-bottom {
    position: relative;
    z-index: 1;
}

/* =============================================
   LEISTUNGEN PAGE - SERVICE DETAIL
============================================= */
.leistung-detail h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.leistung-detail p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-mid);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
    :root {
        --section-pad: 50px;
    }
    .hero-heading {
        font-size: 34px !important;
    }
    .referenzen-grid {
        gap: 16px 24px;
    }
}
