/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme - Punktplanung
Author: FH & 
Author URI: https://www.punktplanung.de
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/**
 * Add your custom styles here
 */



/* Smooth Scroll */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 0px;
}

/* Text-Auswahl von Buttons deaktivieren */
.elementor-widget-button {
	user-select: none;
}

/* Bildzeichnung mit klareren Kanten */
img, section, div {
	image-rendering: -webkit-optimize-contrast;
}

/* DIRS21 */
#d21-quickbook-view .d21-row {
    margin-bottom: 0;
}

/* Complianz */
.cmplz-cookiebanner, .cmplz-cookiebanner button.cmplz-btn, .cmplz-cookiebanner div, button.cmplz-blocked-content-notice, .cmplz-links a {
	font-family: sans-serif !important;
	text-transform: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.cmplz-placeholder-1,
.cmplz-placeholder-2,
.cmplz-placeholder-3 {
	height: inherit !important;
}
#cmplz-cookies-overview .cmplz-dropdown summary div h3, #cmplz-document .cmplz-dropdown summary div h3 {
	font-family: sans-serif;
}



/* =========================================================
   CITY-HOTEL WETZLAR - STEILBERGAUF ORIGINAL DESIGN SYSTEM
   ========================================================= */
:root {
    --paper: #f5f4f0;
    --ink: #262724;
    --red: #c52b22;
    --muted: #696a65;
    --line: #d6d7d1;
    --pad: 64px;
    --max: 1600px;
}

html, body {
    background-color: var(--paper) !important;
    color: var(--ink) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

#page, .site-main, .elementor-page-2 {
    background-color: var(--paper) !important;
}

/* Headings font styling */
h1, h2, h3, h4,
.elementor-heading-title {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.02 !important;
    color: var(--ink);
}

/* Georgia italic accents */
h1 i, h1 em,
h2 i, h2 em,
h3 i, h3 em,
.elementor-heading-title i,
.elementor-heading-title em {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.055em !important;
}

/* Textlink */
.textlink,
a.textlink {
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid var(--ink) !important;
    color: var(--ink) !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s, border-color 0.2s !important;
}
.textlink:hover,
a.textlink:hover {
    color: var(--red) !important;
    border-color: var(--red) !important;
}
.textlink.lightlink,
a.textlink.lightlink {
    color: var(--paper) !important;
    border-bottom-color: var(--paper) !important;
}
.textlink.lightlink:hover,
a.textlink.lightlink:hover {
    color: #ffd3ca !important;
    border-bottom-color: #ffd3ca !important;
}

/* Buttons */
.elementor-button {
    font-family: Arial, sans-serif !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: background 0.2s, color 0.2s, filter 0.2s !important;
}
.elementor-button:hover {
    filter: brightness(0.92) !important;
}

/* Image optimization */
.elementor-widget-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Wordmark */
.wordmark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    display: block;
}
.wordmark span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--red);
    margin-top: 4px;
    font-weight: 600;
}

/* =========================================================

/* =========================================================

/* =========================================================

/* =========================================================

/* =========================================================

/* =========================================================

/* =========================================================

/* =========================================================
   RESPONSIVE DESIGN - CITY-HOTEL WETZLAR
   Triết lý: CHỈ dùng !important cho header/hamburger menu structure.
   Mọi spacing & typography dùng CSS vars không có !important
   → Elementor Editor có thể override hoàn toàn mọi giá trị.
   ========================================================= */

