/*
Theme Name: Kadence Child
Description: Kasper Immobilien Hannover – Kadence Child Theme
Template: kadence
Version: 1.1.0
Text Domain: kadencechild
*/
:root{--global-palette1:#eeb824;--global-palette2:#c9940a;--global-palette3:#263c49;--global-palette4:#344f5e;--global-palette5:#53646d;--global-palette6:#71818b;--global-palette7:#eef2f3;--global-palette8:#f7f8f8;--global-palette9:#fff;--global-body-font-family:Arial,Helvetica,sans-serif;--global-heading-font-family:Arial,Helvetica,sans-serif}
body{font-family:Arial,Helvetica,sans-serif;color:#34444e;line-height:1.75;background:#fff}
h1,h2,h3,h4{font-family:Arial,Helvetica,sans-serif;color:#263c49;line-height:1.2;letter-spacing:-.025em}
h1{font-size:clamp(2rem,4.2vw,3.5rem)}h2{font-size:clamp(1.65rem,3vw,2.45rem)}h3{font-size:clamp(1.2rem,2vw,1.55rem)}
p{margin-bottom:1.2em}a{color:#263c49;text-underline-offset:4px}a:hover{color:#9a7100}
.site-header{background:#263c49}.site-main-header-wrap .site-header-row-container-inner,.site-bottom-header-wrap .site-header-row-container-inner{background:#263c49}
.site-header .site-title a,.site-header .main-navigation a,.site-header .mobile-toggle-open{color:#fff}.site-header .main-navigation a:hover,.site-header .main-navigation .current-menu-item>a{color:#eeb824}
.site-header .site-branding img{max-width:245px}.site-header .site-main-header-inner-wrap{min-height:100px}
.site-header .main-navigation .primary-menu-container>ul>li>a{font-weight:700;font-size:15px;padding-left:1.2em;padding-right:1.2em}
.page .entry-hero.page-hero-section{display:none}.page .entry-header{display:none}.page .content-area{margin-top:0;margin-bottom:0}.page .entry{box-shadow:none;border-radius:0;background:#fff}.page .entry-content-wrap{padding:0}
.page .entry-content{margin:0}.entry-content>h1:first-child{padding-top:clamp(2rem,5vw,4rem);margin-bottom:1.1em}
.entry-content>h1:first-child:after{content:"";display:block;width:72px;height:5px;background:#eeb824;margin-top:24px}
.entry-content>p,.entry-content>ul,.entry-content>ol{max-width:100%}
.kasper-section{padding-top:clamp(2rem,5vw,4rem);padding-bottom:clamp(2rem,5vw,4rem)}
.kasper-section-muted{background:#f1f4f4;padding-left:clamp(18px,3vw,38px);padding-right:clamp(18px,3vw,38px);border-radius:18px}
.kasper-section .wp-block-columns{gap:30px;margin-top:30px;margin-bottom:30px;align-items:stretch}
.wp-block-column{min-width:0}.wp-block-image img{border-radius:12px;max-width:100%;height:auto}.wp-block-image{margin-bottom:24px}
.kasper-feature,.kasper-stat{height:100%;padding:26px;background:#f2f5f5;border-radius:14px;border-top:4px solid #eeb824}
.kasper-feature h3{margin-top:0}.kasper-feature p:last-child,.kasper-stat p:last-child{margin-bottom:0}
.kasper-number{font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;font-weight:800;color:#263c49;margin-bottom:16px}
.kasper-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:35px 0}.kasper-intro>figure{grid-row:span 4}.kasper-intro h2{margin-top:0}
.kasper-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}.kasper-gallery figure{margin:0}.kasper-gallery img{width:100%;height:260px;object-fit:cover}
.wp-block-button__link,.wpcf7-submit{background:#eeb824;color:#263c49;border-radius:6px;font-weight:700;padding:14px 25px;border:0;text-decoration:none;box-shadow:none}.wp-block-button__link:hover,.wpcf7-submit:hover{background:#dba614;color:#182b36}
.wp-block-buttons{margin-top:22px;margin-bottom:26px;gap:14px}.wp-block-details{border:1px solid #dbe2e5;border-radius:10px;padding:20px 24px;margin-bottom:14px}.wp-block-details summary{font-weight:700;color:#263c49;cursor:pointer}.wp-block-details[open] summary{margin-bottom:20px}
.kasper-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:35px 0 65px}.kasper-project-card{border:1px solid #e0e6e9;border-radius:14px;overflow:hidden;background:#fff}.kasper-project-card>a{display:block;text-decoration:none;height:100%;padding-bottom:25px}.kasper-project-card img{width:100%;height:230px;object-fit:cover}.kasper-project-card h2{font-size:1.4rem;padding:0 24px;margin:24px 0 16px}.kasper-text-link{display:block;padding:0 24px;color:#68500c;font-weight:700}
.wpcf7{padding:clamp(20px,4vw,38px);margin:30px 0 55px;border:1px solid #dce4e7;border-radius:16px;background:#f7f9f9}.wpcf7-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px}.wpcf7-form>p{margin:0}.wpcf7-form label{font-weight:600;font-size:15px;display:block}.wpcf7-form input:not([type=submit]):not([type=checkbox]),.wpcf7-form select,.wpcf7-form textarea{width:100%;margin-top:8px;border:1px solid #bac9d0;border-radius:6px;background:#fff;min-height:48px;padding:11px 13px}.wpcf7-form p:has(textarea),.wpcf7-form .kasper-form-note,.wpcf7-response-output{grid-column:1/-1}.wpcf7-form textarea{min-height:140px}.kasper-form-note{font-size:14px}.wpcf7-form .wpcf7-submit{cursor:pointer;min-height:50px}.wpcf7-not-valid-tip{font-weight:400}
.site-footer,.site-footer .site-footer-row-container-inner{background:#263c49;color:#fff}.site-footer a{color:#fff}.site-footer a:hover{color:#eeb824}.site-footer h2,.site-footer h3{color:#fff}.site-footer .site-footer-row{padding-top:35px;padding-bottom:35px}
.site-footer-bottom-section-1,.footer-html,.footer-html-inner{width:100%}.kasper-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;text-align:left;padding:22px 0 28px}.kasper-footer-grid strong{font-size:1.12rem}.kasper-footer-grid p{margin:0 0 12px}.kasper-footer-legal{border-top:1px solid #ffffff30;padding-top:24px;margin:0;text-align:left;font-size:14px}.single-portfolio .entry{box-shadow:none}.single-portfolio .entry-content-wrap{padding:0}.single-portfolio .entry-content>h1:first-child{padding-top:30px}
.kasper-hero{border-radius:0;min-height:590px}.kasper-hero h1{font-size:clamp(2.3rem,5.2vw,4.8rem);max-width:840px;color:#fff}.kasper-hero p{font-size:clamp(1.05rem,1.8vw,1.3rem);max-width:640px;color:#fff}.kasper-hero .wp-block-cover__inner-container{padding:clamp(25px,5vw,70px);max-width:1280px}.kasper-eyebrow{font-size:.85rem!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#eeb824!important}.kasper-lead{font-size:1.2rem;color:#53646d;max-width:850px}.kasper-home-services .wp-block-column{border:1px solid #dde5e8;border-radius:14px;overflow:hidden;padding:0 0 22px}.kasper-home-services .wp-block-column h3,.kasper-home-services .wp-block-column p{padding-left:24px;padding-right:24px}.kasper-home-services .wp-block-image img{border-radius:0;width:100%;height:210px;object-fit:cover}
@media(max-width:1024px){.kasper-projects{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header .site-main-header-inner-wrap{min-height:84px}}
@media(max-width:767px){.kasper-gallery,.kasper-projects,.kasper-intro,.wpcf7-form{grid-template-columns:1fr}.kasper-intro>figure{grid-row:auto}.kasper-gallery img{height:auto}.kasper-hero{min-height:510px}.kasper-section .wp-block-columns{gap:22px}.kasper-section-muted{border-radius:10px}.kasper-feature,.kasper-stat{padding:22px}.site-header .site-branding img{max-width:210px}.entry-content>h1:first-child{padding-top:30px}.kasper-project-card img{height:220px}}
@media(max-width:767px){.kasper-footer-grid{grid-template-columns:1fr;gap:20px}.kasper-footer-legal{line-height:1.9}}
/* The existing logo contains empty space on its right; crop its display only. */
.site-header,.site-main-header-wrap .site-header-row-container-inner,.site-bottom-header-wrap .site-header-row-container-inner{background:#384b59}
.site-branding a.brand{width:290px;height:125px;overflow:hidden}.site-header .site-branding img{width:450px!important;max-width:none!important;height:auto!important;max-height:none!important}
#masthead .header-navigation .header-menu-container>ul>li.menu-item>a{color:#fff}#masthead .header-navigation .header-menu-container>ul>li.current-menu-item>a,#masthead .header-navigation .header-menu-container>ul>li.menu-item>a:hover{color:#eeb824}
#masthead .header-navigation .sub-menu{background:#fff}#masthead .header-navigation .sub-menu a{color:#263c49}#masthead .header-navigation .sub-menu a:hover{background:#edf2f3;color:#263c49}
.page .rt-reading-time{display:none!important}.kasper-hero .wp-block-buttons{display:inline-flex;margin-right:14px}.kasper-hero .wp-block-cover__inner-container{width:100%}
@media(max-width:767px){.site-branding a.brand{width:230px;height:98px}.site-header .site-branding img{width:350px!important}.site-header .menu-toggle-open{color:#fff}.kasper-hero .wp-block-buttons{display:flex;margin-right:0}}

/* Keep the brand background while the Kadence header is fixed. */
#masthead .kadence-sticky-header.item-is-fixed>.site-header-row-container-inner{background:#384b59!important}

/* Accommodation pages: aligned imagery, readable sections, clear contact. */
.kasper-stay-page{padding:42px 0 20px}.kasper-stay-page h1{font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.12;margin:12px 0 24px}.kasper-stay-page h2{font-size:clamp(1.7rem,2.7vw,2.35rem);line-height:1.2;margin:10px 0 22px}.kasper-stay-page h3{font-size:1.22rem;margin:24px 0 12px}.kasper-stay-page p{line-height:1.8;margin:0 0 18px}.kasper-stay-eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7a5a08}.kasper-stay-row{gap:clamp(28px,5vw,64px);margin:0!important}.kasper-stay-section{padding:55px 0}.kasper-stay-intro{padding:12px 0 45px}.kasper-stay-page .wp-block-image{margin:0}.kasper-stay-page .wp-block-image img{display:block;width:100%;height:350px;object-fit:cover;border-radius:14px}.kasper-stay-hero-row .wp-block-image img{height:440px}.kasper-stay-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kasper-stay-photo-pair .wp-block-image img{height:360px}.kasper-stay-highlights{padding:28px 32px;background:#edf2f3;border-radius:14px;margin:0 0 10px}.kasper-stay-highlights h3{margin-top:0}.kasper-stay-highlights p{margin-bottom:0}.kasper-stay-soft{padding:36px;background:#f2f5f5;border-radius:18px}.kasper-stay-contact{background:#384b59;color:#fff;padding:38px 44px;border-radius:18px;margin:24px 0}.kasper-stay-contact h2,.kasper-stay-contact p{color:#fff}.kasper-stay-contact .kasper-stay-eyebrow{color:#f2c34b}.kasper-stay-contact .wp-block-buttons{margin-bottom:0}.kasper-stay-form{scroll-margin-top:165px;border-top:1px solid #dbe2e5;padding-top:40px}.kasper-stay-page .wpcf7{margin-top:22px}.kasper-stay-page .wp-block-buttons{gap:12px}.kasper-stay-page>.wp-block-paragraph:last-child{font-size:.95rem}
@media(max-width:767px){.kasper-stay-page{padding-top:25px}.kasper-stay-section{padding:32px 0}.kasper-stay-soft,.kasper-stay-contact,.kasper-stay-highlights{padding:24px}.kasper-stay-page .wp-block-image img,.kasper-stay-hero-row .wp-block-image img{height:auto;max-height:420px;object-fit:cover}.kasper-stay-photo-pair .wp-block-image img{height:230px}.kasper-stay-row{gap:24px}.kasper-stay-form{scroll-margin-top:120px}.kasper-stay-page .wp-block-button,.kasper-stay-page .wp-block-button__link{width:100%}.kasper-stay-contact .wp-block-button__link{padding-left:14px;padding-right:14px}}

/* WordPress may wrap group contents; preserve the two-column photo grid. */
.kasper-stay-photo-pair:has(>.wp-block-group__inner-container){display:block}.kasper-stay-photo-pair>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kasper-stay-photo-pair>.wp-block-group__inner-container>figure{margin:0!important}

.kasper-intro:has(>.wp-block-group__inner-container),.kasper-gallery:has(>.wp-block-group__inner-container){display:block}.kasper-intro>.wp-block-group__inner-container{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.kasper-intro>.wp-block-group__inner-container>figure{grid-row:span 4}.kasper-gallery>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kasper-gallery>.wp-block-group__inner-container>figure{margin:0}@media(max-width:767px){.kasper-intro>.wp-block-group__inner-container,.kasper-gallery>.wp-block-group__inner-container{grid-template-columns:1fr}.kasper-intro>.wp-block-group__inner-container>figure{grid-row:auto}}

/* Shared page rhythm and compact service cards. */
#main .wp-block-button__link{color:#263c49}#main .wp-block-button__link:hover{color:#182b36}.kasper-content-page .kasper-stay-section>.wp-block-group__inner-container>p{max-width:80ch}.kasper-content-page .kasper-stay-section>p{max-width:80ch}.kasper-content-page .kasper-stay-section{padding-top:36px;padding-bottom:36px}.kasper-service-cards{gap:24px;margin-top:24px;margin-bottom:24px}.kasper-service-cards>.wp-block-column{border:1px solid #dce4e7;border-radius:14px;overflow:hidden;background:#fff;padding:0 0 18px;box-shadow:0 5px 18px #263c4907}.kasper-stay-page .kasper-service-cards .wp-block-image img{height:185px;border-radius:0}.kasper-service-cards>.wp-block-column>h3,.kasper-service-cards>.wp-block-column>p{padding-left:22px;padding-right:22px}.kasper-service-cards>.wp-block-column>h3{margin-top:22px}.kasper-service-cards>.wp-block-column>p:last-child a{font-weight:700;color:#6b500e}.page-id-31 .kasper-stay-hero-row .wp-block-image img{object-fit:contain;background:#f1f4f5}.kasper-content-page .kasper-stay-hero-row{margin-bottom:10px!important}.kasper-stay-section>.wp-block-group__inner-container>.kasper-stay-row+.kasper-stay-row{margin-top:24px!important}.entry-content>p{max-width:80ch}.single-post .entry-content h2{margin-top:38px;line-height:1.25}.single-post .entry-content p{line-height:1.85}.kasper-stay-page .kasper-project-card h2{font-size:1.3rem}.kasper-stay-page .kasper-project-card img{height:225px}.kasper-stay-page .kasper-feature h3{margin-top:0}
@media(max-width:767px){.kasper-service-cards{gap:22px}.kasper-stay-page .kasper-service-cards .wp-block-image img{height:210px}.kasper-content-page .kasper-stay-section{padding-top:28px;padding-bottom:28px}.kasper-content-page .kasper-stay-hero-row .wp-block-image img{max-height:350px}.kasper-stay-page .kasper-project-card img{height:210px}}

/* Rechtliche Informationen: gut lesbare Zeilen und klare Abstände */
.kasper-legal-page{max-width:900px!important;margin-inline:auto!important;padding-top:36px;padding-bottom:60px}.kasper-legal-page h1{margin-bottom:24px}.kasper-legal-page h2{font-size:clamp(1.45rem,2.4vw,1.9rem);margin-top:38px;margin-bottom:16px}.kasper-legal-page p{margin-top:0;margin-bottom:20px;line-height:1.75}.kasper-legal-page a{text-decoration:underline;text-underline-offset:3px}.kasper-legal-page .cmplz-manage-consent-container{margin-block:24px}

.cmplz-documents a.cookie-statement:empty{display:none}