/* --- 1. HEADER & HAMBURGER MENU (bắt buộc !important vì cấu trúc) --- */
@media (max-width: 1024px) {
    header.elementor-location-header {
        position: relative !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        min-height: auto !important;
    }
    header.elementor-location-header .e-con.e-parent {
        padding: 0 !important;
        min-height: auto !important;
    }
    header.elementor-location-header .e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        min-height: auto !important;
    }
    header.elementor-location-header .e-con-inner > .e-con,
    header.elementor-location-header .elementor-element-b85f758,
    header.elementor-location-header .elementor-element-93e9213 {
        padding: 0 !important;
        min-height: auto !important;
        width: auto !important;
        flex: 0 0 auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    header.elementor-location-header .elementor-element-93e9213 {
        position: static !important;
        margin-left: auto !important;
    }
    header.elementor-location-header .elementor-element-7cfce46 {
        width: auto !important;
        position: static !important;
    }
    header.elementor-location-header .elementor-element-7cfce46 .elementor-widget-container {
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
    }
    header.elementor-location-header .elementor-menu-toggle {
        margin: 0 !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        color: #262724 !important;
    }
    header.elementor-location-header .elementor-menu-toggle svg {
        fill: #262724 !important;
        stroke: #262724 !important;
    }

    /* Mobile dropdown menu */
    header.elementor-location-header .elementor-nav-menu--dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background-color: #f5f4f0 !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
        padding: 16px 24px !important;
        border-top: 1px solid #d6d7d1 !important;
        border-bottom: 2px solid #a13223 !important;
        margin: 0 !important;
    }
    header.elementor-location-header .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu--dropdown {
        padding: 0 !important;
        border: none !important;
        display: none !important;
    }
    header.elementor-location-header .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown {
        display: block !important;
    }
    header.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
        font-family: Arial, sans-serif !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        color: #262724 !important;
        padding: 14px 0 !important;
        display: block !important;
        border-bottom: 1px solid rgba(214, 215, 209, 0.6) !important;
        text-align: left !important;
        background: transparent !important;
    }
    header.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
    header.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:focus,
    header.elementor-location-header .elementor-nav-menu--dropdown li:hover > .elementor-item,
    header.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
        background: rgba(161, 50, 35, 0.08) !important;
        color: #a13223 !important;
    }
}

/* --- 2. TABLET: CSS vars defaults (không !important → Elementor override được) --- */
@media (max-width: 1024px) {
    /* Inline font-size spans (style attribute) cần !important vì là inline style */
    .elementor-heading-title span[style*="font-size: 156px"],
    .elementor-heading-title span[style*="font-size:156px"] {
        font-size: clamp(70px, 11vw, 110px) !important;
        line-height: 0.95 !important;
    }

    /* Horizontal padding cho content sections - dùng CSS var không !important */
    .elementor-section-wrap > .e-con:not(header):not(footer) {
        --padding-left: 36px;
        --padding-right: 36px;
    }
}

/* --- 3. MOBILE STACKING: flex-direction cần !important (structural) --- */
@media (max-width: 820px) {
    /* 2-column → single column: bắt buộc vì Elementor set flex-direction inline */
    .e-con-boxed > .e-con-inner:has(> .e-con[style*="width: 50%"]),
    .e-con-boxed > .e-con-inner:has(> .e-con[style*="width: 55%"]),
    .e-con-boxed > .e-con-inner:has(> .e-con[style*="width: 65%"]),
    .e-con-boxed > .e-con-inner:has(> .e-con[style*="width: 45%"]) {
        flex-direction: column !important;
    }

    .e-con-boxed > .e-con-inner > .e-con,
    .e-con.e-parent > .e-con[style*="width: 50%"],
    .e-con.e-parent > .e-con[style*="width: 55%"],
    .e-con.e-parent > .e-con[style*="width: 65%"],
    .e-con.e-parent > .e-con[style*="width: 45%"],
    .e-con.e-parent > .e-con[style*="width: 35%"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* --- 4. MOBILE MAIN BREAKPOINT (max-width: 767px) --- */
@media (max-width: 767px) {

    /* Inline font-size trong style attribute → cần !important */
    .elementor-heading-title span[style*="font-size: 156px"],
    .elementor-heading-title span[style*="font-size:156px"] {
        font-size: clamp(48px, 13vw, 72px) !important;
        line-height: 0.95 !important;
        letter-spacing: -0.05em !important;
        display: block !important;
    }

    strong[style*="font-size: 160px"],
    strong[style*="font-size:160px"] {
        font-size: clamp(65px, 18vw, 95px) !important;
        line-height: 1 !important;
    }

    a[href^="tel:"][style*="font-size: 29px"],
    a[href^="tel:"][style*="font-size:29px"] {
        font-size: clamp(20px, 6vw, 26px) !important;
    }

    /* Room cards stacking (structural) */
    .elementor-page-2 .e-con--row:has(.elementor-widget-image) {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

/* --- 5. SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
    footer .e-con--row > .e-con,
    .elementor-location-footer .e-con--row > .e-con {
        width: 100% !important;
        min-width: 100% !important;
    }
}


/* === ZIMMER PAGE RESPONSIVE & WIDTH FIX === */
body.elementor-page-171, .elementor-171 { overflow-x: hidden !important; max-width: 100% !important; }
.elementor-171 .e-con { max-width: 100%; box-sizing: border-box; }
.elementor-171 .e-con-boxed > .e-con-inner { max-width: 1600px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) {
    .elementor-171 .elementor-element-fde4c92 > .e-con-inner, 
    .elementor-171 .elementor-element-87cd8d9 > .e-con-inner {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .elementor-171 .elementor-element-d732905, 
    .elementor-171 .elementor-element-7d14ee3, 
    .elementor-171 .elementor-element-142d4eb, 
    .elementor-171 .elementor-element-7f0bae6 {
        width: 100% !important;
        max-width: 100% !important;
    }
    .elementor-171 .elementor-element-7d14ee3 {
        align-items: flex-start !important;
    }
}

/* === City-Hotel Hero Slider - Full Width & Zero Distortion === */
.cityhotel-hero-slider,
.elementor-widget-image-carousel.cityhotel-hero-slider,
.elementor-widget.cityhotel-hero-slider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cityhotel-hero-slider .elementor-widget-container,
.cityhotel-hero-slider .elementor-image-carousel-wrapper,
.cityhotel-hero-slider .swiper,
.cityhotel-hero-slider .swiper-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    overflow: hidden !important;
    border-radius: 4px !important;
}
.cityhotel-hero-slider .swiper-wrapper {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
}
.cityhotel-hero-slider .swiper-slide {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    background: transparent !important;
}
.cityhotel-hero-slider .swiper-slide figure,
.cityhotel-hero-slider .swiper-slide-inner,
.cityhotel-hero-slider figure.swiper-slide-inner {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
}
.cityhotel-hero-slider .swiper-slide img,
.cityhotel-hero-slider .swiper-slide-image,
.cityhotel-hero-slider img.swiper-slide-image {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 680px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 4px !important;
}
@media (max-width: 1200px) {
    .cityhotel-hero-slider .swiper-slide img,
    .cityhotel-hero-slider .swiper-slide-image,
    .cityhotel-hero-slider img.swiper-slide-image {
        height: 580px !important;
    }
}
@media (max-width: 1024px) {
    .cityhotel-hero-slider .swiper-slide img,
    .cityhotel-hero-slider .swiper-slide-image,
    .cityhotel-hero-slider img.swiper-slide-image {
        height: 480px !important;
    }
}
@media (max-width: 767px) {
    .cityhotel-hero-slider .swiper-slide img,
    .cityhotel-hero-slider .swiper-slide-image,
    .cityhotel-hero-slider img.swiper-slide-image {
        height: 340px !important;
        border-radius: 2px !important;
    }
}
.cityhotel-hero-slider .elementor-swiper-button {
    color: #ffffff !important;
    background: rgba(38, 39, 36, 0.55) !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    z-index: 10 !important;
}
.cityhotel-hero-slider .elementor-swiper-button:hover {
    background: rgba(197, 43, 34, 0.9) !important;
    transform: scale(1.08);
}
.cityhotel-hero-slider .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.65 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.2s ease !important;
}
.cityhotel-hero-slider .swiper-pagination-bullet-active {
    background: #c52b22 !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}
